@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --ink: #18251e; --muted: #718077; --paper: #f4f5ef; --accent: #d8ff58; --line: #d8ded6; --soft: #e9ede6; }
:root[data-theme="dark"] { --ink: #edf2e9; --muted: #9aa99e; --paper: #17201a; --accent: #d8ff58; --line: #354238; --soft: #223027; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; transition: color .25s ease, background .25s ease; }
a { color: inherit; text-decoration: none; }
.site-header, main, footer { max-width: 1120px; margin: auto; padding-left: 32px; padding-right: 32px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.logo { font-size: 1.3rem; font-weight: 800; letter-spacing: -.08em; }.logo span, h1 span { color: #7c9d00; }
nav { display: flex; gap: 24px; align-items: center; font-family: 'DM Mono', monospace; font-size: .72rem; text-transform: uppercase; } nav a:hover { color: #7c9d00; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; font: inherit; font-size: 1rem; }.theme-toggle:hover { border-color: #7c9d00; }.theme-toggle .moon { display: none; }:root[data-theme="dark"] .theme-toggle .sun { display: none; }:root[data-theme="dark"] .theme-toggle .moon { display: inline; }
.hero { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 70px; align-items: center; padding: 90px 0 130px; }.hero-copy { min-width: 0; }.hero-image { width: min(100%, 340px); margin: 0 0 0 auto; padding: 10px; border: 1px solid var(--line); background: var(--soft); transform: rotate(2deg); }.hero-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.inner-page { min-height: calc(100vh - 150px); }.page-intro { padding: 110px 0 120px; border-bottom: 1px solid var(--line); }.page-intro h1 { font-size: clamp(3.5rem, 10vw, 8rem); }.page-intro .intro { max-width: 720px; }.detail-section { padding: 80px 0 150px; }.large-tags { flex-wrap: wrap; max-width: 760px; }.contact-page { border-bottom: 0; }.contact-page .button { margin-top: 20px; }
.landing-page { min-height: calc(100vh - 150px); display: flex; align-items: center; }.landing-intro { padding: 70px 0 140px; }.landing-intro h1 { margin-bottom: 30px; }.landing-intro .intro { max-width: 600px; font-size: clamp(1.2rem, 2.4vw, 1.7rem); }.landing-actions { display: flex; gap: 30px; align-items: center; }.text-link { border-bottom: 2px solid var(--accent); font-weight: 700; }.text-link span { color: #7c9d00; margin-left: 8px; }
.blog-card { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }.blog-card h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 3rem); }.blog-card h2 a:hover { color: #7c9d00; }.blog-card p:not(.experience-period) { max-width: 560px; color: #506057; line-height: 1.6; }.empty-state { color: var(--muted); }.post-page { max-width: 760px; padding: 100px 0 160px; }.back-link { display: inline-block; margin-bottom: 80px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: .72rem; text-transform: uppercase; }.back-link:hover { color: #7c9d00; }.post-page h1 { font-size: clamp(3rem, 9vw, 7rem); }.post-body { max-width: 680px; margin-top: 55px; color: #506057; line-height: 1.8; white-space: pre-line; }.post-page .tags { margin-top: 24px; }:root[data-theme="dark"] .blog-card p:not(.experience-period), :root[data-theme="dark"] .post-body { color: #b6c4b9; }
.eyebrow, .section-label, .project-number { color: var(--muted); font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 14px 0 24px; font-size: clamp(4.5rem, 13vw, 10rem); line-height: .9; letter-spacing: -.1em; font-weight: 800; }
.intro { max-width: 440px; margin: 0 0 36px; color: #506057; font-size: 1.2rem; line-height: 1.55; }
.button { display: inline-flex; gap: 32px; align-items: center; width: fit-content; padding: 16px 20px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .85rem; }.button span { color: var(--accent); font-size: 1.3rem; }
.about-grid, .section-heading { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 22px; }
h2 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.07em; }.about-grid h2 { max-width: 650px; }.about-grid p:not(.section-label) { max-width: 530px; color: #506057; line-height: 1.7; }
.work { padding: 170px 0 120px; }.muted { color: var(--muted); margin: 0; }
.experience { padding: 170px 0 0; }.experience-list { margin-top: 52px; border-top: 1px solid var(--line); }.experience-row { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }.experience-period { margin: 4px 0 0; color: var(--muted); font-family: 'DM Mono', monospace; font-size: .72rem; text-transform: uppercase; }.experience-row h3 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -.05em; }.experience-row h3 span { color: var(--muted); font-weight: 400; }.experience-row p:not(.experience-period) { max-width: 520px; margin: 0; color: #506057; line-height: 1.6; white-space: pre-line; }:root[data-theme="dark"] .experience-row p:not(.experience-period), :root[data-theme="dark"] .about-grid p:not(.section-label), :root[data-theme="dark"] .project-card p:not(.project-number), :root[data-theme="dark"] .intro { color: #b6c4b9; }
.certifications { padding: 170px 0 0; }.certification-list { margin-top: 52px; border-top: 1px solid var(--line); }.certification-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }.certification-row h3 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -.05em; }.certification-row p { margin: 0; color: var(--muted); }
.project-list { margin-top: 52px; border-top: 1px solid var(--line); }.project-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }.project-number { margin: 0 0 32px; }.project-card h3 { margin: 0 0 10px; font-size: 1.6rem; letter-spacing: -.05em; }.project-card p:not(.project-number) { max-width: 480px; color: #506057; line-height: 1.6; }.tags { display: flex; gap: 8px; margin-top: 20px; }.tags span { border: 1px solid var(--line); padding: 6px 10px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: .65rem; }.arrow-link { align-self: center; color: #7c9d00; font-size: 2.2rem; }.contact { padding: 80px 0 180px; }.contact h2 { margin-top: 55px; }.contact h2 a { border-bottom: 3px solid var(--accent); }.contact h2 span { margin-left: 20px; color: #7c9d00; font-size: .65em; }
.mattrolled-body { min-height: 100vh; background: var(--accent); }.mattrolled-page { min-height: 100vh; max-width: 760px; margin: auto; padding: 70px 32px 60px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }.mattrolled-page .eyebrow { color: #506057; }.mattrolled-page h1 { margin: 16px 0 28px; font-size: clamp(3.5rem, 11vw, 8rem); }.mattrolled-gif { display: block; width: min(100%, 520px); max-height: 440px; object-fit: cover; border: 10px solid var(--ink); box-shadow: 14px 14px 0 var(--paper); }.mattrolled-message { max-width: 560px; margin: 42px 0 28px; color: var(--ink); font-size: 1.1rem; line-height: 1.6; }.mattrolled-links { display: flex; gap: 14px; }.mattrolled-links .button { background: var(--ink); }.mattrolled-home { margin-top: 42px; color: var(--ink); font-family: 'DM Mono', monospace; font-size: .72rem; text-transform: uppercase; }.mattrolled-home:hover { text-decoration: underline; }
.contact-links { max-width: 760px; }.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }.contact-link strong, .contact-link small { display: block; }.contact-link strong { font-size: 1.5rem; letter-spacing: -.05em; }.contact-link small { margin-top: 6px; color: var(--muted); }.contact-link:hover strong { color: #7c9d00; }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: .65rem; text-transform: uppercase; }.email-copy { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; font-size: inherit; text-transform: inherit; }.email-copy:hover, .email-copy.is-copied { color: #7c9d00; }
@media (max-width: 650px) { .site-header, main, footer { padding-left: 20px; padding-right: 20px; } nav { margin-left: auto; gap: 12px; font-size: .62rem; } nav a:nth-child(2), nav a:nth-child(4), nav a:nth-child(6) { display: none; }.hero { min-height: 560px; grid-template-columns: 1fr; gap: 45px; padding-top: 55px; }.hero-image { width: min(72vw, 300px); margin: 0 auto; order: -1; }.about-grid, .section-heading, .experience-row, .blog-card { grid-template-columns: 1fr; gap: 20px; }.experience, .certifications, .work { padding-top: 110px; }.work { padding-bottom: 90px; }.contact, .detail-section { padding-bottom: 120px; } .page-intro { padding-top: 70px; padding-bottom: 80px; } .post-page { padding-top: 70px; } .back-link { margin-bottom: 55px; } .landing-actions { align-items: flex-start; flex-direction: column; gap: 24px; } footer { gap: 20px; flex-direction: column; } }
@media (max-width: 650px) { .mattrolled-page { padding-left: 20px; padding-right: 20px; }.mattrolled-gif { box-shadow: 8px 8px 0 var(--paper); }.mattrolled-links { align-items: flex-start; flex-direction: column; gap: 14px; } }
