@font-face {
  font-family: 'Maple Mono';
  src: url('assets/fonts/maple-mono/MapleMono-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: 'Maple Mono';
  src: url('assets/fonts/maple-mono/MapleMono-Italic-Variable.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --bg: #030304;
  --text: #eeeef2;
  --muted: #92919e;
  --line: #202026;
  --accent: #c5b8f3;
  --sans: 'Maple Mono', monospace;
  --display: 'Maple Mono', monospace;
  --mono: 'Maple Mono', monospace;
  color-scheme: dark;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 42px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { background: #c5b8f3; color: #08070c; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 1px solid var(--accent); outline-offset: 7px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
.wrap { width: min(1080px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -70px; background: #fff; color: #000; padding: 10px 20px; }
.skip-link:focus { top: 15px; }
.header { height: 100px; position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; }
.header nav { display: flex; gap: 29px; align-items: center; }
.header nav a { font: 10px var(--mono); color: #a7a6b1; transition: color .2s; }
.header nav a:hover { color: #fff; }
.header nav .nav-contact { color: #e1dfeb; display: flex; align-items: center; gap: 18px; padding: 9px 15px; border: 1px solid #36353e; border-radius: 4px; }
.nav-contact span { color: var(--accent); font-size: 16px; }
.hero { position: relative; min-height: 720px; height: min(790px, calc(100svh - 100px)); isolation: isolate; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; }
.hero-content { position: relative; z-index: 2; padding-top: 138px; text-align: center; }
.hero-intro { position: relative; isolation: isolate; display: flow-root; }
.eyebrow { font: 9px/1.8 var(--mono); letter-spacing: 1.8px; text-transform: uppercase; color: #a9a6b7; }
.eyebrow > span { color: #625c76; padding: 0 9px; }
h1 { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 40px); margin-top: 28px; line-height: 1; }
.block-word { display: block; width: auto; height: clamp(50px, 7.2vw, 88px); max-width: 100%; filter: drop-shadow(0 0 16px #d9cff50b); }

.hero-description { color: #bab5c8; font-size: 14px; line-height: 1.9; margin: 25px auto 0; text-shadow: 0 2px 9px #030304; }
.hero .eyebrow { font-style: italic; font-weight: 500; color: #c1b8d1; text-shadow: 0 1px 6px #030304; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; gap: 32px; align-items: center; justify-content: center; border-radius: 4px; padding: 11px 19px; font: 10px/1.8 var(--mono); letter-spacing: .3px; transition: background .25s, border-color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); }
.button > span { font-size: 18px; line-height: 1; }
.button-outline { border: 1px solid #45414f; color: #d8d3e2; background: #0b08124d; backdrop-filter: blur(6px); }
.button-outline:hover { border-color: #8b7ca8; background: #1f172c; }
.cosmos { position: absolute; inset: -100px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.star-field { position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent), radial-gradient(1px 1px at 83% 28%, #fff6 50%, transparent), radial-gradient(1px 1px at 18% 64%, #cbb8ffb0 50%, transparent), radial-gradient(1px 1px at 74% 75%, #d7d1ff88 50%, transparent), radial-gradient(1px 1px at 91% 56%, #fff6 50%, transparent), radial-gradient(1px 1px at 31% 23%, #fff6 50%, transparent), radial-gradient(1px 1px at 61% 15%, #fff5 50%, transparent), radial-gradient(1px 1px at 7% 85%, #a7a1c788 50%, transparent), radial-gradient(1px 1px at 65% 85%, #fff6 50%, transparent), radial-gradient(1px 1px at 46% 57%, #fff6 50%, transparent); }
.aura { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .3; }
.aura-violet { width: 620px; height: 300px; left: calc(50% - 170px); top: 390px; background: radial-gradient(ellipse, #7853b866, #34204d55 45%, transparent 70%); animation: breathe 12s ease-in-out infinite alternate; }
.aura-blue { width: 480px; height: 280px; left: calc(50% - 530px); top: 290px; background: radial-gradient(ellipse, #38678640, #101e3620 45%, transparent 70%); }
.black-hole { position: absolute; z-index: -1; width: min(980px, 175vw); aspect-ratio: 40 / 27; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.black-hole img { display: block; width: 100%; height: 100%; opacity: .3; animation: black-hole-breathe 18s ease-in-out infinite alternate; }
.cosmos-fade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 1%, transparent 22%, transparent 67%, var(--bg) 99%); }
.scroll-link { position: absolute; bottom: 49px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font: 8px var(--mono); letter-spacing: 1px; color: #8d879b; }
.scroll-link svg { width: 14px; height: 20px; color: #bcb1d0; animation: float 3s ease-in-out infinite; }
.hero-foot { position: absolute; bottom: 26px; display: flex; justify-content: space-between; font: 9px var(--mono); color: #7e798b; }
.hero-foot > div { display: flex; gap: 23px; color: #b0a9bf; }
.hero-foot a:hover { color: #fff; }
.hero-foot a span { margin-left: 5px; color: #8c7da8; }
.section { padding-top: 99px; }
.section-heading { display: flex; gap: 18px; align-items: center; margin-bottom: 31px; }
.section-number { font: 9px var(--mono); color: #62586f; }
h2 { font: 500 24px/1.6 var(--display); letter-spacing: -.7px; }
.heading-line { height: 1px; background: linear-gradient(90deg, #29252f, #141218); flex: 1; margin-left: 14px; }
.project { border: 1px solid #2c2735; border-radius: 9px; display: grid; grid-template-columns: 1fr 1.05fr; background: linear-gradient(130deg, #0d0b12, #08070a); overflow: hidden; }
.project-image { min-height: 345px; align-self: stretch; position: relative; display: grid; align-content: center; overflow: hidden; border-right: 1px solid #25202c; background: #08070c; }
.project-image svg { width: 100%; position: relative; z-index: 1; }
.project-image-aura { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, #7b54b01a, transparent 65%); }
.image-caption { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; justify-content: space-between; color: #82758f; font: 8px var(--mono); }
.project-copy { padding: 35px 33px 26px; }
.project-label { font-size: 8px; letter-spacing: .9px; color: #aba0c0; }
.project-label > span { padding: 0 5px; }
h3 { font-weight: 450; font-size: 20px; line-height: 1.5; letter-spacing: -.4px; }
.project-copy h3 { margin-top: 17px; font-size: 25px; line-height: 1.35; letter-spacing: -.6px; color: #efebf4; }
.project-copy > p:not(.eyebrow) { margin-top: 16px; color: #9f97ab; font-size: 13px; line-height: 1.85; max-width: 390px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 20px; }
.tags > span { font: 8px/1.8 var(--mono); color: #aca0be; border: 1px solid #32293d; border-radius: 3px; padding: 3px 7px; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 94px; }
.about-copy > p { font-size: 14px; color: #aaa6b3; line-height: 1.9; }
.about-copy > p + p { margin-top: 17px; color: #8d8798; }
.small-label { font: 8px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: #80758f; }
.skills { margin-top: 26px; }
.skills p { font-size: 11px; line-height: 2.1; color: #a69bb7; margin-top: 7px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 180px 1fr 130px; gap: 20px; border-top: 1px solid #25212a; padding: 25px 0; }
.timeline-item:last-child { border-bottom: 1px solid #25212a; }
.timeline-item::before { content: ''; position: absolute; left: 2px; top: 41px; bottom: -38px; width: 1px; background: linear-gradient(#70598466, #46334f88); pointer-events: none; }
.timeline-item:last-child::before { display: none; }
.timeline-date { position: relative; align-self: start; padding: 6px 0 0 20px; font: 9px/1.7 var(--mono); color: #877b95; }
.timeline-date::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: #ac8bc7; box-shadow: 0 0 8px #b395ed30; }
.timeline-item h3 { font-size: 17px; color: #d9d1e2; }
.role { font-size: 11px; color: #9c8ea9; margin-top: 3px; }
.timeline-description { color: #8f859b; font-size: 12px; max-width: 620px; line-height: 1.9; margin-top: 12px; }
.timeline-location { color: #92849f; font: 9px var(--mono); white-space: nowrap; text-align: right; padding-top: 8px; }
.education { align-self: start; padding: 23px 24px 7px; border: 1px solid #302638; border-radius: 8px; background: linear-gradient(130deg, #17101f, #0c0a10); }
.education .education-label { font: 9px var(--mono); text-transform: uppercase; letter-spacing: 1.5px; color: #c5b6d8; margin: 0 0 18px; }
.education .timeline-item { grid-template-columns: 60px 1fr; gap: 16px; padding: 20px 0; border-color: #302638; }
.education .timeline-item::before { top: 36px; bottom: -33px; }
.education .timeline-date { font-size: 10px; color: #b8a6cd; }
.education .timeline-item h3 { font-size: 17px; font-weight: 500; color: #e7dfef; }
.education .role { font-size: 12px; color: #b9acc8; margin-top: 6px; }
.merit { display: inline-block; font: 8px var(--mono); color: #dbcee9; margin-left: 5px; border: 1px solid #4b3c5c; background: #281c35; border-radius: 3px; padding: 3px 6px; text-transform: uppercase; vertical-align: middle; }
.mentoring { color: #94869e; font-size: 10px; margin-top: 23px; }
.mentoring > span:first-child { margin-right: 10px; color: #776386; }
.mentoring > span:nth-child(2) { color: #c6b7d1; }
.mentoring-date { color: #74647f; margin-left: 15px; font: 8px var(--mono); }
.contact { padding-top: 113px; padding-bottom: 93px; position: relative; text-align: center; isolation: isolate; overflow: hidden; }
.contact-glow { position: absolute; left: 50%; top: 40px; width: 500px; height: 400px; transform: translateX(-50%); z-index: -1; background: radial-gradient(ellipse, #70509712, transparent 65%); pointer-events: none; }
.contact .eyebrow { color: #85758f; font-size: 8px; }
.contact h2 { font-size: 43px; letter-spacing: -1px; margin-top: 17px; color: #e7dfed; }
.email { display: inline-flex; align-items: center; gap: 19px; font-size: 16px; color: #b2a1bf; margin-top: 14px; border-bottom: 1px solid #46354f; padding-bottom: 5px; transition: color .2s; }
.email:hover { color: #eee3f9; }
.email > span { color: #c2a9d4; font-size: 21px; }
.contact-links { display: flex; justify-content: center; gap: 26px; margin-top: 25px; font: 9px var(--mono); color: #8b769c; }
.contact-links a:hover { color: #ddc7ed; }
.footer { display: flex; justify-content: space-between; border-top: 1px solid #231d29; padding-block: 23px; color: #75657f; font: 8px var(--mono); }
.footer a { color: #9d88ab; }
.footer a > span { margin-left: 13px; }
.section-rail {
  --rail-progress: 0;
  position: fixed;
  top: 50%;
  right: 25px;
  z-index: 20;
  width: 128px;
  transform: translateY(-50%);
  animation: rail-appear .35s both;
}
.section-rail[hidden] { display: none; }
.section-rail ol { margin: 0; padding: 0; list-style: none; }
.section-rail a {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  position: relative;
  border-radius: 4px;
}
.rail-track {
  position: absolute;
  top: 22px;
  bottom: 22px;
  right: 18.5px;
  width: 1px;
  background: #302736;
  overflow: hidden;
  pointer-events: none;
}
.rail-progress { display: block; height: 100%; background: linear-gradient(#695678, #c5b8f3); transform: scaleY(var(--rail-progress)); transform-origin: top; }
.rail-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; border: 1px solid #736181; background: #100c15; transition: background .2s, box-shadow .2s, transform .2s; }
.rail-label { font: 9px var(--mono); color: #a28aad; white-space: nowrap; opacity: 0; transform: translateX(4px); transition: opacity .2s, transform .2s; padding: 4px 6px; background: #030304e6; border-radius: 3px; }
.section-rail a.is-past .rail-dot { background: #79618c; border-color: #79618c; }
.section-rail a[aria-current] .rail-dot { background: #d2c1ee; border-color: #d2c1ee; transform: scale(1.4); box-shadow: 0 0 11px #b395ed70; }
.section-rail a[aria-current] .rail-label, .section-rail a:hover .rail-label, .section-rail a:focus-visible .rail-label { opacity: 1; transform: none; }
.section-rail a[aria-current] .rail-label { color: #cbb6df; }
.section-rail a:focus-visible { outline-offset: -3px; }
main section[tabindex='-1']:focus { outline: none; }
@keyframes rail-appear { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1200px) {
  .section-rail { right: 5px; }
  .section-rail a[aria-current] .rail-label { opacity: 0; }
  .section-rail a:hover .rail-label, .section-rail a:focus-visible .rail-label { opacity: 1; }
}
@media (max-width: 700px) {
  .section.wrap, .footer.wrap { width: calc(100% - 72px); margin-left: 22px; margin-right: 50px; }
  .section-rail { right: 0; width: 44px; }
  .section-rail a { width: 44px; padding-right: 16px; }
  .rail-label { position: absolute; right: 36px; padding: 6px 9px; font-size: 8px; pointer-events: none; }
}
@keyframes breathe { from { transform: scale(.95); opacity: .26; } to { transform: scale(1.12); opacity: .42; } }
@keyframes black-hole-breathe { from { transform: scale(.985); } to { transform: scale(1.015); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
.enter { animation: enter 1s both; }
.hero h1 { animation-delay: .1s; }
.hero-description { animation-delay: .2s; }
.hero-actions { animation-delay: .3s; }
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; }
.js-ready .reveal.visible { opacity: 1; transform: none; }
@media (min-width: 1600px) { .hero-content { padding-top: 160px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .hero { min-height: 650px; }
  .hero-content { padding-top: 135px; }
  .project-copy { padding: 29px 26px 23px; }
  .project-copy h3 { font-size: 22px; }
  .project-image { min-height: 340px; }
  .project-label { font-size: 7px; letter-spacing: .5px; }
  .about-grid { gap: 45px; }
  .timeline-item { grid-template-columns: 150px 1fr 105px; gap: 17px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 44px); }
  .header { height: 82px; }
  .header nav { gap: 20px; }
  .header nav a { font-size: 9px; }
  .header nav .nav-contact { padding: 0; border: 0; gap: 6px; }
  .hero { height: 730px; min-height: 0; }
  .hero-content { padding-top: 132px; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; }
  h1 { flex-direction: column; gap: 16px; margin-top: 22px; }
  .block-word { height: clamp(36px, 10vw, 58px); }
  .hero-description { font-size: 12px; line-height: 1.95; margin-top: 21px; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .button { font-size: 9px; gap: 19px; padding: 10px 14px; }
  .button > span { font-size: 17px; }
  .aura-violet { left: 5%; top: 340px; width: 450px; }
  .aura-blue { left: -170px; top: 340px; }
  .scroll-link { bottom: 72px; font-size: 7px; }
  .hero-foot { bottom: 24px; font-size: 7px; }
  .hero-foot > div { gap: 15px; }
  .hero-foot a span { margin-left: 3px; }
  .section { padding-top: 71px; }
  .section-heading { gap: 12px; margin-bottom: 24px; }
  .section-number { font-size: 8px; }
  h2 { font-size: 20px; letter-spacing: -.6px; }
  .heading-line { margin-left: 6px; }
  .project { grid-template-columns: 1fr; }
  .project-image { min-height: 0; height: 260px; border-right: 0; border-bottom: 1px solid #25202c; }
  .project-image svg { height: 260px; }
  .image-caption { font-size: 7px; left: 20px; right: 20px; bottom: 16px; }
  .project-copy { padding: 27px 24px 23px; }
  .project-label { font-size: 7px; letter-spacing: .6px; }
  .project-copy h3 { font-size: 24px; }
  .project-copy > p:not(.eyebrow) { font-size: 13px; }
  .tags > span { font-size: 7px; padding: 3px 6px; }
  .research-details { margin-top: 22px; }
  summary { font-size: 11px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-copy > p { font-size: 13px; }
  .skills { margin-top: 23px; }
  .skills p { font-size: 10px; line-height: 2.1; }
  .education { padding-inline: 18px; }
  .timeline-item { grid-template-columns: 1fr auto; gap: 8px 10px; padding: 23px 0; }
  .timeline-date { grid-column: 1; font-size: 8px; padding: 0 0 0 18px; }
  .timeline-date::before { top: 4px; }
  .timeline-item::before { top: 33px; bottom: -30px; }
  .timeline-item > div { grid-column: 1; grid-row: 2; padding-left: 18px; }
  .timeline-location { grid-column: 2; grid-row: 1; font-size: 8px; padding: 0; }
  .timeline-item h3 { font-size: 16px; }
  .education .timeline-item h3 { font-size: 15.5px; }
  .education .role { font-size: 11.5px; }
  .education .timeline-item > div { grid-column: 2; grid-row: 1; padding-left: 0; }
  .education .timeline-date { padding: 6px 0 0 20px; }
  .education .timeline-date::before { top: 10px; }
  .timeline-description { font-size: 12px; margin-top: 11px; }
  .mentoring { font-size: 10px; line-height: 1.9; }
  .mentoring-date { display: block; margin: 6px 0 0 21px; font-size: 7px; }
  .contact { padding-top: 80px; padding-bottom: 64px; }
  .contact h2 { font-size: 31px; margin-top: 15px; }
  .contact .eyebrow { font-size: 7px; }
  .email { font-size: 13px; gap: 13px; margin-top: 17px; }
  .contact-links { font-size: 8px; gap: 25px; margin-top: 23px; }
  .footer { padding-block: 20px; font-size: 7px; }
}
@media (max-width: 380px) {
  .header nav { gap: 14px; }
  .header nav a { font-size: 8px; }
  .eyebrow { font-size: 7px; }
  .hero-foot { font-size: 6px; }
  .project-copy h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
