/* ==========================================================================
   Shahriar Biography — print stylesheet (v6.5.0)
   Loaded with media="print" from index.php. Produces a clean A4 biography:
   all decorations, widgets and interactive chrome are hidden; every section
   prints as plain bordered blocks on white.
   ========================================================================== */

/* ---------- decorations & interactive chrome: hidden ---------- */
#earth-canvas, #earth-labels, .earth-fallback, #preloader, .grain, .aurora,
#cursor-dot, #cursor-ring, .site-header, .chapter-dots, .chapter-index,
#pin-popup, #ask-fab, #ask-panel, .qr-block, #vcard-btn,
.marquee-logos, .faq-section, .marquee, .reading-progress, #to-top, #lightbox, .hero-actions,
.portrait-scene, .stats-band, .testimonial-section, .notes-section,
.contact-form, .closing-action, .site-footer, .skip-link,
.open-badge, .header-toggles, .cta-band, .hero-kicker, .currently,
.hero-keywords .rot-word:not(.is-active) { display: none !important; }

/* ---------- page basics ---------- */
html, body { background: #fff !important; }
body { color: #111 !important; }
.hero { min-height: 0 !important; padding: 12px 0 !important; }
.section, .cta-band { padding: 18px 0 !important; }

/* ---------- cards become plain bordered blocks ---------- */
.hero-copy, .section-heading, .story-copy, .heritage-copy, .heritage-highlight,
.education-step, .education-panel, .degree, .cert-card, .timeline-card,
.aspiration-card, .closing-card, .community-board, .facts-inner,
.win-card, .service-card, .supply-leg, .exp-card, .project-card, .cta-inner,
.contact-card, .capm-wrap {
  background: #fff !important; border: 1px solid #ddd !important;
  box-shadow: none !important; backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important; color: #111 !important;
}

/* ---------- typography ---------- */
main h1, main h2, main h3, main h4, main strong, main b { color: #111 !important; text-shadow: none !important; }
main p, main li, main span, main figcaption, main time, main dd, main dt { color: #333 !important; }
main .eyebrow, main .hero-bio-label { color: #555 !important; }
.hero-role, .kw-label, .rot-word { color: #333 !important; text-shadow: none !important; }
a { color: #111 !important; text-decoration: none !important; }

/* ---------- timeline ---------- */
.career-timeline::before { background: #ccc !important; }
.timeline-marker { box-shadow: none !important; border-color: #999 !important; background: #fff !important; }
.timeline-item { break-inside: avoid; }

/* ---------- v6.5.0 sections ---------- */
.supply-legs { display: block; }
.supply-leg { margin-bottom: 10px; }
.supply-leg:not(:last-child)::after { display: none !important; }
.leg-dot { background: #999 !important; box-shadow: none !important; }
.expertise-grid { display: block; }
.exp-card { min-height: 0; margin-bottom: 10px; }
.exp-card::before { display: none !important; }
.exp-caption { opacity: 1 !important; transform: none !important; margin-top: .4rem; }
.capm-matrix th, .capm-matrix td { border-bottom: 1px solid #ddd !important; color: #111 !important; }
.capm-matrix thead th { color: #555 !important; border-bottom: 2px solid #999 !important; }
.capm-matrix tbody tr:hover { background: none !important; }
.projects-grid { display: block; }
.project-card { margin-bottom: 12px; }
.project-card, .supply-leg, .exp-card, .cta-inner, .contact-card { break-inside: avoid; }
.cc-rows li > span { color: #555 !important; }
.cc-name, .cc-role { color: #111 !important; }

/* ---------- images ---------- */
.photo-mosaic figure, .story-photo img, .community-board > img { break-inside: avoid; }
img { max-width: 240px !important; }
