@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --paper: #f5f4ef;
  --ink: #252b28;
  --muted: #6d746e;
  --line: #d7dbd1;
  --green: #477351;
  --soft: #e7ebdf;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}
a:hover {
  color: var(--green);
}
.page {
  max-width: 1120px;
  margin: auto;
  padding: 0 64px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font:
    800 32px/1 "Manrope",
    sans-serif;
  letter-spacing: -2px;
}
.wordmark span,
.accent {
  color: var(--green);
}
nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
nav a:last-child {
  font-weight: 650;
}
nav span {
  margin-left: 5px;
}
.hero {
  padding: 78px 0 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 24px;
}
.hero > .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}
h1 {
  font-size: clamp(70px, 9vw, 112px);
  letter-spacing: -0.075em;
  line-height: 1.03;
  font-weight: 650;
  margin-bottom: 38px;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.role {
  font-size: 23px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.intro {
  color: var(--muted);
  max-width: 530px;
  margin: 0;
  font-size: 16px;
}
.button {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 23px;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 3px;
}
.button:hover {
  background: var(--green);
  color: white;
}
.hero-notes {
  margin-top: 49px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.section {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-heading > p:last-child:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.experience {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.job {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 24px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}
.job:first-child {
  padding-top: 0;
  border: 0;
}
.job:last-child {
  padding-bottom: 0;
}
.job-meta {
  font-size: 10px;
  padding-top: 4px;
}
.job-meta p {
  margin: 0 0 4px;
  font-weight: 550;
}
.job-meta span {
  color: var(--muted);
}
h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.4;
  margin-bottom: 3px;
}
.job-role {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
}
.job ul {
  padding-left: 15px;
  font-size: 13px;
  color: #555e56;
  margin: 0;
  line-height: 1.75;
}
.job li {
  padding-left: 3px;
  margin-bottom: 7px;
}
.job li::marker {
  color: #8e9d89;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.tags span {
  font-size: 9px;
  background: var(--soft);
  color: #4c644e;
  border-radius: 3px;
  padding: 3px 8px;
}
.skills {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 42px;
}
.skill-group {
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.skill-group h3 {
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.skill-group p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.9;
}
.details {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
}
.details .eyebrow {
  margin-bottom: 10px;
}
.details h2 {
  margin-bottom: 29px;
}
.details h3 {
  font-size: 16px;
}
.details p:not(.eyebrow) {
  font-size: 13px;
  margin-bottom: 3px;
}
.muted {
  color: var(--muted);
}
.secondary-education {
  margin-top: 25px;
}
.languages {
  margin: 0;
}
.languages > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 14px;
}
.languages > div:first-child {
  padding-top: 0;
}
.languages dd {
  color: var(--muted);
  font-size: 12px;
}
.contact {
  padding: 76px 0 70px;
}
.contact .eyebrow {
  margin-bottom: 19px;
}
.contact h2 {
  font-size: clamp(36px, 5.7vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.06em;
  margin-bottom: 29px;
}
.email {
  display: inline-block;
  font-size: 18px;
  border-bottom: 1px solid #a3afa0;
  padding-bottom: 5px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.email span {
  margin-left: 20px;
  color: var(--green);
}
.phone {
  display: block;
  width: fit-content;
  color: var(--muted);
  font-size: 13px;
  margin-top: 15px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 23px 0 30px;
  color: var(--muted);
  font-size: 10px;
}
footer button {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 6px;
}
footer button:hover {
  color: var(--green);
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--ink);
  color: white;
  padding: 10px;
  z-index: 2;
}
.skip-link:focus {
  top: 10px;
}
@media (min-width: 1300px) {
  .page {
    max-width: 1200px;
    padding: 0 84px;
  }
  .hero {
    padding-top: 88px;
  }
  .experience {
    grid-template-columns: 260px 1fr;
    gap: 55px;
  }
}
@media (max-width: 850px) {
  .page {
    padding: 0 32px;
  }
  .experience {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .section-heading > p:last-child:not(.eyebrow) br {
    display: none;
  }
  .job {
    grid-template-columns: 165px 1fr;
  }
  .skills {
    gap: 24px;
  }
  .details {
    gap: 40px;
  }
  .hero {
    padding-top: 60px;
  }
}
@media (max-width: 540px) {
  .page {
    padding: 0 23px;
  }
  .topbar {
    padding: 25px 0;
  }
  nav {
    gap: 19px;
    font-size: 11px;
  }
  nav a:first-child {
    display: none;
  }
  .hero {
    padding-top: 45px;
  }
  h1 {
    font-size: 72px;
    margin-bottom: 27px;
  }
  .role {
    font-size: 20px;
  }
  .intro {
    font-size: 14px;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .button {
    padding: 12px 20px;
    gap: 38px;
  }
  .hero-notes {
    margin-top: 32px;
    font-size: 9px;
    gap: 20px;
  }
  .hero-notes span:last-child {
    text-align: right;
  }
  .section {
    padding: 46px 0;
  }
  h2 {
    font-size: 30px;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 0;
  }
  .job-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .job-meta p {
    margin: 0;
  }
  .job h3 {
    font-size: 20px;
  }
  .job-role {
    margin-bottom: 11px;
  }
  .job ul {
    font-size: 13px;
  }
  .skills {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .skill-group {
    padding-top: 16px;
  }
  .skill-group h3 {
    margin-bottom: 7px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .details h2 {
    margin-bottom: 22px;
  }
  .contact {
    padding: 49px 0;
  }
  .contact h2 {
    font-size: 40px;
  }
  .email {
    font-size: 15px;
  }
  .email span {
    margin-left: 6px;
  }
  footer {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 12px;
  }
  footer > span {
    flex-basis: 100%;
  }
  footer button {
    padding-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  @page {
    margin: 16mm;
  }
  body {
    background: white;
    font-size: 11px;
  }
  .page {
    max-width: none;
    padding: 0;
  }
  .topbar,
  nav,
  .button,
  .hero-notes,
  .contact,
  footer,
  .skip-link {
    display: none;
  }
  .hero {
    padding-top: 0;
  }
  h1 {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 15px;
  }
  h1 br {
    display: none;
  }
  h1 br:after {
    content: " ";
  }
  .role {
    font-size: 18px;
  }
  .intro {
    font-size: 12px;
  }
  .hero-bottom {
    display: block;
  }
  .section {
    padding: 24px 0;
  }
  .experience {
    display: block;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .section-heading > p:last-child:not(.eyebrow) {
    display: none;
  }
  h2 {
    font-size: 24px;
  }
  .eyebrow {
    display: none;
  }
  .job {
    grid-template-columns: 135px 1fr;
    gap: 20px;
    padding: 15px 0;
    break-inside: avoid;
  }
  .job ul {
    font-size: 11px;
  }
  .job-role {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .tags {
    display: none;
  }
  .skills {
    gap: 24px;
  }
  .skill-group p {
    font-size: 11px;
  }
  .details {
    gap: 40px;
  }
  .details h2 {
    margin-bottom: 16px;
  }
  .hero:after {
    content: "Warsaw, Poland · nikita.solo.1134@gmail.com · +48 451 058 533";
    display: block;
    font-size: 10px;
    margin-top: 12px;
  }
}
