/* Versión imprimible: si no hay PDF del CV, el botón "CV" imprime la web
   y estas reglas la convierten en un CV limpio de 1-2 páginas. */
@page { size: A4; margin: 14mm 16mm; }

:root, [data-theme] {
  --bg: #fff; --bg-soft: #fff; --surface: #fff; --surface-2: #fff;
  --text: #111; --muted: #444; --border: #ccc; --border-strong: #999;
  --accent: #b84a06; --accent-2: #b84a06; --halpha: #b84a06; --glow: transparent;
}

body { font-size: 10.5pt; line-height: 1.45; background: #fff; }
body::before,
.nav, .progress, .skip, .sun, .hero__scroll, .hero__cta, .section__sub,
.project__img, .project__more, .project--placeholder, .modal, .footer,
#proyectos .section__head p, .contact::before { display: none !important; }

.reveal { opacity: 1 !important; translate: none !important; }
.grad { color: var(--accent); background: none; }

.hero { min-height: 0; padding: 0 0 10pt; display: block; }
.hero__title { font-size: 26pt; margin: 0 0 4pt; }
.hero__title br { display: none; }
.hero__title .grad { margin-left: .25em; }
.pill { border: 0; padding: 0; backdrop-filter: none; }
.pill__dot { display: none; }
.hero__lead { max-width: none; font-size: 10.5pt; }

.section { padding: 8pt 0; break-inside: auto; }
.section__head { margin-bottom: 8pt; border-bottom: 1px solid #ddd; padding-bottom: 3pt; }
.section__head h2 { font-size: 14pt; }
.section__num { display: none; }

.about { grid-template-columns: 1fr; gap: 6pt; }
.about__text p, .about__text p:first-child { font-size: 10.5pt; color: var(--text); }
.about__facts { display: none; }

.timeline::before, .job::before { display: none; }
.job { padding-left: 0; break-inside: avoid; }
.card { border: 0; box-shadow: none; }
.card::before { display: none; }
.job__card, .edu__card, .stack__group { padding: 0 0 6pt; }

.bento { grid-template-columns: 1fr; gap: 6pt; }
.project { min-height: 0; padding: 0 0 6pt; break-inside: avoid; }
.project--featured { grid-column: auto; grid-row: auto; }
.project__title, .project--featured .project__title { font-size: 12pt; }

.edu { grid-template-columns: 1fr 1fr; }
.mini-list li a, .mini-list li > div { padding: 3pt 0; border: 0; }
.mini-list .vacio { display: none; }
.langs { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4pt 14pt; }
.lang { padding: 0; }

.stack { grid-template-columns: repeat(3, 1fr); gap: 6pt; }
.tag { border: 0; padding: 0 6pt 0 0; background: none; font-size: 9pt; }

.contact { text-align: left; }
.contact__kicker, .contact__title { display: none; }
.contact__links { justify-content: flex-start; }
.contact__links .btn { border: 0; padding: 0 12pt 0 0; background: none; color: var(--text); box-shadow: none; }
.contact__links .btn::after { content: " · " attr(href); font-weight: 400; color: var(--muted); font-size: 9pt; }
