:root {
  --bg: #05060a;
  --bg-elevated: #10121a;
  --border-subtle: #262938;
  --accent: #0fd3b5;
  --accent-soft: rgba(15, 211, 181, 0.16);
  --text-main: #f7f7ff;
  --text-muted: #a6a8ba;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #141824 0%, #05060a 55%, #020308 100%);
  color: var(--text-main);
  font-family: var(--font-sans);
}

#app {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
}

/* HERO */

.hero {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.75rem;
}

.hero-inner {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--accent-soft);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.name-heading {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.role {
  margin: 0.25rem 0 0.6rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.tagline {
  margin: 0;
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--text-main);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.hero-meta span {
  font-size: 0.78rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(10, 12, 20, 0.9);
  color: var(--text-muted);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn.primary {
  background: var(--accent);
  color: #020309;
  border-color: var(--accent);
}

.btn.primary:hover {
  background: #15f1ce;
  border-color: #15f1ce;
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(8, 10, 18, 0.95);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(18, 20, 30, 0.98);
  border-color: var(--accent-soft);
}

/* SECTIONS */

.section {
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--border-subtle),
    rgba(0, 0, 0, 0)
  );
}

.body-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
}

/* PROJECTS */

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.project-card {
  background: var(--bg-elevated);
  border-radius: 0.8rem;
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.project-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.project-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.project-body {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.project-links {
  display: flex;
  justify-content: flex-start;
}

.project-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

/* CONTACT */

.contact-list {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.contact-label {
  min-width: 4rem;
  color: var(--text-muted);
}

.contact-value {
  color: var(--text-main);
  text-decoration: none;
}

.contact-value:hover {
  text-decoration: underline;
}

/* FOOTER */

#footer {
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.9;
}

#footer span {
  display: inline-block;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  #app {
    padding: 1.5rem 1.1rem 2.2rem;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-pic {
    width: 96px;
    height: 96px;
  }

  .name-heading {
    font-size: 1.7rem;
  }

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

@media (max-width: 520px) {
  #app {
    padding: 1.25rem 1rem 2rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .project-card {
    padding: 0.8rem 0.85rem;
  }
}

.contact-buttons {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-buttons .btn {
  min-width: 130px;
  text-align: center;
}