/* Base */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: linear-gradient(180deg, #fafafa, #f3f3f3);
}

/* Layout */

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Photo column */

.photo {
  margin: 0;
  background: #111;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content column */

.content {
  display: flex;
  flex-direction: column;
  padding: 48px;
  max-width: 680px;
}

/* Header */

h1 {
  margin: 0;
  font-size: 2.2rem;
}

h2 {
  margin-top: 6px;
  font-weight: normal;
  color: #666;
  font-size: 1.2rem;
}

/* Body text */

.bio {
  margin-top: 24px;
}

p {
  line-height: 1.6;
  margin-bottom: 1.2em;
}

/* Links */

a {
  color: #005bbb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */

footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.links {
  margin-bottom: 10px;
}

.links a {
  margin-right: 16px;
  font-weight: 600;
}

.copyright {
  font-size: 0.9rem;
  color: #777;
}

/* Mobile */

@media (max-width: 900px) {

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

  .photo img {
    height: auto;
  }

  .content {
    padding: 32px;
  }

}