:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --border: #d7ddd9;
  --accent: #256b48;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --fg: #f2f2f2;
    --muted: #999999;
    --border: #29332c;
    --accent: #7bd9a4;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

header {
  display: flex;
  flex-direction: column;
}

header h1 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-align: left;
  margin: 0 0 16px;
}

.role {
  margin: 0;
  color: var(--fg);
}

.location {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 12px;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-list a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project-desc {
  margin: 2px 0 0;
  color: var(--fg);
  font-size: 0.9rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.links {
  display: inline-flex;
  gap: 20px;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
}
