/* ============================================================
   IDENTITY.CSS — corner avatar / name / Instagram badge
   ============================================================ */

#identity {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 15; /* below section panel (z-index: 20) so panel sits on top */
}

.identity {
  display: flex;
  align-items: center;
  gap: 0.55rem;

  text-decoration: none;
  color: var(--color-fg);
  opacity: 0.45;
  transform-origin: top left;
  transition:
    opacity   300ms ease,
    transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.identity:hover {
  opacity: 1;
  transform: scale(1.35);
}

/* Circular avatar */
.identity__avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-muted);
}

.identity__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text column */
.identity__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.2;
}

.identity__name {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.identity__handle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.65;
  letter-spacing: 0.01em;
}

.identity__ig-icon {
  flex-shrink: 0;
  vertical-align: middle;
}
