:root {
  --paper: #f2f3f5;
  --ink: #1d1d1b;
  --muted: #61656d;
  --line: #b5bac3;
  --header: #dcecff;
  --header-line: #b7cee8;
  --accent: #203a5e;
  --name-blue: #0e4ea8;
}

html,
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Aptos Display", "Segoe UI", Calibri, sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.content-width {
  max-width: 980px;
}

.site-header {
  background-color: var(--header);
  border-color: var(--header-line) !important;
  position: sticky;
  top: 0;
  z-index: 20;
  font-family: "Times New Roman", Times, serif;
}

.social-links a,
.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  color: var(--accent);
  padding: 0.2rem 0.35rem;
}

.social-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.social-links a:hover {
  border-bottom-color: var(--accent);
}

.social-icon {
  font-size: 1rem;
  line-height: 1;
  vertical-align: -0.08em;
}

.email-icon {
  font-size: 0.95rem;
  line-height: 1;
  vertical-align: -0.08em;
  margin-right: 0.35rem;
  color: var(--accent);
}

.nav-tabs-wrap .nav-link {
  border-radius: 0;
  border: 1px solid transparent;
}

.nav-tabs-wrap .nav-link:hover {
  border-color: var(--header-line);
  background-color: rgba(255, 255, 255, 0.35);
}

.display-name {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.06;
  font-family: "Times New Roman", Times, serif;
  font-weight: 800;
  color: var(--name-blue);
}

.kicker {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  max-width: 250px;
  filter: saturate(0.9) contrast(1.04);
}

.about-more {
  margin-bottom: 1rem;
}

.about-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.about-more summary::-webkit-details-marker {
  display: none;
}

.about-toggle-icon {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.about-more[open] .about-toggle-icon {
  transform: rotate(90deg);
}

.about-extra {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

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

h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Times New Roman", Times, serif;
}

p,
li {
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 300;
}

a {
  color: var(--accent);
}

a:hover {
  color: #12294a;
}

.section-block {
  padding-top: 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.card,
.list-group-item {
  background-color: transparent;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .section-block {
    padding-top: 1rem;
  }

  p,
  li {
    font-size: 1rem;
  }

  .social-links,
  .nav-tabs-wrap {
    width: 100%;
    justify-content: center !important;
  }

}
