/* Timeline and Great Conversation pages. Colours come only from the tokens in site.css so dark mode works. */
.hero-tight { padding-bottom: 24px; }
.note { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.prose-flush { padding: 8px 0 8px; }
.prose-flush h2:first-child { margin-top: 8px; }

/* Span strip: one dot per book on a linear scale */
.strip { position: relative; height: 64px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.strip-dot { position: absolute; top: 14px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--bg); opacity: 0.8; transition: opacity .2s; }
.strip-dot:hover, .strip-dot:focus-visible { opacity: 1; transform: scale(1.5); }
.strip-dot.dim { opacity: 0.12; }
.strip-tick { position: absolute; bottom: -22px; transform: translateX(-50%); font: 400 10px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.strip-tick::before { content: ""; position: absolute; left: 50%; top: -12px; height: 8px; border-left: 1px solid var(--line); }
.strip + .note { margin-top: 34px; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.chip { font: 400 14px/1 var(--serif); color: var(--body); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; }
a.chip { display: inline-block; }
.chip span { color: var(--faint); font-size: 12px; margin-left: 2px; }
.chip:hover { border-color: var(--navy); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.chip[aria-pressed="true"] span { color: var(--on-navy); opacity: .75; }

/* Timeline list */
.tl-era { padding: 24px 0 0; }
.tl-era > .label { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tl { list-style: none; margin: 0; padding: 0; }
.tl-item { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px; transition: background .4s; }
.tl-item.flash { background: var(--card-2); }
.tl-when { font: 400 12px/1.6 var(--mono); color: var(--navy); padding-top: 3px; }
.tl-body h3 { font-size: 19px; margin-top: 2px; }
.tl-body h3 a { color: var(--ink); border-bottom-color: var(--line); }
.tl-body h3 a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.tl-author { margin: 0; color: var(--body); font-size: 16px; }
.tl-body .tr { display: block; color: var(--faint); font-size: 13px; }
.tl-body .tag { color: var(--muted); }
.tl-group details { margin-top: 8px; }
.tl-group summary { cursor: pointer; color: var(--navy); font-size: 15px; }
.tl-inner { margin-top: 6px; }
.tl-inner .tl-item { grid-template-columns: 90px 1fr; padding: 8px 0; }
.tl-inner .tl-item:last-child { border-bottom: 0; }
.tl-inner .tl-body h3 { font-size: 16px; }
.tl-inner .tl-author { display: none; }

/* By type */
.types { columns: 3 300px; column-gap: 16px; }
.type-card { break-inside: avoid; margin: 0 0 16px; }
.type-card h3 { margin-top: 4px; }
.type-list { list-style: none; margin: 10px 0 0; padding: 0; max-height: 320px; overflow-y: auto; }
.type-list li { font-size: 15px; padding: 3px 0; color: var(--body); }
.type-list a { color: var(--ink); border-bottom-color: var(--line); }
.type-list .by { display: block; color: var(--faint); font-size: 13px; }

/* Great Conversation ideas */
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.idea { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; scroll-margin-top: 80px; display: flex; flex-direction: column; }
.idea h3 { font-size: 22px; font-weight: 400; }
.idea-q { font-style: italic; color: var(--ink); margin: 6px 0 0; }
.idea > p:not(.idea-q) { color: var(--body); font-size: 16px; }
.voices { list-style: none; margin: 4px 0 16px; padding: 0; border-top: 1px solid var(--line); }
.voices li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.voices a { color: var(--ink); border-bottom-color: var(--line); }
.voices a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.yr { font: 400 11px/1.4 var(--mono); color: var(--faint); margin-left: 4px; white-space: nowrap; }
.voices .what { display: block; color: var(--muted); font-size: 14px; }
.idea .question { margin-top: auto; background: var(--card-2); }

/* Who answers whom */
.exchanges { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.exchanges li { padding: 14px 0; border-top: 1px solid var(--line); }
.exchanges .pair { margin: 0; font-size: 17px; }
.exchanges .arrow { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 4px; }
.exchanges p:not(.pair) { margin: 4px 0 0; color: var(--body); font-size: 15px; }
.sources li { font-size: 16px; margin-bottom: 6px; }

@media (max-width: 760px) {
  .tl-item { grid-template-columns: 1fr; gap: 2px; }
  .tl-inner .tl-item { grid-template-columns: 1fr; }
  .ideas, .exchanges { grid-template-columns: 1fr; }
  .strip-tick:nth-of-type(odd) { display: none; }
}

/* Conversations: dropdowns under each description */
.ideas { align-items: start; }
.idea .question { margin-top: 14px; }
.drop { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.drop summary { cursor: pointer; color: var(--navy); font-size: 16px; list-style-position: outside; }
.drop summary span { font: 400 11px/1 var(--mono); color: var(--faint); margin-left: 4px; }
.drop[open] summary { margin-bottom: 4px; }
.drop .voices { margin-bottom: 0; }
.drop-more .voices li { color: var(--ink); }
.drop-more .note { font-size: 14px; margin: 4px 0 6px; }
.how { padding-top: 8px; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; counter-reset: step; padding: 0; margin: 14px 0 0; }
.how-steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; color: var(--body); font-size: 15px; }
.how-steps li::before { content: "0" counter(step); display: block; font: 400 11px/1.4 var(--mono); letter-spacing: .1em; color: var(--navy); margin-bottom: 6px; }
.how-steps strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }
