@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/golostext-cyrillic-17d048ca05.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/golostext-latin-9a69d0aa47.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/ebgaramond-cyrillic-197ed98b85.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/ebgaramond-latin-8860338416.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --canvas: #dedad3;
  --ink: #161815;
  --muted: #5c5852;
  --accent: #256f82;
  --on-accent: #ffffff;
  --accent-hover: #1c5767;
  --focus: #256f82;
  --font: 'Golos Text', Arial, sans-serif;
  --display: 'EB Garamond', Georgia, serif;
  --small: 0.875rem;
  --body: 1rem;
  --lead: 1.25rem;
  --heading: 1.75rem;
  --title: clamp(3rem, 6.5vw, 4.75rem);
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--body)/1.65 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
p, li { text-wrap: pretty; }
h1 { font-family: var(--display); font-size: var(--title); line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: var(--heading); line-height: 1.2; letter-spacing: -0.035em; margin-bottom: 32px; }
h3 { font-size: var(--lead); line-height: 1.4; letter-spacing: -0.025em; }
.page { width: min(100% - 64px, 820px); margin-inline: auto; padding-block: 100px 72px; }
.intro { max-width: 760px; }
.role { font-size: var(--lead); font-weight: 500; line-height: 1.4; margin-top: 18px; }
.location { color: var(--muted); margin-top: 8px; }
.summary { margin-top: 28px; max-width: 680px; }
.summary p + p { margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: var(--radius); text-decoration: none; font-weight: 500; transition: background-color 160ms, transform 160ms; }
.button:hover { background: var(--accent-hover); color: var(--on-accent); }
.button:active { transform: translateY(1px); }
.text-action { display: inline-flex; align-items: center; min-height: 44px; }
.intro-contact { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 14px; font-size: var(--small); }
.intro-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.intro-contact a:hover { color: var(--accent); }
.section { margin-top: 72px; }
.skills { margin-top: 56px; }
.skills-list { display: grid; gap: 14px; }
.skill { display: grid; grid-template-columns: 154px minmax(0, 1fr); gap: 24px; }
.skill dt { color: var(--muted); }
.job + .job { margin-top: 44px; }
.job { display: grid; grid-template-columns: 154px minmax(0, 1fr); gap: 24px; }
.period { font-size: var(--small); line-height: 1.65; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.period time { display: inline; }
.job-role { margin-top: 5px; font-size: var(--body); font-weight: 500; }
.project { margin-top: 12px; }
.job ul { padding-left: 18px; margin-top: 14px; }
.job li { padding-left: 3px; }
.job li + li { margin-top: 8px; }
.stack { margin-top: 14px; color: var(--muted); font-size: var(--small); line-height: 1.6; }
.school { display: grid; grid-template-columns: 154px minmax(0, 1fr); gap: 24px; }
.school + .school { margin-top: 24px; }
.school p { margin-top: 6px; }
.contact { background: var(--canvas); padding: 32px; border-radius: var(--radius); }
.contact h2 { margin-bottom: 16px; }
.full-name { font-weight: 500; }
.preferences { margin-top: 10px; max-width: 640px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 20px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
.copy { padding: 0; min-height: 44px; border: 0; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; margin-top: 12px; }
.copy:hover { color: var(--accent); }
.copy-status { min-height: 24px; font-size: var(--small); }
.additional { margin-top: 12px; font-size: var(--small); color: var(--muted); }
.print-contact { display: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--ink); color: var(--on-accent); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }
@media (max-width: 620px) {
  :root { --lead: 1.125rem; }
  .page { width: calc(100% - 40px); padding-block: 48px 28px; }
  h1 { max-width: 13ch; }
  h2 { margin-bottom: 24px; }
  .section { margin-top: 48px; }
  .skills { margin-top: 40px; }
  .summary { margin-top: 24px; }
  .actions { gap: 8px 20px; }
  .intro-contact { gap: 0 18px; margin-top: 8px; }
  .skill { grid-template-columns: 1fr; gap: 2px; }
  .job, .school { grid-template-columns: 1fr; gap: 8px; }
  .job + .job { margin-top: 36px; }
  .period { padding-top: 0; }
  .period time { display: inline; }
  .school + .school { margin-top: 24px; }
  .contact { padding: 24px; }
  .contact-links { gap: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, button { transition: none !important; }
}
@page { size: A4; margin: 14mm 16mm; }
@media print {
  :root { --ink: #000000; --muted: #343434; --paper: #ffffff; }
  body { font: 10pt/1.35 Arial, sans-serif; background: white; }
  .page { width: auto; padding: 0; margin: 0; }
  h1 { font: bold 25pt/1.1 Arial, sans-serif; letter-spacing: -0.02em; }
  h2 { font-size: 13pt; margin-bottom: 10px; }
  h3 { font-size: 11pt; }
  p, li { text-wrap: wrap; }
  a { text-decoration: none; }
  .role { margin-top: 5px; font-size: 12pt; }
  .location { margin-top: 3px; }
  .summary { margin-top: 12px; max-width: none; }
  .summary p + p { margin-top: 5px; }
  .print-contact { display: block; margin-top: 8px; font-size: 9pt; }
  .section, .skills { margin-top: 20px; }
  .skills-list { gap: 5px; }
  .skill, .job, .school { display: block; }
  .skill dt, .skill dd { display: inline; }
  .skill dt::after { content: ': '; }
  .job + .job { margin-top: 16px; }
  .period { font-size: 9pt; margin-bottom: 3px; padding-top: 0; }
  .period time { display: inline; }
  .job-role { font-size: 10pt; margin-top: 2px; }
  .project { margin-top: 5px; }
  .job ul { margin-top: 6px; padding-left: 15px; }
  .job li + li { margin-top: 4px; }
  .stack { margin-top: 5px; font-size: 9pt; }
  .school + .school { margin-top: 10px; }
  .school p { margin-top: 3px; }
  .actions, .intro-contact, .skip-link, .copy, .copy-status { display: none !important; }
  .contact { background: none; padding: 0; border-radius: 0; }
  .contact-links { display: none; }
  .preferences, .additional { margin-top: 4px; }
  .additional { font-size: 9pt; }
  h2, h3, .period, .job-role, .project { break-after: avoid; }
  .job li, .school, .contact { break-inside: avoid; }
  p, li { orphans: 3; widows: 3; }
  [data-enter] { opacity: 1 !important; transform: none !important; }
}
