* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #111;
    background: #eceef1;
    line-height: 1.5;
    padding: 24px;
    -webkit-font-smoothing: antialiased;
}

.resume {
    display: flex;
    max-width: 900px;
    min-height: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(20, 25, 40, 0.08);
}

/* Left: main content */
.main {
    flex: 1;
    padding: 48px 44px;
}

/* Right: sidebar */
.sidebar {
    width: 300px;
    background: #f4f6f9;
    border-left: 1px solid #e7e9ee;
    padding: 48px 30px;
}

.photo {
    width: 100%;
    margin: 0 0 26px;
    border-radius: 16px;
    overflow: hidden;
    background: #e7e9ee;
    border: 2px solid #d7dbe2;
    box-shadow: 0 6px 18px rgba(20, 25, 40, 0.18);
}

.photo img {
    width: 100%;
    height: auto;
    display: block;
}

.head {
    margin-bottom: 34px;
}

.kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9aa0a6;
}

.name {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-top: 8px;
}

.block {
    margin-bottom: 28px;
}

.block-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 12px;
}

.contacts {
    list-style: none;
}

.contacts li {
    margin-bottom: 9px;
}

.contacts a,
.contacts .contact-static {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: #111;
    text-decoration: none;
    word-break: break-word;
}

.contacts a .ico {
    color: #6b7280;
    transition: color 0.15s ease;
}

.contacts a:hover {
    color: #000;
}

.contacts a:hover .ico {
    color: #111;
}

.ico {
    width: 15px;
    height: 15px;
    flex: none;
}

.contact-static {
    color: #6b7280;
}

.skill-note {
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
    margin-bottom: 4px;
}

.skill-group {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa0a6;
    margin: 16px 0 8px;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chips li {
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid #dfe3e9;
    background: #ffffff;
    color: #333;
}

.chips.core li {
    border-color: #111;
    background: #111;
    color: #ffffff;
}

.langs {
    list-style: none;
}

.langs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 13.5px;
    padding: 5px 0;
    border-bottom: 1px solid #e7e9ee;
}

.langs li:last-child {
    border-bottom: none;
}

.lang {
    color: #111;
}

.lang-lvl {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.summary {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.project-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.project-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111;
}

.project-links {
    display: flex;
    gap: 14px;
    font-size: 13px;
}

.project-links a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #d7dbe2;
    padding-bottom: 1px;
}

.project-links a:hover {
    border-color: #111;
}

.project-lead {
    font-size: 14px;
    line-height: 1.55;
    color: #444;
    margin-bottom: 14px;
    text-align: justify;
}

.project-points {
    list-style: none;
    margin-bottom: 16px;
}

.project-points li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
    text-align: justify;
}

.project-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111;
}

.project-points strong {
    font-weight: 600;
    color: #111;
}

.job-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.job-role {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    flex: 1;
    min-width: 0;
}

.job-date {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.job-org {
    font-size: 13.5px;
    color: #6b7280;
    margin: 2px 0 10px;
    text-align: justify;
}

.edu {
    margin-bottom: 16px;
}

.edu:last-child {
    margin-bottom: 0;
}

/* Temporary — removed as sections get filled */
.placeholder {
    color: #c0c4cc;
    font-size: 14px;
    font-style: italic;
}

/* Language toggle */
.lang-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10;
    padding: 6px 12px;
    font: inherit;
    font-size: 13px;
    background: #ffffff;
    border: 1px solid #dfe3e9;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(20, 25, 40, 0.08);
}

.lang-toggle .lang-sep {
    margin: 0 6px;
    color: #d0d4da;
}

[data-lang-btn] {
    color: #b0b4bb;
}

body[data-lang="en"] [data-lang-btn="en"],
body[data-lang="ua"] [data-lang-btn="ua"] {
    color: #111;
    font-weight: 600;
}

/* Show only the active language's blocks */
body[data-lang="en"] [data-lang-block="ua"],
body[data-lang="ua"] [data-lang-block="en"] {
    display: none;
}