body {
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px 60px;
  gap: 0;
}

.header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 500px;
}

.header .eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.header h1 span {
  color: var(--accent);
}

.header p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 860px;
}


.back-btn {
  display: none;
}




.author-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 440px;
  transition: border-color 0.25s, transform 0.25s;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.author-card:nth-child(2) {
  animation-delay: 0.1s;
}

.author-card:hover {
  border-color: rgba(91, 140, 255, 0.35);
  transform: translateY(-4px);
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(91, 140, 255, 0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.role {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent2);
  margin-top: 5px;
  letter-spacing: 0.07em;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.link:hover {
  color: var(--text);
  background: rgba(91, 140, 255, 0.06);
  border-color: rgba(91, 140, 255, 0.4);
}

.link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(91, 140, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: background 0.2s;
}

.link:hover .link-icon {
  background: rgba(91, 140, 255, 0.15);
}

.link-icon svg {
  width: 15px;
  height: 15px;
}

.link span {
  flex: 1;
}

.link .arrow {
  opacity: 0.3;
  font-size: 11px;
  transition: opacity 0.2s, transform 0.2s;
}

.link:hover .arrow {
  opacity: 0.7;
  transform: translate(2px, -2px);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: auto;
  padding-top: 4px;
}

.meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
}

.meta-icon svg {
  width: 13px;
  height: 13px;
}


.back-btn,
.homeiplook-btn {
  display: inline-flex;
}

/* ─── Mobile Nav: bis 600px ──────────────────────── */
@media (max-width: 600px) {

  body {
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  padding: 70px 20px 60px;
  gap: 0;
}

  .authors-grid {
    grid-template-columns: 1fr;
  }

  .author-card {
    min-height: unset;
    padding: 24px;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  .project-nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-self: flex-start;
    margin-bottom: 3vh;
  }

  .back-btn,
  .homeiplook-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
    animation: fadeUp 0.5s ease both;
  }

  .back-btn {
    color: var(--accent);
  }

  .homeiplook-btn {
    color: var(--accent2);
  }

  .back-btn::before,
  .homeiplook-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .back-btn::before {
    background: rgba(91, 140, 255, 0.06);
  }

  .homeiplook-btn::before {
    background: rgba(0, 181, 168, 0.06);
  }

  .back-btn:hover {
    border-color: rgba(91, 140, 255, 0.4);
    box-shadow: 0 0 16px rgba(91, 140, 255, 0.12);
    transform: translateY(-2px);
  }

  .homeiplook-btn:hover {
    border-color: rgba(0, 181, 168, 0.4);
    box-shadow: 0 0 16px rgba(0, 181, 168, 0.12);
    transform: translateY(-2px);
  }

  .back-btn:hover::before,
  .homeiplook-btn:hover::before {
    opacity: 1;
  }

  .back-btn:hover svg {
    transform: translateX(-3px);
  }

  .homeiplook-btn:hover svg {
    transform: scale(1.1);
  }

  .back-btn:active,
  .homeiplook-btn:active {
    transform: scale(0.97);
  }

  
  .back-btn,
  .homeiplook-btn {
    display: inline-flex;

}

}

@media(max-width:400px)
{
    .author-card {
    padding: 8px;
  }
}