.home-page {
  width: var(--portfolio-content-width);
  margin-inline: auto;
  padding-block: clamp(48px, 9vw, 112px) 72px;
  font: var(--portfolio-copy);
}

.home-header,
.home-identity,
.home-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-header {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.home-identity img {
  flex: none;
  border-radius: 14px;
  object-fit: cover;
}

.home-identity h1 {
  font: var(--portfolio-title);
  letter-spacing: -.04em;
}

.home-identity p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.home-controls a,
.home-bio a,
.home-post a,
.home-page .experience-case-link {
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: .22em;
}

.home-controls a {
  font-size: 14px;
  padding-block: 8px;
}

.home-controls a:hover,
.home-bio a:hover,
.home-post a:hover,
.home-page .experience-case-link:hover {
  text-decoration-color: currentColor;
}

.home-bio a {
  color: var(--fg);
}

.home-bio {
  max-width: 36rem;
  margin-top: 28px;
}

.home-bio p + p {
  margin-top: 14px;
}

.home-identity p,
.home-bio,
.home-entry p {
  color: var(--body);
}

.home-section {
  margin-top: var(--portfolio-section-space);
}

.home-section h2 {
  font: var(--portfolio-section-title);
  letter-spacing: -.025em;
  margin-bottom: 20px;
}

.home-section h2::before {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 1px;
  background: var(--muted);
  margin-bottom: 18px;
}

.home-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-links > li + li {
  border-top: 1px solid var(--line);
}

.home-entry {
  display: grid;
  gap: 4px 20px;
  padding: 14px 0;
}

.home-entry:hover h3 {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.home-entry:focus-visible {
  outline-offset: 5px;
}

.home-entry h3,
.home-education h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.home-entry p {
  font-size: 15px;
  line-height: 1.6;
}

.home-project {
  grid-template-columns: minmax(0, 1fr) 156px;
  align-items: center;
}

.home-project h3 {
  margin-bottom: 4px;
}

.project-cover {
  position: relative;
  border-radius: 7px;
}

.home-project img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface);
  border-radius: inherit;
}

.project-cover--ink {
  display: grid;
  grid-template-columns: 3fr 2fr;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  container-type: inline-size;
  background: #242424;
  color: #f5f5f5;
  font: 800 40px/1 "Plinki Ink", sans-serif;
  font-synthesis: none;
}

.project-cover--ink > span {
  display: grid;
  place-items: center;
  font-size: 29cqw;
}

.project-cover--ink > span:nth-child(2) {
  background: #e8e8e8;
  color: #111;
}

.home-page .experience-row h3 {
  font-size: 16px;
  font-weight: 600;
}

.home-page .experience-row p,
.home-page .career-stages h4,
.home-page .career-stages .stage-examples,
.home-page .education-list dd {
  font-size: 14px;
}

.home-page .experience-date,
.home-page .education-list dt span,
.home-post-meta {
  color: var(--body);
  font: var(--portfolio-meta);
  font-variant-numeric: tabular-nums;
}

.home-page .career-stages p,
.home-page .job-description p {
  font-size: 15px;
  line-height: 1.65;
}

.home-page .experience-case-link {
  border: 0;
  padding: 0;
  font-size: 14px;
}

.home-education {
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.home-education h3 {
  margin-bottom: 14px;
}

.home-page .education-list dt {
  font-size: 15px;
}

.home-post + .home-post {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.home-post h3 {
  font: var(--portfolio-subtitle);
}

.home-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 6px;
}

.home-post-body {
  margin-top: 16px;
  color: var(--body);
}

.home-post-body p + p {
  margin-top: 14px;
}

.home-post-body ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.home-post-body li + li {
  margin-top: 4px;
}

.home-post-body a,
.home-post-body strong {
  color: var(--fg);
}

@media (max-width: 520px) {
  .home-project {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .project-cover {
    max-width: 288px;
  }
}
