:root
{
    --paper: #f5f5ee;
    --ink: #223b31;
    --muted: #6b756c;
    --line: #d7ddd1;
    --green: #c4e6a8;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}
body
{
    margin: 0;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, input, textarea
{
    font: inherit;
}
button, a
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
}
a:hover, button:hover
{
    text-decoration: underline;
    text-underline-offset: 5px;
}
:focus-visible
{
    outline: 3px solid #6c9471;
    outline-offset: 5px;
}
.header, main, footer
{
    max-width: 1440px;
    margin: auto;
}
.header
{
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    border-bottom: 1px solid var(--line);
}
.wordmark
{
    font: bold 34px monospace;
    letter-spacing: -4px;
}
.wordmark b
{
    color: #769567;
}
nav
{
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 13px;
}
.nav-contact
{
    border-left: 1px solid var(--line);
    padding-left: 30px;
}
.nav-contact span
{
    margin-left: 20px;
}
.menu
{
    display: none;
}
.hero
{
    padding: 76px 6% 60px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 6%;
}
.eyebrow, .section-label, .fine, .annotation, .commit, .ribbon, .project-type
{
    font: 10px/1.7 "Courier New", monospace;
    letter-spacing: 1.4px;
}
.eyebrow
{
    margin: 0 0 28px;
    font-size: 9px;
}
.dot
{
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 50%;
    background: #72955b;
}
h1
{
    margin: 0;
    font-size: clamp(42px, 5.3vw, 76px);
    line-height: 1.04;
    letter-spacing: -3.8px;
    font-weight: 500;
}
h1 em, h2 em
{
    font-family: Georgia, serif;
    font-weight: 400;
}
.role
{
    margin: 26px 0 18px;
    font: 13px/1.6 "Courier New", monospace;
    min-height: 22px;
}
.role > span
{
    color: #78965f;
}
.cursor
{
    animation: blink 1s steps(2) infinite;
}
@keyframes blink
{
    50% { opacity: 0; }
}
.lede, .about p:not(.section-label), .section-heading > p, .open-source p:not(.section-label), .contact p:not(.section-label)
{
    max-width: 440px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
}
.actions
{
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 27px;
}
.button
{
    background: var(--ink);
    border: 0;
    padding: 16px 21px;
    color: white;
    font-size: 12px;
    display: inline-flex;
    gap: 24px;
    justify-content: space-between;
}
.text-link
{
    font-size: 11px;
    border-bottom: 1px solid #94a28b;
    padding-bottom: 5px;
}
.socials
{
    display: flex;
    gap: 19px;
    margin-top: 42px;
    font-size: 10px;
}
.socials span
{
    margin-left: auto;
    color: var(--muted);
    font: 8px monospace;
    align-self: center;
}
.terminal-wrap
{
    padding-top: 15px;
    min-width: 0;
}
.annotation
{
    display: block;
    text-align: center;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0;
}
.terminal
{
    border-radius: 9px;
    overflow: hidden;
    color: #cdd7cb;
    background: #1d2c25;
    box-shadow: 11px 15px 0 #e7eadd, 0 18px 40px #1b2b2612;
    transform: rotate(1deg);
    font: 11px/1.85 "Courier New", monospace;
}
.terminal-bar
{
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    background: #29382f;
    color: #9baa9d;
    font-size: 9px;
}
.terminal-bar i
{
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 5px;
    background: #d58e76;
}
.terminal-bar i:nth-child(2)
{
    background: #d7bf7f;
}
.terminal-bar i:nth-child(3)
{
    background: #92ae78;
}
.terminal-body
{
    padding: 20px;
}
.terminal-body p
{
    margin: 0 0 14px;
}
pre
{
    font: inherit;
    margin: 0;
    overflow: auto;
}
.green
{
    color: #b7d99c;
}
.blue
{
    color: #9dbbb4;
}
.yellow
{
    color: #d7c48e;
}
.terminal-separator
{
    border-top: 1px solid #425046;
    margin: 20px 0 15px;
}
.muted
{
    color: #a4afa4;
}
#terminal-form
{
    display: flex;
    gap: 12px;
    align-items: center;
}
#command
{
    min-width: 0;
    flex: 1;
    background: transparent;
    color: white;
    border: 0;
    padding: 6px 0;
    font: inherit;
}
#terminal-form button
{
    color: #b7d99c;
    background: none;
    border: 0;
}
#terminal-output
{
    font-size: 10px;
    color: #c6dfb4;
    max-height: 100px;
    overflow: auto;
}
.commit
{
    display: flex;
    align-items: center;
    margin: 30px 5px 0;
    letter-spacing: 0;
    font-size: 9px;
}
.commit span:last-child
{
    margin-left: auto;
    color: var(--muted);
}
.ribbon
{
    margin: 0 6%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    border-block: 1px solid var(--line);
    color: #707f6c;
    font-size: 8px;
}
.section
{
    padding: 80px 6%;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 25px;
}
.section-label
{
    font-size: 9px;
    color: #768370;
    margin: 0 0 24px;
}
h2
{
    font-size: clamp(30px, 3.5vw, 47px);
    line-height: 1.13;
    font-weight: 400;
    letter-spacing: -1.7px;
    margin: 0 0 24px;
}
h3
{
    font-weight: 500;
}
.about, .experience
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8%;
}
.about > div
{
    max-width: 640px;
}
.about p:not(.section-label)
{
    max-width: 600px;
}
.stats
{
    display: flex;
    gap: 60px;
    margin-top: 35px;
}
.stats b
{
    display: block;
    font-size: 35px;
    font-weight: 400;
}
.stats span
{
    color: var(--muted);
    font-size: 11px;
}
.section-heading
{
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}
.skill-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.skill-grid article
{
    border-top: 1px solid var(--line);
    padding: 24px 0;
}
.skill-symbol
{
    font: 26px monospace;
    color: #719067;
}
.skill-grid h3
{
    font-size: 16px;
}
.chips
{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.chips span
{
    font: 10px/1.4 monospace;
    border: 1px solid var(--line);
    padding: 6px 8px;
}
.filters
{
    display: flex;
    gap: 5px;
    padding-bottom: 25px;
}
.filters button
{
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 10px 15px;
    font-size: 11px;
}
.filters button[aria-pressed="true"]
{
    color: white;
    background: var(--ink);
}
.project-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project
{
    transition: transform .2s, box-shadow .2s;
}
.project:hover
{
    transform: translateY(-5px);
    box-shadow: 0 12px 25px #223b310a;
}
.project[hidden]
{
    display: none;
}
.project-art
{
    height: 230px;
    position: relative;
    overflow: hidden;
    padding: 25px;
}
.orbit
{
    background: #e4d7bf;
    display: grid;
    place-content: center;
}
.orbit-ring
{
    position: absolute;
    width: 260px;
    height: 115px;
    border: 1px solid #a68f6d;
    border-radius: 50%;
    top: 50px;
    left: calc(50% - 130px);
    transform: rotate(-35deg);
}
.orbit-core
{
    font: 70px Georgia, serif;
    z-index: 1;
}
.orbit-core span
{
    font-size: 45px;
}
.art-caption
{
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font: 7px monospace;
    letter-spacing: 1px;
}
.pulse
{
    background: #293f3a;
    color: white;
}
.pulse-heading
{
    font-size: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pulse-heading span
{
    font-size: 8px;
    color: #a8c6b7;
}
.pulse svg
{
    width: 100%;
    height: 110px;
}
.pulse-metrics
{
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #a9bbb0;
}
.pulse-metrics b
{
    display: block;
    color: white;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 5px;
}
.sprout
{
    background: #dbe5cc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.sprout > b
{
    font: 38px Georgia, serif;
    z-index: 1;
}
.sprout b span
{
    display: block;
    font: 10px/1.6 Arial, sans-serif;
    margin-top: 10px;
}
.sprout-leaf
{
    width: 55px;
    height: 80px;
    border-radius: 50% 0 50% 0;
    background: #789360;
    transform: rotate(20deg);
}
.project-info
{
    padding: 25px 0;
}
.project-type
{
    font-size: 7px;
}
.project-info h3
{
    font-size: 21px;
    margin: 12px 0;
}
.project-info h3 > span
{
    float: right;
    font: 10px monospace;
    color: var(--muted);
}
.project-info p
{
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    min-height: 44px;
}
.project-links
{
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    font-size: 10px;
}
.project-links button
{
    border: 0;
    padding: 0;
    background: none;
    color: var(--ink);
}
.open-source
{
    background: #edf0e6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.open-source h2
{
    font-size: 35px;
}
.contribution-head
{
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
}
.contribution-head span
{
    color: var(--muted);
    font-size: 8px;
}
.contribution-grid
{
    display: grid;
    grid-template-columns: repeat(26, 1fr);
    gap: 3px;
}
.contribution-grid i
{
    aspect-ratio: 1;
    background: #d5decc;
    border-radius: 2px;
}
.contribution-grid i:nth-child(3n)
{
    background: #a3bc8c;
}
.contribution-grid i:nth-child(5n)
{
    background: #719463;
}
.contribution-grid i:nth-child(11n)
{
    background: #3d644d;
}
.open-source .fine
{
    font-size: 9px;
    letter-spacing: 0;
}
.writing-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.article
{
    border: 0;
    border-top: 1px solid var(--line);
    text-align: left;
    background: none;
    padding: 25px 0 0;
    color: var(--ink);
}
.article > span, .article small
{
    color: var(--muted);
    font: 9px monospace;
}
.article h3
{
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -.5px;
}
.article p, .timeline p
{
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
.timeline
{
    border-left: 1px solid #afbea5;
    padding-left: 30px;
}
.timeline article
{
    padding-bottom: 20px;
}
.timeline article > span
{
    font: 9px monospace;
    color: #768370;
}
.timeline h3
{
    font-size: 22px;
}
.timeline small
{
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}
.contact
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
}
.email
{
    display: inline-block;
    font-size: 18px;
    margin-block: 15px;
    border-bottom: 1px solid #9aa891;
    padding-bottom: 8px;
}
label
{
    display: block;
    font-size: 11px;
    margin-bottom: 18px;
}
input, textarea
{
    width: 100%;
    display: block;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #b9c5b0;
    margin-top: 6px;
    padding: 12px 0;
    border-radius: 0;
}
textarea
{
    resize: vertical;
}
footer
{
    display: flex;
    padding: 35px 6%;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 10px;
    color: var(--muted);
}
dialog
{
    max-width: 600px;
    width: calc(100% - 40px);
    max-height: 85vh;
    border: 1px solid var(--line);
    padding: 45px;
    background: var(--paper);
    color: var(--ink);
}
dialog::backdrop
{
    background: #11251fc9;
}
.dialog-close
{
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    font-size: 26px;
    color: inherit;
    background: none;
}
dialog p
{
    font-size: 14px;
    line-height: 1.9;
}
#demo
{
    padding-top: 15px;
}
.note-item
{
    padding: 14px;
    background: #e5ebdd;
    margin-block: 8px;
}
@media (max-width: 850px)
{
    .header { height: 80px; }
    .hero { gap: 30px; }
    h1 { font-size: 49px; letter-spacing: -2.5px; }
    .terminal { font-size: 9px; }
    .terminal-body { padding: 15px; }
    .socials span { display: none; }
    .actions { gap: 15px; flex-wrap: wrap; }
    .project-grid { gap: 15px; }
    .project-art { padding: 18px; height: 200px; }
    .open-source { gap: 35px; }
}
@media (max-width: 600px)
{
    .header { height: 76px; position: relative; }
    .menu { display: block; border: 1px solid var(--line); background: transparent; padding: 8px 12px; color: var(--ink); font-size: 11px; }
    nav { display: none; position: absolute; background: var(--paper); left: 0; right: 0; top: 75px; padding: 25px 6%; z-index: 3; border-bottom: 1px solid var(--line); }
    nav.open { display: flex; flex-wrap: wrap; gap: 22px; }
    .nav-contact { padding-left: 0; border: 0; }
    .hero { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 40px; gap: 37px; }
    h1 { font-size: 56px; letter-spacing: -3px; }
    .eyebrow { font-size: 8px; margin-bottom: 24px; }
    .lede { font-size: 13px; }
    .socials { margin-top: 28px; }
    .terminal { font-size: 10px; transform: none; }
    .terminal-body { padding: 18px; }
    .annotation { font-size: 8px; }
    .ribbon { padding-block: 20px; gap: 30px; }
    .ribbon span { font-size: 7px; }
    .ribbon span:last-child { display: none; }
    .section { padding-block: 55px; }
    .about, .experience, .contact, .open-source { grid-template-columns: 1fr; gap: 25px; }
    .stats { gap: 35px; }
    .skill-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .section-heading { align-items: start; flex-direction: column; gap: 0; }
    .section-heading h2 { margin-bottom: 25px; }
    .project-grid, .writing-grid { grid-template-columns: 1fr; gap: 25px; }
    .project-art { height: 255px; }
    .project-info p { min-height: 0; }
    .pulse svg { height: 145px; }
    .writing-grid { gap: 35px; }
    .writing-grid h3 br { display: none; }
    .contribution-grid { gap: 3px; }
    footer { flex-wrap: wrap; }
    footer span { max-width: 160px; line-height: 1.7; }
    dialog { padding: 35px 25px; }
}
@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
