@page {
  margin: 1.2cm;
}

@media print {
  :root {
    --site-bg: #ffffff;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-muted: #ffffff;
    --ink-strong: #111111;
    --ink: #222222;
    --ink-muted: #444444;
    --accent: #111111;
    --accent-strong: #111111;
    --accent-soft: transparent;
    --border: rgba(0, 0, 0, 0.18);
    --border-strong: rgba(0, 0, 0, 0.28);
    --shadow: none;
    --shadow-soft: none;
  }

  html,
  body {
    background: #ffffff !important;
    color: #111111 !important;
  }

  body {
    padding: 0 !important;
    font-size: 11pt;
    line-height: 1.35;
  }

  body::before,
  .site-nav,
  .site-nav-toggle {
    display: none !important;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero-grid,
  .two-column-layout,
  .skills-layout,
  .skills-secondary,
  .contact-grid,
  .hero-highlight-grid {
    display: block !important;
  }

  .hero-copy,
  .hero-portrait-card,
  .hero-highlight-card,
  .resume-section,
  .section-card,
  .timeline-card,
  .contact-panel {
    overflow: visible !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .hero-copy::before,
  .hero-portrait-card::before,
  .resume-section::before,
  .hero-portrait-media::after {
    display: none !important;
  }

  .hero-section,
  .resume-section {
    margin-top: 0;
    margin-bottom: 0.7cm;
    padding: 0.55cm;
  }

  .section-header {
    margin-bottom: 0.35cm;
  }

  .hero-title,
  .section-heading {
    color: #111111 !important;
  }

  .hero-title {
    font-size: 28pt;
    max-width: none;
  }

  .section-heading {
    font-size: 18pt;
  }

  .hero-kicker,
  .section-kicker,
  .timeline-subtitle,
  .hero-portrait-label,
  .contact-role-label,
  .contact-role-period,
  .hero-portrait-caption {
    color: #444444 !important;
  }

  .hero-body,
  .copy-section-body,
  .timeline-copy {
    max-width: none;
  }

  .hero-location,
  .hero-social-link,
  .document-link-button {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: #111111 !important;
    box-shadow: none !important;
  }

  .hero-location i,
  .hero-social-link i {
    display: none !important;
  }

  .hero-location::after,
  .hero-social-link::after,
  .document-link-button::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    color: #444444;
  }

  .hero-socials,
  .contact-socials,
  .document-link-list {
    display: block;
    margin-top: 0.2cm;
  }

  .hero-social-link,
  .document-link-button {
    display: block;
    margin: 0 0 0.12cm;
  }

  .hero-portrait-media {
    max-width: 5.5cm;
    margin-bottom: 0.3cm;
    padding: 0;
    background: transparent !important;
  }

  .hero-portrait {
    border-radius: 0.18cm;
  }

  .hero-portrait-caption {
    position: static;
    padding: 0;
    background: transparent !important;
    margin-top: 0.12cm;
  }

  .hero-highlight-grid {
    margin-top: 0.25cm;
  }

  .hero-highlight-card,
  .section-card,
  .timeline-card,
  .contact-panel {
    margin-top: 0.25cm;
    padding: 0.35cm;
  }

  .icon-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-card-header {
    display: block;
  }

  .timeline-period {
    display: inline-block;
    margin-top: 0.18cm;
    padding: 0;
    background: transparent !important;
  }
}
