/* ===========================================================================
   print.css — Ctrl/Cmd+P produces a clean, complete document a recruiter can
   read on paper: no chrome, no game frame, and the full project detail text
   (built by js/modules/projects.js into #print-sheet) instead of the cards.
   ========================================================================= */

@page { size: A4; margin: 14mm 13mm; }

@media print {
  :root { --section-gap: 0; }
  html { scroll-behavior: auto; }
  body {
    background: #fff !important;
    color: #000;
    font-size: 10.5pt;
    line-height: 1.45;
  }
  .wrap { max-width: none; padding-inline: 0; }

  /* screen-only furniture */
  .site-header, .nav-toggle, .toolbar, .chip-row, .scroll-cue, .skip-link,
  .showcase-frame, .showcase-bar, .showcase-hint, .contact-form-wrap, #showcase,
  .modal-root, .lightbox, .edit-banner, .noscript-note, .back-to-top, #back-to-top,
  .card-view, .card-foot, .hero-actions, .tech-detail, .empty-state, .form-note,
  .verify-note, .gallery, .gallery-note, .poster-note, .copy-btn { display: none !important; }

  .section, .section-alt { padding: 12pt 0 !important; border: 0 !important; background: #fff !important; }
  .section-head { margin-bottom: 8pt; }
  h1 { font-size: 21pt; }
  h2 { font-size: 15pt; }
  h3 { font-size: 11.5pt; }
  .kicker, .eyebrow { color: #444; }

  .hero { border: 0; padding: 0 0 10pt !important; background: #fff !important; }
  .hero-grid, .about-grid, .contact-grid, .footer-grid { display: block; }
  .hero-aside { display: none; }
  .stat-strip { display: none; }
  .panel { position: static; box-shadow: none; border: 1px solid #bbb; }
  .prose p { max-width: none; }

  a { color: #000; text-decoration: none; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  #nav-cv::after, .btn::after { content: "" !important; }

  .edu-card, .exp-card, .cert-card, .award-item { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; page-break-inside: avoid; }
  .project-grid { display: none; }

  /* the generated full-text project sheet */
  .print-only { display: block !important; }
  .print-sheet { break-inside: auto; }
  .print-sheet article { break-inside: avoid; page-break-inside: avoid; margin-bottom: 12pt; }
  .print-sheet h3 { border-bottom: 1px solid #999; padding-bottom: 2pt; }
  .print-sheet h4 { font-size: 9.5pt; text-transform: uppercase; letter-spacing: .08em; margin: 6pt 0 2pt; }
  .print-sheet ul { padding-left: 14pt; }
  .print-sheet li { list-style: disc; margin-bottom: 2pt; }
  .print-sheet .ps-meta { font-size: 9pt; color: #444; margin-bottom: 4pt; }

  .site-footer { background: #fff; color: #000; border-top: 1px solid #999; padding-top: 8pt; }
  .footer-name, .footer-copy, .footer-nav a, .footer-meta { color: #000 !important; }
  .site-footer .social-link { background: none; border: 0; color: #000; padding: 0; }

  * { box-shadow: none !important; text-shadow: none !important; animation: none !important; }
}

/* The screen-side half of this rule lives in base.css: nothing in this file
   applies outside of printing, so hiding the sheet while browsing cannot. */
