body {
  line-height: 1.65;
  color: #27303a;
}

.navbar {
  border-bottom: 1px solid #e9eef3;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

h1, h2, h3 {
  font-weight: 650;
}

main.content {
  max-width: 960px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(145deg, #f8fbff 0%, #eef5fb 100%);
  border: 1px solid #dfebf7;
  border-radius: 14px;
  padding: 2.2rem;
  margin: 1rem 0 1.5rem;
}

.hero-name {
  margin-bottom: 0.5rem;
}


.hero .columns {
  align-items: center;
}

.hero .column {
  min-width: 0;
}

.hero-headshot {
  max-width: 100%;
  height: auto;
}
.hero-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;

  /* spacing between buttons BOTH directions */
  gap: 0.75rem 0.6rem;
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;

  background-color: #012169; /* Duke blue */
  color: white;

  line-height: 1.2;
  white-space: nowrap;
}

.hero-buttons a.filled {
  background-color: #012169; /* Duke blue */
  color: white;
  border: 2px solid #012169;
}

.hero-buttons a.filled:hover {
  background-color: #00539b;
  border-color: #00539b;
  color: white;
}

.hero-buttons a.outline {
  background-color: transparent;
  color: #012169;           /* Duke blue */
  border: 2px solid #012169;
}

.hero-buttons a.outline:hover {
  background-color: #012169;
  color: white;
}

/* base icon button */
.hero-buttons .btn-icon-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: 2px solid #012169;   /* Duke blue */
  background-color: transparent;
  color: #012169;

  text-decoration: none;
  font-size: 1.25rem;

  transition: background-color 0.15s ease,
              color 0.15s ease,
              transform 0.1s ease;
}

/* hover */
.hero-buttons .btn-icon-outline:hover {
  background-color: #012169;
  color: white;
  transform: translateY(-1px);
}

.hero-buttons .btn-icon-outline.osf {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .hero {
    padding: 1.5rem;
  }

  .hero .columns {
    flex-direction: column-reverse;
    gap: 1.2rem;
  }

  .hero .column {
    width: 100% !important;
  }

  .hero-headshot {
    width: min(220px, 55vw) !important;
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    justify-content: center;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.content-card {
  border: 1px solid #e7edf4;
  border-radius: 12px;
  background: #fff;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 10px rgba(39, 48, 58, 0.04);
}

.blockquote,
blockquote {
  color: #5a5a5a;
}

.paper-links {
  margin: 0.4rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.paper-links .btn {
  border-radius: 0.4rem;
}
