/* --- Global --- */
html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1.65;
}

/* Links */
a {
  color: #0b3d91;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Navbar (Quarto) --- */
.navbar {
  background: #ffffff !important;
  border-bottom: 2px solid #222222;
}

.navbar .navbar-brand {
  font-weight: 700;
  color: #111111 !important;
  font-size: 26px;
  letter-spacing: 0.2px;
}

.navbar .nav-link {
  color: #111111 !important;
  font-size: 18px;
}

.navbar .nav-link:hover {
  text-decoration: underline;
}

/* --- Page width (narrow, long) --- */
#quarto-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem 1.25rem;
}

/* --- Home layout --- */
.home {
  padding-top: 0.25rem;
}

.home-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2.25rem;
  align-items: start;
}

/* Photo */
.headshot-rect {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;   /* 👈 centers the image */
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.home-photo {
  padding-top: 0.25rem;
}



/* Text */
.lead {
  font-size: 21px;
  margin-top: 0;
}

.focus-list {
  margin-top: 1.25rem;
  padding-left: 1.25rem;
}

.focus-list li {
  margin-bottom: 0.6rem;
}

/* Buttons row */
.inline-links {
  margin: 1.1rem 0 0.6rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Resume CTA */
.btn-primary {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  background: #0b3d91;
  color: #ffffff;
  border: 1px solid #0b3d91;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.btn-primary:hover {
  background: #082f6e;
  border-color: #082f6e;
  text-decoration: none;
}

/* Icon links */
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
  color: #111111;
  text-decoration: none;
}

.icon-link i {
  font-size: 20px;
  line-height: 1;
  position: relative;
  top: -1px;
}

.icon-link:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  #quarto-content {
    padding: 1.5rem 1rem 2.5rem 1rem;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .headshot-rect {
    max-width: 420px;
  }
}
