:root { font-family: "Playfair Display", Georgia, serif; color: #fff; background: #000; color-scheme: dark; line-height: 1.45; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 820px; margin: 0 auto; padding: 15px 28px 8px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 400; line-height: 1.2; margin: 0 0 12px; }
p { margin: 0; }
.education { font-size: .9rem; }
.bio { margin-top: 12px; }
.work-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 16px; }
.work-columns section + section { border-left: 1px solid #333; padding-left: 24px; }
h2 { font-size: 1.1rem; font-weight: 400; margin: 0 0 12px; }
.work-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.work-list li { display: grid; gap: 2px; }
.work-list strong { font-weight: 600; }
.project-link:not([href]) { text-decoration: none; }
.work-list span { font-size: .925rem; }
footer { margin-top: 16px; padding-top: 10px; border-top: 1px solid #333; }
footer p { font-size: .925rem; }
.social-links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; }
.social-links a:hover { background: #222; }
.social-links svg { width: 20px; height: 20px; }
.social-links .beli-link { width: auto; padding: 0 6px; font-weight: 600; font-size: .925rem; }
.profile-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
a { color: #fff; text-underline-offset: 4px; text-decoration-color: #888; }
a:hover { text-decoration-color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
dialog { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 16px; background: #111; color: #fff; border: 1px solid #444; border-radius: 8px; }
dialog::backdrop { background: rgb(0 0 0 / 80%); }
body:has(dialog[open]) { overflow: hidden; }
.resume-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.resume-toolbar h2 { margin: 0; }
.resume-toolbar button { font: inherit; cursor: pointer; padding: 6px 14px; background: #111; color: #fff; border: 1px solid #888; border-radius: 4px; }
.resume-fallback { font-size: .875rem; margin: 12px 0; }
dialog iframe { display: block; width: 100%; height: min(72dvh, 900px); border: 0; background: #fff; }
@media (max-width: 600px) {
  main { padding: 5px 24px 8px; }
  .work-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .work-columns section + section { border-left: 0; padding-left: 0; border-top: 1px solid #333; padding-top: 20px; }
}
