:root {
  --bg: #04060f;
  --panel: rgba(15, 19, 38, 0.7);
  --line: rgba(161, 177, 255, 0.25);
  --text: #f8f9ff;
  --muted: #cfd3ef;
  --accent: #8ea8ff;
  --accent-2: #71efe5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 50% 10%, #0f1a40 0%, var(--bg) 55%);
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
}

main,
.hero,
footer {
  position: relative;
  z-index: 2;
}

.hero {
  max-width: 940px;
  margin: 2rem auto 1.25rem;
  padding: 2.25rem;
  text-align: center;
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.contact,
.tagline {
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.72rem 1.1rem;
  color: #050917;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  gap: 1rem;
}

.panel {
  padding: 1.25rem;
}

.glass {
  backdrop-filter: blur(12px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

h2 {
  margin-bottom: 0.9rem;
  font-size: 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chips span {
  padding: 0.35rem 0.6rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(142, 168, 255, 0.45);
  background: rgba(9, 12, 25, 0.65);
}

.timeline-item + .timeline-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

time,
.meta,
.stack {
  color: var(--accent-2);
}

ul {
  margin-top: 0.55rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.project-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(113, 239, 229, 0.3);
  background: rgba(6, 10, 23, 0.66);
}

.project-card + .project-card {
  margin-top: 0.8rem;
}

footer {
  text-align: center;
  color: var(--muted);
  padding-bottom: 2rem;
}

@media (max-width: 720px) {
  .hero {
    margin: 1rem;
    padding: 1.25rem;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
