@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --navy: #1f3864;
  --navy-dark: #142645;
  --accent: #2e74b5;
  --text: #1f2933;
  --muted: #5b6573;
  --line: #dde3ec;
  --soft: #f3f6fa;
}

* { box-sizing: border-box; }

svg[hidden] { display: none; }

body {
  margin: 0;
  font: 17px/1.6 "Source Sans 3", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 4rem 0 5.5rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.photo {
  flex: none;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

h1 {
  margin: 0;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.say { font-size: 1rem; font-weight: 400; opacity: .7; letter-spacing: 0; }
.role { margin: .4rem 0 1rem; font-size: 1.3rem; font-weight: 300; opacity: .9; }

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
}
.contact li, .contact a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.contact svg { width: 1rem; height: 1rem; fill: currentColor; opacity: .75; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 1.1rem 0 0;
  padding: .3rem .85rem;
  font-size: .9rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .25);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -3rem 0 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20, 38, 69, .12);
}
.facts li {
  padding: 1.25rem 1rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.facts li:first-child { border-left: 0; }
.facts strong { display: block; color: var(--navy); font-size: 1.1rem; line-height: 1.3; }
.facts span { display: block; margin-top: .15rem; color: var(--muted); font-size: .9rem; line-height: 1.35; }

section { margin-top: 3rem; }

h2 {
  margin: 0 0 1.25rem;
  padding-bottom: .35rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}

h3 { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
p { margin: 0; }
.lead { font-size: 1.1rem; }

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline > li {
  position: relative;
  padding: 0 0 2rem 1.75rem;
  border-left: 2px solid var(--line);
}
.timeline > li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy);
}
.when { color: var(--accent); font-size: .9rem; font-weight: 600; }
.org { color: var(--text); }
.sub { color: var(--muted); font-style: italic; }
.timeline ul { margin: .5rem 0 0; padding-left: 1.1rem; list-style: disc; }
.timeline ul li { margin-bottom: .25rem; }
.timeline ul li::marker { color: var(--accent); }
.timeline b { color: var(--navy); font-weight: 600; }

.highlight {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--soft);
  border-left: 4px solid var(--navy);
  border-radius: 6px;
}
.highlight img { width: 96px; height: 96px; }
.highlight strong { display: block; color: var(--navy); font-size: 1.3rem; }
.highlight span { color: var(--muted); }

.badges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  text-align: center;
}
.badges img { display: block; width: 96px; height: 96px; margin: 0 auto .5rem; }
.badges strong { display: block; color: var(--navy); font-size: .95rem; }
.badges span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }

.groups { margin: 0; display: grid; gap: .85rem; }
.groups > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.groups dt { font-weight: 600; color: var(--navy); }
.groups dd { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.groups dd span {
  padding: .1rem .65rem;
  font-size: .9rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.langs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.langs li { padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; }
.langs strong { display: block; color: var(--navy); }
.langs span { color: var(--muted); font-size: .95rem; }

footer {
  margin-top: 4rem;
  padding: 1.5rem 0;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}
footer .wrap { display: flex; justify-content: space-between; }
footer a { color: #fff; }

@media (max-width: 700px) {
  .hero { padding: 2.5rem 0 4.5rem; }
  .hero-inner { flex-direction: column; text-align: center; gap: 1.25rem; }
  .photo { width: 120px; height: 120px; }
  h1 { font-size: 2.1rem; }
  .say { display: block; margin-top: .35rem; }
  .contact { justify-content: center; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .groups > div { grid-template-columns: 1fr; gap: .35rem; }
  .langs { grid-template-columns: 1fr; }
  .highlight { flex-wrap: wrap; justify-content: center; text-align: center; }
  .highlight img { width: 80px; height: 80px; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { flex-direction: column; gap: .25rem; text-align: center; }
}
