/* 定义 CSS 变量 */
:root {
  --color-neutral-900: #162a43;
  --color-light: #fff;
  --size-font: 16px;
  --container-padding: 20px;
  --gap: 10px;
  --cubic-default: ease;
}

body {
  background-color: var(--color-neutral-900);
  color: var(--color-light);
  font-size: var(--size-font);
  margin: 0;
  padding: 0;
  font-family: arial, sans-serif;
  scroll-behavior: smooth;
}

.cloneable {
  padding: var(--container-padding);
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  display: flex;
  position: relative;
  font-size: 1vw;
  color: var(--color-light);
}

a {
  color: inherit;
  text-decoration: underline;
}

p {
  margin: 0px;
}

.page {
  z-index: 0;
  inset: var(--gap);
  position: absolute;
  height: 25vw;
}

.main {
  margin-top: 80px;
  opacity: 1;
  width: 100%;
  height: 100%;
  display: flex;
}

.main-col {
  width: 50%;
  height: 100%;
}

.main-img__list {
  width: 16em;
  height: 22em;
  position: relative;
}

.main-img__item {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 25%;
  left: 5%;
}

.image {
  object-fit: cover;
  border-radius: .5em;
  width: 100%;
  height: 100%;
}

.main-title__list {
  flex-flow: column;
  align-items: flex-start;
  height: 100%;
  padding: 0;
  list-style: none;
  display: flex;
  position: relative;
}

.main-title__item {
  justify-content: flex-start;
  align-items: center;
  height: 1.25em;
  font-size: 4.5em;
  transition: opacity .2s;
  display: flex;
  position: relative;
}

.main-title {
  letter-spacing: -.03em;
  white-space: nowrap;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 4.5em;
  font-weight: 500;
  line-height: 1;
  color: var(--color-light)
}

.main-title__list:hover:has(.main-title__item:hover) .main-title__item:not(:hover) {
  opacity: 0.45;
}

.main-title::after {
  position: absolute;
  content: '';
  top: 50%;
  right: -.3em;
  width: 0.75em;
  height: 0.15em;
  border-radius: 100em;
  background: currentColor;
  opacity: 0;
  transition: all 0.525s var(--cubic-default);
  transform: translate(100%, 0%) scale(0);
}

.main-title__item:hover .main-title::after {
  transform: translate(0%, 0%) scale(1);
  opacity: 1;
  width: 0.15em;
}

.button {
  background-color: transparent;
  border: none;
  padding: 0;
}

/* 合并 .button.text 样式 */
.button.text {
  color: inherit;
  transition: opacity .2s;
}

.button.text:hover {
  opacity: .7;
}

.overlay-wrap {
  z-index: 2;
  pointer-events: none;
  padding-top: calc(var(--gap) * 3);
  position: absolute;
  inset: 0%;
}

.overlay-item {
  z-index: 1;
  pointer-events: auto;
  padding-bottom: 16em;
  display: none;
  position: relative;
}

.overlay-item.active {
  display: block;
}

.overlay-hero {
  grid-column-gap: 5em;
  grid-row-gap: 5em;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 7.5em;
  display: flex;
}

.overlay-title__wrap {
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 9em;
  display: flex;
  position: relative;
}

.overlay-title__wrap .main-title {
  position: absolute;
  font-size: 9em;
}

.overlay-img__wrap {
  width: 42em;
  height: 64em;
}

.overlay-row {
  justify-content: space-between;
  align-items: center;
  padding-left: 6em;
  display: flex;
}

.overlay-col {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  display: flex;
}

.overlay-col.col-left {
  max-width: 26em;
  transform: translate(0, 50%);
}

.overlay-col.col-right {
  max-width: 35em;
}

.overlay-col__img {
  height: 26em;
}

.paragraph {
  text-indent: 4em;
  margin-bottom: 0;
  font-size: 1.25em;
  line-height: 1.25;
}

.overlay-nav {
  margin-top: -50vw;
  z-index: 2;
  pointer-events: auto;
  justify-content: space-between;
  display: none;
  position: absolute;
  inset: auto 0% 0%;
  overflow: hidden;
  color: inherit;
}

.text-reg {
  margin-bottom: 0;
  font-size: 1.125em;
  line-height: 1.25;
}