/* AI tools were used to generate this file */
.terminal {
    position: fixed;
    inset: 0;
    z-index: var(--z-bg);
    overflow: hidden;
    padding: clamp(5.5rem, 12vh, 8rem) clamp(1rem, 6vw, 4rem) 3rem;
    font: 400 clamp(11px, 1.5vw, 13px) / 1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text-muted);
    white-space: pre-wrap;
    transition: opacity 0.6s ease;
}

.terminal .cmd::before {
    content: "$ ";
    color: var(--border-hover);
}

.terminal .out {
    color: #6a6e78;
}

.terminal::after {
    content: "";
    display: inline-block;
    width: 0.6em;
    height: 1.05em;
    margin-left: 0.1em;
    background: var(--text);
    vertical-align: text-bottom;
    animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ---- the document ---- */

.resume-sheet {
    position: relative;
    z-index: var(--z-content);
    width: min(8.5in, 100%);
    margin: clamp(5.5rem, 12vh, 8rem) auto 4rem;
    padding: clamp(1.25rem, 5vw, 1in);
    background: #fff;
    color: #000;
    font: 400 11pt / 1.4 var(--font-base);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.resume-header {
    text-align: center;
    margin-bottom: 14pt;
}

.resume-header h1 {
    margin: 0;
    font-size: 16pt;
    font-weight: 700;
}

.contact-info {
    margin-top: 4pt;
    font-size: 10.5pt;
    font-style: normal;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.resume-note {
    margin: 8pt auto 0;
    max-width: 5.5in;
    font-size: 9.5pt;
    font-style: italic;
    color: #444;
}

.resume-section {
    margin-bottom: 12pt;
}

.resume-section h2 {
    margin: 0 0 4pt;
    font-size: 11pt;
    font-weight: 700;
    text-transform: uppercase;
}

.resume-section > p {
    margin: 0 0 6pt;
}

.job,
.project,
.education {
    margin-bottom: 9pt;
}

.job:last-child,
.project:last-child,
.education:last-child {
    margin-bottom: 0;
}

.job h3,
.project h3,
.education h3 {
    margin: 0;
    font-size: 11pt;
    font-weight: 700;
}

.meta {
    margin: 0 0 3pt;
    font-size: 10.5pt;
    font-style: italic;
}

.meta a {
    color: inherit;
    font-style: normal;
    text-decoration: none;
}

.meta a:hover {
    text-decoration: underline;
}

.resume-sheet ul {
    margin: 0;
    padding-left: 18pt;
}

.resume-sheet li {
    margin-bottom: 3pt;
}

.skills-list {
    margin: 0;
}

.skill-row {
    margin-bottom: 3pt;
}

.skill-row dt,
.skill-row dd {
    display: inline;
    margin: 0;
}

.skill-row dt {
    font-weight: 700;
}

.skip-btn {
    position: fixed;
    right: clamp(1rem, 6vw, 4rem);
    bottom: 2rem;
    z-index: var(--z-chrome);
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border);
    background: transparent;
    color: #6a6e78;
    font: 400 10px / 1 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-indent: 0.18em;
    cursor: pointer;
    transition: color var(--ease-fast), border-color var(--ease-fast), opacity 0.4s ease;
}

.skip-btn:hover,
.skip-btn:focus-visible {
    color: var(--text);
    border-color: var(--border-hover);
    outline: none;
}

body.is-rendered .terminal,
body.is-rendered .skip-btn {
    opacity: 0;
    pointer-events: none;
}

body.is-rendered .resume-sheet {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

@media print {
    .terminal,
    .skip-btn,
    nav {
        display: none;
    }

    .resume-sheet {
        width: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
}
