/* w-timeline.css — classes for the timeline interactive only. */

.w-timeline [hidden] { display: none !important; }

/* lane colors: one custom property, read by every part that shows a lane */
.w-timeline-lane--reasoned { --lc: var(--cyan-bright); --lc-a: rgba(92, 232, 241, 0.16); }
.w-timeline-lane--proven { --lc: var(--mint); --lc-a: rgba(112, 225, 193, 0.16); }
.w-timeline-lane--tried { --lc: var(--orange); --lc-a: rgba(255, 145, 86, 0.16); }
.w-timeline-lane--wall { --lc: var(--rose); --lc-a: rgba(255, 107, 129, 0.16); }
.w-timeline-lane--open { --lc: var(--violet); --lc-a: rgba(183, 155, 255, 0.16); }

.w-timeline-loading { margin: 0; padding: 18px; color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------- filter chips */
.w-timeline-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.w-timeline-chip {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px 6px 10px;
  border: 1px solid var(--lc); border-radius: 99px; background: var(--lc-a); color: var(--text);
  font: 600 0.84rem/1 var(--sans); white-space: nowrap; transition: background 140ms ease, opacity 140ms ease, border-color 140ms ease;
}
.w-timeline-chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lc); flex: none; }
.w-timeline-chip__n { font-family: var(--mono); font-size: 0.74rem; color: var(--lc); padding-left: 2px; }
.w-timeline-chip[aria-pressed="false"] { background: transparent; border-color: var(--line); color: var(--quiet); }
.w-timeline-chip[aria-pressed="false"] .w-timeline-chip__dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--quiet); }
.w-timeline-chip[aria-pressed="false"] .w-timeline-chip__n { color: var(--quiet); }
.w-timeline-chip:hover { border-color: var(--lc); }

/* ---------------------------------------------------------------- track */
.w-timeline-body { background: var(--deep); }
.w-timeline-nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 10px 18px 0; }
.w-timeline-nav__pos { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.w-timeline-trackwrap { display: grid; grid-template-columns: 136px minmax(0, 1fr); padding: 4px 0 8px; }
.w-timeline-trackwrap.is-more-right .w-timeline-scroller { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.w-timeline-trackwrap.is-more-left .w-timeline-scroller { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.w-timeline-trackwrap.is-more-left.is-more-right .w-timeline-scroller { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
.w-timeline-labels { position: relative; z-index: 2; background: var(--deep); border-right: 1px solid var(--line); }
.w-timeline-label { display: flex; align-items: flex-start; padding: 0 12px 0 18px; }
.w-timeline-label span {
  margin-top: calc(0.38 * 56px - 0.62em); color: var(--lc); font-size: 0.84rem; font-weight: 650; line-height: 1.2;
}
.w-timeline--strip .w-timeline-label span { margin-top: calc(0.38 * 46px - 0.62em); }
.w-timeline-label.is-off span { color: var(--quiet); text-decoration: line-through; text-decoration-thickness: 1px; }

.w-timeline-scroller {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(132, 194, 214, 0.35) transparent;
}
.w-timeline-track { position: relative; }

.w-timeline-row { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--lc); opacity: 0.32; }
.w-timeline-row.is-off { opacity: 0.08; }

.w-timeline-wall {
  position: absolute; top: 0;
  background: linear-gradient(180deg, rgba(255, 107, 129, 0.14), rgba(255, 107, 129, 0.05));
  border-left: 1px dashed rgba(255, 107, 129, 0.55); border-right: 1px dashed rgba(255, 107, 129, 0.55);
  border-radius: 8px 8px 0 0;
}
.w-timeline-wall span {
  position: absolute; left: 0; right: 0; top: 7px; text-align: center; white-space: nowrap;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.01em; color: var(--rose);
}
.w-timeline-break { position: absolute; top: 0; width: 0; border-left: 2px dotted rgba(141, 168, 179, 0.5); }
.w-timeline-break::before, .w-timeline-break::after {
  content: ""; position: absolute; left: -9px; width: 16px; height: 6px;
  border-top: 2px solid rgba(141, 168, 179, 0.7); border-bottom: 2px solid rgba(141, 168, 179, 0.7); transform: skewY(-24deg);
  background: var(--deep);
}
.w-timeline-break::before { top: 46%; }
.w-timeline-break::after { top: 72%; }
.w-timeline-break span {
  position: absolute; top: 7px; left: 0; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted); background: var(--deep); padding: 0 4px;
}
.w-timeline-guide { position: absolute; width: 0; border-left: 1px solid rgba(255, 215, 106, 0.35); pointer-events: none; transition: left 220ms ease; }

.w-timeline-mk {
  position: absolute; z-index: 1; width: 36px; height: 40px; margin: -14px 0 0 -18px; padding: 0;
  appearance: none; border: 0; background: transparent; cursor: pointer; display: block;
}
.w-timeline-mk__dot {
  position: absolute; left: 50%; top: 14px; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--lc); box-shadow: 0 0 0 3px var(--deep), 0 0 12px var(--lc-a);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.w-timeline-mk__year {
  position: absolute; left: 50%; top: 25px; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--mono); font-size: 0.7rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums;
}
.w-timeline-mk:hover .w-timeline-mk__dot { transform: scale(1.25); }
.w-timeline-mk:hover .w-timeline-mk__year { color: var(--text); }
.w-timeline-mk.is-sel { z-index: 3; }
.w-timeline-mk.is-sel .w-timeline-mk__dot { transform: scale(1.45); box-shadow: 0 0 0 3px var(--deep), 0 0 0 5px var(--gold), 0 0 18px rgba(255, 215, 106, 0.45); }
.w-timeline-mk.is-sel .w-timeline-mk__year { color: var(--gold); font-weight: 600; top: 31px; }
.w-timeline-mk:focus-visible { outline: none; }
.w-timeline-mk:focus-visible .w-timeline-mk__dot { box-shadow: 0 0 0 3px var(--deep), 0 0 0 5px var(--cyan-bright); }

/* ---------------------------------------------------------------- detail card */
.w-timeline-card { border-top: 1px solid var(--line); padding: 18px 22px 20px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 10px 32px; min-height: 230px; }
.w-timeline--strip .w-timeline-card { display: block; min-height: 0; padding: 12px 18px 14px; }
.w-timeline-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.w-timeline-card__year { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: var(--gold); letter-spacing: -0.01em; }
.w-timeline-card__title { margin: 0 0 8px; font-size: 1.32rem; font-weight: 720; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); text-wrap: balance; }
.w-timeline-card__who { margin: 0; color: var(--soft); font-size: 0.95rem; }
.w-timeline-card__text p { margin: 0 0 10px; color: var(--soft); font-size: 0.97rem; line-height: 1.55; }
.w-timeline-card__k {
  display: inline-block; min-width: 46px; margin-right: 6px; color: var(--violet);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.w-timeline-card__quote { margin: 12px 0; padding: 2px 0 2px 16px; border-left: 2px solid var(--lc, var(--cyan)); color: var(--text); font-size: 0.98rem; line-height: 1.55; }
.w-timeline-card__src { color: var(--quiet); font-size: 0.82rem !important; }
.w-timeline-card__src a { color: var(--muted); }
.w-timeline-card__src a:hover { color: var(--cyan-bright); }

.w-timeline-chipsm {
  display: inline-block; padding: 2px 9px; border: 1px solid var(--lc); border-radius: 99px; color: var(--lc);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}

/* strip summary */
.w-timeline-sum__l1 { margin: 0 0 4px; color: var(--text); font-size: 1.02rem; font-weight: 680; line-height: 1.35; }
.w-timeline-sum__year { font-family: var(--mono); color: var(--gold); font-weight: 600; margin-right: 6px; }
.w-timeline-sum__l2 { margin: 0 0 8px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.w-timeline-sum__more { display: inline-flex; align-items: center; min-height: 38px; font-weight: 650; font-size: 0.92rem; }

/* ---------------------------------------------------------------- list (phones) */
.w-timeline-list { margin: 0; padding: 6px 0 10px; list-style: none; }
.w-timeline-list__item { margin: 0; border-bottom: 1px solid var(--line); position: relative; }
.w-timeline-list__item.is-wall { background: linear-gradient(90deg, rgba(255, 107, 129, 0.1), rgba(255, 107, 129, 0.02) 60%); }
.w-timeline-list__item.is-wall::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(255, 107, 129, 0.55); }
.w-timeline-list__row {
  appearance: none; width: 100%; display: grid; grid-template-columns: 52px 14px minmax(0, 1fr) 16px; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 14px 8px 16px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left;
  font: 600 0.93rem/1.3 var(--sans);
}
.w-timeline-list__row .w-timeline-mk__dot { position: static; margin: 0; width: 12px; height: 12px; box-shadow: 0 0 10px var(--lc-a); }
.w-timeline-list__year { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); font-weight: 500; line-height: 1.2; }
.w-timeline-list__title { text-wrap: pretty; }
.w-timeline-list__chev::before { content: "+"; display: grid; place-items: center; width: 16px; height: 16px; color: var(--quiet); font-family: var(--mono); }
.w-timeline-list__item.is-open .w-timeline-list__chev::before { content: "\2212"; color: var(--gold); }
.w-timeline-list__item.is-open .w-timeline-list__year { color: var(--gold); }
.w-timeline-list__panel { padding: 2px 16px 16px 16px; }
.w-timeline-list__panel .w-timeline-card__head { margin-bottom: 8px; }
.w-timeline-list__panel .w-timeline-card__meta { margin-bottom: 6px; }
.w-timeline-list__panel .w-timeline-card__year { display: none; }
.w-timeline-list__panel .w-timeline-card__title { display: none; }
.w-timeline-list__panel .w-timeline-card__text p { font-size: 0.94rem; }
.w-timeline-list__gap, .w-timeline-list__wallhead {
  margin: 0; padding: 10px 16px 6px; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.w-timeline-list__gap { color: var(--muted); text-align: center; border-bottom: 1px dashed var(--line); }
.w-timeline-list__wallhead { color: var(--rose); border-bottom: 1px solid rgba(255, 107, 129, 0.3); }

@media (max-width: 720px) {
  .w-timeline-trackwrap { grid-template-columns: 96px minmax(0, 1fr); }
  .w-timeline-label { padding: 0 8px 0 12px; }
  .w-timeline-label span { font-size: 0.76rem; }
  .w-timeline-filters { padding: 10px 14px; gap: 6px; }
  .w-timeline-chip { font-size: 0.8rem; padding: 6px 10px 6px 9px; }
}
