* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.nav-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0066cc;
}

/* Home page */
.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.home p {
  max-width: 500px;
  line-height: 1.6;
  color: #555;
}


/* Sub-pages */
.page {
  flex: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.page h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}

.page-photo {
  display: block;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.headshot-square {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.tri-photo {
  width: 250px;
  border-radius: 8px;
  object-fit: cover;
}

/* Contact list */
.contact-list {
  list-style: none;
  margin-top: 0.5rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
  color: #555;
}

.contact-list a {
  color: #0066cc;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links a {
    margin-left: 0.75rem;
  }

  .headshot {
    width: 150px;
    height: 150px;
  }
}
