/* 05 — Vibe Rise */
@font-face {
  font-family: "Zen Dots";
  src: url("./assets/vibe-rise/ZenDots-Regular.ttf") format("truetype");
  font-display: swap;
}

.vibe-project {
  display: flow-root;
  width: min(100%, 1440px);
  margin-inline: auto;
  container-type: inline-size;
  scroll-margin-top: 68px;
  background: #000;
}

.vibe-surface {
  --vibe-unit: calc(100cqw / 1440);
  --ocean-unit: var(--vibe-unit);
  overflow: hidden;
  border-radius: calc(100 * var(--vibe-unit));
  padding-bottom: calc(287 * var(--vibe-unit));
  margin-bottom: calc(238 * var(--vibe-unit));
  background-color: #0d1a33;
  background-image: url("./assets/vibe-rise/diagonal.webp"), url("./assets/vibe-rise/diagonal.webp");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center calc(1246 * var(--vibe-unit)), center calc(3992 * var(--vibe-unit));
  color: #fff;
  font-family: "PingFang HK", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.vibe-surface .ocean-cover-labels {
  font-family: Inter, Arial, sans-serif;
}

.vibe-intro {
  width: min(90%, calc(1136 * var(--vibe-unit)));
  margin: calc(28 * var(--vibe-unit)) auto 0;
}

.vibe-intro h3 {
  display: grid;
  place-items: center;
  width: max(110px, calc(211 * var(--vibe-unit)));
  aspect-ratio: 211 / 67;
  margin: 0 auto;
  translate: calc(21 * var(--vibe-unit)) 0;
  background: url("./assets/vibe-rise/intro-frame.webp") center / contain no-repeat;
  font-size: max(16px, calc(36 * var(--vibe-unit)));
  font-weight: 400;
}

.vibe-intro p {
  min-height: calc(78 * var(--vibe-unit));
  margin: calc(37 * var(--vibe-unit)) 0 0;
  font-size: max(14px, calc(24 * var(--vibe-unit)));
  line-height: 1.55;
}

.vibe-gallery {
  display: grid;
  gap: calc(136.125 * var(--vibe-unit));
  width: calc(942 * var(--vibe-unit));
  margin: calc(132 * var(--vibe-unit)) auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.vibe-gallery li::before {
  display: block;
  width: max(1px, calc(2 * var(--vibe-unit)));
  height: max(20px, calc(51 * var(--vibe-unit)));
  margin: 0 auto calc(18 * var(--vibe-unit));
  background: currentColor;
  content: "";
}

.vibe-gallery h3 {
  margin: 0 0 calc(46 * var(--vibe-unit));
  font-size: max(16px, calc(32 * var(--vibe-unit)));
  font-weight: 400;
  line-height: max(23px, calc(45 * var(--vibe-unit)));
}

.vibe-screen-number {
  display: block;
  font-family: "Zen Dots", Inter, sans-serif;
  font-size: max(26px, calc(64 * var(--vibe-unit)));
  line-height: max(34px, calc(83 * var(--vibe-unit)));
}

.vibe-screen {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 max(3px, calc(16 * var(--vibe-unit))) #364054;
}

@media (max-width: 700px) {
  .vibe-surface {
    padding-bottom: 68px;
    background-position: center 26%, center 75%;
  }

  .vibe-intro {
    width: calc(100% - 48px);
    margin-top: 20px;
  }

  .vibe-intro h3 {
    translate: none;
  }

  .vibe-intro p {
    margin-top: 18px;
  }

  .vibe-gallery {
    width: calc(100% - 48px);
    gap: 44px;
    margin-top: 42px;
  }

  .vibe-gallery li::before {
    margin-bottom: 10px;
  }

  .vibe-gallery h3 {
    margin-bottom: 20px;
  }
}
