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

:root {
  --text: #1c1c1e;
  --muted: #6e6e73;
  --accent: #1d4ed8;
  --bg: #fafaf9;
  --rule: #e4e4e0;
  --max-width: 680px;
  --gap: 3rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding: 5rem 1.5rem 6rem;
  /* Thin accent bar at the very top */
  border-top: 3px solid var(--accent);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* ── Header ──────────────────────────────── */
header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}

header .title {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* ── Section chrome ──────────────────────── */
section {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* ── Intro ───────────────────────────────── */
#intro p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
}

/* ── Highlights ──────────────────────────── */
#highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

#highlights li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text);
}

#highlights li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ── Featured Project ────────────────────── */
.project-card {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

#project h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

#project p {
  font-size: 0.9375rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.project-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

/* ── Links ───────────────────────────────── */
.link-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.link-list a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.link-list a:hover {
  text-decoration: underline;
}

.btn-resume {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  font-size: 0.875rem !important;
  transition: background 0.15s, color 0.15s;
}

.btn-resume:hover {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 480px) {
  body {
    padding: 3rem 1.25rem 4rem;
  }

  header h1 {
    font-size: 1.9rem;
  }

  header .title {
    font-size: 0.875rem;
  }
}
