@media print {
  /* Reset */
  *, *::before, *::after { box-sizing: border-box; }

  /* Force light colors */
  :root {
    --bg: #fff;
    --bg-alt: #f6f8fa;
    --bg-card: #fff;
    --border: #d0d7de;
    --accent: #0969da;
    --accent2: #1a7f37;
    --text: #1f2328;
    --text-muted: #656d76;
  }

  body {
    background: #fff;
    color: #1f2328;
    font-size: 11pt;
    line-height: 1.5;
  }

  /* Hide non-content elements */
  #navbar, .hero-terminal, .hero-bg-grid,
  .hero-actions, .scroll-top, .theme-toggle,
  .nav-toggle, footer { display: none !important; }

  /* Hero */
  .hero {
    min-height: unset;
    padding: 0 0 24pt;
    flex-direction: column;
    gap: 8pt;
    page-break-after: avoid;
  }
  .hero-tag { font-size: 9pt; }
  .hero-name { font-size: 22pt; }
  .hero-subtitle { font-size: 10pt; max-width: 100%; }
  .hero-badges { gap: 6pt; }
  .badge { font-size: 8pt; padding: 2pt 6pt; }

  /* Sections */
  .section, .section-alt {
    padding: 16pt 0;
    background: #fff !important;
  }
  .container { max-width: 100%; padding: 0; }
  .section-header { margin-bottom: 12pt; }
  .section-header h2 { font-size: 14pt; }
  .section-tag { font-size: 8pt; }

  /* Skills */
  .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 8pt; }
  .skill-card { padding: 10pt; break-inside: avoid; }
  .skill-card h3 { font-size: 9pt; }
  .skill-name, .skill-level { font-size: 8pt; }

  /* Timeline */
  .timeline { padding-left: 16pt; }
  .timeline-item { break-inside: avoid; margin-bottom: 12pt; }
  .timeline-role { font-size: 11pt; }
  .timeline-company { font-size: 9pt; }
  .timeline-bullets li { font-size: 9pt; }
  .timeline-tags span { font-size: 7.5pt; padding: 1pt 5pt; }

  /* OSS */
  .oss-grid { grid-template-columns: repeat(2, 1fr); gap: 8pt; }
  .oss-card { padding: 10pt; break-inside: avoid; }

  /* Education */
  .edu-grid { grid-template-columns: repeat(2, 1fr); gap: 8pt; }
  .edu-card { break-inside: avoid; }

  /* Contact */
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 8pt; }
  .contact-card { padding: 10pt; break-inside: avoid; }
  .copy-btn { display: none; }

  /* Links */
  a { color: #0969da; text-decoration: none; }
}
