@charset "utf-8";

@media print {
    @page {
        size: A4 portrait;
        margin: 9mm 10mm 8mm;
    }

    html,
    body {
        background: #fff !important;
        color: #111;
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        font-size: 8.3pt;
        line-height: 1.42;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .site-header,
    .site-nav,
    .header-actions,
    .nav-toggle,
    .hero-actions,
    .to-top,
    .site-footer,
    .single-aside,
    .comments,
    .post-nav,
    .entry-foot,
    #notes,
    .pagebar-wrap,
    .search-form,
    .notfound-actions,
    .comment-form,
    .section-lead,
    .section-index,
    .eyebrow-dot,
    .section-head-row .btn {
        display: none !important;
    }

    .wrap {
        max-width: none;
        padding: 0;
        margin: 0;
    }

    main {
        margin: 0;
        padding: 0;
    }

    .hero {
        margin: 0;
        padding: 0 0 2.6mm;
        background: none !important;
        border-bottom: 1px solid #999;
    }

    .hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 21mm;
        gap: 6mm;
        align-items: center;
    }

    .hero-photo {
        width: 21mm;
        height: 21mm;
        order: 2;
        border: 0;
        outline: 0;
        box-shadow: none;
        border-radius: 2mm;
        background: none !important;
    }

    .hero-photo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    .photo-mono {
        font-size: 20pt;
    }

    .eyebrow {
        margin: 0 0 .8mm;
        font-size: 7.2pt;
        letter-spacing: .12em;
        color: #555 !important;
    }

    .hero-name {
        font-size: 18pt;
        line-height: 1.15;
        letter-spacing: -.01em;
    }

    .hero-job {
        margin-top: .8mm;
        font-size: 9pt;
        color: #333;
    }

    .hero-tagline {
        max-width: none;
        margin-top: 1mm;
        font-size: 8pt;
        line-height: 1.5;
        color: #444;
    }

    .hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: .4mm 4.5mm;
        margin-top: 1.6mm;
    }

    .hero-meta li {
        display: inline-flex;
        align-items: center;
        gap: .8mm;
        font-size: 7.8pt;
        color: #333;
    }

    .hero-meta i {
        display: none;
    }

    .section,
    .section-alt {
        padding: 2.4mm 0;
        border: 0;
        border-top: 1px solid #dcdcdc;
        background: none !important;
    }

    .section-head {
        margin-bottom: 1.6mm;
    }

    .section-title {
        font-size: 10.2pt;
        letter-spacing: .04em;
        line-height: 1.3;
    }

    .section-slash {
        padding: 0 1mm;
        opacity: .5;
    }

    .about-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 56mm;
        gap: 6mm;
        align-items: start;
    }

    .about-text p {
        margin: 0 0 1.1mm;
        font-size: 8pt;
        line-height: 1.5;
        color: #222;
    }

    .about-text p:first-child {
        font-size: 8.2pt;
    }

    .fact-card {
        margin: 0;
        padding: 1.8mm 2.4mm;
        border: 1px solid #ccc;
        border-radius: 1.5mm;
        box-shadow: none;
    }

    .fact-title {
        display: none;
    }

    .fact-row {
        display: flex;
        gap: 2mm;
        padding: .5mm 0;
        font-size: 7.6pt;
        line-height: 1.4;
    }

    .fact-row dt {
        flex: 0 0 15mm;
        color: #666;
    }

    .fact-row dd {
        margin: 0;
        flex: 1;
        color: #111;
    }

    .skill-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .4mm 6mm;
    }

    .skill-item {
        padding: .4mm 0;
    }

    .skill-top {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .skill-name {
        color: #000;
        font-size: 7.9pt;
    }

    .skill-num {
        font-size: 6.8pt;
        color: #666;
    }

    .skill-bar {
        display: block;
        height: 1.6px;
        margin-top: .5mm;
        background: #ddd;
    }

    .skill-fill {
        display: block;
        height: 100%;
        width: var(--level, 0%) !important;
        background: #333 !important;
    }

    .skill-item-tag .skill-tag {
        font-size: 7.8pt;
    }

    .two-col {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6mm;
    }

    .col-title {
        margin-bottom: 1.4mm;
        color: #000;
        font-size: 8.4pt;
        letter-spacing: .02em;
    }

    .col-title i {
        display: none;
    }

    .timeline {
        padding-left: 3mm;
        border-left: 1px solid #ddd;
    }

    .timeline-item {
        padding-bottom: 1.6mm;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .timeline-item::before {
        left: -3.65mm;
        top: 1mm;
        width: 2mm;
        height: 2mm;
        border-color: #888;
        background: #fff;
    }

    .timeline-time {
        margin-bottom: .3mm;
        font-size: 7.2pt;
        color: #666;
    }

    .timeline-title {
        color: #000;
        font-size: 8.6pt;
        line-height: 1.35;
    }

    .timeline-sub {
        font-size: 7.8pt;
        color: #444;
    }

    .timeline-desc {
        margin-top: .4mm;
        font-size: 7.6pt;
        line-height: 1.45;
        color: #333;
    }

    .project-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.4mm 4mm;
    }

    .project-card,
    .contact-card,
    .note-card,
    .fact-card {
        padding: 1.9mm 2.4mm;
        border: 1px solid #ccc;
        border-radius: 1.5mm;
        box-shadow: none;
        break-inside: avoid;
        page-break-inside: avoid;
        opacity: 1 !important;
        transform: none !important;
    }

    .project-card::after {
        display: none;
    }

    .project-role {
        margin-bottom: .3mm;
        color: #666;
        font-size: 6.9pt;
    }

    .project-name {
        color: #000;
        font-size: 8.4pt;
        line-height: 1.35;
    }

    .project-desc {
        margin-top: .4mm;
        font-size: 7.5pt;
        line-height: 1.45;
        color: #333;
    }

    .project-link {
        display: none;
    }

    .honor-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 5mm;
    }

    .honor-item {
        padding: .5mm 0;
        border-bottom: 0;
        font-size: 7.8pt;
        line-height: 1.4;
    }

    .honor-year {
        margin-right: 1.2mm;
        color: #666;
        font-size: 7.2pt;
    }

    .honor-title {
        color: #111;
        font-size: 7.8pt;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.6mm 4mm;
    }

    .contact-card {
        display: flex;
        gap: 1.6mm;
        padding: 1.2mm 2mm;
        align-items: baseline;
    }

    .contact-icon,
    .contact-label {
        display: none;
    }

    .contact-value {
        margin-top: 0;
        color: #000;
        font-size: 7.8pt;
        word-break: break-all;
    }

    .entry-title {
        font-size: 16pt;
    }

    .entry-content {
        font-size: 9.4pt;
        line-height: 1.6;
    }

    .entry-content h2 {
        font-size: 12pt;
    }

    .entry-content h3 {
        font-size: 10.5pt;
    }

    .entry-content a {
        color: #000;
        text-decoration: none;
    }

    .entry-content pre {
        border: 1px solid #ccc;
        background: #f6f6f6;
        color: #000;
    }

    .entry-content pre code {
        color: #000;
    }

    .entry-content img {
        break-inside: avoid;
        page-break-inside: avoid;
    }

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

    .hero,
    .section {
        break-inside: auto;
        page-break-inside: auto;
    }
}
