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

@media print {
  :root {
    color-scheme: light;
    --color-bg-page: #ffffff;
    --color-bg-surface: #ffffff;
    --color-bg-subtle: #f8fafc;
    --color-bg-tint: #f1f5f9;
    --color-text-main: #0f172a;
    --color-text-secondary: #1e293b;
    --color-text-muted: #475569;
    --color-brand: #1e3a5f;
    --color-accent: #1e3a5f;
    --color-border: #cbd5e1;
    --color-border-strong: #94a3b8;
    --shadow-sm: none;
    --shadow-md: none;
  }

  body {
    background: #ffffff;
    color: #0f172a;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .skip-link,
  .site-header,
  .filter-bar,
  .hero__actions,
  [data-open-arch],
  [data-copy-value],
  .copy-status,
  .no-print,
  .site-footer,
  dialog {
    display: none !important;
  }

  .container {
    inline-size: 100%;
    max-inline-size: none;
  }

  .section {
    padding-block: 10pt;
    border-block-start-color: #cbd5e1;
  }

  .section-header {
    margin-block-end: 8pt;
  }

  .hero__portrait-frame {
    inline-size: 76pt;
    border-color: #94a3b8;
  }

  .project-card,
  .timeline-item,
  .honor-card,
  .skill-group,
  .contact-card,
  .spoken-language {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #475569;
    word-break: break-all;
  }
}
