/* =========================================================
   profile_style.css
   Profile page styled to match header design system
   ========================================================= */

/* =========================
   PAGE WRAPPER
   ========================= */

.profile-scope {
  --profile-bg: #0f1f3d;
  --profile-card: rgba(255, 255, 255, 0.05);
  --profile-border: rgba(255, 255, 255, 0.10);
  --profile-text: #ffffff;
  --profile-muted: #cbd5e1;
  --profile-accent: #93c5fd;

  min-height: 100vh;
  background: var(--profile-bg);
  color: var(--profile-text);

  font-family: "Inter", sans-serif;

  padding: 40px 20px;
  box-sizing: border-box;
}

/* reset inside scope */
.profile-scope * {
  box-sizing: border-box;
}

/* =========================
   MAIN CONTAINER
   ========================= */

.profile-container {
  max-width: 900px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* =========================
   AVATAR (FIXED CROP)
   ========================= */

.profile-avatar {
  width: 160px;
  height: 160px;

  border-radius: 50%;
  overflow: hidden;

  border: 3px solid rgba(255, 255, 255, 0.25);

  background: radial-gradient(
    circle,
    rgba(147, 197, 253, 0.25),
    transparent 70%
  );

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-avatar:hover {
  transform: scale(1.03);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(147, 197, 253, 0.25);
}

.profile-avatar img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center 10%;

  transform: scale(1.05);
}

/* =========================
   NAME / TITLE
   ========================= */

.profile-name {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  text-align: center;
  margin: 0;
}

.profile-role {
  font-size: 14px;
  color: var(--profile-muted);
  text-align: center;
  margin-top: -8px;
  letter-spacing: 0.04em;
}

/* =========================
   CARD (SUMMARY)
   ========================= */

.profile-card {
  width: 100%;
  background: var(--profile-card);
  border: 1px solid var(--profile-border);
  border-radius: 14px;

  padding: 28px 26px;

  line-height: 1.7;
  font-size: 14px;
  color: var(--profile-muted);
}

/* highlight important text */
.profile-card strong {
  color: var(--profile-text);
  font-weight: 600;
}

/* =========================
   CONTACT BLOCK
   ========================= */

.profile-contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-contact a {
  color: var(--profile-accent);
  text-decoration: none;

  padding: 10px 12px;

  border: 1px solid var(--profile-border);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.03);

  transition: all 0.2s ease;
}

.profile-contact a:hover {
  background: rgba(147, 197, 253, 0.12);
  border-color: rgba(147, 197, 253, 0.35);
}

/* =========================
   OPTIONAL TAGS
   ========================= */

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.profile-tag {
  font-size: 12px;
  padding: 6px 10px;

  border-radius: 999px;

  border: 1px solid var(--profile-border);
  color: var(--profile-muted);

  background: rgba(255, 255, 255, 0.03);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .profile-avatar img {
    object-position: center 35%;
  }

  .profile-name {
    font-size: 26px;
  }

  .profile-card {
    padding: 20px;
  }
}