:root {
  --profile-accent: #1f6f8b;
  --profile-accent-dark: #15536a;
  --profile-ink: #253238;
  --profile-muted: #65737a;
  --profile-soft: #f5f8f9;
  --profile-line: #dfe7ea;
}

body {
  color: var(--profile-ink);
}

.profile-intro {
  font-size: 1.08em;
  line-height: 1.72;
  margin-bottom: 28px;
}

.profile-kicker {
  display: inline-block;
  color: var(--profile-accent-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.profile-actions {
  margin: 24px 0 34px;
}

.profile-actions .btn {
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin: 0 8px 10px 0;
  padding: 10px 15px;
}

.btn-profile-primary {
  background: var(--profile-accent);
  border-color: var(--profile-accent);
  color: #fff;
}

.btn-profile-primary:hover,
.btn-profile-primary:focus {
  background: var(--profile-accent-dark);
  border-color: var(--profile-accent-dark);
  color: #fff;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 34px;
}

.profile-card {
  background: var(--profile-soft);
  border: 1px solid var(--profile-line);
  border-radius: 5px;
  padding: 20px 22px;
}

.profile-card h3 {
  font-size: 1.12em;
  margin: 0 0 8px;
}

.profile-card p {
  color: #46565d;
  font-size: 0.95em;
  line-height: 1.55;
  margin: 0;
}

.profile-section {
  border-top: 1px solid var(--profile-line);
  margin-top: 34px;
  padding-top: 26px;
}

.profile-section h2 {
  margin-top: 0;
}

.profile-list li {
  margin-bottom: 10px;
}

.pi-summary {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  margin: 10px 0 30px;
}

.pi-summary img {
  border-radius: 4px;
  max-width: 150px;
  width: 28%;
}

.pi-summary-copy {
  flex: 1;
}

.pi-role {
  color: var(--profile-muted);
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin-top: -2px;
}

.publication-tools {
  background: var(--profile-soft);
  border-left: 4px solid var(--profile-accent);
  margin: 16px 0 32px;
  padding: 18px 20px;
}

.publication-tools p:last-child {
  margin-bottom: 0;
}

.publication-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.publication-list li {
  border-bottom: 1px solid var(--profile-line);
  margin-bottom: 0;
  padding: 16px 0;
}

.publication-list li:last-child {
  border-bottom: 0;
}

.publication-year {
  color: var(--profile-accent-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 0.83em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publication-title {
  display: block;
  font-weight: 700;
  margin: 4px 0;
}

.publication-meta {
  color: var(--profile-muted);
  font-size: 0.92em;
}

.home-hero-copy {
  font-size: 1.15em;
  line-height: 1.75;
  margin: 8px 0 0;
}

.home-role {
  color: #5b6b73;
  font-family: "Open Sans", sans-serif;
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 18px 0 8px;
}

.quick-links a {
  font-family: "Open Sans", sans-serif;
  font-size: 0.93em;
  font-weight: 600;
}

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

  .pi-summary {
    display: block;
  }

  .pi-summary img {
    margin-bottom: 18px;
    max-width: 180px;
    width: 45%;
  }
}

/* Publications grouped by year */
.publication-year-group {
  margin-top: 34px;
}

.publication-year-group:first-of-type {
  margin-top: 18px;
}

.publication-year-heading {
  border-bottom: 2px solid var(--profile-accent);
  color: var(--profile-accent-dark);
  font-size: 1.35em;
  margin: 0 0 4px;
  padding-bottom: 7px;
}

.publication-other-outputs {
  border-top: 1px solid var(--profile-line);
  margin-top: 46px;
  padding-top: 20px;
}

.publication-other-outputs > h2 {
  font-size: 1.35em;
  margin-top: 0;
}
