:root {
  color-scheme: dark;
  --bg: #0b0f1a;
  --bg-alt: #111827;
  --card: #11131f;
  --text: #f8fafc;
  --muted: #a7b0c0;
  --primary: #7c3aed;
  --primary-strong: #a855f7;
  --border: #1f2937;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #141630 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: clamp(1.6rem, 1.4vw + 1.2rem, 2.0rem);
  line-height: 1.5;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .cta {
  color: var(--text);
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-strong);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.subhead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-strong));
  color: var(--text);
  box-shadow: 0 18px 35px rgba(124, 58, 237, 0.35);
}

.button.ghost {
  border-color: var(--border);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-meta {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.meta-value {
  font-weight: 600;
}

.hero-card {
  background: linear-gradient(160deg, #1b2140, #11131f 60%);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(124, 58, 237, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

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

.stat-value {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.muted {
  background: var(--bg-alt);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.body {
  color: var(--muted);
  font-size: 1.05rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.pill-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill-grid li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--text);
  font-size: 0.85rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project p {
  color: var(--muted);
  margin: 0.8rem 0 1rem;
}

.project-media {
  width: 100%;
  margin: 0.8rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.28);
}

.project-media img {
  width: 100%;
  height: auto;
  display: block;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--primary-strong);
  font-weight: 600;
  transition: color 0.2s ease;
}

.project-link:hover {
  color: var(--text);
}

.tags span {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: 1.5rem;
}

.timeline-date {
  color: var(--primary-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline-card h3 {
  margin-bottom: 0.5rem;
}

.timeline-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.timeline-header h3 {
  margin-bottom: 0;
}

.timeline-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.about-story p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.about-story strong {
  color: var(--text);
  font-weight: 600;
}

.about-closing {
  margin-top: 0.5rem;
  font-size: 1.1rem !important;
  color: var(--text) !important;
}

.checklist {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--primary-strong);
}

.contact {
  padding-bottom: 6rem;
}

.contact-card {
  background: linear-gradient(120deg, #1f1b3a, #121827 60%);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-actions {
  display: grid;
  gap: 1rem;
  justify-items: end;
  min-width: 240px;
}

.contact-primary {
  display: grid;
  gap: 0.6rem;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  transform: translateY(-1px);
  color: var(--primary-strong);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .nav-links {
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-items: start;
  }

  .contact-socials {
    justify-content: flex-start;
  }

  .section-title {
    align-items: flex-start;
  }

  .about-body {
    grid-template-columns: 1fr;
  }
}
