:root {
  --ink: #1a1d24;
  --muted: #5a6072;
  --border: #e2e4ea;
  --accent: #ef4444;
  --done-bg: #eaf7ee;
  --done-fg: #1f7a3d;
  --progress-bg: #fdf3e7;
  --progress-fg: #b4650a;
}

* { box-sizing: border-box; }

body {
  font-family: "Computer Modern", serif;
  color: var(--ink);
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  background: #ffffff;
}

a { color: inherit; }

.hero {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.eyebrow {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

.hero .subtitle {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--muted);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 40ch;
}

.rule {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.5rem auto 0;
}

.contact {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.icon-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.icon-link:hover {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cv-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
}

.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cv-link svg {
  width: 0.9rem;
  height: 0.9rem;
}

.cv-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cv-sep {
  color: var(--border);
}

main h2 {
  font-size: 1.3rem;
  margin: 0 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 29, 36, 0.08);
  border-color: #cfd3dc;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0 0 0.35rem;
}

.card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.card p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.status {
  flex-shrink: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-done {
  background: var(--done-bg);
  color: var(--done-fg);
}

.status-progress {
  background: var(--progress-bg);
  color: var(--progress-fg);
}
