/* Print stylesheet — the page IS the CV. "Download CV" calls window.print().
   Prints the currently-selected language. Clean white/ink, no chrome or FX. */
@media print {
  :root { --qa-ink: #111; --qa-muted: #333; --qa-faint: #555; }
  body { background: #fff !important; color: #111; font-size: 11pt; }
  #circuit, .qa-header, .lang-toggle, .hero-cta, .skip-link, .qa-footer, [data-print] { display: none !important; }

  a { color: #111; text-decoration: none; }
  .grad { -webkit-text-fill-color: #111; color: #111; background: none; }

  .section { padding: .6rem 0; }
  .container { width: 100%; }
  .section-title { text-align: left; margin-bottom: .6rem; }
  h2 { font-size: 15pt; border-bottom: 1px solid #ccc; padding-bottom: 2pt; }
  h3 { font-size: 12pt; }

  /* Hero → CV header */
  .hero { padding: 0 0 .6rem; }
  .hero .container { display: flex; flex-direction: row-reverse; gap: 1rem; align-items: flex-start; }
  .hero h1 { font-size: 20pt; margin: 0; }
  .hero .role-line { font-size: 12pt; margin: 2pt 0 6pt; }
  .hero-photo img { width: 90px; border-radius: 8px; box-shadow: none; border: 1px solid #ccc; }
  .badge { border: 1px solid #999; color: #333; background: none; }

  /* Cards flat for print */
  .card, .ai-band { background: none !important; border: 1px solid #ddd; box-shadow: none;
    backdrop-filter: none; padding: .6rem; }
  .chip { border: 1px solid #bbb; color: #333; background: none; }
  .skill-note { color: #555; }

  .project-visual { display: none; }
  .project, .project.reverse .project-body { grid-template-columns: 1fr; }

  /* Avoid awkward breaks */
  .tl-item, .project, .skill-group, .card { break-inside: avoid; page-break-inside: avoid; }
  section { break-inside: avoid-page; }

  .contact-list { justify-content: flex-start; }
  .contact-band { text-align: left; }
}
