:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #182033;
  --muted: #4e5b74;
  --brand: #0f3a78;
  --accent: #a22b2b;
  --line: #d8dfec;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  background: #fff;
  border: 2px solid var(--brand);
  padding: 0.5rem 0.7rem;
}

.site-header {
  color: #fff;
  background: linear-gradient(140deg, #0f3a78 0%, #1f5ba8 45%, #0b284f 100%);
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.2rem 2rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.kicker {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.85;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", serif;
  line-height: 1.25;
}

h1 {
  margin: 0.4rem 0 0.5rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.role {
  margin: 0.15rem 0;
  font-size: 1.06rem;
}

.hero-links {
  margin: 1rem 0 0;
}

.hero-links a {
  color: #fff;
  margin-right: 1rem;
  font-weight: 700;
}

.hero-photo {
  margin: 0;
  justify-self: end;
}

.hero-photo img {
  display: block;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

main {
  padding: 1.5rem 0 2.2rem;
}

section {
  margin: 0 0 2rem;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin: 0 0 0.8rem;
  color: var(--brand);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

p,
li,
time {
  color: var(--ink);
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--accent);
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem;
}

.card p {
  margin: 0.3rem 0;
  color: var(--muted);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  border-left: 3px solid #bdd0ee;
  padding: 0 0 0.8rem 0.8rem;
  margin: 0 0 0.8rem;
}

time {
  font-weight: 700;
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer .wrap {
  padding: 1.4rem 0 2rem;
}

.site-footer h2 {
  margin-top: 0;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (max-width: 900px) {
  .hero {
    padding: 2.4rem 0 2rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: start;
  }

  .hero-photo img {
    width: min(340px, 90vw);
  }

  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }
}
