main.page-main {
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* ── About ── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
}

.about-photo {
  overflow: hidden;
}

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

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  gap: 1.25rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* ── Resume ── */

.resume-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.page-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 3rem;
}

.resume-section {
  margin-bottom: 3rem;
}

.resume-section-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.resume-entry {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.resume-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.resume-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.resume-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: right;
}

.resume-role {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.resume-credits {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── Contact ── */

.contact-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
}

.contact-bg {
  overflow: hidden;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.contact-intro {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links a {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--color-muted);
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--color-text);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .about-grid,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 50vh;
  }

  .about-text {
    padding: 2.5rem 1.5rem;
  }

  .contact-bg {
    height: 40vh;
  }

  .contact-content {
    padding: 2.5rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .resume-main {
    padding: 2rem 1rem 4rem;
  }

  .resume-entry-header {
    flex-direction: column;
    gap: 0.15rem;
  }

  .resume-meta {
    text-align: left;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
