.page-home .home-bases {
  --bases-ink: #07141d;
  --bases-muted: #617079;
  --bases-line: #d7dee2;
  --bases-red: #cf332f;
  --bases-blue: #114f7e;
  padding: clamp(90px, 9vw, 142px) max(24px, calc((100vw - 1440px) / 2)) clamp(58px, 3.8vw, 72px);
  color: var(--bases-ink);
  background: #fff;
}

.page-home .home-bases-head {
  margin: 0 auto clamp(46px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  align-items: end;
  gap: clamp(48px, 7vw, 118px);
}

.page-home .home-bases-head > div > p {
  margin: 0 0 18px;
  color: var(--bases-blue);
  font-size: 14px;
  font-weight: 700;
}

.page-home .home-bases-head h2 {
  margin: 0;
  font-size: clamp(42px, 4.3vw, 68px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.06em;
}

.page-home .home-bases-head > p {
  max-width: 500px;
  margin: 0 0 3px;
  color: var(--bases-muted);
  font-size: 16px;
  line-height: 1.9;
}

.page-home .home-bases-stage {
  position: relative;
  min-height: clamp(620px, 50vw, 760px);
  overflow: hidden;
  background: #0a1720;
  isolation: isolate;
}

.page-home .home-base-panel {
  position: absolute;
  inset: 0;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .62s ease, visibility .62s step-end;
}

.page-home .home-base-panel.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity .62s ease, visibility 0s;
}

.page-home .home-base-panel > img,
.page-home .home-base-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .home-base-panel > img {
  z-index: -2;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(.84) contrast(1.04);
  transform: scale(1.035);
  transition: transform 1.4s cubic-bezier(.2, .78, .2, 1);
}

.page-home .home-base-panel.is-active > img {
  transform: scale(1);
}

.page-home .home-base-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 16, 24, .93) 0%, rgba(4, 16, 24, .79) 27%, rgba(4, 16, 24, .25) 55%, rgba(4, 16, 24, .08) 74%),
    linear-gradient(180deg, rgba(4, 16, 24, .12) 40%, rgba(4, 16, 24, .8) 100%);
}

.page-home .home-base-copy {
  width: min(470px, 38vw);
  padding: clamp(56px, 5vw, 78px) 0 158px clamp(38px, 5vw, 78px);
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity .52s ease .12s, transform .7s cubic-bezier(.2, .78, .2, 1) .12s;
}

.page-home .home-base-panel.is-active .home-base-copy {
  opacity: 1;
  transform: none;
}

.page-home .home-base-copy > p:first-child {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 650;
}

.page-home .home-base-copy > p:first-child::before {
  width: 42px;
  height: 2px;
  content: "";
  background: var(--bases-red);
}

.page-home .home-base-copy h3 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -.055em;
}

.page-home .home-base-copy h3 + p {
  max-width: 440px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.85;
}

.page-home .home-base-copy ul {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
  list-style: none;
}

.page-home .home-base-copy li {
  position: relative;
  padding-left: 15px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.5;
}

.page-home .home-base-copy li::before {
  position: absolute;
  top: .64em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--bases-red);
}

.page-home .home-base-copy > a {
  width: fit-content;
  margin-top: 32px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 44px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.55);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: gap .35s ease, border-color .35s ease;
}

.page-home .home-base-copy > a:hover,
.page-home .home-base-copy > a:focus-visible {
  gap: 58px;
  border-color: #fff;
}

.page-home .home-base-tabs {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.27);
  background: rgba(4,16,24,.7);
  backdrop-filter: blur(14px);
}

.page-home .home-base-tab {
  position: relative;
  min-height: 118px;
  padding: 24px clamp(28px, 3.2vw, 50px);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-content: center;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.72);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .35s ease, background .35s ease;
}

.page-home .home-base-tab:last-child { border-right: 0; }

.page-home .home-base-tab span {
  grid-row: 1 / 3;
  padding-top: 1px;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.page-home .home-base-tab strong {
  font-size: 18px;
  font-weight: 650;
}

.page-home .home-base-tab small {
  margin-top: 7px;
  color: inherit;
  font-size: 12px;
}

.page-home .home-base-tab::after {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--bases-red);
  transition: width .45s cubic-bezier(.2, .78, .2, 1);
}

.page-home .home-base-tab.is-active {
  color: var(--bases-ink);
  background: rgba(255,255,255,.96);
}

.page-home .home-base-tab.is-active span { color: var(--bases-red); }
.page-home .home-base-tab.is-active::after { width: 50%; }

.page-home .home-base-tab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.page-home .home-bases-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--bases-line);
  border-top: 0;
  list-style: none;
}

.page-home .home-bases-flow li {
  position: relative;
  min-height: 126px;
  padding: 27px clamp(20px, 2.2vw, 34px);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-content: center;
  border-right: 1px solid var(--bases-line);
}

.page-home .home-bases-flow li:last-child { border-right: 0; }

.page-home .home-bases-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-top: 1px solid #aab6bc;
  border-right: 1px solid #aab6bc;
  content: "";
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.page-home .home-bases-flow span {
  grid-row: 1 / 3;
  color: var(--bases-red);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.page-home .home-bases-flow strong {
  font-size: 15px;
  font-weight: 680;
}

.page-home .home-bases-flow small {
  margin-top: 7px;
  color: var(--bases-muted);
  font-size: 12px;
  line-height: 1.5;
}

.has-motion .page-home .home-bases-head,
.has-motion .page-home .home-bases-stage,
.has-motion .page-home .home-bases-flow {
  opacity: 0;
  transform: translateY(26px);
}

.has-motion .page-home .home-bases.is-visible .home-bases-head,
.has-motion .page-home .home-bases.is-visible .home-bases-stage,
.has-motion .page-home .home-bases.is-visible .home-bases-flow {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .78, .2, 1);
}

.has-motion .page-home .home-bases.is-visible .home-bases-stage { transition-delay: .1s; }
.has-motion .page-home .home-bases.is-visible .home-bases-flow { transition-delay: .18s; }

@media (hover: hover) and (pointer: fine) {
  .page-home .home-base-tab:not(.is-active):hover {
    color: #fff;
    background: rgba(255,255,255,.08);
  }
}

@media (max-width: 920px) {
  .page-home .home-bases-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-home .home-bases-head > p { max-width: 680px; }
  .page-home .home-bases-stage { min-height: 670px; }
  .page-home .home-base-copy { width: min(480px, 62vw); }
  .page-home .home-bases-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .home-bases-flow li:nth-child(2) { border-right: 0; }
  .page-home .home-bases-flow li:nth-child(-n+2) { border-bottom: 1px solid var(--bases-line); }
  .page-home .home-bases-flow li:nth-child(2)::after { display: none; }
}

@media (max-width: 600px) {
  .page-home .home-bases {
    padding: 72px 16px 58px;
  }

  .page-home .home-bases-head {
    margin-bottom: 38px;
    gap: 20px;
  }

  .page-home .home-bases-head > div > p {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .page-home .home-bases-head h2 {
    font-size: clamp(32px, 9vw, 34px);
    line-height: 1.12;
  }

  .page-home .home-bases-head > p {
    font-size: 14px;
    line-height: 1.75;
  }

  .page-home .home-bases-stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: #0a1720;
  }

  .page-home .home-base-panel,
  .page-home .home-base-panel.is-active {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .page-home .home-base-panel.is-active {
    display: flex;
    flex-direction: column;
  }

  .page-home .home-base-panel > img {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 62% center;
    transform: none;
  }

  .page-home .home-base-shade { display: none; }

  .page-home .home-base-copy {
    width: auto;
    padding: 34px 22px 32px;
    opacity: 1;
    transform: none;
  }

  .page-home .home-base-copy > p:first-child { margin-bottom: 15px; font-size: 12px; }
  .page-home .home-base-copy h3 { font-size: 34px; }
  .page-home .home-base-copy h3 + p { margin-top: 19px; font-size: 14px; line-height: 1.75; }
  .page-home .home-base-copy ul { margin-top: 23px; gap: 10px 14px; }
  .page-home .home-base-copy li { font-size: 12px; }
  .page-home .home-base-copy > a { margin-top: 26px; font-size: 13px; }

  .page-home .home-base-tabs {
    position: relative;
    inset: auto;
    order: -1;
    background: #0a1720;
    backdrop-filter: none;
  }

  .page-home .home-base-tab {
    min-height: 84px;
    padding: 17px 14px;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 8px;
  }

  .page-home .home-base-tab span { font-size: 10px; }
  .page-home .home-base-tab strong { font-size: 13px; line-height: 1.35; }
  .page-home .home-base-tab small { margin-top: 4px; font-size: 10px; line-height: 1.35; }

  .page-home .home-bases-flow { grid-template-columns: 1fr 1fr; }
  .page-home .home-bases-flow li { min-height: 108px; padding: 21px 13px; grid-template-columns: 23px minmax(0, 1fr); column-gap: 7px; }
  .page-home .home-bases-flow strong { font-size: 13px; }
  .page-home .home-bases-flow small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-base-panel,
  .page-home .home-base-panel > img,
  .page-home .home-base-copy,
  .page-home .home-base-tab,
  .page-home .home-base-tab::after,
  .has-motion .page-home .home-bases-head,
  .has-motion .page-home .home-bases-stage,
  .has-motion .page-home .home-bases-flow {
    animation: none !important;
    transition: none !important;
  }

  .has-motion .page-home .home-bases-head,
  .has-motion .page-home .home-bases-stage,
  .has-motion .page-home .home-bases-flow {
    opacity: 1;
    transform: none;
  }
}
