* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #07090f;
  font-family: "Inter", system-ui, sans-serif;
  color: #e2e8f0;
}

.card {
  width: min(740px, 100%);
  background: #0f1623;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: rise 0.4s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.025em;
}

.role {
  margin: 5px 0 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.contact-btn {
  padding: 9px 20px;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.contact-btn:hover {
  background: #2563eb;
}

/* ── Divider ── */

.rule {
  height: 1px;
  margin: 0 40px;
  background: rgba(255, 255, 255, 0.07);
}

/* ── Content grid ── */

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 32px 40px 40px;
  gap: 28px 32px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section.wide {
  grid-column: 1 / -1;
}

.section-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f8ef7;
}

p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.75;
}

.edu-school {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.edu-degree {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ── Tags ── */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 500;
}

.tag.highlight {
  background: rgba(79, 142, 247, 0.1);
  border-color: rgba(79, 142, 247, 0.28);
  color: #7eb3fa;
}

/* ── Responsive ── */

@media (max-width: 560px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .rule {
    margin: 0 28px;
  }

  .grid {
    grid-template-columns: 1fr;
    padding: 24px 28px 32px;
  }

  .section.wide {
    grid-column: 1;
  }
}
