/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0a;
  color: #e2e2e2;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ─── Main container ─── */
main {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ─── Profile Photo ─── */
.photo-wrap {
  margin-bottom: -32px;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.profile-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1e1e1e;
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.profile-photo:hover {
  filter: brightness(1.05) contrast(1.1);
  transform: scale(1.03);
}

/* ─── Hero / Name + Bio ─── */
.hero {
  text-align: center;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 30%, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bio {
  font-size: 0.95rem;
  color: #7a7a7a;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Section headings ─── */
h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4a4a4a;
  margin-bottom: 20px;
}

/* ─── Building section ─── */
.building {
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.card {
  background: #111111;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2a2a2a 30%, #2a2a2a 70%, transparent);
}

.card:hover {
  border-color: #2a2a2a;
  background: #131313;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a5a5a;
  background: #1a1a1a;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #222222;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.9rem;
  color: #6a6a6a;
  line-height: 1.7;
  margin-bottom: 18px;
}

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

.card-meta span {
  font-size: 0.72rem;
  color: #4a4a4a;
  background: #161616;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #1e1e1e;
  letter-spacing: 0.04em;
}

/* ─── Links section ─── */
.links {
  width: 100%;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.link-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.link-item:hover {
  background: #111111;
  border-color: #1e1e1e;
  transform: translateX(4px);
}

.link-label {
  font-size: 0.92rem;
  color: #b0b0b0;
  font-weight: 450;
  transition: color 0.25s ease;
}

.link-item:hover .link-label {
  color: #ffffff;
}

.link-arrow {
  font-size: 1rem;
  color: #3a3a3a;
  transition: color 0.25s ease, transform 0.25s ease;
  transform: rotate(180deg);
}

.link-item:hover .link-arrow {
  color: #6a6a6a;
  transform: rotate(180deg) translateX(-3px);
}

/* ─── Footer ─── */
footer {
  margin-top: auto;
  padding-top: 48px;
  font-size: 0.75rem;
  color: #3a3a3a;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.divider {
  color: #2a2a2a;
}

/* ─── Mobile ─── */
@media (max-width: 480px) {
  body {
    padding: 48px 20px 36px;
  }

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

  .bio {
    font-size: 0.88rem;
  }

  .card {
    padding: 22px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  main {
    gap: 48px;
  }
  }

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin-top: 24px;
}

input, textarea {
  background: #0a0a0a;
  border: 1px solid #222;
  padding: 12px;
  color: #fff;
  border-radius: 8px;
}

button {
  background: #fff;
  color: #000;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}


.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;

  padding: 14px 22px;
  border-radius: 14px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.04)
  );

  border: 1px solid rgba(255,255,255,0.18);

  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.2px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

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

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  );
}
