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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050816;
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
      to bottom,
      rgba(5, 8, 22, 0.94),
      rgba(5, 8, 22, 0.7),
      transparent
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-initials {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #38bdf8, #6366f1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b1120;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  color: #f9fafb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: #e5e7eb;
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom-color: #38bdf8;
}

.hero {
  padding: 5.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #0f172a, #020617 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: #a5b4fc;
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.2vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #e5e7eb, #a5b4fc);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #cbd5f5;
  max-width: 38rem;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #0b1120;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.45);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
}

.btn.ghost:hover {
  border-color: #e5e7eb;
}

.hero-links {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.hero-card {
  border-radius: 1.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: radial-gradient(circle at top, #1f2937, #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.hero-card ul {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #020617, #030712 50%, #020617);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.section-intro {
  max-width: 32rem;
  color: #9ca3af;
  font-size: 0.94rem;
  margin-bottom: 1.7rem;
}

.section-subheading {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.section-subheading--spaced {
  margin-top: 2.1rem;
}

.section-note {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.5rem;
}

.about-highlight {
  border-radius: 1.2rem;
  padding: 1.3rem 1.35rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top left, #020617, #030712);
}

.about-highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.about-highlight ul {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #d1d5db;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 0.7rem;
}

.card {
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1rem;
  background: radial-gradient(circle at top, #020617, #020617 45%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.75);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.card h3 {
  font-size: 1rem;
  color: #e5e7eb;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.45rem;
}

.card-meta {
  font-size: 0.86rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  color: #c4b5fd;
  background: rgba(15, 23, 42, 0.9);
  white-space: nowrap;
}

.card-list {
  list-style: disc;
  padding-left: 1.05rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 0.5rem;
}

.skills-group h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #e5e7eb;
}

.skills-group p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.contact-details {
  list-style: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.contact-details li + li {
  margin-top: 0.35rem;
}

.contact-form {
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, #020617, #020617 50%, #020617);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.85);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #e5e7eb;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
  border-color: transparent;
}

.alert {
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.8);
  color: #bbf7d0;
}

.alert.error {
  background: rgba(248, 113, 113, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.9);
  color: #fecaca;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.1rem 0 1.5rem;
  background: #020617;
}

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

.back-to-top {
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-card {
    margin-top: 1rem;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav-container {
    padding-block: 0.7rem;
  }

  .container {
    width: min(100% - 1.6rem, 960px);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 4rem;
  }

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

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

