@font-face {
  font-family: "Wanwu Plex Sans";
  src: url("/assets/ibm-plex-sans-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.wanwu-a :is(.wa-suite, .wa-research, .wa-closing) {
  position: relative;
  isolation: isolate;
}

.wanwu-a .wa-suite {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(32px, 7vh, 76px) clamp(22px, 7.4vw, 110px);
  background: radial-gradient(ellipse at 78% 50%, #241c1b 0%, #101014 67%);
  border-block: 1px solid #ffffff15;
}

.wanwu-a :is(.wa-suite, .wa-research, .wa-closing)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/assets/wanwu-g1-product-ring.png") 104% center / clamp(335px, 61vw, 740px) auto no-repeat;
  opacity: .39;
  content: "";
  pointer-events: none;
}

.wanwu-a .wa-about h2 {
  display: flex;
  align-items: center;
  align-self: start;
  gap: .325em;
}

.wanwu-a .wa-about-mark {
  display: block;
  flex: none;
  inline-size: 1.3em;
  block-size: 1.3em;
}

.wanwu-a :is(.wa-section-head > span, .wa-brief-meta, .wa-brief-body p, .wa-about p) {
  text-shadow: 0 1px 2px #101014, 0 0 5px #101014;
}

.wanwu-a .wa-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  width: min(100%, 1012px);
}

.wanwu-a .wa-suite-card {
  position: relative;
  display: grid;
  min-inline-size: 0;
}

.wanwu-a .wa-suite-face {
  display: flex;
  flex-direction: column;
  min-block-size: 130px;
  padding: 14px 17px;
  border: 1px solid #fff2e52c;
  border-top-color: #fff3e640;
  border-radius: 12px;
  background: linear-gradient(142deg, #ffffff18, #ffffff07 53%, #ffe8c410), rgb(23 21 26 / .13);
  box-shadow: inset 0 1px 0 #ffffff18, inset 0 -1px 0 #0a070a47, 0 8px 20px #00000020;
  backdrop-filter: blur(7px) saturate(125%);
}

.wanwu-a .wa-suite-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.wanwu-a .wa-suite-heading h2 {
  font: 500 clamp(1.2756rem, 2.52cqw, 1.5rem)/1.35 "Wanwu Plex Sans", "IBM Plex Sans", sans-serif;
  font-synthesis: none;
}

.wanwu-a .wa-suite-face p {
  max-width: 40em;
  margin-top: 5px;
  color: #e2dcdd;
  font-size: .975rem;
  line-height: 1.65;
}

.wanwu-a .wa-suite-status {
  display: inline-flex;
  align-items: center;
  color: #efd6b6;
  font-size: .9rem;
}

.wanwu-a .wa-suite-status::before {
  width: 5px;
  height: 5px;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: #d5ae78;
  content: "";
}

.wanwu-a .wa-suite-controls {
  margin-block-start: auto;
  padding-block-start: 8px;
}

.wanwu-a .wa-suite-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 54px;
  min-block-size: 30px;
  padding-inline: 9px;
  border: 1px solid #fff0da32;
  border-radius: 7px;
  background: #ffffff0b;
  color: var(--wa-ink);
  font-size: .975rem;
}

.wanwu-a .wa-suite-entry:disabled {
  color: #bdb5b9;
  border-color: #fff0da24;
}

.wanwu-a a.wa-suite-entry:hover,
.wanwu-a .wa-suite-card:focus-within .wa-suite-face {
  border-color: #f4d2ad80;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .wanwu-a .wa-suite-card:hover {
    z-index: 1;
  }
  .wanwu-a .wa-suite-card:hover .wa-suite-face {
    animation: wa-suite-bounce 300ms ease-out both;
    border-color: #f4d2ad69;
  }
}

@keyframes wa-suite-bounce {
  0%, 100% { transform: translateY(0); }
  36% { transform: translateY(-6px); }
  70% { transform: translateY(1px); }
}

@media (max-width: 640px) {
  html:has(.wa-suite-card:target) {
    scroll-snap-type: none;
  }
  .wanwu-a .wa-suite-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .wanwu-a .wa-suite-card:target {
    scroll-margin-block-start: 12px;
  }
  .wanwu-a .wa-suite-face {
    min-block-size: 111px;
    padding: 11px 14px;
  }
}

@media (pointer: coarse) {
  .wanwu-a .wa-suite-entry {
    min-inline-size: 54px;
    min-block-size: 44px;
  }
}
