.home-projects-explorer[data-active-project="timeline"] .hpe-stage-copy {
  background: transparent;
}

.home-projects-explorer[data-active-project="timeline"] .hpe-stage-visual {
  z-index: auto;
}

.hpe-timeline {
  position: relative;
  display: block;
  width: min(65%, calc(100% - max(20px, calc((100vw - var(--atlas-max)) / 2 + 20px)) - min(29vw, 430px) - 26px));
  min-height: 390px;
  margin-left: auto;
  padding: 20px max(20px, calc((100vw - var(--atlas-max)) / 2 + 20px)) 20px 0;
}

.hpe-timeline-feature {
  display: none;
}

.hpe-people-track[hidden],
.hpe-dates-track[hidden] {
  display: none;
}

.hpe-dates-track {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
}

.hpe-people-track,
.hpe-dates-track {
  background: linear-gradient(#c2c3c1, #c2c3c1) center 10px / 100% 1px no-repeat;
}

.hpe-person::before,
.hpe-axis-date::before {
  display: none;
}

.hpe-person.is-date-related:not([aria-pressed="true"])::after {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  display: block;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border: 1px solid #f5f5f3;
  border-radius: 50%;
  background: #929292;
  content: "";
}

.hpe-person[aria-pressed="true"]::after {
  display: block;
}

.hpe-stage-copy [data-hpe-person].is-timeline-year-control,
.hpe-timeline-feature-year[role="button"] {
  cursor: pointer;
  pointer-events: auto;
}

.home-projects-explorer[data-active-project="timeline"] .hpe-stage-copy [data-hpe-person].is-timeline-year-control {
  font-weight: 700;
  letter-spacing: -.025em;
}

.hpe-stage-copy [data-hpe-person].is-timeline-year-control:focus-visible,
.hpe-timeline-feature-year[role="button"]:focus-visible {
  outline: 2px solid var(--atlas-accent);
  outline-offset: 4px;
}

.hpe-axis-date {
  position: relative;
  width: auto;
  min-width: 0;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  flex: 1 1 0;
  cursor: pointer;
}

.hpe-axis-date::before {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #cfd0ce;
  content: "";
}

.hpe-axis-date::after {
  display: none;
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border: 1px solid #fff;
  border-radius: 50%;
  background: #929292;
  content: "";
}

.hpe-axis-date:hover::before,
.hpe-axis-date:focus-visible::before {
  background: #aaa;
}

.hpe-axis-date[aria-pressed="true"]::after {
  display: block;
  z-index: 3;
  top: 5px;
  width: 10px;
  height: 10px;
  border-width: 2px;
  background: var(--atlas-accent);
}

.hpe-axis-date:focus-visible {
  outline: 1px solid var(--atlas-accent);
  outline-offset: 2px;
}

.hpe-timeline-index {
  display: grid;
  min-width: 0;
  min-height: 350px;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.hpe-timeline-index-item {
  min-width: 0;
  border-right: 1px solid #ddd;
}

.hpe-timeline-index-item:last-child {
  border-right: 0;
}

.hpe-timeline-index-button {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 10px 16px;
  border: 0;
  background: transparent;
  color: #3d3d3d;
  cursor: default;
  flex-direction: column;
  text-align: left;
}

.hpe-timeline-index-button:focus-visible {
  outline: 2px solid var(--atlas-accent);
  outline-offset: -2px;
}

.hpe-timeline-index-copy {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  flex-direction: column;
}

.hpe-timeline-index-date {
  display: block;
  min-width: 0;
  margin-bottom: 17px;
  padding: 17px 4px;
  border: 0;
  background: transparent;
  color: #3f3f3f;
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.hpe-timeline-index-date:hover,
.hpe-timeline-index-date:focus-visible {
  color: var(--atlas-accent);
}

.hpe-timeline-index-date:focus-visible {
  outline: 2px solid var(--atlas-accent);
  outline-offset: -2px;
}

.hpe-timeline-index-description {
  display: -webkit-box;
  max-height: 90px;
  overflow: hidden;
  color: #666;
  font-size: 13px;
  line-height: 18px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.hpe-timeline-index-description.is-selectable {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.hpe-timeline-index-description.is-selectable:focus-visible {
  outline: 1px solid var(--atlas-accent);
  outline-offset: 2px;
}

.hpe-timeline-index-item.is-active .hpe-timeline-index-button {
  background: transparent;
  color: #222;
}

.hpe-timeline-index-item.is-active .hpe-timeline-index-description {
  padding-bottom: 0;
  border-bottom: 0;
  text-decoration: none;
}

.hpe-timeline-index-item.is-active .hpe-timeline-index-date {
  color: #202020;
}

.hpe-timeline-index-item.is-active .hpe-timeline-index-date:hover,
.hpe-timeline-index-item.is-active .hpe-timeline-index-date:focus-visible {
  color: var(--atlas-accent);
}

.hpe-timeline-index-people {
  display: flex;
  min-height: 0;
  max-height: none;
  margin-top: 14px;
  padding: 7px 0 21px;
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 2px solid transparent;
  flex: 1 1 auto;
  flex-direction: column;
  scrollbar-width: thin;
}

.hpe-timeline-index-item.is-active .hpe-timeline-index-people {
  border-top-color: var(--atlas-accent);
}

.hpe-timeline-index-item:hover:not(:has(.hpe-timeline-index-date:hover)) .hpe-timeline-index-people,
.hpe-timeline-index-item:has(.hpe-timeline-index-description.is-selectable:focus-visible) .hpe-timeline-index-people {
  border-top-color: var(--atlas-accent);
}

.hpe-timeline-index-person:first-child {
  margin-top: auto;
}

.hpe-timeline-index-person {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1px 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-family: var(--atlas-font);
  font-size: 12px;
  line-height: 16px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hpe-timeline-index-person:hover,
.hpe-timeline-index-person:focus-visible {
  color: var(--atlas-accent);
}

.hpe-timeline-index-person:focus-visible {
  outline: 1px solid var(--atlas-accent);
  outline-offset: -1px;
}

.hpe-timeline-index--events {
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  grid-template-columns: none;
  grid-auto-columns: 20%;
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.hpe-timeline-index--events .hpe-timeline-index-item {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  scroll-snap-align: start;
}

.hpe-timeline-index--events .hpe-timeline-index-button {
  height: auto;
  padding-bottom: 8px;
  cursor: pointer;
  flex: 0 0 auto;
}

.hpe-timeline-index--events .hpe-timeline-index-copy {
  padding-top: 70px;
  flex: 0 0 auto;
  justify-content: flex-start;
}

@media (min-width: 521px) {
  .home-projects-explorer[data-active-project="timeline"][data-timeline-axis="dates"] .hpe-stage-copy {
    inset-block: 0;
    padding-top: 30px;
    justify-content: flex-start;
  }

  .home-projects-explorer[data-active-project="timeline"][data-timeline-axis="dates"] .hpe-stage-copy [data-hpe-person] {
    order: 1;
    margin-top: 0;
    margin-left: min(160px, 51%);
    font-size: clamp(28px, 2.4vw, 34px);
    line-height: 1;
  }

  .home-projects-explorer[data-active-project="timeline"][data-timeline-axis="dates"] .hpe-stage-role {
    order: 2;
    margin: auto 0 32px min(160px, 51%);
  }
}

.hpe-timeline-index--events .hpe-timeline-index-description {
  display: -webkit-box;
  max-height: 85px;
  color: #555;
  overflow: hidden;
  font-size: 13px;
  line-height: 17px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.hpe-timeline-index--events .hpe-timeline-index-item.is-active {
  background: transparent;
}

.hpe-timeline-index--events .hpe-timeline-index-item.is-active .hpe-timeline-index-button {
  background: transparent;
  box-shadow: none;
}

.hpe-timeline-event-people {
  display: flex;
  min-height: 0;
  margin: 0 10px 12px;
  padding: 7px 0 25px;
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 2px solid transparent;
  flex: 1 1 auto;
  flex-direction: column;
  scrollbar-width: thin;
}

.hpe-timeline-index-item.is-active .hpe-timeline-event-people {
  border-top-color: var(--atlas-accent);
}

.hpe-timeline-event-person:first-child {
  margin-top: auto;
}

.hpe-timeline-event-person {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1px 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-family: var(--atlas-font);
  font-size: 12px;
  line-height: 16px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hpe-timeline-event-person[aria-pressed="true"] {
  color: #333;
  font-weight: 500;
}

.hpe-timeline-event-person:hover,
.hpe-timeline-event-person:focus-visible {
  color: var(--atlas-accent);
}

.home-projects-explorer[data-active-project="timeline"][data-timeline-axis="dates"] .hpe-stage-role {
  max-height: 220px;
  padding-right: 5px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 16px;
  gap: 0;
  scrollbar-width: none;
}

.home-projects-explorer[data-active-project="timeline"][data-timeline-axis="dates"] .hpe-stage-role::-webkit-scrollbar {
  display: none;
}

@media (max-width: 780px) and (min-width: 521px) {
  .hpe-timeline {
    width: 68%;
    padding-right: 20px;
  }

  .hpe-timeline-index-button {
    padding-inline: 7px;
  }

  .hpe-timeline-index-date {
    padding-inline: 4px;
    font-size: 18px;
  }

  .hpe-timeline-index-description {
    font-size: 11.5px;
    line-height: 16px;
  }
}

@media (max-width: 520px) {
  .home-projects-explorer[data-active-project="timeline"] .hpe-stage {
    display: block;
    height: 440px;
    min-height: 440px;
    max-height: 440px;
  }

  .home-projects-explorer[data-active-project="timeline"] .hpe-stage-copy {
    display: none;
  }

  .home-projects-explorer[data-active-project="timeline"] .hpe-stage-visual,
  .home-projects-explorer[data-active-project="timeline"] .hpe-project-view {
    height: 440px;
    min-height: 440px;
    max-height: 440px;
    overflow: hidden;
  }

  .hpe-timeline {
    width: 100%;
    height: 440px;
    min-height: 440px;
    margin: 0;
    padding: 14px 20px 4px;
  }

  .hpe-timeline-feature {
    position: relative;
    z-index: 2;
    display: block;
    height: 210px;
    min-height: 210px;
  }

  .hpe-timeline-feature-month {
    margin: 0;
    padding: 9px 12px;
    background: #aaa;
    color: #fff;
    font-size: clamp(24px, 7.5vw, 30px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .hpe-timeline-feature-card {
    position: relative;
    height: 162px;
    min-height: 162px;
    padding: 8px 22px 6px;
    background: #fff;
    text-align: center;
  }

  .hpe-timeline-feature-year {
    display: block;
    color: #000;
    font-size: clamp(54px, 18vw, 68px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .95;
  }

  .hpe-timeline-feature-description {
    display: -webkit-box;
    max-width: 100%;
    margin: 5px 0 0;
    overflow: hidden;
    color: #a47f82;
    font-size: clamp(12.5px, 3.65vw, 14.5px);
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hpe-timeline-feature-spoken {
    font-weight: 600;
  }

  .hpe-timeline-people-toggle {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    min-height: 18px;
    margin: 2px auto 0;
    padding: 0 16px 0 13px;
    border: 0;
    border-bottom: 1px solid #d3d3d3;
    background: transparent;
    color: #666;
    cursor: pointer;
    align-items: center;
    font-family: var(--atlas-font);
    font-size: 10px;
    font-weight: 600;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hpe-timeline-people-toggle::before {
    position: absolute;
    top: 6px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--atlas-accent);
    content: "";
  }

  .hpe-timeline-people-toggle::after {
    position: absolute;
    right: 2px;
    content: "+";
    font-size: 13px;
    font-weight: 400;
  }

  .hpe-timeline-people-toggle[aria-expanded="true"]::after {
    content: "−";
  }

  .hpe-timeline-people-toggle:focus-visible {
    outline: 2px solid var(--atlas-accent);
    outline-offset: 2px;
  }

  .hpe-timeline-people-panel {
    position: absolute;
    z-index: 10;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 210px;
    padding: 6px 8px 8px;
    border-top: 1px solid rgb(0 0 0 / .08);
    background: rgb(255 255 255 / .98);
    box-shadow: 0 8px 18px rgb(0 0 0 / .12);
    overflow-y: auto;
    text-align: left;
  }

  .hpe-timeline-people-panel[hidden] {
    display: none;
  }

  .hpe-timeline-people-list {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
  }

  .hpe-timeline-people-list li {
    min-width: 0;
  }

  .hpe-timeline-person-choice {
    display: block;
    width: 100%;
    min-width: 0;
    height: 27px;
    padding: 3px 7px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgb(0 0 0 / .06);
    background: transparent;
    color: #555;
    cursor: pointer;
    font-family: var(--atlas-font);
    font-size: 10.5px;
    line-height: 21px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hpe-timeline-person-choice:hover,
  .hpe-timeline-person-choice:focus-visible,
  .hpe-timeline-person-choice[aria-pressed="true"] {
    background: rgb(194 29 42 / .07);
    color: #222;
  }

  .hpe-timeline-person-choice[aria-pressed="true"] {
    box-shadow: inset 2px 0 0 rgb(194 29 42 / .52);
  }

  .hpe-timeline-index {
    position: relative;
    z-index: 1;
    display: grid;
    height: 210px;
    min-height: 210px;
    margin: 2px 0 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, minmax(0, 1fr));
  }

  .hpe-timeline-index-item {
    border-right: 0;
    border-top: 1px solid rgb(0 0 0 / .08);
  }

  .hpe-timeline-index-button {
    display: grid;
    height: 100%;
    min-height: 0;
    padding: 3px 8px;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 34%);
    align-items: center;
    column-gap: 5px;
  }

  .hpe-timeline-index-copy {
    display: flex;
    justify-content: center;
  }

  .hpe-timeline-index-date {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 1px;
    padding: 2px 7px;
    font-size: clamp(18px, 5.4vw, 21px);
    letter-spacing: 0;
    text-align: left;
  }

  .hpe-timeline-index-description {
    display: block;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hpe-timeline-index-people {
    width: 100%;
    max-height: 34px;
    margin: 0;
    padding: 1px 0 1px 7px;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 0;
    border-left: 2px solid transparent;
    flex: none;
    scrollbar-width: none;
  }

  .hpe-timeline-index-item.is-active .hpe-timeline-index-people {
    border-top: 0;
    border-left-color: var(--atlas-accent);
    border-left-width: 2px;
  }

  .hpe-timeline-index-person {
    padding: 0;
    font-size: 9px;
    line-height: 11px;
  }

  .hpe-timeline-index--events {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .hpe-timeline-index--events .hpe-timeline-index-item {
    display: block;
    height: auto;
    min-height: 72px;
  }

  .hpe-timeline-index--events .hpe-timeline-index-button {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 34px;
    padding: 3px 8px 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .hpe-timeline-index--events .hpe-timeline-index-copy {
    padding-top: 26px;
    justify-content: flex-start;
  }

  .hpe-timeline-index--events .hpe-timeline-index-description {
    display: -webkit-box;
    max-height: 24px;
    font-size: 10.5px;
    line-height: 12px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hpe-timeline-index--events .hpe-timeline-event-people {
    display: flex;
    width: calc(100% - 16px);
    height: 22px;
    min-height: 22px;
    margin: 1px 8px 5px;
    padding: 3px 0 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 2px solid transparent;
    flex-direction: row;
    gap: 10px;
    scrollbar-width: none;
  }

  .hpe-timeline-index--events .hpe-timeline-event-person {
    width: auto;
    padding: 0;
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 12px;
  }

  .hpe-timeline-index--events .hpe-timeline-event-person:first-child {
    margin-top: 0;
  }
}

.hpe-filter {
  padding: 7px 0;
  border-bottom-color: transparent;
  color: var(--atlas-text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hpe-filter::before {
  display: none;
  content: none;
}

.hpe-filter.is-person-project {
  border-bottom-color: #999;
  color: var(--atlas-text);
}

.hpe-filter[aria-pressed="true"] {
  border-bottom-color: var(--atlas-accent);
  color: var(--atlas-text);
}

.hpe-filter:hover,
.hpe-filter:focus-visible {
  border-bottom-color: transparent;
  color: var(--atlas-accent);
}

.hpe-filter.is-person-project:hover,
.hpe-filter.is-person-project:focus-visible {
  border-bottom-color: #999;
  color: var(--atlas-accent);
}

.hpe-filter[aria-pressed="true"]:hover,
.hpe-filter[aria-pressed="true"]:focus-visible {
  border-bottom-color: var(--atlas-accent);
  color: var(--atlas-accent);
}

@media (prefers-reduced-motion: reduce) {
  .hpe-timeline-index-button {
    scroll-behavior: auto;
  }
}
