﻿:root {
  --bg: #07111a;
  --bg-soft: #102334;
  --card: rgba(14, 34, 50, 0.78);
  --text: #e8f1f8;
  --muted: #b6cad8;
  --accent: #72ffd2;
  --accent-2: #8fb8ff;
  --border: rgba(178, 220, 255, 0.23);
  --shadow: 0 14px 40px rgba(2, 12, 22, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 80% 20%, #1b3550 0%, var(--bg) 42%), var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.45;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: #3ce8b8;
  top: -70px;
  left: -70px;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: #4f83ff;
  right: -90px;
  bottom: 4%;
}

.site-header,
main,
.site-footer {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.hero {
  padding: 48px 0 28px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  max-width: 860px;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent), #89ffe5);
  color: #062a22;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform 0.25s ease;
}

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

.about,
.projects,
.site-footer {
  margin-top: 34px;
}

.about-card,
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.about-card {
  padding: 24px;
}

.about-card p {
  margin: 0;
  color: var(--muted);
}

.about-card p + p {
  margin-top: 12px;
}

.project-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  padding: 20px;
  position: relative;
}

.tag {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #042f2a;
  background: var(--accent);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  margin-top: 0;
  color: var(--muted);
}

.project-links {
  margin-top: 18px;
}

.project-links a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
}

.project-links a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.65;
}

.site-footer {
  padding: 42px 0 48px;
}

.site-footer p {
  color: var(--muted);
  margin: 6px 0;
}

.small {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

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