/* ==========================================================================
   PRINT — Ctrl+P genera una versión limpia tipo CV (blanco y negro, sin interfaz)
   ========================================================================== */

@page {
  margin: 14mm 14mm 16mm;
}

:root,
:root[data-theme="dark"] {
  --bg: #fff;
  --bg-alt: #fff;
  --surface: #fff;
  --surface-muted: #fff;
  --surface-inverse: #fff;
  --text: #000;
  --text-inverse: #000;
  --text-muted: #444;
  --text-dim: #000;
  --border: #bbb;
  --border-soft: #ddd;
  --accent-link: #000;
  --accent-soft: transparent;
  --contact-bg: #fff;
  --contact-text: #000;
  --contact-muted: #444;
  --contact-surface: #fff;
  --contact-border: #ccc;
  --shadow-sm: none;
  --shadow-md: none;
  --section-pad: 8mm;
}

body {
  font-size: 10.5pt;
}

.nav,
.skip-link,
.hero__glow,
.hero__scroll,
.hero__actions,
.hero__avatar,
.carousel-controls,
.contact__actions,
.contact-card__action,
.footer__nav,
.footer__social,
.footer__bottom .link-arrow,
.toast,
.modal,
.timeline::before,
.timeline::after,
.job::before {
  display: none !important;
}

.js [data-reveal],
.hero__inner {
  opacity: 1 !important;
  transform: none !important;
}

.hero {
  min-height: 0;
  padding: 0 0 6mm;
  text-align: left;
}

.hero__inner {
  align-items: flex-start;
}

.hero__name,
.hero__tagline {
  max-width: none;
  font-size: 22pt;
}

.hero__tagline {
  font-size: 13pt;
  color: #000;
  background: none;
}

.section__title,
.statement,
.contact__title {
  font-size: 16pt;
}

.metric--featured .metric__value,
.metric__value {
  font-size: 18pt;
}

.bento {
  grid-template-columns: repeat(3, 1fr);
}

.bento > .metric--featured {
  grid-column: auto;
  grid-row: auto;
}

.metric,
.card,
.job__body,
.degree,
.cert,
.skill,
.contact-card {
  border: 1px solid #ddd;
  min-height: 0;
}

.job,
.cert,
.skill,
.card,
.metric {
  break-inside: avoid;
}

.job {
  grid-template-columns: 1fr;
  gap: 2mm;
}

.job__meta {
  position: static;
}

.timeline {
  padding-left: 0;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: visible;
  padding: 0;
}

.contact__inner {
  align-items: flex-start;
  text-align: left;
}

a[href^="http"]::after {
  content: " (" attr(href) ")";
  font-size: 8pt;
  color: #444;
}

.social[href^="http"]::after {
  content: none;
}
