:root {
  --bg: #eef1f5;
  --paper: #ffffff;
  --ink: #1d2733;
  --muted: #5e6b78;
  --sidebar: #24313f;
  --sidebar-soft: #314152;
  --line: #d8e0e7;
  --accent: #1f6fb2;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}
body {
  padding: 32px 18px;
}
.page {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--paper);
  display: grid;
  grid-template-columns: 320px 1fr;
  box-shadow: 0 18px 45px rgba(20, 30, 40, .12);
  min-height: 100vh;
}
.sidebar {
  background: var(--sidebar);
  color: #fff;
  padding: 42px 28px;
}
.identity {
  margin-bottom: 34px;
}
.first-name,
.last-name {
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.02;
  font-size: 2rem;
}
.last-name {
  margin-top: 4px;
}
.job-title {
  margin-top: 12px;
  color: #d4dce4;
  font-size: 1rem;
}
.side-section {
  margin-top: 28px;
}
.side-section h3 {
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .12em;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.side-section h4 {
  font-size: .9rem;
  margin: 16px 0 8px;
  color: #ffffff;
}
.side-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-section li {
  color: #d7e1ea;
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 7px;
}
.content {
  padding: 42px 42px 48px;
}
.content section {
  margin-bottom: 34px;
}
.content h2 {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1rem;
  color: var(--accent);
  border-bottom: 2px solid var(--line);
  padding-bottom: 10px;
}
.content p,
.content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.entry {
  margin-bottom: 24px;
}
.period {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.entry h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #18222d;
}
.entry ul,
.project-list {
  margin: 0;
  padding-left: 18px;
}
.intro {
  color: var(--muted);
  margin-bottom: 12px;
}
.interests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.interests div {
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 10px;
  background: #fafcff;
}
.interests strong {
  display: block;
  margin-bottom: 6px;
}
.interests span {
  color: var(--muted);
  line-height: 1.55;
  display: block;
}
@media (max-width: 920px) {
  .page {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body { padding: 0; }
  .content,
  .sidebar { padding: 26px 20px; }
  .interests { grid-template-columns: 1fr; }
}
