/* --- Variables: dark olive + orange --- */
:root {
  --bg: #1c2219;
  --bg-elevated: #252c22;
  --border: #3a4235;
  --text: #e2e6df;
  --text-muted: #8a9285;
  --accent: #e8952e;
  --accent-dim: rgba(232, 149, 46, 0.35);
  --accent-soft: #c98b4a;
  --tag-bg: rgba(232, 149, 46, 0.12);
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --max-width: 1000px;
  --space: 1.5rem;
  --radius: 4px;
  --dark_green: #252c22;
  --mid_green: #3d4838;
  --light_green: #6b7a5e;
  --pale_orange: #e8952e;
  --soft_coral: #c98b6a;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space) 1.25rem;
  display: flex;
  gap: 1.5rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--accent);
}

/* --- Sections --- */
main { position: relative; z-index: 1; padding-bottom: 4rem; }
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.section-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}
.section-title .bracket { color: var(--accent); }

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}
.hero-prefix {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.hero-name {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.hero-role {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 0.25rem;
}
.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- About --- */
.about-text {
  margin: 0;
  color: var(--text);
  max-width: 56ch;
}

/* --- Projects --- */
.project-grid {
  display: grid;
  gap: 1.25rem;
}
.project-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s ease;
}
.project-card:hover {
  border-color: var(--accent-dim);
}
.project-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-soft);
  background: var(--tag-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.project-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.project-link:hover { opacity: 0.8; }

/* --- Contact --- */
.contact-text {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
.contact-link:hover { color: var(--text); }

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.site-footer .mono { font-family: var(--font-mono); }

#canvas {
  /* position: fixed; */
  margin: 0% 5%;
  width: 10px;
  height: 10px;
  box-shadow: 10px 10px var(--pale_orange);
  z-index: -1;
}
