:root {
  --font-main: 'Geist', sans-serif;
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  --max-width: 624px;
  --spacing-section: 24px;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 20px;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
}

.socials a:hover {
  /* text-decoration: underline; */
  background-size: 100% 1px;
}

h1,
h2,
h3,
h4,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

/* ── Header ── */
.cv-header {
  margin-bottom: 4px;
}

.name {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  gap: 20px;
}

.email {
  white-space: nowrap;
}

.socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.socials a {
  white-space: nowrap;
}

/* ── Section labels ── */
.section-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

/* ── Text content ── */
.text-content {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.text-content strong {
  font-weight: 450;
  /* text-decoration: underline; */
}

/* ── About section ── */
.about-section {
  padding-top: var(--spacing-section);
}

.about-section .text-content {
  max-width: 100%;
}

/* ── Resume bar ── */
.resume-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: var(--spacing-section);
}

.resume-bar .section-label {
  margin-bottom: 0;
}

.resume-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 300;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
}

.resume-links a:hover {
  /* text-decoration: underline; */
  background-size: 100% 1px;
}

/* ── Content blocks (projects, recognition, experience) ── */
.content-block {
  padding-top: var(--spacing-section);
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-list li+li {
  margin-top: 0;
}

/* ── Experience list (multi-line items) ── */
.experience-list .text-content {
  /* white-space: pre-line; */
}

/* ── Footer ── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 300;
  padding-top: 20px;
  border-top: none;
}

.footer-text {
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container {
    padding: 40px 20px;
  }

  .contact-info {
    flex-direction: column;
    gap: 6px;
  }

  .socials {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}