@font-face { font-family: Barlow; src: url('/assets/fonts/Barlow-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url('/assets/fonts/Barlow-SemiBold.ttf') format('truetype'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: Urbanist; src: url('/assets/fonts/Urbanist-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Urbanist; src: url('/assets/fonts/Urbanist-Bold.ttf') format('truetype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/JetBrainsMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { color-scheme: dark; --bg: #141715; --surface: #202420; --ink: #f2f0e5; --secondary: #c2c6ba; --muted: #a0a899; --line: #434b40; --accent: #f6c844; --sage: #b5c9bb; --heading: Urbanist, sans-serif; --mono: 'JetBrains Mono', monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 17px/1.65 Barlow, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; transition: color .18s, background .18s; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
svg { width: 18px; height: 18px; flex: none; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); }
.shell { max-width: 1200px; padding-inline: 48px; margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; padding: 12px 18px; background: var(--accent); color: var(--bg); z-index: 20; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { height: 76px; border-bottom: 1px solid #434b4070; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { font: 700 29px/1 var(--heading); letter-spacing: -1.5px; }
.brand span { color: var(--accent); }
.site-label { color: var(--muted); font-size: 12px; padding-left: 18px; border-left: 1px solid var(--line); }
.language { margin-left: auto; font: 11px var(--mono); display: inline-flex; gap: 13px; align-items: center; min-height: 40px; }
.language > span { color: var(--muted); font-size: 17px; }
.resume-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); column-gap: 88px; padding-top: 66px; padding-bottom: 68px; }
.profile-sidebar { position: sticky; top: 32px; align-self: start; }
.portrait { display: block; width: 148px; height: 148px; object-fit: cover; border-radius: 50%; margin-bottom: 27px; border: 1px solid var(--line); }
.profile-heading h1 { font-size: 35px; line-height: 1.13; letter-spacing: -.9px; margin-bottom: 13px; }
.profile-role { color: var(--accent); font-size: 16px; margin-bottom: 7px; }
.profile-location { color: var(--muted); display: flex; gap: 7px; align-items: center; font-size: 13px; margin-bottom: 23px; }
.profile-location > svg { width: 14px; height: 14px; }
.profile-actions { display: flex; flex-direction: column; gap: 4px; }
.profile-actions a { font-size: 13px; display: inline-flex; align-items: center; gap: 10px; min-height: 39px; color: var(--secondary); }
.profile-actions a:hover { color: var(--accent); }
.profile-actions a svg:last-child { width: 12px; height: 12px; color: var(--muted); margin-left: auto; }
.profile-actions a svg:first-child { width: 16px; height: 16px; }
.print-button { display: none; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 43px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; margin-top: 15px; font-size: 12px; }
.js .print-button { display: inline-flex; }
.print-button:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.print-button svg { width: 15px; height: 15px; }
.profile-nav { display: flex; flex-direction: column; gap: 1px; border-top: 1px solid var(--line); margin-top: 29px; padding-top: 20px; }
.profile-nav a { display: flex; align-items: center; gap: 13px; font-size: 13px; color: var(--muted); min-height: 35px; }
.nav-marker { width: 4px; height: 4px; background: var(--line); border-radius: 50%; }
.profile-nav a:hover, .profile-nav a[aria-current] { color: var(--ink); }
.profile-nav a[aria-current] .nav-marker { background: var(--accent); }
.mobile-nav { display: none; }
.resume-content { min-width: 0; }
.eyebrow { color: var(--accent); font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 19px; }
.intro-section { padding-bottom: 37px; }
.intro-section h2 { font-size: 44px; line-height: 1.12; letter-spacing: -1.1px; margin-bottom: 21px; }
.intro-section > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 14px; max-width: 650px; }
.intro-section > .intro-lead { color: var(--secondary); font-size: 18px; margin-bottom: 14px; }
.resume-section { padding-block: 33px; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.section-heading h2 { font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.3px; margin: 0; flex: none; }
.heading-rule { height: 1px; background: var(--line); flex: 1; }
.timeline-entry { display: grid; grid-template-columns: 149px minmax(0, 1fr); gap: 24px; }
.entry-period { display: flex; align-items: flex-start; flex-direction: column; font-size: 12px; color: var(--muted); padding-top: 3px; line-height: 1.6; }
.current-role { font-size: 10px; display: flex; align-items: center; gap: 6px; color: var(--sage); margin-top: 10px; }
.current-role i { width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }
.timeline-entry .entry-content { position: relative; border-left: 1px solid var(--line); padding-left: 24px; padding-bottom: 30px; }
.timeline-entry:last-child .entry-content { padding-bottom: 0; border-color: transparent; }
.timeline-entry .entry-content:before { content: ''; position: absolute; width: 7px; height: 7px; left: -4px; top: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); }
.timeline-entry:first-child .entry-content:before { background: var(--accent); border-color: var(--accent); }
.entry-content h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; margin-bottom: 4px; }
.entry-company { font-size: 14px; color: var(--secondary); margin-bottom: 3px; }
.entry-location { font-size: 12px; color: var(--muted); margin-bottom: 11px; }
.entry-description { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.tags li { font-size: 11px; line-height: 1.6; padding: 3px 9px; border: 1px solid #434b4090; background: var(--surface); color: var(--secondary); border-radius: 3px; }
.education-entry { display: grid; grid-template-columns: 149px minmax(0, 1fr); gap: 24px; }
.education-entry .entry-content h3 { font-size: 19px; }
.education-entry .entry-location { margin-bottom: 0; }
.skills-list { display: grid; gap: 21px; }
.skill-group { display: grid; grid-template-columns: 149px minmax(0, 1fr); gap: 24px; align-items: start; }
.skill-group h3 { font: 12px/1.65 Barlow, sans-serif; color: var(--muted); margin: 2px 0 0; }
.section-note { font-size: 14px; color: var(--muted); margin: -11px 0 25px; }
.projects-list { display: grid; gap: 20px; }
.project-card { display: grid; grid-template-columns: 158px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.project-cover { background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px 19px; border-right: 1px solid var(--line); }
.project-cover > svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 20px; }
.project-cover > span { font: 700 24px/1.05 var(--heading); letter-spacing: -.6px; }
.cover-dot { color: var(--accent); }
.project-cover.yesterday { background: #252a24; }
.project-cover > .news-mark { font: 700 25px/1.12 Georgia, serif; letter-spacing: -.8px; }
.project-content { padding: 23px 24px 18px; }
.project-category { font-size: 10px; color: var(--muted); }
.project-content h3 { font-size: 23px; letter-spacing: -.4px; line-height: 1.25; margin: 7px 0 11px; }
.project-content > p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 15px; }
.project-content .tags { gap: 5px; margin-bottom: 16px; }
.project-content .tags li { font-size: 10px; padding: 2px 7px; background: transparent; }
.project-link { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent); min-height: 35px; border-top: 1px solid var(--line); padding-top: 9px; }
.project-link svg { margin-left: auto; width: 15px; height: 15px; }
.project-host { font: 9px var(--mono); color: var(--muted); margin-left: auto; }
.contact-section > p { color: var(--muted); font-size: 15px; }
.contact-section .section-heading { margin-bottom: 22px; }
.email-row { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding-block: 3px 12px; }
.email-row > a { font: 600 24px/1.3 var(--heading); display: flex; align-items: center; gap: 14px; color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.email-row > a:hover { color: var(--accent); }
.email-row > a > svg { width: 17px; height: 17px; color: var(--accent); }
.copy-button { display: none; align-items: center; justify-content: center; min-width: 36px; height: 36px; background: transparent; border: 1px solid var(--line); border-radius: 3px; margin-left: auto; }
.js .copy-button { display: inline-flex; }
.copy-button:hover { color: var(--accent); }
.copy-button svg { width: 14px; height: 14px; }
.copy-message { font-size: 11px !important; color: var(--sage) !important; min-height: 18px; margin: 5px 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; font-size: 13px; }
.text-link > svg { width: 13px; height: 13px; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 25px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.site-footer svg { width: 13px; height: 13px; }
.print-cv { display: none; }
.not-found { padding-block: 80px; max-width: 800px; }
.not-found .brand { display: block; margin-bottom: 80px; }
.not-found h1 { font-size: 50px; line-height: 1.1; letter-spacing: -1px; }
.not-found > p:not(.eyebrow) { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--accent); color: var(--bg); padding: 11px 18px; font-size: 14px; border-radius: 3px; }
.button:hover { background: #f8db83; color: var(--bg); }
@media (max-width: 1100px) {
  .shell { padding-inline: 36px; }
  .resume-layout { grid-template-columns: 218px minmax(0, 1fr); column-gap: 58px; padding-top: 52px; }
  .profile-heading h1 { font-size: 31px; }
  .portrait { width: 136px; height: 136px; }
  .intro-section h2 { font-size: 39px; }
  .timeline-entry, .education-entry, .skill-group { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; }
  .project-card { grid-template-columns: 137px minmax(0, 1fr); }
  .project-content { padding: 20px 19px 16px; }
  .project-cover { padding-inline: 16px; }
  .project-cover > span { font-size: 23px; }
  .project-cover > .news-mark { font-size: 24px; }
  .project-host { display: none; }
  .email-row > a { font-size: 22px; }
}
@media (max-width: 850px) {
  .shell { padding-inline: 28px; }
  .resume-layout { grid-template-columns: 190px minmax(0, 1fr); column-gap: 34px; }
  .profile-heading h1 { font-size: 29px; }
  .intro-section h2 { font-size: 34px; }
  .timeline-entry, .education-entry { grid-template-columns: 1fr; gap: 10px; }
  .entry-period { flex-direction: row; align-items: center; gap: 12px; }
  .current-role { margin-top: 0; }
  .timeline-entry .entry-content { padding-left: 17px; padding-bottom: 23px; }
  .skill-group { grid-template-columns: 1fr; gap: 7px; }
  .project-card { grid-template-columns: 1fr; }
  .project-cover { border-right: 0; border-bottom: 1px solid var(--line); min-height: 132px; flex-direction: row; align-items: center; gap: 18px; padding: 22px; }
  .project-cover > svg { margin: 0; }
  .project-cover > .news-mark { font-size: 25px; }
  .email-row > a { font-size: 19px; gap: 7px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .shell { padding-inline: 23px; }
  .site-header { height: 65px; }
  .brand { font-size: 26px; }
  .site-label { font-size: 11px; padding-left: 14px; }
  .header-inner { gap: 15px; }
  .resume-layout { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 30px; gap: 0; }
  .profile-sidebar { position: static; margin-bottom: 28px; }
  .profile-person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; }
  .portrait { width: 96px; height: 96px; margin: 0; }
  .profile-heading h1 { font-size: 27px; line-height: 1.13; margin-bottom: 10px; letter-spacing: -.5px; }
  .profile-role { font-size: 14px; margin-bottom: 5px; }
  .profile-location { font-size: 12px; margin: 0; }
  .profile-actions { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; margin-top: 25px; }
  .profile-actions a { font-size: 12px; gap: 8px; }
  .profile-actions a svg:last-child { margin-left: 0; }
  .print-button { grid-column: 1 / -1; margin-top: 12px; }
  .profile-nav { display: none; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: sticky; top: 0; z-index: 10; align-self: start; margin: 0 -23px 32px; padding: env(safe-area-inset-top, 0px) 12px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 5px 12px #00000025; }
  .mobile-nav a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 3px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 11px; line-height: 1.2; text-align: center; }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { color: var(--accent); }
  .mobile-nav a[aria-current] { border-bottom-color: var(--accent); }
  .mobile-nav a:focus-visible { outline-offset: -5px; }
  .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .intro-section { padding-bottom: 13px; }
  .intro-section h2 { font-size: 34px; letter-spacing: -.7px; margin-bottom: 19px; }
  .intro-section > p:not(.eyebrow) { font-size: 15px; }
  .intro-section > .intro-lead { font-size: 17px; }
  .resume-section { padding-block: 28px; }
  .section-heading { margin-bottom: 26px; gap: 18px; }
  .section-heading h2 { font-size: 24px; }
  .entry-period { font-size: 12px; }
  .timeline-entry .entry-content { padding-bottom: 24px; margin-bottom: 10px; }
  .timeline-entry .entry-content h3 { font-size: 20px; }
  .entry-company { font-size: 14px; }
  .entry-location { font-size: 12px; }
  .education-entry { gap: 8px; }
  .education-entry .entry-content h3 { font-size: 20px; }
  .skill-group { gap: 10px; }
  .skill-group h3 { font-size: 13px; color: var(--secondary); }
  .tags li { font-size: 11px; }
  .projects-list { gap: 24px; }
  .project-cover { min-height: 140px; }
  .project-cover > svg { width: 35px; height: 35px; }
  .project-cover > span { font-size: 27px; }
  .project-cover > .news-mark { font-size: 25px; }
  .project-content { padding: 22px 21px 17px; }
  .project-content h3 { font-size: 24px; }
  .project-content > p { font-size: 14px; }
  .project-host { display: inline; font-size: 8px; }
  .project-link { font-size: 12px; }
  .email-row > a { font-size: 21px; }
  .site-footer { font-size: 10px; padding-block: 19px; }
}
@media (max-width: 375px) {
  .shell { padding-inline: 18px; }
  .site-label { font-size: 10px; }
  .profile-person { grid-template-columns: 82px minmax(0, 1fr); gap: 17px; }
  .portrait { width: 82px; height: 82px; }
  .profile-heading h1 { font-size: 24px; }
  .profile-location { font-size: 11px; }
  .mobile-nav { margin-inline: -18px; padding-inline: 6px; }
  .profile-actions { column-gap: 18px; }
  .profile-actions a { font-size: 11px; }
  .intro-section h2 { font-size: 31px; }
  .project-host { display: none; }
  .email-row { gap: 9px; }
  .email-row > a { font-size: 18px; gap: 5px; }
  .email-row > a svg { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { transition: none !important; } }
@page { size: A4; margin: 13mm 16mm; }
@media print {
  :root { color-scheme: light; }
  body { color: #191a18; background: white; font: 9pt/1.35 Barlow, sans-serif; }
  body > *:not(.print-cv) { display: none !important; }
  .print-cv { display: block; }
  .print-cv header { display: flex; align-items: center; gap: 18px; border-bottom: 2px solid #191a18; padding-bottom: 12px; margin-bottom: 14px; }
  .print-cv header img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
  .print-cv header h1 { font: 700 24pt/1.1 var(--heading); letter-spacing: -.5px; margin: 0 0 7px; }
  .print-cv header p { font-size: 8pt; margin: 3px 0; overflow-wrap: anywhere; }
  .print-cv section { margin-bottom: 12px; }
  .print-cv h2 { font: 700 11pt var(--heading); padding-bottom: 4px; border-bottom: 1px solid #bbbfb7; margin: 0 0 7px; break-after: avoid; }
  .print-cv h3 { font: 700 9.5pt var(--heading); margin: 0 0 3px; break-after: avoid; }
  .print-cv p { font-size: 8.5pt; line-height: 1.35; margin: 0 0 5px; color: #191a18; }
  .print-entry { display: grid; grid-template-columns: 118px 1fr; gap: 17px; break-inside: avoid; margin-bottom: 9px; }
  .print-entry .entry-period { color: #4b5149; font-size: 8pt; padding-top: 0; }
  .print-entry .entry-content p { margin-bottom: 2px; }
  .print-entry .entry-location { color: #4b5149; font-size: 8pt; }
  .print-project { break-inside: avoid; margin-bottom: 7px; }
  .print-project > p:last-child { font-size: 8pt; color: #4b5149; }
}
