.vu-section {
  box-sizing: border-box;
}

.vu-intro-head {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 1.1rem;
  align-items: center;
}

.vu-logo-wrap {
  margin: 0 auto;
  width: min(100%, 220px);
  max-width: 220px;
}

.vu-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.vu-scale-box {
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-3), transparent 45%);
  background: color-mix(in srgb, var(--wp--preset--color--base-2), white 35%);
  border-radius: 20px;
  padding: 1rem 1.1rem;
}

.vu-scale-image-wrap {
  margin: 0.35rem 0 0;
}

.vu-scale-image {
  display: block;
  width: min(100%, 680px);
  height: auto;
}

.vu-filters {
  display: flex;
  gap: 0.75rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.vu-filters label {
  display: grid;
  gap: 0.3rem;
  min-width: 170px;
  font-size: 0.86rem;
  color: var(--wp--preset--color--contrast-2);
}

.vu-filters select {
  font: inherit;
  border: 1px solid var(--wp--preset--color--contrast-3);
  border-radius: 10px;
  background: white;
  padding: 0.4rem 0.5rem;
}

.vu-filter-count {
  margin: 0 0 0 auto;
  font-size: 0.86rem;
  color: var(--wp--preset--color--contrast-2);
}

.vu-show-all-btn {
  appearance: none;
  border: 1px solid var(--wp--preset--color--contrast-3);
  border-radius: 999px;
  background: white;
  color: var(--wp--preset--color--contrast);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.38rem 0.75rem;
}

.vu-show-all-btn:hover {
  border-color: var(--wp--preset--color--contrast);
}

.vu-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.vu-project-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-3), transparent 48%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--wp--preset--color--base-2), white 35%);
  padding: 0.75rem;
}

.vu-level-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-3), transparent 40%);
}

.vu-project-main h3 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
  line-height: 1.15;
}

.vu-project-main p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--wp--preset--color--contrast-2);
}

.vu-project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  align-items: flex-start;
}

.vu-project-stat {
  font-size: 0.78rem;
  color: var(--wp--preset--color--contrast-2);
}

.vu-project-link {
  font-size: 0.83rem;
}

.vu-empty {
  border: 1px dashed var(--wp--preset--color--contrast-3);
  border-radius: 12px;
  padding: 1rem;
  color: var(--wp--preset--color--contrast-2);
}

/* Variant B: subtle fade/slide */
body[data-variant="subtle"] .vu-intro-animated {
  animation: vuFadeSlide 2.8s cubic-bezier(0.2, 0.68, 0.2, 1) both;
}

@keyframes vuFadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Variant C: restrained stroke reveal */
body[data-variant="stroke"] .vu-intro-animated {
  animation: vuStrokeSoft 3.4s cubic-bezier(0.19, 0.76, 0.22, 1) both;
  clip-path: inset(0 100% 0 0);
}

@keyframes vuStrokeSoft {
  0% {
    opacity: 0.2;
    clip-path: inset(0 100% 0 0);
    transform: translateY(5px);
  }
  60% {
    opacity: 0.85;
    clip-path: inset(0 12% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .vu-intro-head {
    grid-template-columns: 1fr;
  }

  .vu-logo-wrap {
    max-width: 180px;
  }

  .vu-project-item {
    grid-template-columns: auto 1fr;
  }

  .vu-project-meta {
    grid-column: 1 / -1;
    padding-left: 56px;
  }

  .vu-filter-count {
    width: 100%;
    margin-left: 0;
  }
}
