@page {
  size: A4;
  margin: 12mm;
}

:root {
  --bg: #edf2f0;
  --paper: #fbfcfb;
  --text: #1d2926;
  --muted: #65736f;
  --accent: #1f5b52;
  --accent-soft: #dceae6;
  --line: #d8e1de;
  --card: #f3f7f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 32px auto;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(29, 41, 38, 0.10);
}

.hero {
  padding: 72px 72px 58px;
  background:
    radial-gradient(circle at top right, rgba(220, 234, 230, .9), transparent 34%),
    linear-gradient(135deg, #fbfcfb 0%, #f4f8f6 100%);
  border-bottom: 1px solid var(--line);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}

.eyebrow,
.section__label {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .74rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.role {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.contact {
  display: flex;
  min-width: 245px;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: var(--muted);
  font-size: .9rem;
}

blockquote {
  max-width: 760px;
  margin: 70px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -.025em;
}

main {
  padding: 0 72px;
}

.section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 52px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.section__label {
  margin-top: 8px;
}

.section__content {
  max-width: 760px;
}

.section__content p {
  margin: 0 0 18px;
}

.lead {
  font-size: 1.22rem;
  line-height: 1.55;
  letter-spacing: -.015em;
}

.experience {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 34px;
}

.experience__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: .88rem;
}

h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 205px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.card p {
  color: var(--muted);
  font-size: .92rem;
}

.education {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.education p,
.education span {
  color: var(--muted);
}

.closing {
  border-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 72px;
  color: var(--muted);
  background: #f5f8f7;
  border-top: 1px solid var(--line);
  font-size: .86rem;
}

button {
  padding: 10px 15px;
  color: var(--paper);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  filter: brightness(.94);
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .hero,
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero__top {
    flex-direction: column;
  }

  .contact {
    align-items: flex-start;
  }

  blockquote {
    margin-top: 48px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 46px 0;
  }

  .section__label {
    margin: 0;
  }

  .experience {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strengths {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body {
    background: white;
    font-size: 9.5pt;
    line-height: 1.45;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .hero {
    padding: 18mm 12mm 12mm;
  }

  h1 {
    font-size: 34pt;
  }

  blockquote {
    margin-top: 14mm;
    font-size: 20pt;
  }

  main {
    padding: 0 12mm;
  }

  .section {
    grid-template-columns: 32mm 1fr;
    gap: 8mm;
    padding: 9mm 0;
    break-inside: avoid;
  }

  .strengths {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    min-height: auto;
    padding: 5mm;
    break-inside: avoid;
  }

  .card__number {
    margin-bottom: 5mm;
  }

  footer,
  button {
    display: none;
  }

  a {
    text-decoration: none;
  }
}
