:root {
  --bg-top: #1a2229;
  --bg-bottom: #0f1419;
  --surface: rgba(255, 255, 255, 0.04);
  --text: #eef2f5;
  --muted: #9aa8b5;
  --accent: #5eb8a8;
  --accent-hover: #7fd4c4;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(94, 184, 168, 0.12), transparent 42%),
    linear-gradient(165deg, var(--bg-top), var(--bg-bottom));
}

.card {
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3rem) clamp(1.25rem, 5vw, 2rem) 3rem;
  animation: rise 0.7s ease both;
}

.photo-wrap {
  margin: 0 auto 1.5rem;
  width: 9.5rem;
  height: 9.5rem;
}

.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: photo-in 0.8s ease 0.1s both;
}

.intro {
  text-align: center;
}

.intro h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.role {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.tagline {
  margin: 0.75rem auto 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.exploring,
.focus {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.exploring h2,
.focus h2 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.exploring ul {
  margin: 0;
  padding-left: 1.1rem;
}

.exploring li + li {
  margin-top: 0.45rem;
}

.focus p {
  margin: 0;
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #0b1216;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.linkedin {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  word-break: break-all;
  text-decoration: none;
  transition: color 0.2s ease;
}

.linkedin:hover,
.linkedin:focus-visible {
  color: var(--text);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.links a:hover,
.links a:focus-visible {
  color: var(--accent-hover);
}

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

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 480px) {
  .contact-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .linkedin {
    text-align: right;
    max-width: 55%;
  }
}
