:root {
  --ink: #121417;
  --muted: #4b5563;
  --accent: #0f766e;
  --accent-2: #1f2937;
  --paper: #f8f5f1;
  --card: #ffffff;
  --line: #e5e7eb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Bookman Old Style", serif;
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.4;
}

body::before {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, #c7f9cc 0%, rgba(199, 249, 204, 0) 70%);
}

body::after {
  bottom: -180px;
  right: -160px;
  background: radial-gradient(circle, #ffe8d6 0%, rgba(255, 232, 214, 0) 70%);
}

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

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  color: var(--accent-2);
}

.nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-current {
  border-color: var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.print-button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--accent-2);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.print-button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.hero {
  background: var(--card);
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: fadeUp 700ms ease-out;
}

h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.role {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 15px;
  color: var(--muted);
}

.summary {
  margin-top: 20px;
  font-size: 16px;
  color: var(--accent-2);
}

.highlight {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  animation: fadeUp 900ms ease-out;
}

.highlight h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-top: 40px;
}

section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
  animation: fadeUp 900ms ease-out;
}

section h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.section-lead {
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 18px;
}

.experience-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.experience-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.experience-title {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 700;
}

.experience-title span {
  font-weight: 400;
  color: var(--muted);
}

ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

li { margin-bottom: 8px; }

.aside section {
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-size: 13px;
  margin: 4px 6px 0 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  margin-top: 16px;
}

.cta:hover {
  background: var(--accent);
  color: #ffffff;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  header { grid-template-columns: 1fr; }
  main { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page { padding: 32px 18px 60px; }
  h1 { font-size: 34px; }
  .print-button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

@media print {
  body { background: #ffffff; }
  body::before, body::after, .print-button, .nav { display: none; }
  .page { padding: 0; }
  section, .hero, .highlight { box-shadow: none; border-color: #d1d5db; }
  a { color: inherit; }
}
