html { -webkit-text-size-adjust: 100%; tab-size: 4; }
img, svg { display: block; vertical-align: middle; }

:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #faf9f6; color: #383b38; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
main { width: min(100% - 48px, 680px); margin: 0 auto; padding: 80px 0 32px; }
a { color: #294d40; text-decoration: underline; text-decoration-color: #a7b7ad; text-underline-offset: 4px; }
a:hover { color: #142e23; text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid #294d40; outline-offset: 5px; border-radius: 2px; }
.intro { display: flex; align-items: center; gap: 24px; margin-bottom: 36px; }
.portrait-frame { width: 320px; height: 384px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.65); transform-origin: 50% 60%; }
h1, h2, h3, p { margin: 0; }
.introduction p + p { margin-top: 16px; }
h1 { color: #202520; font-size: 32px; line-height: 1.2; letter-spacing: -1px; font-weight: 600; }
.role { color: #666b65; margin-top: 8px; font-size: 15px; }
.location { display: flex; align-items: center; gap: 6px; color: #666b65; margin-top: 6px; font-size: 14px; }
section { margin-top: 38px; padding-top: 27px; border-top: 1px solid #dedfd8; }
h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; color: #6b7068; margin-bottom: 18px; }
h3 { font-size: 17px; font-weight: 600; color: #202520; margin-bottom: 8px; }
.project-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.github-stars, .project-links { font-size: 13px; color: #6b7068; }
.project-recognition { margin-top: 12px; font-size: 14px; }
.project-links { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 13px; }
.email { display: inline-block; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #dedfd8; margin-top: 48px; padding-top: 22px; color: #6b7068; font-size: 13px; }
footer nav { display: flex; gap: 22px; }
@media (max-width: 640px) {
  main { width: calc(100% - 40px); padding-top: 40px; }
  .intro { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
  .portrait-frame { width: min(100%, 320px); height: auto; aspect-ratio: 5 / 6; }
  h1 { font-size: 27px; }
  .role { font-size: 13px; }
  .project-heading { flex-wrap: wrap; gap: 0 16px; margin-bottom: 8px; }
  .project-heading h3 { margin-bottom: 0; }
}


