/* Overrides on top of the compiled pillar theme; loaded after it. */
:root {
  --ink: #0e1116;
  --graphite: #3b4350;
  --mute: #6b7480;
  --line: #e3e6ea;
  --accent: #2b3fd6;
  --tint: #eef0fd;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body { font-family: var(--font); background: #f4f5f7; color: var(--graphite); line-height: 1.6; }
a, a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.resume-wrapper-inner { border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(14, 17, 22, .06) !important; max-width: 1040px; }
.resume-body { padding: 3rem !important; }
.resume-section-content, .resume-company-name { color: var(--graphite); }
.resume-timeline-item-desc p, .resume-timeline-item-desc li { max-width: 68ch; }

/* Header: white, oversized tight name, no banner */
.resume-header { background: #fff; color: var(--ink); height: auto; border-bottom: 1px solid var(--line); }
.resume-header .picture { width: 148px; height: 148px; object-fit: cover; margin: 2rem 0 2rem 2.5rem; border-radius: 50%; }
.resume-header .name { color: var(--ink) !important; text-transform: none !important; letter-spacing: -0.04em; font-weight: 700; font-size: 3.5rem; line-height: 1; }
.resume-header .title { color: var(--accent); font-size: 1.25rem; font-weight: 500; }
.resume-header a, .resume-header a:hover { color: var(--ink); }
.resume-social .fa-container { background: var(--tint); color: var(--accent); border-radius: 50%; }

/* Sections: heading and space instead of ruled bars */
.resume-section-title { font-size: 0.95rem; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0; color: var(--mute); padding-bottom: 0 !important; }
.resume-section-title:after { display: none; }
.resume-timeline { padding-left: 0; }
.resume-timeline:before, .resume-timeline-item:before { display: none; }
.resume-timeline-item { padding-bottom: 2rem !important; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.resume-timeline-item:last-child { border-bottom: 0; margin-bottom: 0; }
.resume-position-title { font-size: 1.25rem; font-weight: 650 !important; letter-spacing: -0.015em; color: var(--ink); }
.resume-company-name { font-weight: 600; color: var(--accent); }
.resume-position-time { color: var(--mute); font-variant-numeric: tabular-nums; }
.resume-timeline-item-desc-heading { font-size: 0.8rem; font-weight: 600 !important; color: var(--mute); margin-top: 1.25rem; }
.resume-skills-cat { font-size: 1rem; font-weight: 600 !important; color: var(--ink); }
.resume-skill-name { font-size: 0.9rem; color: var(--graphite); }
.resume-degree { font-weight: 600 !important; color: var(--ink); }

/* Technology tags: soft tint pills */
.badge.bg-secondary { background: var(--tint) !important; color: var(--accent); font-weight: 500; border-radius: 999px; padding: 0.4em 0.8em; }

@media (max-width: 767.98px) {
  .resume-header .picture { margin: 0 auto; }
  .resume-header .name { font-size: 2.5rem; }
  .resume-body { padding: 1.5rem !important; }
  .resume-wrapper-inner { border-radius: 0; }
}

@media print {
  body { background: #fff; }
  .resume-wrapper { padding: 0; }
  .resume-wrapper-inner { box-shadow: none !important; max-width: none; border-radius: 0; overflow: visible; }
  .resume-body { padding: 1.5rem 0 !important; }
  /* Flex columns and overflow:hidden fragment badly across pages; flow the sidebar below instead. */
  .resume-body .row { display: block; }
  .resume-body [class*="col-lg"] { width: 100%; }
  .resume-section-title, .resume-timeline-item-header, .resume-timeline-item-desc-heading { break-after: avoid; }
  .resume-timeline-item-desc li { break-inside: avoid; }
  .resume-timeline-item { padding-bottom: 1rem !important; margin-bottom: 1rem; }
}
