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

    body {
      background: #fff;
      font-family: 'Source Sans 3', Georgia, sans-serif;
      color: #111;
      font-size: 15px;
      line-height: 1.6;
    }

    .page {
      max-width: 1100px;
      margin: 0 auto;
      padding: 3rem 3.5rem 4rem;
    }

    .cv-header {
      text-align: center;
      margin-bottom: 1.2rem;
    }

    .cv-header h1 {
      font-family: 'EB Garamond', Georgia, serif;
      font-size: 2rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #111;
      margin-bottom: 0.1rem;
    }

    .cv-header .subtitle {
      font-family: 'EB Garamond', Georgia, serif;
      font-size: 1rem;
      font-style: italic;
      color: #444;
      margin-bottom: 0.45rem;
    }

    .cv-header .contact-line {
      font-size: 0.82rem;
      color: #444;
    }

    .cv-header .contact-line a {
      color: #444;
      text-decoration: none;
    }

    .cv-header .contact-line a:hover { text-decoration: underline; }

    hr.thick {
      border: none;
      border-top: 2px solid #111;
      margin: 1rem 0 0;
    }

    /* SECTION HEADING */
    .section-heading {
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #111;
      margin: 1.8rem 0 0;
      padding-bottom: 0.2rem;
      border-bottom: 1.5px solid #111;
    }

    /* PROFILE */
    .profile-text {
      margin-top: 0.85rem;
      font-size: 0.9rem;
      color: #222;
      line-height: 1.7;
    }

    /* ENTRY ROW */
    .entry {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 0 1.25rem;
      margin-top: 0.85rem;
      align-items: start;
    }

    .entry-date {
      font-size: 0.82rem;
      color: #555;
      line-height: 1.5;
      padding-top: 0.05rem;
    }

    .entry-org {
      font-size: 0.88rem;
      font-weight: 600;
      color: #111;
      line-height: 1.4;
    }

    .entry-title {
      font-family: 'EB Garamond', Georgia, serif;
      font-size: 0.98rem;
      font-style: italic;
      color: #111;
      margin-top: 0.05rem;
      line-height: 1.4;
    }

    .entry-title strong {
      font-style: normal;
      font-weight: 600;
    }

    .entry-detail {
      font-size: 0.83rem;
      color: #555;
      margin-top: 0.1rem;
      line-height: 1.5;
    }

    .entry-bullets {
      list-style: disc;
      margin-top: 0.3rem;
      margin-left: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.18rem;
    }

    .entry-bullets li {
      font-size: 0.85rem;
      color: #222;
      line-height: 1.55;
    }

    /* BADGE */
    .badge-current {
      display: inline-block;
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      background: #111;
      color: #fff;
      padding: 0.08rem 0.42rem;
      vertical-align: middle;
      margin-left: 0.45rem;
      position: relative;
      top: -1px;
    }

    /* SKILLS */
    .skills-grid {
      margin-top: 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .skill-row {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 0 1.25rem;
      align-items: baseline;
      font-size: 0.85rem;
    }

    .skill-cat {
      font-weight: 600;
      color: #111;
      font-size: 0.82rem;
    }

    .skill-list { color: #333; }

    .skill-list span::after { content: ' · '; color: #aaa; }
    .skill-list span:last-child::after { content: ''; }

    /* LANGUAGES */
    .lang-rows {
      margin-top: 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .lang-row {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 0 1.25rem;
      font-size: 0.85rem;
      align-items: baseline;
    }

    .lang-name { font-weight: 600; color: #111; font-size: 0.82rem; }
    .lang-level { color: #333; }

    /* FOOTER */
    .cv-footer {
      margin-top: 3rem;
      padding-top: 0.65rem;
      border-top: 0.5px solid #ccc;
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: #aaa;
    }

    /* PHOTO HEADER */
    .cv-header-inner {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 2rem;
      margin-bottom: 1.2rem;
    }

    .cv-photo {
      width: 160px;
      height: 160px;
      object-fit: cover;
      object-position: center 15%;
      border: 1px solid #ddd;
      flex-shrink: 0;
      border-radius: 50%;
    }

    .cv-header-text { text-align: center; }

    @media (max-width: 560px) {
      .entry, .skill-row, .lang-row { grid-template-columns: 1fr; }
      .entry-date { color: #888; font-size: 0.78rem; }
      .cv-header-inner { flex-direction: column; gap: 1rem; }
      .cv-header-text { text-align: center; }
    }


    /* LANG TOGGLE */
    .lang-toggle {
      position: fixed;
      top: 1.2rem;
      right: 1.5rem;
      display: flex;
      gap: 0;
      border: 1px solid #bbb;
      border-radius: 3px;
      overflow: hidden;
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      z-index: 100;
      background: #fff;
    }
    .lang-toggle button {
      border: none;
      background: transparent;
      padding: 0.3rem 0.65rem;
      cursor: pointer;
      color: #888;
      letter-spacing: 0.05em;
      transition: background 0.15s, color 0.15s;
    }
    .lang-toggle button.active {
      background: #111;
      color: #fff;
    }
    .lang-toggle button:hover:not(.active) {
      background: #f5f5f5;
      color: #111;
    }
    @media print { .lang-toggle { display: none; } }

    @media print {
      .page { padding: 1.5rem 2rem; }
      body { font-size: 13px; }
    }

/* BACK HOME BUTTON */
.back-home {
  position: fixed;
  top: 1.2rem;
  left: 1.5rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #aaa;
  transition: color 0.15s;
  z-index: 101;
}

.back-home:hover {
  color: #111;
}

@media print {
  .back-home { display: none; }
}

.school-link {
  color: #111;
  text-decoration: none;
  border-bottom: 0.5px solid #bbb;
}

.school-link:hover {
  border-bottom-color: #111;
}