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

:root{--paper:#f4f2eb;--ink:#252a24;--muted:#64685f;--green:#344b35;--lime:#d1ed88;--line:#d5d7cb}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #739c38;outline-offset:6px}::selection{background:var(--lime);color:var(--ink)}.wrap{width:min(1160px,calc(100% - 96px));margin-inline:auto}.header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{font-family:Manrope,sans-serif;font-size:30px;font-weight:800;letter-spacing:-2px}.wordmark span,h2>span{color:#6e864d}nav{display:flex;gap:38px;font-size:14px}nav a:hover{text-decoration:underline;text-underline-offset:6px}.skip-link{position:fixed;top:-80px;left:16px;background:var(--lime);padding:14px;z-index:10}.skip-link:focus{top:16px}.hero{padding-top:78px;display:grid;grid-template-columns:1.15fr 1fr;gap:28px 64px}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:600;letter-spacing:2px;margin:0 0 28px}.dot{display:inline-block;width:7px;height:7px;background:#728a4d;border-radius:50%;margin-right:10px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(70px,8.5vw,112px);font-weight:500;line-height:1.02;letter-spacing:-7px;margin-bottom:26px}h1>span{color:#637958}.intro{font-size:20px;line-height:1.6;color:var(--muted);margin-bottom:30px}.button{display:inline-flex;align-items:center;gap:46px;padding:17px 23px;border-radius:4px;background:var(--green);color:white;font-size:14px}.button:hover{background:#496347}.button span{font-size:20px}.hero-art{height:450px;align-self:center;background:#e3e6d8;position:relative;overflow:hidden;border-radius:24px}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#344b3510 1px,transparent 1px),linear-gradient(90deg,#344b3510 1px,transparent 1px);background-size:38px 38px}.orbit{position:absolute;width:280px;height:280px;border:1px solid #687c5570;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.orbit-two{width:350px;height:350px}.art-star{position:absolute;inset:0;display:grid;place-items:center;font-size:310px;color:var(--green);line-height:1;transform:rotate(-15deg);font-family:Georgia,serif}.art-label,.art-number{position:absolute;font-size:9px;letter-spacing:2px;bottom:24px}.art-label{left:24px}.art-number{right:24px}.hero-foot{grid-column:1/-1;display:flex;justify-content:space-between;margin-top:32px;padding:25px 0;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.section{padding-block:92px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:38px}.section .eyebrow{margin-bottom:19px}h2{font-size:clamp(30px,3.3vw,43px);line-height:1.2;letter-spacing:-1.7px;font-weight:500;margin-bottom:0}.section-note{font-size:12px;color:var(--muted);margin-bottom:5px}.projects{display:grid;grid-template-columns:1fr 1fr;gap:32px}.project-art{height:310px;position:relative;overflow:hidden;border-radius:5px;display:grid;place-items:center}.art-one{background:#dee3d5}.window{width:64%;height:68%;background:var(--paper);border:1px solid #c6cdbb;border-radius:8px;transform:rotate(-7deg);padding:16px;box-shadow:10px 20px 25px #344b3515}.window-dots{font-size:8px;letter-spacing:3px;color:#839274;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:22px}.window-line{height:9px;width:65%;background:#a5b297;margin-bottom:10px;border-radius:2px}.window-line.short{width:44%}.window-block{margin-top:20px;height:55px;background:#d0dabf;border-radius:3px}.project-index{position:absolute;bottom:18px;left:20px;font-size:11px;letter-spacing:1px;color:#59614f}.art-two{background:#e4dfd5}.tile{position:absolute;height:160px;width:160px;border:1px solid #33493450;border-radius:28px;transform:rotate(-25deg)}.tile-one{background:#bcc5aa;translate:-65px 20px}.tile-two{background:#768466;translate:0 0}.tile-three{background:#354c38;translate:65px -20px}.project-meta{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:22px 0 13px}h3{font-size:23px;font-weight:500;letter-spacing:-.5px;margin-bottom:10px}.project>p{color:var(--muted);font-size:14px;line-height:1.7;max-width:430px;margin-bottom:0}.about{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:64px}.large-copy{font-size:23px;line-height:1.5;letter-spacing:-.4px;margin-bottom:20px}.placeholder{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:0}.background{border-top:1px solid var(--line);margin-top:30px;padding-top:24px}.background h3{font-size:16px}.contact{background:var(--green);color:var(--paper)}.contact-inner{padding-block:65px;position:relative}.contact .eyebrow{color:var(--lime)}.contact h2{font-size:clamp(35px,4.8vw,62px);max-width:800px;margin-bottom:25px;letter-spacing:-2px}.contact h2 span{color:var(--lime)}.contact p:not(.eyebrow){margin-bottom:10px}.contact-note{font-size:12px;color:#c5cebf}.back-top{position:absolute;right:0;bottom:65px;font-size:13px;display:flex;gap:25px;align-items:center}.back-top span{border:1px solid #91a083;border-radius:50%;width:40px;height:40px;display:grid;place-items:center}.footer{padding-block:27px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
@media(min-width:1450px){.hero{padding-top:95px}}
@media(max-width:850px){.wrap{width:calc(100% - 48px)}.hero{gap:24px}.hero-art{height:360px}.art-star{font-size:245px}.orbit{width:220px;height:220px}.orbit-two{width:290px;height:290px}.art-label{font-size:7px;left:16px}.art-number{display:none}.section-heading{align-items:start;flex-direction:column;gap:15px}.project-art{height:255px}.about{gap:30px}.back-top{position:static;margin-top:30px;width:fit-content}}
@media(max-width:580px){.wrap{width:calc(100% - 40px)}.header{height:85px}nav{gap:23px;font-size:12px}.hero{padding-top:45px;grid-template-columns:1fr}.eyebrow{font-size:10px}h1{font-size:82px;letter-spacing:-5px}.intro{font-size:18px}.hero-art{height:310px;margin-top:18px;border-radius:20px}.art-star{font-size:250px}.hero-foot{margin-top:5px;font-size:9px}.section{padding-block:58px}.projects{grid-template-columns:1fr;gap:38px}.project-art{height:280px}.about{grid-template-columns:1fr;gap:30px}.large-copy{font-size:21px}.contact-inner{padding-block:50px}.contact h2{letter-spacing:-1.5px}.footer{font-size:10px}.art-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Research portfolio content */
.hero-description{font-size:15px;line-height:1.75;color:var(--muted);max-width:420px;margin-bottom:25px}.hero .intro{margin-bottom:16px}.profile-links{display:flex;flex-wrap:wrap;gap:18px 24px;font-size:12px;margin-top:24px}
.profile-links a{display:inline-flex;align-items:center;gap:7px}
.profile-icon{width:16px;height:16px;object-fit:contain;flex:0 0 auto}.profile-links a:hover,.text-link:hover,.project h3 a:hover,.publication-list a:hover,.project-directory a:hover strong{text-decoration:underline;text-underline-offset:4px}.network-art{position:absolute;inset:0;width:100%;height:100%;padding:10px 0 24px}.text-link{font-size:13px;white-space:nowrap}.project-link{display:inline-block;margin-top:15px}.workflow-art{display:flex;flex-direction:column;justify-content:center;gap:9px}.workflow-art>span:not(.project-index){background:#f4f2eb;border:1px solid #b5bfa5;padding:12px 18px;min-width:65%;text-align:center;font-size:10px;letter-spacing:1.3px;border-radius:4px}.workflow-art b{font-weight:400;color:var(--green)}.genome-art{display:flex;flex-direction:column;justify-content:center;gap:24px;padding:40px}.genome-art>div{display:flex;gap:7px;width:100%;align-items:center}.genome-art i{height:28px;flex:1;background:#637958;clip-path:polygon(0 0,75% 0,100% 50%,75% 100%,0 100%)}.genome-art i:nth-child(2n){background:#344b35;flex:1.5}.genome-art i:nth-child(3n){background:#a5b297}.compact-project{border-top:1px solid var(--line);padding-top:6px}.more-projects{border-block:1px solid var(--line);margin-top:40px}.more-projects summary{padding:22px 0;cursor:pointer;font-size:14px;list-style:none;display:flex;justify-content:space-between;gap:20px}.more-projects summary::-webkit-details-marker{display:none}.more-projects[open] summary>span{transform:rotate(45deg)}summary:focus-visible{outline:3px solid #739c38;outline-offset:4px}.project-directory{display:grid;grid-template-columns:1fr 1fr;gap:23px;padding-bottom:28px}.project-directory a{display:flex;flex-direction:column;gap:7px;font-size:14px}.project-directory span{font-size:12px;color:var(--muted)}.publications{border-top:1px solid var(--line)}.publication-list{list-style:none;padding:0;margin:0}.publication-list li{display:grid;grid-template-columns:90px 1fr;gap:25px;padding:28px 0;border-top:1px solid var(--line)}.publication-year{font-size:15px;color:var(--muted);padding-top:3px}.publication-list h3{font-size:20px;line-height:1.5;max-width:900px}.publication-list p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:0}.publication-list .publication-venue{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;margin-bottom:9px}.body-copy{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:0}.credential{margin:24px 0 7px;font-size:15px;font-weight:600}.skills{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px;max-width:420px}.skills span{border:1px solid var(--line);border-radius:3px;padding:8px 10px;font-size:11px}.experience{padding-top:0}.experience-row{display:grid;grid-template-columns:200px 1fr;gap:30px;padding:26px 0;border-top:1px solid var(--line)}.experience-date{font-size:12px;color:var(--muted);padding-top:5px}.experience-row h3{font-size:19px;line-height:1.4}.email-link{display:inline-block;margin-top:14px;font-size:clamp(18px,3vw,26px);border-bottom:1px solid #91a083;padding-bottom:6px}.contact .profile-links{color:#dce6d3}.contact p:not(.eyebrow){line-height:1.7}.hero-copy{min-width:0}
@media(max-width:850px){nav{gap:22px}.experience-row{grid-template-columns:145px 1fr;gap:22px}.hero-art{height:390px}.publication-list li{grid-template-columns:60px 1fr}}
@media(max-width:580px){.header{height:auto;min-height:100px;align-items:flex-start;padding-block:22px;gap:25px}.wordmark{font-size:27px}nav{flex-wrap:wrap;justify-content:flex-end;gap:14px 18px;max-width:240px;padding-top:4px}.hero-art{height:310px}.hero-description{font-size:14px}.project-directory{grid-template-columns:1fr}.publication-list li{grid-template-columns:1fr;gap:10px}.publication-list h3{font-size:18px}.experience-row{grid-template-columns:1fr;gap:4px}.experience-date{margin-bottom:8px}.contact .profile-links{gap:20px}.hero-foot{font-size:10px}.footer{gap:20px}.genome-art{padding:30px}.project h3{overflow-wrap:anywhere}}

/* Compact contact footer */
.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:42px}
.contact h2{font-size:clamp(28px,3.3vw,40px);letter-spacing:-1px;margin-bottom:0}
.contact .email-link{margin-top:0;font-size:clamp(16px,2.2vw,24px);overflow-wrap:anywhere}
@media(max-width:580px){.contact-inner{align-items:flex-start;flex-direction:column;gap:18px;padding-block:32px}}

/* Stylized amino-acid sequence with a scattered name hint */
.hero-art.sequence-art{background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center;height:auto;min-height:350px}
.sequence-text{width:100%;font-family:monospace;font-size:clamp(15px,1.7vw,23px);line-height:2.15;font-weight:500;user-select:none}
.sequence-text>div{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));text-align:center}
.protein-sequence .amino-acid{color:#939e87}
.protein-sequence>div:nth-child(2n) .amino-acid{color:#7c8b70}
.protein-sequence .name-residue,.protein-sequence>div:nth-child(2n) .name-residue{color:var(--green);font-weight:700}

@media(max-width:580px){.hero-art.sequence-art{min-height:0;padding-block:20px}.sequence-text{font-size:clamp(14px,4vw,21px)}}

/* Project categories mirror the GitHub profile README. */
.project-categories{display:grid;grid-template-columns:1fr 1fr;gap:48px 44px}
.project-category{min-width:0;border-top:1px solid var(--line);padding-top:24px}
.category-heading{display:flex;gap:14px;align-items:center;margin-bottom:18px;min-height:64px}
.topic-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;color:#527151}
.topic-mark svg{display:block;width:42px;height:42px}
.category-heading h3{font-size:21px;line-height:1.4;margin:0;max-width:350px}
.category-projects{list-style:none;padding:0;margin:0}
.category-projects li+li{border-top:1px solid #d5d7cb80}
.category-projects a{display:flex;justify-content:space-between;gap:18px;padding:18px 10px;border-radius:4px}
.category-projects a:hover{background:#e3e6d8}
.category-projects h4{font-family:Manrope,sans-serif;font-size:15px;font-weight:600;margin:0 0 7px;overflow-wrap:anywhere}
.category-projects p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.project-arrow{font-size:19px;color:#637958}
.report-link{display:inline-block;margin-top:13px;color:var(--green);font-size:13px;font-weight:600;text-decoration:underline;text-decoration-color:#9eb292;text-underline-offset:4px}
.report-link:hover{text-decoration-color:var(--green)}
.contact-links{display:flex;flex-wrap:wrap;gap:14px}
.contact-links a{display:flex;align-items:center;gap:12px;border:1px solid #8c9b7e;border-radius:30px;padding:13px 20px;font-size:14px}
.contact-links a:hover{background:var(--lime);border-color:var(--lime);color:var(--green)}
.contact-links svg{width:19px;height:19px;flex-shrink:0}
.contact-links a>span:last-child{margin-left:12px}
.education-timeline{list-style:none;margin:18px 0 0;padding:0}
.education-timeline li{position:relative;padding-left:24px}
.education-timeline li+li{margin-top:23px}
.education-timeline li::before{content:"";position:absolute;left:0;top:3px;width:10px;height:10px;border:2px solid var(--green);border-radius:50%;background:var(--paper)}
.education-timeline li:not(:last-child)::after{content:"";position:absolute;left:6px;top:18px;bottom:-23px;width:1px;background:var(--line)}
.education-period{display:block;color:var(--green);font-size:11px;font-weight:600;letter-spacing:.08em}
.education-timeline .credential{margin:5px 0 3px}
@media(max-width:700px){.project-categories{grid-template-columns:1fr;gap:32px}.category-heading{min-height:0}.contact-inner{align-items:flex-start;flex-direction:column}.contact-links{gap:10px}.contact-links a{padding:12px 16px}}



/* Center the personal introduction, work button, and profile links. */
.hero{display:block;padding-top:54px}
.hero-introduction{max-width:720px;margin:0 auto;text-align:center}
.portrait-frame{width:240px;aspect-ratio:1;margin:0 auto 24px;overflow:hidden;border-radius:50%;background:var(--paper)}
.hero-portrait{display:block;width:100%;height:100%;object-fit:cover;transform:translate(-1px,15px) scale(1.28)}
.hero-introduction .eyebrow{margin:0 0 18px;font-size:10px;letter-spacing:1.8px}
.hero-introduction h1{display:flex;justify-content:center;gap:.24em;font-size:clamp(38px,4.5vw,54px);line-height:1.15;letter-spacing:-1.5px;margin:0 0 14px}
.hero-introduction h1 .given-name{color:var(--ink)}
.hero-introduction .intro{font-size:clamp(18px,2.2vw,23px);line-height:1.6;margin:0 auto 16px;max-width:660px}
.hero-introduction .hero-description{max-width:640px;margin:0 auto;font-size:16px;line-height:1.85}
.hero-actions{margin-top:24px;text-align:center}
.hero-actions .button{padding:12px 18px;gap:24px;font-size:13px;min-height:44px}
.hero-actions .button span{font-size:18px}
.hero-actions .profile-links{justify-content:center}
.hero .sequence-art{min-height:0;height:auto;margin:18px 0 0;padding:0}
.hero .sequence-text{display:grid;grid-template-columns:repeat(32,minmax(0,1fr));font-size:13px;line-height:1.9;text-align:center}
.hero .sequence-text>div{display:contents}
.hero .hero-foot{margin-top:10px;padding-top:0;border-bottom:0}
#about{padding-bottom:48px}
#work{padding-top:40px}
.identity-line{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.2}
.nationality-line{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-weight:600}
.cedar-icon{display:block;width:19px;height:19px;object-fit:contain;flex:0 0 auto;transform:translateY(-1px)}
@media(max-width:580px){
  .hero{padding-top:36px}
  .portrait-frame{width:200px;margin-bottom:20px}
  .hero-introduction .hero-description{font-size:14px;line-height:1.8}
  .hero-introduction .eyebrow{font-size:9px;letter-spacing:1.2px}
  .hero-actions{margin-top:20px}
  .hero-actions .profile-links{gap:16px 22px}
  .hero .sequence-art{margin-top:16px;padding-top:0}
  .hero .sequence-text{grid-template-columns:repeat(16,minmax(0,1fr));font-size:12px;line-height:1.65}
  #about{padding-bottom:32px}
  #work{padding-top:32px}
}
