body[data-view="timeline"] {
  --explore-bg: #f6f3ec;
  --explore-ink: #292b27;
  --explore-muted: #6c7065;
  --explore-line: #d7d7ca;
  --explore-accent: #3e5a44;
  --explore-panel: #fffdf8;
}

.timeline {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0 3rem;
}
body[data-view="timeline"] .explore-intro {
  display: none;
}
:where(.timeline) button,
:where(.timeline) select {
  font: inherit;
  color: inherit;
}
.timeline button {
  cursor: pointer;
}
.timeline button:focus-visible,
.timeline select:focus-visible {
  outline: 2px solid var(--explore-accent);
  outline-offset: 4px;
}
.timeline-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--explore-muted);
}
.timeline-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0 2.25rem;
  border-bottom: 1px solid var(--explore-line);
}
.timeline-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0.8rem 0 1rem;
}
.timeline-intro h1 em {
  color: var(--explore-accent);
  font-weight: 400;
}
.timeline-intro__description {
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--explore-muted);
}
.timeline-intro__stat {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-align: end;
  padding-bottom: 0.25rem;
}
.timeline-intro__stat strong {
  font-size: 2.8rem;
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
}
.timeline-intro__stat span {
  font-size: 0.7rem;
  color: var(--explore-muted);
}
.timeline-layout {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  padding-top: 2rem;
}
.timeline-index {
  align-self: start;
  position: sticky;
  top: 1rem;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 0.5rem;
  margin: -0.5rem;
}
.timeline-index h3 {
  margin: 0 0 1.15rem;
}
.timeline-index__items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.timeline-index__item {
  position: relative;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0.8rem 0.85rem;
  text-align: start;
  min-height: 44px;
  border-radius: 2px;
  overflow: hidden;
}
.timeline-index__label {
  font-size: 0.78rem;
  z-index: 1;
}
.timeline-index__count {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: var(--explore-muted);
  z-index: 1;
}
.timeline-index__item:hover {
  background: #e8e9df;
}
.timeline-index__item[aria-pressed="true"] {
  background: var(--explore-accent);
  color: #fffdf8;
}
.timeline-index__item[aria-pressed="true"] .timeline-index__count {
  color: #e1eadf;
}
.timeline-index__bar {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0.85rem;
  height: 2px;
  width: calc(var(--timeline-fill) * 0.84);
  background: var(--explore-line);
}
.timeline-index__item[aria-pressed="true"] .timeline-index__bar {
  background: #92a18d;
}
.timeline-index__note {
  border-top: 1px solid var(--explore-line);
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  font-size: 0.7rem;
  line-height: 1.7;
  color: var(--explore-muted);
}
.timeline-main {
  min-width: 0;
}
.timeline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.timeline-toolbar__chapter h2 {
  margin: 0.4rem 0 0;
  font-size: 1.45rem;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}
.timeline-order {
  display: flex;
  flex-shrink: 0;
  border: 1px solid var(--explore-line);
  border-radius: 4px;
  padding: 3px;
  gap: 2px;
}
.timeline-order button {
  border: 0;
  background: transparent;
  font-size: 0.7rem;
  padding: 0.6rem 0.8rem;
  min-height: 36px;
  border-radius: 2px;
  color: var(--explore-muted);
}
.timeline-order button[aria-pressed="true"] {
  background: var(--explore-panel);
  color: var(--explore-ink);
  box-shadow: 0 1px 3px #292b2715;
}
.timeline-date-filter {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}
.timeline-date-filter label {
  font-size: 0.7rem;
  color: var(--explore-muted);
}
.timeline-day-select {
  background: transparent;
  border: 1px solid var(--explore-line);
  border-radius: 3px;
  max-width: 100%;
  min-height: 38px;
  padding-block: 0.4rem 0.4rem; padding-inline: 0.65rem 1.8rem;
  font-size: 0.74rem;
}
.timeline-day-select:disabled {
  opacity: 0.55;
}
.timeline-clear {
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--explore-muted);
  font-size: 0.7rem;
  min-height: 38px;
}
.timeline-stream {
  padding-top: 0.75rem;
}
.timeline-day {
  display: grid;
  grid-template-columns: 5.1rem minmax(0, 1fr);
  column-gap: 1.7rem;
  position: relative;
  padding-bottom: 2.75rem;
}
.timeline-day::before {
  content: "";
  position: absolute;
  inset-inline-start: 5.95rem;
  top: 1rem;
  bottom: -1rem;
  width: 1px;
  background: var(--explore-line);
}
.timeline-day:last-child::before {
  bottom: 2.75rem;
}
.timeline-day::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(5.95rem - 3px);
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--explore-accent);
  box-shadow: 0 0 0 4px var(--explore-bg);
}
.timeline-day__date {
  text-align: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.timeline-day__weekday {
  font-size: 0.64rem;
  color: var(--explore-muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.timeline-day__number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1.05;
  letter-spacing: -0.07em;
  margin-top: 0.25rem;
}
.timeline-day__month {
  font-size: 0.64rem;
  color: var(--explore-muted);
  line-height: 1.5;
  max-width: 4.5rem;
  margin-top: 0.45rem;
}
.timeline-day__body {
  min-width: 0;
}
.timeline-day__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--explore-line);
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
}
.timeline-day__heading h3 {
  font-size: 0.77rem;
  font-weight: 600;
  margin: 0;
}
.timeline-day__heading > span {
  font-size: 0.65rem;
  color: var(--explore-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.timeline-day__note {
  font-size: 0.8rem;
  color: var(--explore-muted);
  margin: -0.25rem 0 1rem;
}
.timeline-day__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.6rem;
}
.timeline-card {
  min-width: 0;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--explore-line);
}
.timeline-card__open {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  width: 100%;
  text-align: start;
  border: 0;
  background: transparent;
}
.timeline-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--g-deep);
  border-radius: 2px;
  width: 100%;
}
.timeline-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.timeline-card__open:hover .timeline-card__image img {
  transform: scale(1.04);
}
.timeline-card__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.timeline-card__meta {
  color: var(--explore-muted);
  font-size: 0.6rem;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-card__title {
  margin-top: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  letter-spacing: -0.025em;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.timeline-card__open:hover .timeline-card__title {
  color: var(--explore-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.timeline-card__description {
  color: var(--explore-muted);
  font-size: 0.71rem;
  line-height: 1.55;
  margin-top: 0.4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.timeline-card__details {
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 0.55rem;
}
.timeline-card__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.timeline-card__play,
.timeline-card__fave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
}
.timeline-card__play {
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.7rem;
  color: var(--explore-accent);
}
.timeline-card__fave {
  width: 36px;
}
.timeline-card__play svg {
  width: 12px;
  height: 12px;
}
.timeline-card__fave svg {
  width: 16px;
  height: 16px;
}
.timeline-card__play:hover,
.timeline-card__fave:hover {
  background: #e8e9df;
  border-color: var(--explore-line);
}
.timeline-card__fave[aria-pressed="true"] {
  color: var(--explore-accent);
}
.timeline-card__fave[aria-pressed="true"] svg {
  fill: currentColor;
}
.timeline-card.is-selected {
  border-bottom-color: var(--explore-accent);
}
.timeline-card.is-selected .timeline-card__title {
  color: var(--explore-accent);
}
.timeline-footer {
  border-top: 1px solid var(--explore-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
}
.timeline-footer p {
  color: var(--explore-muted);
  font-size: 0.75rem;
}
.timeline-more,
.timeline-reset {
  border: 1px solid var(--explore-accent);
  border-radius: 3px;
  background: var(--explore-accent);
  color: #fffdf8;
  padding: 0.8rem 1.1rem;
  font-size: 0.75rem;
}
.timeline-more:hover,
.timeline-reset:hover {
  background: #2e4433;
}
.timeline-more span {
  margin-inline-start: 1rem;
}
.timeline-empty {
  padding: 3rem 1rem 4rem;
  text-align: center;
}
.timeline-empty h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0.8rem 0;
}
.timeline-empty > p:not(.timeline-eyebrow) {
  font-size: 0.85rem;
  color: var(--explore-muted);
}
.timeline-reset {
  margin-top: 1.25rem;
}
.timeline-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 1350px) {
  .timeline-card__open {
    grid-template-columns: 8rem minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  .timeline-layout {
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1.75rem;
  }
  .timeline-day__cards {
    grid-template-columns: 1fr;
  }
  .timeline-card__open {
    grid-template-columns: 8rem minmax(0, 1fr);
  }
  .timeline-card__title {
    font-size: 1.3rem;
  }
}
@media (max-width: 760px) {
  .timeline-intro {
    padding-top: 1.5rem;
    align-items: flex-start;
    gap: 1rem;
  }
  .timeline-intro__stat {
    display: none;
  }
  .timeline-layout {
    display: block;
    padding-top: 1.5rem;
  }
  .timeline-index {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 1.6rem;
  }
  .timeline-index h3 {
    margin-bottom: 0.75rem;
  }
  .timeline-index__items {
    flex-direction: row;
    overflow-x: auto;
    padding: 0.3rem 0.2rem 0.65rem;
    margin: -0.3rem -0.2rem -0.65rem;
  }
  .timeline-index__item {
    flex: 0 0 auto;
    border: 1px solid var(--explore-line);
  }
  .timeline-index__note {
    display: none;
  }
  .timeline-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .timeline-toolbar__chapter h2 {
    font-size: 1.4rem;
  }
  .timeline-order button {
    min-height: 38px;
  }
  .timeline-day {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1.3rem;
    padding-bottom: 2rem;
  }
  .timeline-day::before {
    inset-inline-start: 4.15rem;
  }
  .timeline-day::after {
    inset-inline-start: calc(4.15rem - 3px);
  }
  .timeline-day__number {
    font-size: 2.6rem;
  }
  .timeline-day__month {
    font-size: 0.6rem;
  }
  .timeline-day__heading {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .timeline-card__open {
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.75rem;
  }
  .timeline-card__title {
    font-size: 1.18rem;
  }
  .timeline-card__play,
  .timeline-card__fave {
    min-height: 44px;
  }
  .timeline-card__fave {
    width: 44px;
  }
  .timeline-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 430px) {
  .timeline-card__open {
    grid-template-columns: 1fr;
  }
  .timeline-card__image {
    aspect-ratio: 16 / 9;
  }
  .timeline-card__meta {
    font-size: 0.64rem;
  }
  .timeline-card__description {
    font-size: 0.75rem;
  }
  .timeline-day-select {
    width: 100%;
  }
  .timeline-day__heading h3 {
    font-size: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-card__image img {
    transition: none;
  }
}
