/* =====================================================================
   victordsantos.com/experience
   Plain white-paper resume. Two variants: FDE and Data / Business Analyst.
   Print-friendly, ATS-friendly.
   ===================================================================== */

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

html, body {
  background: #ffffff;
  color: #1a1a1a;
  font-family: Calibri, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ─── TOP BAR (screen only) ─── */
.top-bar {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.home-link {
  color: #1a1a1a;
}
.home-link:hover {
  text-decoration: none;
  color: #555;
}
.bar-meta { display: inline-flex; gap: 8px; align-items: baseline; }
.bar-meta .dot { color: #ccc; }
.bar-variant b { color: #1a1a1a; }

/* ─── RESUME PAGE CONTAINER ─── */
.resume-page {
  max-width: 8.5in;
  margin: 0 auto;
  padding: 0.6in 0.65in 0.75in;
  background: #ffffff;
}

/* HEADER */
.rh {
  text-align: center;
  margin-bottom: 14px;
}
.rh h1 {
  font-size: 22pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #000;
  margin-bottom: 4px;
}
.rh .contact {
  font-size: 10.5pt;
  color: #1a1a1a;
}
.rh .contact a {
  color: #1a1a1a;
}
.rh .contact a:hover {
  text-decoration: underline;
}

/* VARIANT TOGGLE (screen only) */
.variant-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 22px;
  padding: 12px 0;
  border-top: 1px dashed #e0e0e0;
  border-bottom: 1px dashed #e0e0e0;
}
.variant-toggle .vt-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin-right: 6px;
}
.vt-btn {
  border: 1px solid #c8c8c8;
  background: #ffffff;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vt-btn:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}
.vt-btn[aria-selected="true"] {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* ─── VARIANT VISIBILITY ─── */
.variant-content { display: none; }
body.variant-fde .variant-content.when-fde { display: block; }
body.variant-analyst .variant-content.when-analyst { display: block; }

.bar-variant .when-fde,
.bar-variant .when-analyst { display: none; }
body.variant-fde .bar-variant .when-fde,
body.variant-analyst .bar-variant .when-analyst { display: inline; }

/* ─── SECTIONS ─── */
.rs {
  margin-bottom: 12px;
}
.rs h2 {
  font-size: 11pt;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 3px;
  margin-bottom: 6px;
}
.rs > p {
  margin-bottom: 4px;
  text-align: left;
}

/* ─── ENTRIES (role / education) ─── */
.entry {
  margin-bottom: 8px;
}
.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-size: 11pt;
  margin-bottom: 2px;
}
.entry-head .lhs b {
  font-weight: 700;
  color: #000;
}
.entry-head .rhs {
  color: #1a1a1a;
  white-space: nowrap;
  font-size: 11pt;
}

/* ─── BULLETS ─── */
.entry ul,
.rs > ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 2px;
}
.entry ul li,
.rs > ul li {
  margin: 2px 0;
  font-size: 11pt;
  line-height: 1.42;
}
.entry ul li b {
  font-weight: 700;
}
.entry p {
  font-style: italic;
  font-size: 11pt;
  margin-top: 1px;
}

/* ─── FOOTER ACTIONS ─── */
.resume-actions {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
  align-items: center;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1a1a1a;
  border: 1px solid #c8c8c8;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.download-btn:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  text-decoration: none;
}
.download-btn .arr {
  font-size: 14px;
  font-weight: 400;
}
.download-btn.secondary {
  border: none;
  background: transparent;
  color: #888;
  padding: 8px 4px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.download-btn.secondary:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

/* Primary download button = solid black, matches active toggle */
.download-btn.primary {
  color: #ffffff;
  background: #1a1a1a;
  border-color: #1a1a1a;
}
.download-btn.primary:hover {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}
.download-btn.primary .arr {
  font-size: 16px;
}

/* Variant-aware visibility for action links */
.resume-actions .when-fde,
.resume-actions .when-analyst {
  display: none;
}
body.variant-fde .resume-actions .when-fde,
body.variant-analyst .resume-actions .when-analyst {
  display: inline-flex;
}
body.variant-fde .resume-actions .download-btn.secondary.when-fde,
body.variant-analyst .resume-actions .download-btn.secondary.when-analyst {
  /* secondary uses inline-flex too */
}

/* ─── PRINT ─── */
.no-print { /* default visible on screen */ }

@media print {
  html, body {
    background: #ffffff;
    color: #000;
    font-size: 10pt;
    line-height: 1.32;
  }
  .top-bar,
  .no-print,
  .variant-toggle {
    display: none !important;
  }
  .resume-page {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  a {
    color: #000;
    text-decoration: none;
  }
  .rs { margin-bottom: 10px; page-break-inside: avoid; }
  .entry { page-break-inside: avoid; }
  .rs h2 { font-size: 10pt; }
  .rh h1 { font-size: 20pt; }
  .rh .contact { font-size: 9.5pt; }
  .entry-head, .entry-head .rhs, .entry ul li { font-size: 10pt; }
  .rs > p, .entry p { font-size: 10pt; }
}

/* ─── MOBILE ─── */
@media (max-width: 720px) {
  /* Tighter base sizing so the whole resume fits in fewer scrolls */
  html, body {
    font-size: 9.8pt;
    line-height: 1.38;
  }

  .resume-page {
    padding: 16px 16px 28px;
  }

  .top-bar {
    padding: 9px 14px;
    font-size: 9.5px;
  }

  /* ── HEADER ── */
  .rh {
    margin-bottom: 8px;
  }
  .rh h1 {
    font-size: 17pt;
    letter-spacing: 0.02em;
    margin-bottom: 3px;
  }
  .rh .contact {
    font-size: 9pt;
    word-break: break-word;
  }

  /* ── VARIANT TOGGLE (full-width, centered, tighter) ── */
  .variant-toggle {
    margin: 10px 0 14px;
    padding: 10px 0;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }
  .variant-toggle .vt-label {
    text-align: center;
    margin: 0 0 2px;
    width: 100%;
  }
  .vt-btn {
    padding: 9px 12px;
    font-size: 10px;
    width: 100%;
    justify-content: center;
  }

  /* ── SECTIONS (tighter spacing) ── */
  .rs {
    margin-bottom: 12px;
  }
  .rs h2 {
    font-size: 9.5pt;
    letter-spacing: 0.03em;
    padding-bottom: 2px;
    margin-bottom: 6px;
  }
  .rs > p {
    font-size: 9.5pt;
    line-height: 1.4;
  }

  /* ── ENTRIES ── */
  .entry {
    margin-bottom: 8px;
  }
  .entry-head {
    flex-direction: column;
    gap: 1px;
    font-size: 10pt;
    margin-bottom: 2px;
  }
  .entry-head .lhs b { font-size: 10pt; }
  .entry-head .rhs {
    color: #555;
    font-size: 9pt;
    white-space: normal;
  }

  /* ── BULLETS ── */
  .entry ul,
  .rs > ul {
    padding-left: 18px;
    margin-top: 1px;
  }
  .entry ul li,
  .rs > ul li {
    font-size: 9.5pt;
    line-height: 1.4;
    margin: 1px 0;
  }
  .entry p {
    font-size: 9.5pt;
    line-height: 1.4;
  }

  /* ── ACTIONS (download buttons) — center, stack, full-width ── */
  .resume-actions {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 16px;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 11px;
  }
  .download-btn.secondary {
    width: 100%;
    padding: 4px 0;
    font-size: 10px;
    text-align: center;
    justify-content: center;
  }
}
