:root {
  --ink: #122f49;
  --forest: #002e5d;
  --green: #8dc63f;
  --paper: #f1f5f0;
  --cream: #fffef9;
  --rust: #6ea52f;
  --line: rgba(0, 46, 93, .18);
}

.hero {
  background: linear-gradient(135deg, var(--cream) 0%, #edf4e7 100%);
}

.statement {
  background: linear-gradient(120deg, #002e5d 0%, #174f68 100%);
}

.timeline .detail {
  color: #506476;
}

.recognition {
  background: linear-gradient(115deg, #6ea52f 0%, #8dc63f 100%);
}

footer {
  background: #002442;
  color: #eef5e9;
}

.portrait-frame img {
  filter: saturate(.96) contrast(1.04);
}

.portrait-frame {
  width: min(100%, 540px);
  aspect-ratio: 3 / 2;
}

.portrait-frame img {
  object-position: center center;
}

.publication-list small {
  color: #5d6f7c;
}

.book-cover {
  background: linear-gradient(150deg, #002442, #002e5d);
  box-shadow: 18px 22px 0 rgba(141, 198, 63, .30);
}

.cv-summary {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
  .cv-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1050px) {
  .menu-button {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 24px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }

  nav.open {
    display: flex;
  }
}

@media (max-width: 800px) {
  .cv-summary {
    grid-template-columns: 1fr;
  }

  nav {
    top: 76px;
  }
}

.news {
  background: var(--cream);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.press-grid a {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 2rem;
  background: var(--cream);
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}

.press-grid a:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-3px);
}

.press-grid span {
  color: var(--rust);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.press-grid h3 {
  margin: 1.5rem 0 1rem;
  font-size: 1.8rem;
  line-height: 1.1;
}

.press-grid p {
  margin: 0 0 2rem;
}

.press-grid b {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 500;
}

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

  .press-grid a {
    min-height: auto;
  }
}
