:root {
  --bg: #fcfcfb;
  --text: #1d1d1b;
  --muted: #6f6c64;
  --rule: #e5e2dc;
  --max: 980px;
  --link-color: #3178c6; /* Matches the blue links in the inspo */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  background: var(--bg);
  font: 400 16px/1.6 "Public Sans", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.landing {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  /* Adjusts the ratio to give the image column slightly more room */
  grid-template-columns: 1.2fr 1fr;
  align-items: center; 
  gap: 3.5rem;
  padding: 10vh 1.5rem;
}

.left-col {
  display: flex;
}

.avatar {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Removed border-radius and square aspect ratio for sharp edges */
}

.right-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start; /* Forces all content to left-align */
}

.nameplate {
  margin: 0;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.summary {
  margin: 0;
  font-size: 1.15rem; 
  line-height: 1.5;
  color: var(--text);
}

.links {
  display: flex;
  flex-direction: column; /* Stacks links vertically */
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-top: 0.5rem; /* Creates separation from the bio */
}

.links a {
  color: var(--link-color);
  text-decoration: none;
  transition: opacity 140ms ease;
}

.links a:hover {
  opacity: 0.72;
}

@media (max-width: 768px) {
  .landing {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 12vh;
  }
}
