/* No build step or external resources. The photo yields space before the text. */
:root {
  color-scheme: light;
  font: 14px/1.48 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #25332d;
  background: #151916;
  --muted: #606c63;
  --line: #cbd2c8;
  --paper: #fafbf7;
}
* { box-sizing: border-box; }
body, h1, h2, p, ul { margin: 0; }
h1 { font-size: 32px; font-weight: 600; letter-spacing: -.045em; line-height: 1.15; }
h2 { font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
strong { font-weight: 600; }
a { color: #2d6256; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid #d29925; outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 8px 16px; background: var(--paper); z-index: 1; }
.skip-link:focus { top: 8px; }
.scene {
  max-width: 1360px;
  min-height: 100svh;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #4e5749 url("assets/background.jpg") left center / cover no-repeat;
}
/* Half the page on desktop; retain a 600px reading column as the photo narrows. */
.sheet { width: max(50%, 600px); max-width: 100%; padding: 28px; background: rgb(252 253 248 / 93%); }
.intro { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.nickname { color: var(--muted); font-size: 13px; letter-spacing: .025em; white-space: nowrap; }
.nickname span { color: #3b6755; }
.bio { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.section-icon { display: block; width: 46px; height: 46px; }
.copy { font-size: 13px; }
.copy > p + p { margin-top: 9px; }
.more { margin-top: 16px; }
.learn { display: block; font-size: 11px; letter-spacing: .035em; color: var(--muted); margin-bottom: 7px; }
.socials { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; }
.social {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 7px; color: #fff; border: 1px solid rgb(0 0 0 / 8%);
  background: var(--brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 2px 3px rgb(0 0 0 / 8%);
}
.social:hover { filter: brightness(1.12); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.linkedin { --brand: #1879b6; }
.github { --brand: #67518b; }
.blog { --brand: #d98032; }
.work { --brand: #7952ae; }
.twitter { --brand: #238fc0; }
.beer { --brand: #b87b16; }
.projects { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.projects h2 { margin-bottom: 14px; }
.project-list { list-style: none; padding: 0; display: grid; gap: 12px 24px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.project-list a { text-decoration: none; font-weight: 600; font-size: 13px; }
.project-list a:hover { text-decoration: underline; }
.project-list a span { margin-left: 7px; font-size: 11px; font-weight: 400; color: #6a8070; }
.project-list p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 650px) {
  body { background: var(--paper); }
  .scene { padding: 0; background: none; align-items: start; }
  .sheet { width: 100%; padding: 26px; background: var(--paper); }
}
@media (max-width: 480px) {
  .sheet { padding: 24px 20px; }
  h1 { font-size: 30px; }
  .bio { display: block; }
  .life { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 10px; }
  .section-head { display: block; margin: 0; }
  .section-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .section-icon { width: 44px; height: 44px; }
  .copy { font-size: 14px; }
  .personal-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
  .more { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .learn { margin: 0; }
  .social { width: 40px; height: 40px; }
  .project-list { grid-template-columns: 1fr; }
  .project-list li { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 10px; }
}
@media (pointer: coarse) {
  .social { width: 44px; height: 44px; }
}
