@media print {
  /* Hide everything except the card visual */
  .print-hide,
  .nav,
  .skip-link {
    display: none !important;
  }

  /* Page setup: A6 landscape-ish, tight margins */
  @page {
    size: 105mm 148mm;
    margin: 0;
  }

  html, body {
    width: 105mm;
    height: 148mm;
    margin: 0;
    padding: 0;
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* The hero section becomes the full page */
  .print-card-target {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 105mm !important;
    height: 148mm !important;
    padding: 8mm !important;
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  /* Show only the card visual, centred */
  .print-card-target .hero {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .print-card-target .hero__card-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .print-card-target .hero__card-tilt {
    transform: none !important;
    filter: none !important;
    max-width: 80mm !important;
    width: 80mm !important;
  }

  /* No URLs printed in footer */
  a[href]::after {
    content: none !important;
  }

  /* No page break within the card */
  .better-card,
  .better-card__inner,
  .better-card__face {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
}
