/* Prologue panel: avatar, intro text and the accordion social buttons */
.prologue-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.top {
  display: flex;
  padding: 20px;
  align-items: center;
  gap: 20px;
}
.top .avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid #bfcce5;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(175, 180, 200, 0.3), 0 4px 12px rgba(120, 130, 160, 0.2);
  background: radial-gradient(circle, #f6f6f6 0%, #d1cde3 100%);
  padding: 4px;
  flex-shrink: 0;
  will-change: transform;
}
.top .info {
  padding: 10px 30px;
  color: #000;
  font-weight: 700;
}
.top .info p {
  text-align: right;
  line-height: 200%;
  font-size: 20px;
}

.button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px;
}
.button-group a.button { color: inherit; }

/* Each button expands on hover to reveal its label; --brand tints the icon/text */
.button-group .button {
  display: inline-block;
  height: 60px;
  width: 60px;
  margin: 0 12px;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
}
.button-group .button:hover { width: 180px; }
.button-group .button .icon {
  display: inline-block;
  height: 60px;
  width: 60px;
  text-align: center;
  line-height: 60px;
  border-radius: 50px;
  vertical-align: top;
  transition: all 0.3s ease-out;
}
.button-group .button .icon img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  transition: all 0.3s ease-out;
}
.button-group .button:hover .icon { background: var(--brand); }
.button-group .button:hover .icon img { filter: brightness(0) invert(1); }
.button-group .button span {
  display: inline-block;
  width: 120px;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 60px;
  vertical-align: top;
  color: var(--brand);
  transition: all 0.3s ease-out;
}

@media (max-width: 768px) {
  .top {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .top .avatar { width: 150px; height: 150px; }
  .top .info { padding: 10px; }
  .top .info p { text-align: center; font-size: 16px; }

  .button-group { gap: 30px; width: 100%; padding: 20px; }
  .button-group .button { width: 60px !important; }
  .button-group .button span { display: none; }
}
