/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #1a202c;
  background: #f3f4f6;
}

/* ── Page wrapper ──────────────────────────────────────────────────────────── */
.page {
  max-width: 900px;
  margin: 32px auto;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  border-radius: 6px;
  overflow: hidden;
}

@media (max-width: 960px) {
  .page {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.resume-header {
  background: #1e1b4b;
  padding: 30px 40px 24px;
}

.resume-name {
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 8px;
}

.resume-subtitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a;
  border-top: 1px solid rgba(251, 191, 36, 0.35);
  padding-top: 7px;
  margin-bottom: 14px;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  font-size: 12px;
  color: #c7d2fe;
}

.resume-contact a {
  color: #fbbf24;
  text-decoration: none;
  transition: opacity 0.15s;
}

.resume-contact a:hover {
  opacity: 0.8;
}

/* ── Body ──────────────────────────────────────────────────────────────────── */
.resume-body {
  padding: 24px 40px 36px;
}

/* ── Section labels ────────────────────────────────────────────────────────── */
.section-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4338ca;
  border-bottom: 1.5px solid #c7d2fe;
  padding-bottom: 5px;
  margin-top: 22px;
  margin-bottom: 12px;
}

.first-section .section-label {
  margin-top: 0;
}

/* ── Summary ───────────────────────────────────────────────────────────────── */
.summary-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #374151;
}

/* ── Skills — two column, each self-contained ──────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

@media (max-width: 640px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-item {
  padding: 6px 0;
  border-bottom: 0.5px solid #f3f4f6;
}

.skill-label {
  font-weight: 600;
  color: #111827;
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

.skill-val {
  color: #4b5563 !important;
  font-size: 12px;
  line-height: 1.5;
}

/* ── Job blocks ────────────────────────────────────────────────────────────── */
.job-block {
  margin-top: 14px;
}

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

.job-title {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
}

.job-dates {
  font-size: 11.5px;
  color: #6b7280;
  white-space: nowrap;
  flex-shrink: 0;
}

.job-company {
  font-size: 12px;
  font-weight: 500;
  color: #4338ca;
  margin-bottom: 4px;
}

.proj-link {
  font-size: 11.5px;
  color: #4338ca;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.proj-link:hover {
  text-decoration: underline;
}

/* ── Bullets ───────────────────────────────────────────────────────────────── */
.bullets {
  margin: 0;
  padding-left: 16px;
  list-style-type: disc;
}

.bullets li {
  margin-bottom: 3px;
  color: #374151;
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── Visitor counter ───────────────────────────────────────────────────────── */
.counter-section {
  text-align: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #9ca3af;
}

.counter-val {
  font-weight: 600;
  color: #4338ca;
}