.mi2-history,
.mi2-history * { box-sizing: border-box; }

.mi2-history {
  --mi2-cyan: #00c7ff;
  --mi2-panel: rgba(8, 10, 12, .88);
  --mi2-text: #eef3f7;
  --mi2-line: rgba(208, 220, 228, .22);
  --mi2-card-border: rgba(232, 239, 243, .20);
  --mi2-bg: #101010;
  position: relative;
	max-width: 100vw;
	min-height: 100vh;
  overflow: hidden;
  color: var(--mi2-text);
  isolation: isolate;
}

.mi2-history__visual,
.mi2-history__image,
.mi2-history__wash,
.mi2-history__grain { position: absolute; inset: 0; }

.mi2-history__visual { z-index: -1; }
.mi2-history__image {
  opacity: 0;
  background-position: center;
  background-size: cover;
  /*filter: grayscale(1) sepia(.18) contrast(.94) brightness(.83);*/
  transition: opacity .65s ease, transform 1.1s ease;
}
.mi2-history__image.is-active { opacity: 1; transform: scale(1); }
.mi2-history__image.is-loading { opacity: 0; }

.mi2-history__wash {
  background:
    linear-gradient(90deg, rgba(9,11,13,1) 0%, rgba(9,11,13,.985) 41%, rgba(9,11,13,.30) 64%, rgba(9,11,13,.08) 100%),
    linear-gradient(0deg, rgba(9,11,13,1) 0%, rgba(9,11,13,.88) 16%, rgba(9,11,13,0) 49%);
  background:
    linear-gradient(115deg, #101010 0%, #0000 100%);
}
.mi2-history__grain {
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  display: none;
}

.mi2-history__intro,
.mi2-history__explorer {
  position: absolute;
  inset: 0;
  transition: opacity .45s ease, visibility .45s ease, transform .55s ease;
}
.mi2-history__intro { opacity: 1; visibility: visible; }
.mi2-history__explorer { opacity: 0; visibility: hidden; transform: translateY(18px); }
.mi2-history.is-open .mi2-history__intro { opacity: 0; visibility: hidden; transform: translateY(-14px); }
.mi2-history.is-open .mi2-history__explorer { opacity: 1; visibility: visible; transform: translateY(0); }

.mi2-history__intro-inner,
.mi2-history__content {
  position: absolute;
  left: clamp(10px, 7vw, 128px);
  width: 43%;
}
.mi2-history__intro-inner { top: 50%; transform: translateY(-46%); }
.mi2-history__content { top: clamp(66px, 7vw, 112px); height: 900px; }

.mi2-history__intro p,
.mi2-history__description {
    color: #DFE5EB;
    font-size: 18px;
    line-height: 180%;
    letter-spacing: 10%;
    font-weight: 400;
}
.mi2-history__description p { margin: 12px 0; }
.mi2-history__content h4,
.mi2-history__description { transition: opacity .18s ease, transform .18s ease; }
.mi2-history__content h4.is-changing,
.mi2-history__description.is-changing { opacity: 0; transform: translateY(7px); } 

.mi2-history h4 {
  font-size: 48px;
  letter-spacing: 5%;
  padding: 0 0;
  line-height: 100%;
}

.mi2-history__button {
  margin: 75px 0;
}
.mi2-history__content .mi2-history__button { position: fixed; bottom: 250px; margin: 0; }
.mi2-history__button:focus-visible,
.mi2-history__event:focus-visible,
.mi2-history__timeline:focus-visible { outline: 2px solid var(--mi2-cyan); outline-offset: 4px; }

.mi2-history__timeline-wrap {
  position: absolute;
  left: clamp(28px, 6.7vw, 112px);
  right: 0;
  bottom: 21px;
}
.mi2-history__timeline {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 9vw 10px 0;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
}
.mi2-history__timeline::-webkit-scrollbar { display: none; }
.mi2-history__rail {
  position: absolute;
  top: 22px;
  left: 0;
  width: max(100%, 4697px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.18) 100%);
}
.mi2-history__events {
  position: relative;
  display: flex;
  gap: 56px;
  width: max-content;
  min-width: 2740px;
  padding-top: 10px;
}
.mi2-history__event {
  position: relative;
  width: 340px;
  flex: 0 0 334px;
  padding: 48px 0 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.mi2-history__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
	z-index: 2;
  height: 26px;
  border: 4px solid #eff5f8;
  border-radius: 50%;
  background: #3a3e41;
  /*box-shadow: 0 0 15px rgba(255,255,255,.22);*/
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.mi2-history__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: transparent;
  transition: background .25s ease;
}
.mi2-history__event.is-active .mi2-history__dot {
  border-color: #dff9ff;
  background: #00c7ff;
  /*box-shadow: 0 0 12px #00c7ff;
  box-shadow: 0 0 0 4px rgba(0,199,255,.12), 0 0 22px rgba(0,199,255,.75);
  transform: scale(1.03);*/
}
/*.mi2-history__event.is-active .mi2-history__dot::after { background: var(--mi2-cyan); }*/
.mi2-history__event.is-active::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 50%;
  width: 9999px;
  height: 2px;
  background: linear-gradient(to right, var(--mi2-cyan) 98%, rgba(0, 0, 0, 0));
}
.mi2-history__card {
  font-family: 'Magistral', sans-serif;
  display: block;
  width: 340px;
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 28px;
  border: 1px solid var(--mi2-card-border);
  border-radius: 20px;
  background: rgba(5, 7, 9, .72);
  backdrop-filter: blur(4px);
  transition: border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.mi2-history__event:hover .mi2-history__card {
    border-color: #00c7ff;
    background: #142630;
    box-shadow: 0px 0px 18px #00c7ff;
    transition: border .3s ease, box-shadow .3s ease, transform .3s ease;
    transform: translateY(-3px);
}
.mi2-history__event:hover .mi2-history__card {
  /*transform: translateY(-3px);*/
  background: var(--mi2-bg);
}
.mi2-history__event.is-active .mi2-history__card {
  border-color: var(--mi2-cyan);
 
}
.mi2-history__event-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 10%;
  display: block;
    min-height: 58px;
}
.mi2-history__event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  opacity: .9;
  font-weight: 400;
  letter-spacing: 10%;
}
.mi2-history__clock { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.mi2-history__clock::before { content: ""; position: absolute; width: 1px; height: 4px; top: 2px; left: 5px; background: currentColor; }
.mi2-history__clock::after { content: ""; position: absolute; width: 3px; height: 1px; top: 6px; left: 5px; background: currentColor; transform: rotate(35deg); transform-origin: left center; }

@media (max-width: 900px) {
  .mi2-history { min-height: 860px; }
  .mi2-history__explorer { height: 98vh; }
  .mi2-history__wash {
    background:
      linear-gradient(180deg, rgba(9,11,13,.25) 0%, rgba(9,11,13,.75) 38%, rgba(9,11,13,1) 68%),
      linear-gradient(90deg, rgba(9,11,13,.82), rgba(9,11,13,.15));
  }
  .mi2-history__image { background-position: 62% top; }
  .mi2-history__intro-inner,
  .mi2-history__content { left: 24px; right: 24px; width: auto; }
  .mi2-history__intro-inner { top: 48%; }
  .mi2-history__content { top: 0; }
  .mi2-history h4 { margin: 60px 0 20px; }
  .mi2-history__description { font-size: 14px; line-height: 1.55; max-width: 620px; }
  .mi2-history__button { margin-top: 28px; }
  .mi2-history__timeline-wrap { left: 24px; bottom: 34px; }
  .mi2-history__events { gap: 26px; min-width: max-content; }
  .mi2-history__rail { width: 2480px; }
  .mi2-history__event { width: 280px; flex-basis: 280px; }
  .mi2-history__card { height: 120px; padding: 20px 22px; }
}

@media (max-width: 560px) {
  .mi2-history { height: 100vh; }
  .mi2-history__content { top: 0; }
  .mi2-history h4 { font-size: 29px; margin-bottom: 18px; }
  .mi2-history__description { font-size: 13px; }
  .mi2-history__button { min-width: 158px; padding: 15px 20px; font-size: 14px; }
  .mi2-history__timeline-wrap { left: 20px; bottom: 24px; }
  .mi2-history__timeline { padding-right: 20px; }
  .mi2-history__event { width: 232px; flex-basis: 232px; padding-top: 44px; }
  .mi2-history__dot { width: 24px; height: 24px; }
  .mi2-history__dot::after { inset: 4px; }
  .mi2-history__card { padding: 18px 18px; min-height: 92px; }
}

/*@media (prefers-reduced-motion: reduce) {
  .mi2-history *, .mi2-history *::before, .mi2-history *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}*/

@media (max-width: 1500px) { .mi2-history__content { width: 70%; } .mi2-history h4 { font-size: 26px; } .mi2-history p { font-size: 16px; }  }
@media (max-width: 1200px) { .mi2-history__content { width: 80%; } .mi2-history h4 { font-size: 26px; } .mi2-history p { font-size: 16px; }  }
@media (max-width: 900px) { .mi2-history__content { width: 90%; } .mi2-history h4 { font-size: 26px; } .mi2-history p { font-size: 16px; }  }
@media (max-width: 600px) { .mi2-history__content { width: 100%; } .mi2-history h4 { font-size: 26px; } .mi2-history p { font-size: 16px; }  }