/* ============================================================================
   print.css — clean, recruiter-ready 2-page output
   ============================================================================ */

@media print {
  @page {
    margin: 1.5cm;
  }

  /* --- Force light: white bg, black text, no shadows/gradients --- */
  :root,
  :root:has(#theme-toggle:checked) {
    --bg:            #FFFFFF !important;
    --bg-elevated:   #FFFFFF !important;
    --bg-inset:      #FFFFFF !important;
    --border:        #CCCCCC !important;
    --border-strong: #999999 !important;
    --text:          #000000 !important;
    --text-muted:    #333333 !important;
    --text-faint:    #555555 !important;
    --accent:        #C0392B !important;
    --on-accent:     #FFFFFF !important;
    color-scheme: light;
  }

  html {
    scroll-behavior: auto !important;
    scroll-padding-top: 0;
  }

  body {
    font-size: 11pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }

  /* Print full URLs after external links */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10px;
    word-break: break-all;
  }

  /* --- Hide non-print chrome --- */
  .site-header,
  .skip-link,
  .hero__mesh,
  .hero__grid,
  .hero__scroll,
  .hero__actions,
  .terminal,
  .eyebrow,
  .section__rail,
  .skills__tabs,
  .skills__input,
  .cert-card--ghost,
  .cert-card--dummy,
  .cert-card__hint,
  .cert-card__front::before,
  .cert-card__front::after,
  .secret,
  .site-footer__secret,
  .site-footer__top,
  .theme-toggle {
    display: none !important;
  }

  /* --- Hero: collapse to a compact header --- */
  .hero {
    min-height: 0;
    display: block;
  }
  .hero__inner {
    padding: 0 0 12pt;
  }
  .hero__name {
    font-size: 30pt;
    letter-spacing: -0.02em;
  }
  .hero__title {
    margin-top: 4pt;
    color: #000;
  }
  .hero__meta {
    margin-top: 8pt;
    color: #333;
  }

  /* --- Sections: single column, hide the sticky rail --- */
  .section {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12pt 0;
    border-top: 1px solid #999;
  }
  .section__title {
    margin-bottom: 10pt;
    font-size: 16pt;
  }
  .section__count {
    color: #555;
  }

  /* --- Summary --- */
  .lede {
    font-size: 14pt;
    margin-bottom: 10pt;
    max-width: none;
  }
  .cards {
    display: block;
    margin-bottom: 10pt;
  }
  .card {
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 8pt;
  }
  .card:hover {
    transform: none;
    box-shadow: none;
  }
  .card__title {
    font-size: 11pt;
    margin-bottom: 2pt;
  }
  .card__text {
    color: #333;
  }
  .pull-quote {
    background: none;
    border-left: 2px solid #999;
    padding: 4pt 0 4pt 10pt;
    margin-bottom: 10pt;
  }
  .pull-quote__text {
    color: #000;
  }
  .stat-strip {
    background: none;
    border: 0;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-strip__value {
    color: #000;
  }
  .stat-strip__label {
    color: #555;
  }

  /* --- Skills: show all chips, no fade --- */
  .skills__grid .skill-chip {
    opacity: 1 !important;
    transform: none !important;
    background: none;
    border: 1px solid #999;
    color: #000;
  }

  /* --- Experience --- */
  .role__card {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 12pt;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .role__card:hover,
  .role__card:focus-within {
    transform: none;
    box-shadow: none;
  }
  .role__bullets li {
    color: #333;
  }
  .role__bullets li::before {
    color: #C0392B;
  }
  .tag {
    background: none;
    border: 1px solid #999;
    color: #333;
  }
  .role::before {
    background: #C0392B;
  }
  .role--current::after {
    display: none;
  }

  /* --- Certifications: unflip, stack front + back, show only real cards --- */
  .cert-card {
    perspective: none;
    min-height: 0;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .cert-card:hover,
  .cert-card:focus,
  .cert-card:focus-within {
    transform: none;
  }
  .cert-card__inner {
    transform: none !important;
    min-height: 0;
  }
  .cert-card__face {
    position: static;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    padding: 0;
    border: 0;
    gap: 2pt;
  }
  .cert-card__badge {
    clip-path: none;
    width: auto;
    height: auto;
    padding: 2pt 6pt;
    font-size: 9pt;
    border-radius: 3px;
  }
  .cert-card__title {
    font-size: 11pt;
  }
  .cert-card__issuer,
  .cert-card__meta,
  .cert-card__credential {
    color: #333;
  }
  .cert-card__verify {
    color: #000;
  }

  /* --- Education --- */
  .edu__dot {
    background: #fff;
    border-color: #C0392B;
  }
  .progress-bar__fill {
    background: #999;
  }

  /* --- Interests --- */
  .interest {
    rotate: 0deg;
    background: none;
    border: 1px solid #999;
    color: #000;
  }
  .interest:hover {
    rotate: 0deg;
    color: #000;
    border-color: #999;
  }

  /* --- Footer --- */
  .site-footer {
    border-top: 1px solid #999;
    background: none;
    padding: 10pt 0 0;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__meta {
    border-top: 1px solid #999;
  }
}
