body { font-family: system-ui, sans-serif; margin: 40px;
    max-width: 700px;
    margin: 60px auto;
    line-height: 1.6; 
    background-color: #fafafa;
    }

h1 { font-size: 2.2rem;
    text-align: center;
    margin-bottom: 4px;
}
.subtitle {
  text-align: center;
  color: #000000;
  margin-top: 0px;
}

.contact-inline {
  text-align: center;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 24px 0;
  padding: 2px 0;

  border-top: 6px solid #000000;
  border-bottom: 6px solid #000000;
}

/* group the text links */
.menu-links {
  display: flex;
  justify-content: center;
  flex: 1;
}

.menu-links a {
  display: inline-block;
  padding: 0 16px;
  text-decoration: none;
  color: #000000;
  font-size: 0.95rem;
}

/* vertical separators ONLY between text links */
.menu-links a:not(:last-child) {
  border-right: 1px solid #ddd;
}

.menu-links a:hover {
  text-decoration: underline;
}

/* LinkedIn icon */
.linkedin-link {
  padding-right: 0px;
}

.linkedin-link img {
  width: 26px;
  height: 22px;
  display: block;
  opacity: 0.9;
}

.linkedin-link:hover img {
  opacity: 1;
}

.home {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}
.home-left,
.home-right {
  flex: 1;
}
.home-right p:first-child {
  margin-top: 0;
}

.photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #ddd;
  background-color: #f0f0f0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.photo-frame img {
  max-width: 95%;
  max-height: 95%;
  height: auto;
  display: block;
}

.client-profile {
  margin-top: 60px;
  padding-top: 6px;
  border-top: 1px solid #ddd;
}
.client-profile h2 {
  text-align: center;
  margin-bottom: 32px;
}
.client-panels {
  display: flex;
  gap: 24px;
}
.client-panel {
  flex: 1;
  background-color: #f0f0f0;
  padding: 20px;
  border: 1px solid #ddd;
}

#contact {
  margin-top: 60px;
  padding-top: 6px;
  border-top: 1px solid #ddd;
}
#contact h2 {
  text-align: center;
}
.footer {
  margin-top: 40px;
  padding-top: 0px;
  border-top: 6px solid #000000;
  text-align: center;
  color: #000000;
  font-size: 0.85rem;
}

/* For mobile scaling. */
@media (max-width: 768px) {
  /* Home section: stack photo above text */
  .home {
    flex-direction: column;
  }

  /* Client panels: stack vertically */
  .client-panels {
    flex-direction: column;
  }
}