.page {
  background: #F1F0EE;
  color: #222A37;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-hero {
  position: relative;
  height: 440px;
  margin: 0;
  overflow: hidden;
  background: #2E394B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(34, 42, 55, 0.78), rgba(46, 57, 75, 0.5));
}

.timeline-intro {
  padding: 110px 0 55px;
}

.timeline-intro .container,
.timeline .container {
  width: min(1000px, 100% - 40px);
}

.timeline-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}
.timeline-intro h2 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 46px);
  color: #222A37;
}
.timeline-intro h2 em {
  font-style: normal;
  color: #85553A;
}
.timeline-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #222A37;
}

.timeline {
  padding: 5px 0 120px;
}
.timeline__list {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.timeline__list:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: rgba(133, 85, 58, 0.28);
}
.timeline__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
}
.timeline__card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.timeline__image {
  margin: 0;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: #D8CCC4;
}
.timeline__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.timeline__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 12px;
}
.timeline__text h3 {
  margin: 0;
  font-size: 24px;
  color: #222A37;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.timeline__events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline__events li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #222A37;
}
.timeline__events li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85553A;
}
.timeline__dot {
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F1F0EE;
  border: 2px solid #85553A;
  box-shadow: 0 0 0 6px #F1F0EE;
}
.timeline__row.timeline__row--current .timeline__dot {
  background: #85553A;
}
.timeline__year {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #85553A;
}
.timeline__row:nth-child(odd) .timeline__year {
  grid-column: 3;
  grid-row: 1;
  padding-left: 28px;
}
.timeline__row:nth-child(odd) .timeline__card {
  grid-column: 1;
  grid-row: 1;
}
.timeline__row:nth-child(even) .timeline__year {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  padding-right: 28px;
}
.timeline__row:nth-child(even) .timeline__card {
  grid-column: 3;
  grid-row: 1;
}
.timeline__dot {
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 850px) {
  .page-hero {
    height: 340px;
  }
  .page-hero h1 {
    font-size: 44px;
  }
  .timeline-intro {
    padding: 72px 0 40px;
  }
  .timeline-intro__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .timeline__list:before {
    left: 9px;
  }
  .timeline__row {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 22px;
    row-gap: 14px;
    align-items: start;
  }
  .timeline__row .timeline__dot, .timeline__row:nth-child(n) .timeline__dot {
    grid-column: 1;
    grid-row: 1;
    margin-top: 10px;
  }
  .timeline__row:nth-child(n) .timeline__year {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    padding: 0;
    font-size: 40px;
  }
  .timeline__row:nth-child(n) .timeline__card {
    grid-column: 2;
    grid-row: 2;
  }
  .timeline__image {
    height: 220px;
  }
}
.page h1,
.page h2,
.page h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.timeline-intro {
  background-color: #F1F1F0;
}

.timeline {
  background-color: #F1F1F0;
}
.timeline__image--v1 {
  object-position: 50% 70%;
}
.timeline__image--v2 {
  object-position: 50% 30%;
}
