/* The two facts run across the top; Key Milestones takes the full width under them. */
#field[open] > .chapter-summary { padding-block-end: clamp(14px, 2vw, 24px); }
#field > .chapter-body { padding-block-start: clamp(18px, 3.3vw, 46px); }
.tl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 5.4vw, 70px);
}

.tl-facts,
.field-reading-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}

.tl-facts > li {
  container-type: inline-size;
  padding: clamp(19px, 3vw, 38px) clamp(12px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-align: center;
}

.tl-fact-figure {
  font: 400 clamp(44px, 6.5vw, 86px)/1 var(--serif);
  letter-spacing: -.05em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.tl-fact-comparator {
  font-style: italic;
  font-size: .48em;
  letter-spacing: 0;
}

.tl-fact-multiplier { font-size: .65em; letter-spacing: 0; }

.tl-fact-text,
.tl-source {
  margin-block-start: 10px;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.tl-fact-text { font-size: clamp(.875rem, 3.05cqi, 1.125rem); }
.tl-source { max-width: 62ch; font-size: clamp(14px, 1.9vw, 16px); text-wrap: balance; }

@media (min-width: 960px) {
  .tl-fact-text { font-size: clamp(.8125rem, 3.25cqi, 1.125rem); }
}

@media (max-width: 680px) {
  .tl-facts { grid-template-columns: minmax(0, 1fr); }
  .tl-fact-figure { font-size: clamp(50px, 11vw, 71px); }
}

.tl-source a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
  text-decoration-color: var(--copper);
}


/* The source figures and covers sit below the milestone text. */
.tl-note-with-figure { display: grid; gap: 14px; }

.milestone-figure {
  min-width: 0;
  width: min(100%, 34rem);
  margin: 0 0 20px;
  padding: 10px;
  border: 1px solid var(--line);
  border-top-color: var(--copper-deep);
  background: linear-gradient(135deg, color-mix(in srgb, var(--sand) 8%, transparent), transparent 63%), var(--panel);
}

.milestone-figure--program { width: min(100%, 24rem); }

.milestone-figure-heading,
.milestone-figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 10px;
  font-size: 14px;
  line-height: 1.5;
}

.milestone-figure-heading { margin-bottom: 8px; color: var(--ink); }
.milestone-figure-heading span:last-child { color: var(--sand); }
.milestone-figure figcaption { margin-top: 8px; color: var(--muted); }
.milestone-figure figcaption a { color: var(--ink); text-underline-offset: .18em; }

.milestone-figure-plate {
  padding: 6px;
  background: #f7f3ec;
}

.milestone-figure-plate img {
  display: block;
  width: auto;
  height: auto;
  max-height: 23rem;
  margin-inline: auto;
}

.milestone-figure--program img { width: 100%; height: auto; }

@media (min-width: 741px) {
  .milestone-figure { margin: 0; }
}

/* The heading and the interaction hint share the row above the timeline. */
.tl-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  padding-top: 14px;
}

.tl-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.tl-title {
  font-size: var(--subtitle);
  line-height: 1.15;
  letter-spacing: -.028em;
}

.tl-hint { margin: 0; color: var(--muted); font-size: 14px; }

/* Keep the milestone heading on one line on the narrowest phones. */
@media (max-width: 345px) {
  .tl-top { --subtitle: 23px; }
  .tl-title { letter-spacing: -.035em; }
}

/* Browser dialogs open details over the timeline. Otherwise the details remain inline. */
.tl-decade {
  --tl-spine-x: 12px;     /* the upright line, from the left edge */
  --tl-indent: 36px;      /* where the words start beside it */
  --tl-dot: 11px;         /* a marker */
  --tl-dot-y: 21px;       /* a marker's centre below the top of its row: level with the year */
  --tl-base: color-mix(in srgb, var(--copper) 40%, transparent);
  min-width: 0;
}

/* The list as written: an upright line with a marker for each milestone. */
.tl-list { margin: 0; padding: 0; list-style: none; }
.tl-entry {
  --tl-kind-color: var(--copper);
  position: relative;
  padding: 10px 0 26px var(--tl-indent);
}
.tl-paper { --tl-kind-color: var(--platinum); }
.tl-news, .tl-program { --tl-kind-color: var(--sand); }

.tl-entry:last-child { padding-bottom: 0; }
.tl-entry::before {
  content: '';
  position: absolute;
  top: var(--tl-dot-y);
  left: calc(var(--tl-spine-x) - .5px);
  width: 1px;
  height: 100%;   /* from this marker down to the next one */
  background: var(--tl-base);
}

/* The line fades on past 2026. */
.tl-entry:last-child::before {
  height: 76px;
  background: linear-gradient(var(--tl-base), transparent);
}

.tl-pair-upright { display: none; }

/* Markers: a gathering is filled, a publication is open, the 2026 announcement is a small diamond. */
.tl-dot {
  position: absolute;
  z-index: 1;
  top: calc(var(--tl-dot-y) - var(--tl-dot) / 2);
  left: calc(var(--tl-spine-x) - var(--tl-dot) / 2);
  width: var(--tl-dot);
  height: var(--tl-dot);
  border-radius: 50%;
  background: var(--tl-kind-color);
  pointer-events: none;
}

.tl-paper .tl-dot { background: var(--paper); border: 1.5px solid var(--tl-kind-color); }
.tl-news .tl-dot { border-radius: 1.5px; transform: rotate(45deg) scale(.84); }
.tl-program .tl-dot { border-radius: 2px; }

/* The year, then the kind of step in a word, then what happened. */
.tl-flag { margin: 0; }
.tl-words { display: block; }
.tl-date {
  display: block;
  color: var(--muted);
  font: 400 14px/22px var(--sans);
  letter-spacing: .01em;
}

.tl-date time,
.tl-when time {
  color: var(--sand);
  font: 400 17px/22px var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .01em;
}

/* The year and the kind of step stay whole; when space runs short the kind takes the next line. */
.tl-date time,
.tl-kind { white-space: nowrap; }
.tl-kind { color: var(--tl-kind-color); }
.tl-kind::before { content: '\00B7'; margin: 0 .45em 0 .3em; }
.tl-label {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font: 400 20px/1.2 var(--serif);
  letter-spacing: -.014em;
  text-wrap: balance;
}

/* The detail: the exact title of the meeting or paper, then its sentence. */
.tl-when { display: none; }
.tl-name {
  margin-top: 8px;
  color: var(--ink);
  font: 400 17px/1.35 var(--serif);
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.tl-text {
  max-width: 58ch;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Links as elsewhere on the page: an ivory word, a copper underline. */
.tl-note a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
  text-decoration-color: var(--copper);
}

/* Links keep a 44-pixel touch height without moving the text around them. */
.tl-name a { padding-block: 12px; }
.tl-text a { padding-block: 13px; }
.tl-note a:focus-visible { padding-block: 0; outline-offset: 2px; }
.tl-axis,
.tl-seg { display: none; }

/* With the script: chosen and not chosen (every width). */
.tl-decade[data-live] .tl-entry {
  --tl-weave-profile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='32' viewBox='0 0 8 32'%3E%3Cpath d='M1 0Q1 8 7 16T1 32M4 0V32M7 0Q7 8 1 16T7 32' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E");
  --tl-weave-ink: linear-gradient(90deg, var(--copper), var(--platinum) 50%, var(--sand));
}

/* With the script every marker sits inside its button, so a click anywhere on the marker opens its milestone, even
   where the marker reaches past the button's edge onto the line. The line behind the markers takes no clicks. */
.tl-decade[data-live] .tl-dot { pointer-events: auto; }
.tl-decade[data-live] .tl-entry::before {
  left: calc(var(--tl-spine-x) - 4px);
  width: 8px;
  background: var(--tl-weave-ink);
  mask: var(--tl-weave-profile) left top / 8px 32px repeat-y;
  opacity: .3;
  pointer-events: none;
}

/* Only the chosen milestone's words are in full ivory; the partner of a gathering-and-publication pair is a little
   brighter. */
.tl-decade[data-live] .tl-label { color: var(--muted); }
.tl-decade[data-live] .is-partner .tl-label { color: color-mix(in srgb, var(--ink) 45%, var(--muted)); }
.tl-decade[data-live] .is-current .tl-label { color: var(--ink); }
@media (hover: hover) {
  .tl-decade[data-live] .tl-mark:hover .tl-label { color: var(--ink); }
}

/* The chosen marker: brighter, in a fine ring, with a soft glow. The partner glows faintly. */
.tl-decade[data-live] .is-current .tl-dot {
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--tl-kind-color),
    0 0 16px 6px color-mix(in srgb, var(--tl-kind-color) 22%, transparent);
}

.tl-decade[data-live] .is-partner .tl-dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--tl-kind-color) 28%, transparent); }

/* In the upright timeline, each marker and its card share one button. */
.tl-decade[data-live] .tl-entry { padding: 0; }
.tl-decade[data-live] .tl-mark {
  display: block;
  width: 100%;
  padding: 10px 6px 12px var(--tl-indent);
  text-align: left;
}

.tl-decade[data-live] .tl-mark:focus-visible { outline-offset: -3px; }
.tl-decade[data-live] .tl-mark:active { background: color-mix(in srgb, var(--copper) 6%, transparent); }
.tl-decade[data-live] .tl-mark .tl-date::after {
  content: '+';
  margin-inline-start: .45em;
  color: var(--sand);
}

/* On phones the selected pair's connection runs just to the left of the main rail. */
@media (width < 1100px) {
  .tl-decade[data-live] .is-pair-route > .tl-pair-upright {
    display: block;
    position: absolute;
    top: var(--tl-dot-y);
    left: calc(var(--tl-spine-x) - 8px);
    width: 8px;
    height: 100%;
    border-inline-start: 1px dotted var(--platinum);
    opacity: .52;
    pointer-events: none;
  }
  .tl-decade[data-live] .is-pair-start > .tl-pair-upright { border-block-start: 1px dotted var(--platinum); }
  .tl-decade[data-live] .is-pair-end > .tl-pair-upright { border-block-end: 1px dotted var(--platinum); }
}

.tl-dialog {
  width: min(43rem, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--tl-kind-color) 28%, var(--line));
  border-inline-start: 2px solid var(--tl-kind-color);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px #0009;
}
.tl-dialog::backdrop { background: rgb(0 0 0 / .7); }

.tl-dialog-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 6px 3px clamp(16px, 3vw, 28px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.tl-dialog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-block-end: 10px;
}

.tl-dialog-year {
  color: inherit;
  font: 700 clamp(36px, 5.8vw, 54px)/1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
}

.tl-dialog-kind {
  padding-inline-start: 12px;
  border-inline-start: 1px solid currentColor;
  color: inherit;
  font: 700 12px/1.25 var(--sans);
  letter-spacing: .12em;
  opacity: .82;
  text-transform: uppercase;
}

.tl-step-copy {
  display: grid;
  gap: 2px;
  line-height: 1.2;
  text-align: start;
}

.tl-step-year { font-weight: 700; }
.tl-step-year:empty { display: none; }
.tl-dialog-position [data-tl-position] { font-size: 13px; font-weight: 700; }

.tl-dialog .tl-note { padding: clamp(16px, 3vw, 28px); }
.tl-dialog .tl-name { margin: 0; font-size: clamp(21px, 3vw, 32px); line-height: 1.2; }
.tl-dialog .tl-text { max-width: none; margin-top: 10px; }
.tl-dialog .milestone-figure { margin: 0; }
.tl-dialog .milestone-figure:not(.milestone-figure--program) { width: 100%; }

.tl-note-close {
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  font: 400 19px/1 var(--sans);
}

.tl-note-close::after {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  pointer-events: none;
}
.tl-note-close:hover::after { border-color: var(--tl-kind-color); }
.tl-note-close:focus-visible { outline-offset: -5px; }
/* The brighter strands lead the eye toward the selected marker. */
.tl-decade[data-live] .tl-seg {
  display: block;
  position: absolute;
  top: var(--tl-dot-y);
  left: calc(var(--tl-spine-x) - 4px);
  width: 8px;
  height: 100%;
  background: var(--tl-weave-ink);
  mask: var(--tl-weave-profile) left top / 8px 32px repeat-y;
  clip-path: inset(0 0 100%);
  opacity: .85;
  pointer-events: none;
}

.tl-decade[data-live] .is-past > .tl-seg { clip-path: inset(0); }
.tl-decade[data-live] .tl-entry:last-child > .tl-seg { display: none; }
@media (max-width: 359px) {
  .tl-decade { --tl-indent: 32px; --tl-spine-x: 11px; }
  .tl-label { font-size: 19px; }
  .tl-text { font-size: 14.5px; }
}

/* Keep the decade on one line where equal-width cards have enough room. */
@media (min-width: 1100px) {
  .tl-decade[data-live] .tl-stage {
    --tl-tail: 179px;       /* room for the last flag; the line fades out across it */
    --tl-label: 17px;
    --tl-year: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 0 auto;   /* flags above the line, the line, flags below it */
  }

  .tl-decade[data-live] .tl-list,
  .tl-decade[data-live] .tl-entry { display: contents; }
  .tl-decade[data-live] .tl-entry::before,
  .tl-decade[data-live] .tl-seg { display: none; }

  /* Flags: a year, the kind of step, and what happened, on a fine pole that meets the line at its marker. The
     whole flag is the button. */
  .tl-decade[data-live] .tl-flag {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
    width: min(var(--tl-tail), calc((100% - var(--tl-tail)) / 5 - 12px));
    margin-left: calc((100% - var(--tl-tail)) * var(--tl-y) / 10);
  }

  .tl-decade[data-live] .tl-flag { grid-row: 1; align-self: end; }
  .tl-decade[data-live] :is(.tl-paper:not(.tl-flag-above), .tl-flag-below) > .tl-flag { grid-row: 3; align-self: start; }

  .tl-decade[data-live] .tl-mark {
    position: relative;
    padding: 0 0 40px 12px;
    border-left: 1px solid color-mix(in srgb, var(--copper) 30%, transparent);
  }

  .tl-decade[data-live] :is(.tl-paper:not(.tl-flag-above), .tl-flag-below) .tl-mark { padding: 34px 0 0 12px; }
  .tl-decade[data-live] .tl-mark:focus-visible { outline: 0; }
  .tl-decade[data-live] .tl-mark:focus-visible .tl-words { outline: 3px solid var(--sand); outline-offset: 5px; }
  .tl-decade[data-live] .tl-mark:active { background: none; }
  .tl-decade[data-live] .is-partner .tl-mark { border-left-color: color-mix(in srgb, var(--tl-kind-color) 60%, transparent); }
  .tl-decade[data-live] .is-current .tl-mark { border-left-color: var(--tl-kind-color); }
  .tl-decade[data-live] .tl-date { font-size: 13px; }
  .tl-decade[data-live] .tl-date time { font-size: var(--tl-year); }
  .tl-decade[data-live] .tl-label {
    margin-top: 3px;
    font-size: var(--tl-label);
    line-height: 1.16;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
  }

  @media (hover: hover) {
    .tl-decade[data-live] .tl-mark:hover { border-left-color: var(--copper); }
  }

  /* The marker sits where the pole meets the line. */
  .tl-decade[data-live] .tl-dot { left: calc(var(--tl-dot) / -2 - .5px); }
  .tl-decade[data-live] .tl-dot { top: auto; bottom: calc(var(--tl-dot) / -2); }
  .tl-decade[data-live] :is(.tl-paper:not(.tl-flag-above), .tl-flag-below) .tl-dot { top: calc(var(--tl-dot) / -2); bottom: auto; }

  /* The line: ticks for the years and a weave that lights up to the chosen milestone. */
  .tl-decade[data-live] .tl-axis {
    display: block;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    position: relative;
    height: 0;
    pointer-events: none;
  }

  /* A soft glow behind the line. */
  .tl-axis::before {
    content: '';
    position: absolute;
    inset: -130px 0 auto;
    height: 260px;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--copper) 7.5%, transparent), transparent);
  }

  .tl-axis .tl-years {
    position: absolute;
    top: -40px;
    left: .5px;
    width: calc(100% - var(--tl-tail));
    height: 48px;
    overflow: visible;
  }

  .tl-axis path { fill: none; vector-effect: non-scaling-stroke; }
  .tl-ticks { stroke: var(--copper-deep); stroke-width: 1; shape-rendering: crispEdges; }
  .tl-pair { stroke: var(--platinum); stroke-width: 1; stroke-dasharray: .65 3.25; stroke-linecap: round; opacity: 0; }
  .tl-stage[data-pair='0'] .tl-pair-0,
  .tl-stage[data-pair='2'] .tl-pair-2 { opacity: .6; }
  .tl-base {
    position: absolute;
    left: 0;
    right: 0;
    top: -.5px;
    height: 1px;
    background: linear-gradient(to right, transparent calc(100% - var(--tl-tail)), color-mix(in srgb, var(--copper) 30%, transparent) calc(100% - var(--tl-tail)), transparent);
  }

  .tl-weave-rail {
    position: absolute;
    top: -8px;
    left: .5px;
    width: calc(100% - var(--tl-tail));
    height: 16px;
    overflow: visible;
    stroke-width: 1.2px;
  }

  .tl-weave-rest { opacity: .37; }
  .tl-weave-lit {
    --tl-covered: calc(var(--tl-at, 0) * 10%);
    clip-path: inset(-2px calc(100% - var(--tl-covered)) -2px 0);
  }

}

@media (min-width: 1240px) {
  .tl-decade[data-live] .tl-stage { --tl-label: 18px; --tl-year: 17px; }
}

@media (min-width: 1500px) {
  .tl-decade[data-live] .tl-stage { --tl-tail: 186px; --tl-label: 19px; --tl-year: 18px; }
}

/* Movement is calm, and never with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .tl-decade[data-live] .tl-label,
  .tl-decade[data-live] .tl-dot,
  .tl-decade[data-live] .tl-mark,
  .tl-decade[data-live] .tl-pair { transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .3s ease; }
  .tl-dialog[open] { animation: tl-note-in .18s ease-out; }
  @keyframes tl-note-in { from { opacity: 0; } to { opacity: 1; } }

  .tl-decade[data-live][data-moved] .tl-weave-lit { transition: clip-path .55s cubic-bezier(.22, .61, .36, 1); }
  .tl-decade[data-live][data-moved] .is-past > .tl-seg { transition: clip-path .45s ease; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-decade *,
  .tl-decade *::before,
  .tl-decade *::after { transition: none !important; animation: none !important; }
}

@media print {
  .tl-hint, .tl-dialog { display: none; }
}

/* The takeaway connects the research growth figures to the milestones. */
.tl-closing {
  margin-top: clamp(22px, 2.1vw, 30px);
  color: var(--ink);
  font: 400 clamp(22px, 2.4vw, 32px)/1.25 var(--serif);
}
.tl-closing em { color: var(--sand); }

.weave-copper { stroke: var(--copper); }
.weave-platinum { stroke: var(--platinum); }
.weave-sand { stroke: var(--sand); }

/* Keep the CSS rail available when the background waveform cannot be drawn. */
.tl-decade[data-weave] :is(.tl-weave-rail, .tl-years, .tl-base, .tl-entry > .tl-seg, .tl-pair-upright) { visibility: hidden; }
.tl-decade[data-weave] .tl-entry::before { visibility: hidden; }

main:has(> .weave-flow) { position: relative; }

.weave-flow {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.weave-flow .weave-band,
[data-site-ribbon] > path {
  fill: var(--weave-band-paint, var(--platinum));
  fill-opacity: .21;
  stroke: var(--weave-band-paint, var(--platinum));
  stroke-opacity: .41;
  stroke-width: .7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

[data-site-ribbon] > path:nth-of-type(2) {
  fill: var(--weave-band-paint, var(--sand));
  stroke: var(--weave-band-paint, var(--sand));
}

.weave-connection { opacity: .85; }

.launch-site {
  --tl-spectrum-red: #a44145;
  --tl-spectrum-amber: #a76d34;
  --tl-spectrum-gold: #a6923e;
  --tl-spectrum-green: #3d8957;
  --tl-spectrum-teal: #338b96;
  --tl-spectrum-blue: #3f61a3;
  --tl-spectrum-violet: #774ea0;
}

.launch-site .tl-weave-rail path { stroke: url(#tl-weave-spectrum); }
.launch-site .tl-weave-rest { opacity: .68; }
.launch-site .weave-flow :is(#weave-rail-strands, .weave-timeline-lead) > .weave-band {
  fill-opacity: .48;
  stroke-opacity: .87;
  stroke-width: .95px;
}
.launch-site .weave-flow :is(#weave-rail-strands, .weave-timeline-lead) > .weave-band:nth-of-type(2) {
  fill-opacity: .27;
  stroke-opacity: .62;
}

@media (width < 1100px) {
  .tl-decade[data-live] .tl-top { margin-bottom: calc(clamp(18px, 2.4vw, 30px) + 48px); }
}

@media print, (forced-colors: active) {
  .weave-flow, [data-site-ribbon] { display: none; }
}

.field-reading {
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 8% 0, color-mix(in srgb, var(--copper) 9%, transparent), transparent 55%);
}

.field-reading-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 36px;
  margin-bottom: clamp(28px, 4vw, 50px);
}

.field-reading-header p {
  max-width: 57ch;
  margin-top: var(--title-gap);
  color: var(--muted);
}

.field-reading-header .button { justify-self: start; }

.field-reading-list {
  --field-date-gutter: clamp(18px, 2.5vw, 30px);
  position: relative;
  padding-inline-start: var(--field-date-gutter);
  border-block: 1px solid var(--copper-deep);
}

.field-reading-list::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 4px;
  border-inline-start: 1px solid var(--line);
  content: '';
}

.field-reading-list > li {
  --field-row-padding: clamp(16px, 2.5vw, 29px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, .6fr) minmax(0, 2.1fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 10px clamp(20px, 4vw, 54px);
  padding: var(--field-row-padding) 0;
}

.field-reading-list > li::before {
  position: absolute;
  inset-block-start: calc(var(--field-row-padding) + 6px);
  inset-inline-start: calc(1px - var(--field-date-gutter));
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
  content: '';
}

.field-reading-list > li + li { border-top: 1px solid var(--line); }

.field-reading-meta {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--sand);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.field-reading-meta span { color: var(--muted); }

/* Dates in the serif, whose zero is plain. */
.field-reading-meta time {
  font-family: var(--serif);
  font-size: 15px;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .01em;
}

.field-reading-list h3 {
  font-size: var(--item);
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

.field-reading-source { margin-top: 6px; color: var(--sand); font-size: 13px; }
.field-reading-summary { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.field-reading-list h3 a:hover { color: var(--copper); }

@media (max-width: 740px) {
  .field-reading-header, .field-reading-list > li { grid-template-columns: minmax(0, 1fr); }
  .field-reading-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
}

/* A consistent accent for each milestone type, carried from the marker into its details. */
.launch-site .tl-decade {
  --tl-gather-accent: var(--signal);
  --tl-paper-accent: #789cea;
  --tl-program-accent: #58cba3;
  --tl-news-accent: #e18aac;
}

.launch-site .tl-top::before {
  height: 3px;
  background: linear-gradient(90deg, var(--tl-gather-accent), var(--tl-program-accent),
    var(--tl-paper-accent), #a78ade, var(--tl-news-accent));
}

.launch-site .tl-gather { --tl-kind-color: var(--tl-gather-accent); }
.launch-site .tl-paper { --tl-kind-color: var(--tl-paper-accent); }
.launch-site .tl-program { --tl-kind-color: var(--tl-program-accent); }
.launch-site .tl-news { --tl-kind-color: var(--tl-news-accent); }

.launch-site .tl-decade[data-live] .tl-dot {
  border: 1px solid var(--launch-ink);
}

.launch-site .tl-decade[data-live] .tl-paper .tl-dot {
  border-width: 2px;
  border-color: color-mix(in srgb, var(--tl-kind-color), var(--launch-ink) 50%);
}

.launch-site .tl-decade[data-live] .is-current .tl-dot {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px color-mix(in srgb, var(--launch-ink) 52%, var(--paper));
}

.launch-site .tl-decade[data-live] .is-partner .tl-dot {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--tl-kind-color);
}

.launch-site .tl-words {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--launch-line);
  border-block-start: 3px solid var(--launch-accent);
  border-radius: 4px;
  background: linear-gradient(var(--panel) 40%, color-mix(in srgb, var(--panel) 88%, var(--launch-line)));
  box-shadow: 0 1px 1px rgb(0 0 0 / .07), 0 4px 10px rgb(0 0 0 / .09);
}

.launch-site .tl-date {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  grid-column: 1 / -1;
  gap: 0 6px;
  padding: 4px 8px;
  background: linear-gradient(color-mix(in srgb, var(--launch-ink) 91%, white), var(--launch-ink));
  box-shadow: inset 0 1px rgb(255 255 255 / .12);
  font-size: 12px;
  line-height: 1.45;
}

.launch-site .tl-date time {
  color: var(--launch-paper);
  font-family: var(--sans);
  font-weight: 600;
  line-height: inherit;
}

.launch-site .tl-date .tl-kind {
  font-weight: 600;
  white-space: normal;
}

.launch-site .tl-date .tl-kind::before { content: none; }

.launch-site .tl-decade[data-live] .tl-mark .tl-date {
  padding-inline-end: 30px;
}

.launch-site .tl-decade[data-live] .tl-mark .tl-date::after {
  position: absolute;
  display: grid;
  place-items: center;
  inset-block-start: 5px;
  inset-inline-end: 6px;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 50%;
  background: #555;
  color: var(--launch-paper);
  font: 600 15px/1 var(--sans);
}

.launch-site .tl-decade[data-live] .is-current .tl-mark .tl-date::after {
  background: var(--launch-accent);
  color: var(--launch-accent-on-fill);
}

.launch-site :is(.tl-title, .tl-name) { font-weight: 700; }

.launch-site .tl-decade .tl-label {
  grid-area: 2 / 1;
  display: grid;
  align-content: center;
  min-block-size: calc(3lh + 18px);
  margin: 0;
  padding: 8px 8px 10px;
  color: var(--launch-ink);
  font-weight: 700;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.launch-site .tl-thumb {
  grid-area: 2 / 2;
  align-self: center;
  width: 76px;
  height: 55px;
  margin: 8px 8px 8px 0;
  border: 1px solid var(--launch-line);
  border-radius: 2px;
  background: var(--paper);
  object-fit: cover;
}

.launch-site :is(.tl-thumb--portraits, .tl-thumb--nih-title) {
  position: relative;
  overflow: hidden;
}

.launch-site :is(.tl-thumb--portraits, .tl-thumb--nih-title) img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  height: auto;
}

/* Keep the two portraits together when cropping the full UCLA press page. */
.launch-site .tl-thumb--portraits img {
  width: 220%;
  transform: translate(-38.4%, -70%);
}

/* The NIH banner's title occupies its left half. Fit that part in the card. */
.launch-site .tl-thumb--nih-title { background: #305585; }
.launch-site .tl-thumb--nih-title img {
  width: 184%;
  transform: translate(-27.2%, -50%);
}

.launch-site .tl-thumb-empty {
  background:
    linear-gradient(var(--launch-line), var(--launch-line)) center calc(50% - 4px) / 52% 1px no-repeat,
    linear-gradient(var(--launch-line), var(--launch-line)) center calc(50% + 4px) / 36% 1px no-repeat,
    var(--paper);
}

@media (375px <= width < 1100px) {
  .launch-site .tl-decade .tl-label { min-block-size: calc(2lh + 18px); }
}

@media (min-width: 1100px) {
  .launch-site .tl-words { grid-template-columns: minmax(0, 1fr); }

  .launch-site .tl-date {
    display: grid;
    align-content: start;
  }

  .launch-site .tl-decade .tl-label {
    grid-area: 3 / 1;
    display: block;
  }

  .launch-site .tl-thumb {
    grid-area: 2 / 1;
    width: calc(100% - 16px);
    height: 77px;
    margin: 8px 8px 0;
  }

  .launch-site .tl-thumb--portraits img {
    width: 192%;
    transform: translate(-38.4%, -68.2%);
  }
}

.launch-site .tl-decade[data-live] .is-current .tl-words {
  border-inline-color: color-mix(in srgb, var(--launch-line) 54%, var(--launch-ink));
  border-block-end-color: color-mix(in srgb, var(--launch-line) 54%, var(--launch-ink));
}

.launch-site .tl-decade[data-live] .is-partner .tl-words {
  border-inline-color: var(--tl-kind-color);
  border-block-end-color: var(--tl-kind-color);
}

.launch-site .tl-flag:target { scroll-margin-block-start: 24px; }

.launch-site .tl-flag:target .tl-words {
  outline: 2px solid color-mix(in srgb, var(--tl-kind-color), var(--launch-ink) 50%);
  outline-offset: 3px;
}

.launch-site .tl-decade[data-live] :is(.tl-flag, .tl-mark):focus-visible { outline: none; }
.launch-site .tl-decade[data-live] :is(.tl-flag, .tl-mark):focus-visible .tl-words {
  outline: 2px solid color-mix(in srgb, var(--launch-ink) 64%, var(--panel));
  outline-offset: 3px;
}

@media (hover: hover) {
  .launch-site .tl-decade[data-live] .tl-mark:hover .tl-words {
    box-shadow: 0 1px 2px rgb(0 0 0 / .10), 0 5px 11px rgb(0 0 0 / .13);
  }
}

@media (forced-colors: active) {
  .launch-site .tl-decade[data-live] .tl-mark .tl-date::after {
    border: 1px solid ButtonText;
  }

  .launch-site .tl-decade[data-live] .is-current .tl-words,
  .launch-site .tl-decade[data-live] .is-partner .tl-words {
    border-color: Highlight;
  }

  .launch-site .tl-decade[data-live] .is-partner .tl-words { border-style: dashed; }
}
