/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0f0f0f;
  --bg-card:   #161616;
  --border:    #2a2a2a;
  --text:      #d4d4d4;
  --text-muted:#7a7a7a;
  --accent:    #a8c4e0;
  --link:      #6fa8d4;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Georgia", serif;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: "Georgia", serif;
  font-weight: normal;
  color: #e8e8e8;
}

h1 { font-size: 2.2rem; letter-spacing: 0.02em; }
h2 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1.2rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border); }
h3 { font-size: 1.05rem; color: #e0e0e0; }

p { margin-bottom: 0.9rem; }

a {
  color: var(--link);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
header {
  margin-bottom: 3.5rem;
/*  border-bottom: 1px solid var(--border);*/
/*  padding-bottom: 2rem; */
}

header .tagline {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.4rem;
}

/* ---------- Sections ---------- */
section {
  margin-bottom: 3rem;
}

/* ---------- Links / Contact ---------- */
.link-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}

.link-list li::before {
  content: "→ ";
  color: var(--text-muted);
}

/* ---------- Education ---------- */
.edu-entry {
  margin-bottom: 1.4rem;
}

.edu-entry .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

/* ---------- Projects ---------- */
.project-entry {
  border-left: 2px solid var(--border);
  padding-left: 1rem;
  margin-bottom: 1.6rem;
}

.project-entry h3 a {
  color: #e0e0e0;
}

.project-entry .tech {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */
footer {
  margin-top: 4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  body { padding: 2rem 1.2rem 4rem; }
}
