/* ═══════════════════════════════════════════════════════════
   PAGE: Resume — Page header, layout, experience, sidebar
   ═══════════════════════════════════════════════════════════ */

/* ── Page Header (resume variant) ───────────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + var(--ruler-h) + 72px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.page-header .dot-grid-subtle {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, transparent 40%, rgba(14, 26, 35, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-header::before {
  content: '';
  position: absolute;
  top: calc(var(--nav-h) + var(--ruler-h) + 16px);
  left: 20px;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--primary);
  border-left: 1.5px solid var(--primary);
  opacity: 0.4;
  z-index: 3;
}
.page-header .container { position: relative; z-index: 2; }

.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
  opacity: 0.7;
}
.page-title {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-5);
}
.page-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Download Bar ────────────────────────────────────────── */
.download-bar {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
/* Resume uses smaller button sizing */
.download-bar .btn-primary,
.download-bar .btn-ghost {
  font-size: 13px;
  padding: 10px 22px;
}

/* ── Resume Layout ───────────────────────────────────────── */
.resume-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  padding: var(--space-20) 0;
}

/* ── Resume Sections ─────────────────────────────────────── */
.resume-section { margin-bottom: 56px; }
.resume-section:last-child { margin-bottom: 0; }

.resume-section-title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-6);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ── Summary ─────────────────────────────────────────────── */
.summary-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

/* ── Highlights ──────────────────────────────────────────── */
.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlights-list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: var(--space-5);
  position: relative;
}
.highlights-list li::before {
  content: '⭐';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
}
.highlights-list li strong { color: var(--text); font-weight: var(--weight-medium); }

/* ── Experience ──────────────────────────────────────────── */
.exp-item { margin-bottom: 36px; }
.exp-item:last-child { margin-bottom: 0; }
.exp-item + .exp-item {
  padding-top: 36px;
  border-top: 1px dashed var(--border);
}

.exp-header { margin-bottom: 4px; }
.exp-role {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--text);
  letter-spacing: -0.01em;
}
.exp-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.exp-org {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.03em;
}
.exp-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.exp-context {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-3);
  line-height: 1.5;
}
.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.exp-bullets li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.exp-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 1px;
  background: var(--border-bright);
}
.exp-bullets li strong { color: var(--text); font-weight: var(--weight-medium); }

/* ── Sidebar ─────────────────────────────────────────────── */
.resume-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--ruler-h) + 32px);
}

.sidebar-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--space-5);
}
.sidebar-block-header {
  padding: 8px 14px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sidebar-row {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(58, 77, 92, 0.4);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sidebar-value {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.sidebar-value strong { color: var(--text); font-weight: var(--weight-medium); }
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: var(--space-3) 14px;
}
.stag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}
.stag--primary {
  color: var(--primary);
  background: rgba(1, 158, 219, 0.08);
  border-color: rgba(1, 158, 219, 0.25);
}

/* ── Uxcel Skills ────────────────────────────────────────── */
.uxcel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(58, 77, 92, 0.4);
}
.uxcel-item:last-child { border-bottom: none; }
.uxcel-skill { font-size: 12.5px; color: var(--text-secondary); }
.uxcel-rank {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.uxcel-rank:hover { text-decoration: underline; }

/* ── Education / Involvement ─────────────────────────────── */
.edu-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(58, 77, 92, 0.4);
}
.edu-item:last-child { border-bottom: none; }
.edu-degree { font-size: 12.5px; color: var(--text); font-weight: var(--weight-medium); }
.edu-org { font-family: var(--font-mono); font-size: 10px; color: var(--primary); letter-spacing: 0.03em; margin-top: 2px; }
.edu-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.inv-item { padding: 9px 14px; border-bottom: 1px solid rgba(58, 77, 92, 0.4); }
.inv-item:last-child { border-bottom: none; }
.inv-role { font-size: 12.5px; color: var(--text-secondary); }
.inv-org { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.03em; margin-top: 2px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .resume-layout { grid-template-columns: 1fr; gap: 48px; }
  .resume-sidebar { position: static; }
}

@media (max-width: 600px) {
  .nav-links { gap: 16px; }
}
