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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #05070b;
  color: #f7f7fb;
  line-height: 1.6;
}

a {
  color: #7fd0ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  background: radial-gradient(circle at top left, #1a365d, #05070b 55%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-text h1 {
  font-size: 2.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9fd8ff;
  margin-bottom: 1.25rem;
}

.hero-summary {
  font-size: 0.98rem;
  max-width: 40rem;
  color: #dde5ff;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn.primary {
  background: #7fd0ff;
  color: #00111f;
  font-weight: 600;
}

.btn.primary:hover {
  background: #a4ddff;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #f7f7fb;
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.06);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.profile-wrapper {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #7fd0ff, #9f7aea);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.card.contact-card {
  width: 100%;
  background: rgba(7, 12, 22, 0.9);
  padding: 1.4rem 1.5rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
}

.contact-card h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9fd8ff;
  margin-bottom: 1rem;
}

.contact-card ul {
  list-style: none;
  font-size: 0.9rem;
}

.contact-card li + li {
  margin-top: 0.4rem;
}

main.container {
  padding: 3rem 1.5rem 3.5rem;
}

.cv-section + .cv-section {
  margin-top: 2.5rem;
}

.cv-section h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fd8ff;
  margin-bottom: 0.75rem;
}

.cv-section p {
  font-size: 0.97rem;
  color: #e4e9ff;
  margin-bottom: 0.7rem;
}

.cv-section ul {
  margin-left: 1.2rem;
  font-size: 0.96rem;
  color: #e4e9ff;
}

.cv-section ul li {
  margin-bottom: 0.35rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.role {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.role:first-of-type {
  border-top: none;
  padding-top: 0.25rem;
}

.role h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.role h3 a {
  font-weight: inherit;
}

.role-meta {
  font-weight: 400;
  font-size: 0.9rem;
  color: #9aa4c8;
}

.role-location {
  font-size: 0.9rem;
  color: #b9c3ea;
  margin-bottom: 0.45rem;
}

.role ul {
  margin-top: 0.15rem;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 0 1.8rem;
  background: #030509;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #9aa4c8;
}

.footer a {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-side {
    align-items: flex-start;
  }

  .profile-wrapper {
    width: 180px;
    height: 180px;
  }

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

@media (max-width: 600px) {
  main.container {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
