:root {
    --ink: #e8f0dc;
    --muted: #a7b8a3;
    --paper: #0d1b16;
    --surface: #172a22;
    --line: #2c4939;
    --lime: #d6ef70;
    --coral: #ef8b4f;
    --teal: #7bd0ad;
    --sun: #c3a5ff;
    --violet: #c3a5ff;
    --violet-soft: rgba(195, 165, 255, .38);
    --shadow: 0 18px 50px rgba(23, 33, 31, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background-color: var(--paper);
    background-image: radial-gradient(circle at 88% 8%, rgba(195, 165, 255, .12), transparent 24%), linear-gradient(rgba(13, 27, 22, .9), rgba(13, 27, 22, .94)), url("../images/forest.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(13, 27, 22, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(216, 222, 212, .9);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--paper); font-size: .83rem; letter-spacing: .02em; }
.brand-name { font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 13px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: var(--paper); background: var(--lime); }
.menu-button { display: none; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.35rem; cursor: pointer; }
h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); max-width: 820px; margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
h3 { font-size: 1.3rem; }
.lede { max-width: 620px; color: var(--muted); font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: .92rem; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(23, 33, 31, .12); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-secondary { border: 1px solid var(--line); background: var(--surface); }
.button-secondary:hover { border-color: var(--violet); }
.hero { position: relative; overflow: hidden; padding: 104px 0 112px; color: #f4f1e8; background-color: var(--ink); background-image: radial-gradient(circle at 78% 15%, rgba(195, 165, 255, .28), transparent 22%), linear-gradient(115deg, rgba(10, 31, 26, .84), rgba(15, 63, 49, .48)), url("../images/forest.jpg"); background-position: 48% 50%; background-size: cover; animation: forest-drift 18s ease-in-out infinite alternate; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 50px; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 27, 23, .38), rgba(8, 27, 23, .08)); }
.hero h1 { color: #fffdf7; }
.hero .lede { color: #d7ded3; }
.hero .button-secondary { color: var(--ink); }
.hero-note { align-self: start; justify-self: end; max-width: 290px; padding: 22px; border-top: 3px solid var(--coral); color: #d7ded3; font-size: .92rem; }
.hero-note strong { display: block; color: #fffdf7; font-size: 1.05rem; margin-bottom: 8px; }
.home-hero { position: relative; overflow: hidden; padding: 118px 0 104px; color: #f4f1e8; background-color: var(--ink); background-image: radial-gradient(circle at 76% 12%, rgba(195, 165, 255, .2), transparent 24%), linear-gradient(115deg, rgba(10, 31, 26, .86), rgba(15, 63, 49, .5)), url("../images/forest.jpg"); background-position: 48% 50%; background-size: cover; animation: forest-drift 18s ease-in-out infinite alternate; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 27, 23, .34), rgba(8, 27, 23, .06)); }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: center; gap: 90px; }
.home-copy h1 { max-width: 680px; margin: 20px 0 28px; font-size: clamp(3.4rem, 6.8vw, 6.2rem); color: #fffdf7; }
.home-copy h1 em { color: var(--lime); font-style: normal; }
.home-lede { max-width: 570px; margin-bottom: 0; color: #d7ded3; font-size: 1.1rem; }
.identity-panel { justify-self: end; width: min(100%, 310px); padding: 25px; border: 1px solid rgba(195, 165, 255, .45); background: rgba(13, 27, 22, .58); backdrop-filter: blur(8px); }
.identity-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(232, 240, 220, .2); }
.identity-panel p { margin: 21px 0; color: #d7ded3; font-size: .94rem; }
.identity-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 6px rgba(195, 165, 255, .14); }
.identity-rule { height: 1px; background: linear-gradient(90deg, var(--coral), transparent); }
.identity-panel dl { margin: 22px 0 0; }.identity-panel dl div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; font-size: .82rem; }.identity-panel dt { color: #a9b9a3; }.identity-panel dd { margin: 0; color: #fffdf7; font-weight: 700; text-align: right; }
.signal-section { padding: 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.signal-section .container { display: grid; grid-template-columns: .8fr 1.8fr; gap: 55px; align-items: center; }.signal-intro { padding: 35px 0; }.signal-intro p:last-child { max-width: 260px; margin: 10px 0 0; color: var(--muted); font-size: .92rem; }.signal-list { display: grid; grid-template-columns: repeat(3, 1fr); }.signal-list > div { min-height: 128px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 22px; border-left: 1px solid var(--line); }.signal-index { color: var(--violet); font: 700 .78rem "Space Grotesk", sans-serif; }.signal-list strong { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; }.signal-list span:last-child { color: var(--muted); font-size: .75rem; }
.home-close { padding: 105px 0 118px; }.home-close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }.home-close h2 { max-width: 520px; margin-top: 17px; }.home-close-grid > div:last-child { align-self: end; max-width: 430px; }.home-close-grid p:not(.eyebrow) { color: var(--muted); }.text-link { display: inline-block; margin-top: 14px; color: var(--violet); font-weight: 800; text-decoration: none; }
.page-intro { position: relative; overflow: hidden; padding: 98px 0 65px; background: linear-gradient(115deg, rgba(10, 31, 26, .9), rgba(15, 63, 49, .54)), url("../images/forest.jpg") center / cover; }.page-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 27, 23, .4), transparent); pointer-events: none; }.page-intro .container { position: relative; z-index: 1; }.page-intro h1 { max-width: 780px; margin: 18px 0; color: #fffdf7; }.page-intro p:not(.eyebrow) { max-width: 650px; color: #d7ded3; }
.work-section { padding: 72px 0 110px; }.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }.work-card { min-height: 365px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: rgba(23, 42, 34, .9); border: 1px solid var(--line); }.work-card:hover { border-color: var(--violet); }.work-card h2 { margin: 20px 0 13px; font-size: 2rem; color: #fffdf7; }.work-card p { color: var(--muted); }.work-card .tag-list { margin-top: 25px; }
.writing-list { max-width: 820px; }.writing-entry { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }.writing-entry h2 { margin: 12px 0; color: #fffdf7; }.writing-entry h2 a { text-decoration: none; }.writing-entry h2 a:hover { color: var(--violet); }.writing-entry p { color: var(--muted); }.writing-link { color: var(--violet); font-weight: 800; text-decoration: none; }
.resume-intro { padding: 88px 0 56px; background: linear-gradient(115deg, rgba(10, 31, 26, .9), rgba(15, 63, 49, .54)), url("../images/forest.jpg") center / cover; }.resume-intro h1 { margin: 18px 0 10px; color: #fffdf7; }.resume-layout-new { display: grid; grid-template-columns: 1.45fr .7fr; gap: 70px; padding: 72px 0 105px; }.resume-layout-new .resume-section { margin-bottom: 58px; }.resume-layout-new .resume-section > h2, .resume-layout-new .side-panel > h2 { color: var(--lime); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }.resume-layout-new .job h3 { color: #fffdf7; }.resume-layout-new .job-meta { color: var(--violet); }
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head p { max-width: 430px; color: var(--muted); margin-bottom: 0; }
.profile-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.profile-strip > div { background: var(--surface); padding: 25px; }
.profile-strip strong { display: block; font-size: 1.35rem; margin-bottom: 5px; }
.profile-strip span { color: var(--muted); font-size: .9rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.card-accent { border-top: 4px solid var(--lime); }
.card-accent:nth-child(2) { border-top-color: var(--violet); }
.card-accent:nth-child(3) { border-top-color: var(--teal); }
.card-accent:nth-child(2) h3 { color: var(--violet); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { padding: 5px 9px; background: #edf1e8; color: var(--teal); border-radius: 4px; font-size: .74rem; font-weight: 800; }
.callout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 45px; padding: 48px; background: rgba(22, 56, 43, .94); border: 1px solid var(--line); color: var(--ink); }
.callout h2 { color: var(--lime); }
.callout p { color: #cbd4ca; font-size: 1.08rem; margin-bottom: 0; }
.page-intro { padding: 92px 0 58px; border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(3rem, 6vw, 5.4rem); margin-bottom: 18px; }
.page-intro p { max-width: 650px; color: var(--muted); font-size: 1.12rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card { min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.project-card:hover { border-color: var(--violet); }
.project-card h2 { font-size: 2rem; margin: 22px 0 12px; }
.project-card p { color: var(--muted); max-width: 520px; }
.project-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-number { color: var(--violet); font-size: 1.5rem; }
.blog-list { max-width: 800px; }
.blog-card { padding: 30px 0; border-bottom: 1px solid var(--line); }
.blog-card:first-child { padding-top: 0; }
.blog-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--teal); }
.blog-card p { max-width: 680px; color: var(--muted); }
.blog-link { color: var(--violet); font-size: .88rem; font-weight: 800; text-decoration: none; }
.resume-header { padding: 82px 0 55px; border-bottom: 1px solid var(--line); }
.resume-header h1 { font-size: clamp(3.2rem, 7vw, 6rem); margin-bottom: 4px; }
.resume-title { margin: 0; color: #fffdf7; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 1.1rem; }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 25px; color: var(--muted); font-size: .9rem; }
.contact-line a { color: var(--violet); font-weight: 700; }
.contact-line span { color: var(--violet); }
.resume-layout { display: grid; grid-template-columns: 1.5fr .7fr; gap: 70px; padding: 68px 0; }
.resume-section { margin-bottom: 58px; }
.resume-section h2 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 26px; }
.job { position: relative; padding: 0 0 32px 25px; border-left: 2px solid var(--line); }
.job::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.job h3 { margin-bottom: 5px; font-size: 1.22rem; }
.job-meta { color: var(--muted); font-size: .87rem; margin-bottom: 14px; }
.job ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .91rem; }
.job li + li { margin-top: 7px; }
.side-panel { border-top: 3px solid var(--lime); padding-top: 20px; margin-bottom: 40px; }
.side-panel h2 { margin-bottom: 16px; }
.side-panel p, .side-panel li { color: var(--muted); font-size: .92rem; }
.side-panel ul { margin: 0; padding-left: 18px; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.reveal { animation: rise .7s ease both; }
.delay { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes forest-drift { from { background-position: 48% 50%; } to { background-position: 54% 50%; } }
@media (max-width: 760px) {
    .container { width: min(100% - 28px, 620px); }
    .nav { min-height: 68px; }
    .menu-button { display: block; }
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 10px 14px 15px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px; }
    .hero { padding: 72px 0 78px; }
    .hero h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
    .hero-grid, .resume-layout { grid-template-columns: 1fr; gap: 34px; }
    .hero-note { align-self: auto; justify-self: start; }
    .home-hero { padding: 72px 0 78px; }.home-hero-grid, .signal-section .container, .home-close-grid { grid-template-columns: 1fr; gap: 38px; }.home-copy h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }.identity-panel { justify-self: start; }.signal-intro { padding: 55px 0 0; }.signal-list { grid-template-columns: 1fr; }.signal-list > div { min-height: 0; border-left: 0; border-top: 1px solid var(--line); padding: 19px 0; }.home-close { padding: 70px 0 80px; }
    .section { padding: 64px 0; }
    .section-head, .footer-inner { display: block; }
    .section-head p { margin-top: 12px; }
    .profile-strip, .card-grid, .project-grid { grid-template-columns: 1fr; }
    .callout { grid-template-columns: 1fr; padding: 30px; gap: 18px; }
    .page-intro, .resume-header, .resume-intro { padding: 65px 0 42px; }
    .resume-layout { padding: 48px 0; }
    .work-section { padding: 55px 0 75px; }.work-grid { grid-template-columns: 1fr; }.resume-layout-new { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 75px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.page-intro { padding: 98px 0 65px; background: linear-gradient(115deg, rgba(10, 31, 26, .9), rgba(15, 63, 49, .54)), url("../images/forest.jpg") center / cover; }.page-intro h1 { color: #fffdf7; }.page-intro p:not(.eyebrow) { color: #d7ded3; }
.project-card { background: rgba(23, 42, 34, .9); border-color: var(--line); }.project-card h2 { color: #fffdf7; }.project-card p { color: var(--muted); }.project-card:hover { border-color: var(--violet); }
.blog-card { background: rgba(23, 42, 34, .82); border-color: var(--line); }.blog-card h2 { color: #fffdf7; }.blog-card p { color: var(--muted); }
.resume-header { background: linear-gradient(115deg, rgba(10, 31, 26, .9), rgba(15, 63, 49, .54)), url("../images/forest.jpg") center / cover; }.resume-header h1 { color: #fffdf7; }.resume-section h2 { color: var(--lime); }.job h3 { color: #fffdf7; }.job-meta { color: var(--violet); }.side-panel { border-color: var(--lime); }
@media (max-width: 760px) { .page-intro { padding: 65px 0 42px; }.resume-header { padding: 65px 0 42px; } }
