/* Homepage only: shared detail pages retain their original typography. */
.resume-home {
  --sidebar-width: 236px;
  --ink: #262626;
  --muted: #59564f;
  --resume-body-size: 15px;
}
.resume-home body { font-size: var(--resume-body-size); line-height: 1.7; }
.resume-home .sidebar { padding: 20px 20px 18px; }
.resume-home .profile { padding: 22px 0 16px; }
.resume-home .profile-name { margin-top: 12px; }
.resume-home .profile-direction { margin-top: 10px; }
.resume-home .desktop-navigation { gap: 5px; margin: 10px 0 22px; }
.resume-home .nav-link { min-height: 44px; padding-block: 9px; }
.resume-home .main-content { padding-top: calc(var(--toolbar-height) + 22px); }
.resume-home .page-intro { padding-bottom: 14px; }
.resume-home .content-section { padding-block: 28px 32px; }
.resume-home .section-heading { margin-bottom: 18px; }
.resume-home .section-heading-main { gap: 16px; }
.resume-home .section-heading h2 { font-size: 26px; }
.resume-home .section-number { width: 52px; height: 52px; flex: 0 0 52px; font-size: 32px; }
.resume-home .section-description { margin: 0 0 14px; font-size: 13px; line-height: 1.7; }
.resume-home .education-body { padding: 16px 18px; }
.resume-home .major-line { margin-top: 7px; }
.resume-home .course-row { margin-top: 16px; padding-top: 12px; gap: 16px; }
.resume-home .course-dot { padding-inline: 8px; }
.resume-home .experience-item { padding-bottom: 20px; }
.resume-home .experience-item + .experience-item { padding-top: 20px; }
.resume-home .experience-item:last-child { padding-bottom: 0; }
.resume-home .experience-heading { padding: 12px 16px; }
.resume-home .experience-body { padding: 16px 16px 0; }
.resume-home .text-block { gap: 12px; }
.resume-home .text-block + .text-block { margin-top: 12px; }
.resume-home .text-block h4 { font-size: 13px; line-height: 1.7; font-weight: 700; padding-top: 2px; }
.resume-home :is(.text-block > p, .duties, .skill-list p, .game-description p,
  .major-line, .course-row p, .article-summary, .article-entries li, .topic-description) {
  font-size: var(--resume-body-size);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.resume-home .duties strong { font-weight: 600; }
.resume-home .duties li + li { margin-top: 4px; }
.resume-home .item-folio { margin: 12px 16px 0; }
.resume-home .project-list { gap: 18px; }
.resume-home .project-heading { padding: 16px 18px; gap: 16px; }
.resume-home .project-heading h3 { font-size: 22px; }
.resume-home .project-body { padding: 16px 18px; }
.resume-home .project-foot { padding: 0 18px 12px; }
.resume-home .skill-list li { padding-block: 14px; gap: 12px; }
.resume-home .skill-list strong { font-size: 15px; font-weight: 700; }
.resume-home .game-list li { grid-template-columns: 24px 124px minmax(0, 1fr); gap: 12px; padding-block: 14px; align-items: start; }
.resume-home .game-category h3 { font-size: 15px; font-weight: 700; }
.resume-home .game-category > span { font-size: 9px; letter-spacing: .06em; line-height: 1.5; overflow-wrap: anywhere; }
.resume-home .game-description { min-width: 0; }
.resume-home .game-description p { white-space: pre-line; }
.resume-home .game-description p:not([contenteditable]) { white-space: normal; }
.resume-home .game-entry { display: block; }
.resume-home .game-entry + .game-entry { margin-top: 6px; }
.resume-home .game-label { display: inline-block; max-width: 100%; vertical-align: baseline; }
.resume-home .game-label + .game-label { margin-left: 8px; }
.resume-home .game-title { font-size: inherit; font-weight: 700; color: var(--ink); }
.resume-home .game-stat { font-size: 13px; font-weight: 400; color: var(--muted); }
.resume-home .article-topic { margin-top: 18px; padding: 18px 0 4px; }
.resume-home .article-topic + .article-topic { margin-top: 24px; }
.resume-home .topic-tab { margin-bottom: 8px; }
.resume-home .topic-name { font-size: 24px; }
.resume-home .topic-description { margin-top: 6px; }
.resume-home .article-group { margin-top: 18px; }
.resume-home .article-entries li { padding-block: 9px; }
.resume-home .article-excerpt { color: var(--ink); }
.resume-home .analysis-article { padding-block: 18px; }
.resume-home .article-summary { margin-top: 10px; }
.resume-home .page-footer { padding-block: 20px; }
.resume-home .project-subnav { padding: 9px 0 5px 12px; }
.resume-home .project-subnav[hidden] { display: none; }
.resume-home .project-subnav ul { list-style: none; margin: 0; padding: 0; }
.resume-home .project-nav-row { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: stretch; gap: 2px; }
.resume-home .project-nav-row + .project-nav-row { margin-top: 4px; }
.resume-home .project-nav-name { min-width: 0; display: flex; align-items: center; min-height: 44px; padding: 10px 5px; font-size: 13px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; border-radius: 3px; }
.resume-home .project-nav-open { display: grid; place-items: center; min-height: 44px; border-radius: 3px; }
.resume-home .project-nav-open .icon { width: 16px; height: 16px; }
.resume-home .project-subnav a:hover { color: var(--accent); background: #4ecdc41c; }
.resume-home .project-subnav .is-current { color: var(--accent); background: #4ecdc42b; }
.resume-home .contact-row > .icon, .resume-home .copy-button { flex-shrink: 0; }
.resume-home .course-row p { min-width: 0; }

@media (max-width: 900px) {
  .resume-home { --sidebar-width: 164px; }
  .resume-home .sidebar { padding: 18px 12px; }
  .resume-home .profile { padding: 16px 0 14px; }
  .resume-home .project-subnav { padding-left: 3px; }
  .resume-home .project-nav-name { font-size: 12px; }
}

@media (max-width: 600px) {
  .resume-home { --sidebar-width: 106px; --resume-body-size: 14px; }
  .resume-home .sidebar { padding: 16px 8px; }
  .resume-home .profile { padding: 4px 0 14px; }
  .resume-home .profile-name { margin-top: 14px; }
  .resume-home .desktop-navigation { gap: 5px; margin: 6px 0 18px; }
  .resume-home .nav-link { padding: 9px 4px; }
  .resume-home .main-content { padding: calc(var(--toolbar-height) + 18px) 14px 0; }
  .resume-home .content-section { padding-block: 22px 26px; }
  .resume-home .section-heading-main { gap: 9px; }
  .resume-home .section-heading h2 { font-size: 20px; }
  .resume-home .section-number { width: 34px; height: 38px; flex-basis: 34px; font-size: 22px; }
  .resume-home .education-body { padding: 12px; }
  .resume-home .course-row { margin-top: 12px; padding-top: 10px; }
  .resume-home .course-dot { padding-inline: 4px; }
  .resume-home .experience-heading { padding: 12px; }
  .resume-home .experience-body { padding: 14px 1px 0; }
  .resume-home .project-heading { padding: 14px 10px; gap: 8px; }
  .resume-home .project-heading h3 { font-size: 17px; }
  .resume-home .project-body { padding: 14px 12px; }
  .resume-home .project-foot { padding: 0 12px 10px; }
  .resume-home .skill-list li { grid-template-columns: 20px minmax(0, 1fr); gap: 6px 10px; }
  .resume-home .game-list li { grid-template-columns: 20px minmax(0, 1fr); gap: 6px 10px; }
  .resume-home .game-category { min-width: 0; flex-wrap: wrap; }
  .resume-home .game-description { grid-column: 2; }
  .resume-home .game-stat { font-size: 12px; }
  .resume-home .game-category > span { letter-spacing: .02em; }
  .resume-home .topic-name { font-size: 20px; }
  .resume-home .section-description { font-size: 12px; }
  .resume-home .project-subnav { padding-inline: 0; }
  .resume-home .project-nav-row { grid-template-columns: minmax(0, 1fr) 24px; }
  .resume-home .project-nav-name { padding: 9px 3px; font-size: 11px; }
}
