:root {
  --vh-bg: #f3f6ff;
  --vh-bg-soft: #fef6f0;
  --vh-primary: #0047b3;
  --vh-primary-soft: #e4f0ff;
  --vh-text: #0f172a;
  --vh-muted: #6b7280;
  --vh-radius: 1.75rem;
}

body {
  margin: 0;
  font-family: Aclonica;
  background: #000000;
  color: #ffffff;
}

.vh-section {
  padding: 3rem 1.5rem;
}

.vh-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.vh-heading {
  font-family: Aclonica;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: .5rem;
  text-align: center;
}

.vh-subheading {
  text-align: center;
  color: #0dcaf0;
  font-size: .9rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Row of cards */
.vh-card-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

/* Base card */
.vh-card {
  position: relative;
  flex: 0 0 70px; /* collapsed width */
  height: 320px;
  border-radius: var(--vh-radius);
  background: #1e1e1e; /*linear-gradient(135deg, #f5f9ff 0%, #fff6f0 100%);*/
  overflow: hidden;
  cursor: pointer;
  transition:
    flex 0.4s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  display: flex;
}

/* active/expanded card: take remaining space */
.vh-card.is-active {
  flex: 1 1 auto;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  transform: translateY(-4px);
  background: #1e1e1e;
  /* background: radial-gradient(circle at top left, #e4f0ff 0, #fff 40%, #fff6f0 85%); */
}

/* Collapsed content */
.vh-card-collapsed {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
}

.vh-card-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #92D050;
}

/* Expanded content, hidden by default */
.vh-card-expanded {
  display: none;
  width: 100%;
  padding: 2rem;
  align-items: center;
  gap: 2rem;
}

/* When active, show expanded, hide collapsed */
.vh-card.is-active .vh-card-expanded {
  display: flex;
}
.vh-card.is-active .vh-card-collapsed {
  display: none;
}

/* Expanded layout */
.vh-card-visual {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e1e1e;
}

.vh-card-visual-inner {
  width: 300px;
  height: 300px;
  border-radius: 20%;
  background: radial-gradient(circle at top, #ffffff 0, #eff6ff 55%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vh-card-visual-inner img {
  max-width: 100%;
  height: auto;
  display: block;
}

.vh-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.vh-card-title {
  font-family: Aclonica;
  font-size: 1.6rem;
  color: #92D050;
  margin-bottom: .5rem;
}

.vh-card-desc {
  font-size: .95rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Hover effect for collapsed cards on desktop */
@media (hover:hover) and (pointer:fine) {
  .vh-card:not(.is-active):hover {
    background: linear-gradient(135deg, #e4f0ff 0%, #fff 70%);
  }
}

/* Mobile: stack vertically (accordion-style) */
@media (max-width: 900px) {
  .vh-card-row {
    flex-direction: column;
  }

  .vh-card {
    height: auto;
    min-height: 80px;
    flex: 1 1 auto;
  }

  .vh-card-collapsed {
    justify-content: flex-start;
  }

  .vh-card-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .vh-card-expanded {
    padding: 1.5rem;
    flex-direction: column;
  }

  .vh-card-visual {
    flex: unset;
  }
}
