:root {
  --bg: #070b16; --panel: #0e1524; --text: #f3f4f9;
  --muted: #b6bfd2; --line: #344158; --accent: #f5b994;
  --display: 'Space Grotesk', Arial, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
  --mono: 'Space Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg); }
:is(a, button, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: 0; transform: translateY(-150%); padding: 12px; background: var(--accent); color: var(--bg); z-index: 20; }
.skip:focus { transform: translateY(12px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 20; }
.header { position: absolute; inset: 0 0 auto; z-index: 5; }
.nav { min-height: 100px; display: flex; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff36; }
.brand { display: inline-flex; align-items: center; font: 700 38px/1 var(--display); letter-spacing: -2px; }
.brand > span:first-child { color: var(--accent); }
.brand .brand-name { margin-left: 18px; max-width: 92px; font: 11px/1.5 var(--mono); letter-spacing: 1.7px; }
nav { display: flex; gap: 28px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
a:hover { color: var(--accent); }
.resume-nav { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid #a1acc3; border-radius: 50px; padding: 10px 20px; font-size: 14px; background: #101c36; }
.hero { position: relative; isolation: isolate; min-height: 860px; min-height: max(860px, 100svh); overflow: hidden; background: #13264a; display: flex; flex-direction: column; }
.city-backdrop { position: absolute; inset: 0; z-index: -3; background: url('assets/skyline.jpg') center bottom/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(#050d20b8, #050d2066 55%, #070b16); }
.hero-content { text-align: center; padding-top: 166px; padding-bottom: 60px; }
.eyebrow { font: 12px/1.8 var(--mono); letter-spacing: 1.3px; color: var(--accent); margin: 0; }
.hero-kicker { color: #e5ebfb; margin-bottom: 22px; text-transform: uppercase; }
h1 { font: 500 clamp(68px, 7.7vw, 118px)/1 var(--display); letter-spacing: -6px; margin: 0; }
h1 > span { display: block; }
.surname { color: #e5eaff; }
.name-period { color: var(--accent); }
.hero-description { margin: 24px auto 26px; max-width: 620px; color: #e9edf8; font-size: 18px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 51px; padding: 13px 24px; border-radius: 50px; font-weight: 500; font-size: 14px; transition: transform .2s; }
.button:hover { transform: translateY(-3px); }
.light, .light:hover { background: #f2f2f7; color: #111724; }
.glass { background: #14213b; border: 1px solid #8999bb; color: #f3f4f9; }
.availability { display: inline-block; max-width: 620px; padding: 10px 16px; margin: 23px 0 0; border-radius: 8px; font: 11px/1.9 var(--mono); color: #e4eafb; background: #070b16e8; }
.hero-bottom { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: auto; padding-block: 20px 32px; }
.hero-location, .scroll-cue { font: 12px/1.8 var(--mono); color: #e0e6f3; }
.scroll-cue { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.scroll-cue > span { height: 34px; width: 20px; border: 1px solid #c0cadb; border-radius: 20px; position: relative; }
.scroll-cue > span::after { content: ''; position: absolute; width: 3px; height: 7px; background: var(--accent); border-radius: 3px; top: 7px; left: 7px; animation: scroll-dot 1.8s ease infinite; }
.motion-button { border: 1px solid #8999bb; background: #10192b; border-radius: 50px; font-size: 12px; min-height: 44px; padding: 9px 14px; cursor: pointer; }
.credential-strip { border-block: 1px solid var(--line); background: #0b101d; }
.credential-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 25px; font: 12px/1.8 var(--mono); color: var(--muted); }
.credential-inner > span:first-child { flex: 1 1 420px; }
.credential-inner b { display: block; font: 500 17px/1.6 var(--body); color: var(--text); }
.credential-inner i { color: var(--accent); font-style: normal; margin: 0 8px; }
.section { padding-top: 110px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; margin-bottom: 48px; }
.section-heading .eyebrow { padding-top: 9px; }
h2 { font: 500 clamp(36px, 4.3vw, 62px)/1.12 var(--display); letter-spacing: -2.5px; margin: 0; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin: 18px 0 0; max-width: 610px; }
h3 { font: 500 29px/1.25 var(--display); letter-spacing: -1px; margin: 0; }
h4 { margin: 0; font: 400 13px/1.7 var(--mono); letter-spacing: .4px; color: #efc9b1; }
p, h1, h2, h3, h4, li, a { overflow-wrap: break-word; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; align-items: start; }
.work-card { min-width: 0; border: 1px solid #3c4963; border-radius: 17px; overflow: hidden; background: linear-gradient(150deg, #121d32, #0d1422 65%); transition: border-color .2s, box-shadow .2s; }
.work-card:hover, .work-card:focus-within { border-color: #899dc3; box-shadow: 0 18px 60px #0003; }
.software-card { background: linear-gradient(150deg, #242039, #111424 65%); }
.rag-card { background: linear-gradient(150deg, #132934, #0e1824 65%); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 27px; }
.category, .project-number { font: 12px/1.7 var(--mono); color: #c1cde3; }
.card-visual { height: 220px; margin: 0 25px; border: 1px solid #435a72; border-radius: 9px; position: relative; overflow: hidden; }
.data-visual { background: linear-gradient(145deg, #192944, #102740); padding: 25px; display: flex; align-items: center; }
.data-visual > div:first-child { position: relative; z-index: 1; }
.data-visual strong { font: 500 88px/1 var(--display); letter-spacing: -7px; color: #c4d8ff; }
.data-visual strong > span { font-size: 45px; letter-spacing: -3px; }
.data-visual > div:first-child > span { display: block; max-width: 135px; font: 12px/1.6 var(--mono); margin-top: 7px; color: #dae6fa; }
.data-bars { height: 142px; width: 40%; display: flex; align-items: end; gap: 7px; position: absolute; bottom: 40px; right: 24px; opacity: .7; }
.data-bars i { height: var(--h); flex: 1; background: linear-gradient(#8db5f9, #3b6b9e25); border-radius: 3px 3px 0 0; }
.visual-note { position: absolute; bottom: 15px; left: 20px; right: 15px; font: 11px/1.6 var(--mono); color: #cfddf2; }
.prospector-visual { background: linear-gradient(145deg, #352c4e, #232842); border-color: #6c6088; }
.rag-visual { background: linear-gradient(145deg, #163841, #132936); border-color: #47757b; }
.search-concept { position: absolute; inset: 40px 24px auto; font: 500 clamp(24px, 2.5vw, 33px)/1.3 var(--display); letter-spacing: -.8px; }
.search-concept strong { font-weight: 500; color: #d7c0fb; }
.rag-visual .search-concept strong { color: #b5e5e2; }
.card-body { padding: 28px; }
.card-body > p { color: var(--muted); margin: 16px 0 22px; }
.card-body > .project-date { font: 12px/1.8 var(--mono); color: #c5cede; margin: 12px 0 18px; }
strong { color: #e8d5c8; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags span { font-size: 12px; color: #d0d9e9; border: 1px solid #4d5d77; border-radius: 5px; padding: 4px 10px; background: #070b1633; }
.card-actions { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 12px; font-size: 14px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span[aria-hidden] { color: var(--accent); font-size: 21px; }
details[open] summary > span[aria-hidden] { transform: rotate(45deg); }
details p { color: var(--muted); margin: 16px 0; }
details b { color: var(--text); font-weight: 500; }
.repo { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.card-body > .todo { border-left: 2px solid var(--accent); background: #070b1655; padding: 10px 14px; color: #ffd7bd; font-size: 14px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, #162135, #0e1523); margin-bottom: 60px; }
.impact-grid > div { padding: 30px; }
.impact-grid > div + div { border-left: 1px solid var(--line); }
.impact-label { display: block; min-height: 44px; font: 12px/1.8 var(--mono); color: #c1cde0; }
.impact-grid strong { display: block; margin: 16px 0; font: 500 clamp(26px, 2.6vw, 41px)/1.2 var(--display); letter-spacing: -1px; color: #f5d0b9; }
.impact-grid p { font-size: 14px; color: var(--muted); margin: 0; }
.experience-row { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; border-top: 1px solid var(--line); padding: 35px 0; }
.experience-row:last-child { border-bottom: 1px solid var(--line); }
.experience-date { font: 12px/1.8 var(--mono); color: #bec9df; margin: 5px 0 0; }
.role-heading { display: flex; gap: 20px; align-items: start; justify-content: space-between; }
.role-heading h3 { font-size: 27px; letter-spacing: -.7px; }
.role-heading p { font-size: 14px; color: #c4cee2; margin: 8px 0 0; }
.role-tag { flex-shrink: 0; font: 11px/1.8 var(--mono); color: var(--accent); border: 1px solid #9a7966; border-radius: 4px; padding: 5px 8px; }
.experience-content ul { padding-left: 20px; margin: 22px 0 0; color: var(--muted); }
.experience-content li { padding-left: 4px; margin-bottom: 12px; }
.experience-content li::marker { color: var(--accent); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
.about-copy { padding-top: 18px; }
.about-copy > p { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.about-copy > p:first-child { color: #e3e9f4; font-size: 22px; }
.about-copy .about-focus { font-size: 16px; color: #efcdb8; }
.social-links { display: flex; flex-wrap: wrap; gap: 16px 26px; margin-top: 28px; }
.social-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.about-profile { min-width: 0; }
.portrait { margin: 0; position: relative; overflow: hidden; border: 1px solid #55617a; border-radius: 16px; background: #111b2c; }
.portrait img { display: block; width: 100%; height: auto; }
.portrait figcaption { position: absolute; inset: auto 0 0; padding: 30px 20px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; background: linear-gradient(transparent, #070b16); font: 10px/1.7 var(--mono); color: #fff4ec; }
.education { margin-top: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(140deg, #1c2840, #0e1422); }
.education .eyebrow { color: #c6d6f1; font-size: 11px; }
.education h3 { font-size: 24px; margin: 16px 0 0; }
.education > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.edu-stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-block: 1px solid var(--line); padding: 18px 0; margin-top: 20px; }
.edu-stats strong { display: block; font: 500 38px/1.4 var(--display); color: var(--text); letter-spacing: -1px; }
.edu-stats strong > span { font-size: 15px; color: var(--muted); }
.edu-stats div > span { font: 11px/1.8 var(--mono); color: #c3d0e4; }
.toolkit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; border-top: 1px solid var(--line); margin-top: 65px; padding-top: 30px; }
.toolkit-title { grid-column: 1 / -1; font-size: 25px; }
.toolkit p { color: var(--muted); margin: 12px 0 0; }
.leadership { margin-top: 45px; border-top: 1px solid var(--line); padding-top: 30px; }
.leadership h3 { font-size: 25px; }
.leadership ul { padding-left: 20px; color: var(--muted); }
.leadership li { margin-block: 10px; }
.contact { position: relative; isolation: isolate; margin-top: 110px; overflow: hidden; text-align: center; padding: 100px 0 90px; border-top: 1px solid var(--line); background: #132748; }
.contact-sky { position: absolute; inset: 0; z-index: -2; background: url('assets/skyline.jpg') center 65%/cover no-repeat; opacity: .45; }
.contact::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#070b16e8, #070b16bf, #070b16); z-index: -1; }
.contact h2 { font-size: clamp(45px, 6vw, 80px); margin: 24px 0; }
.contact-content > p:not(.eyebrow) { font-size: 18px; color: #dce4f3; margin-bottom: 28px; }
.contact-email { display: flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; margin: 20px auto 0; font-size: 14px; color: #dce4f3; text-decoration: underline; text-underline-offset: 4px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 35px; font-size: 13px; color: var(--muted); }
.footer p span { margin-left: 12px; }
.footer > a { min-height: 44px; display: inline-flex; align-items: center; }
.not-found { min-height: 75svh; padding-block: 100px; max-width: 780px; }
.not-found h1 { font-size: clamp(48px, 8vw, 90px); letter-spacing: -3px; margin: 25px 0; }
.not-found p { color: var(--muted); }
@keyframes scroll-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(10px); opacity: 1; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition: none !important; }
html.motion-paused { scroll-behavior: auto; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 70px); }
  .brand .brand-name { display: none; }
  .about-grid { gap: 40px; }
  .impact-grid > div { padding: 24px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .nav { min-height: 115px; flex-wrap: wrap; gap: 0 15px; padding-block: 12px; }
  .brand { font-size: 31px; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 16px; }
  .resume-nav { margin-left: auto; font-size: 12px; padding: 8px 13px; }
  .hero { min-height: 850px; }
  .hero-content { padding-top: 168px; padding-bottom: 50px; }
  .hero-kicker { font-size: 11px; letter-spacing: .5px; }
  h1 { font-size: clamp(48px, 12.5vw, 87px); letter-spacing: -3px; line-height: 1.05; }
  .hero-description { font-size: 16px; }
  .hero-description br { display: none; }
  .hero-actions { gap: 10px; }
  .button { padding: 12px 18px; gap: 18px; font-size: 13px; }
  .availability { font-size: 10px; padding: 10px; }
  .hero-location { display: none; }
  .hero-bottom { gap: 12px; padding-bottom: 25px; }
  .scroll-cue { font-size: 10px; gap: 8px; }
  .motion-button { font-size: 11px; padding-inline: 10px; }
  .credential-inner { font-size: 11px; }
  .section { padding-top: 75px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading .eyebrow { margin-bottom: 19px; }
  h2 { font-size: clamp(32px, 8vw, 42px); letter-spacing: -1.5px; }
  .work-grid, .impact-grid, .toolkit { grid-template-columns: 1fr; }
  .card-top { padding: 20px 22px; }
  .category { font-size: 11px; }
  .card-visual { margin-inline: 18px; }
  .card-body { padding: 26px 22px; }
  h3 { font-size: 27px; }
  .data-visual strong { font-size: 78px; }
  .data-bars { right: 15px; width: 36%; }
  .visual-note { font-size: 10px; left: 16px; }
  .search-concept { inset: 40px 20px auto; font-size: 27px; }
  .impact-grid { margin-bottom: 35px; }
  .impact-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .impact-label { min-height: 0; }
  .impact-grid strong { font-size: 36px; margin: 12px 0; }
  .experience-row { display: block; padding-block: 30px; }
  .experience-date { margin: 0 0 20px; }
  .role-heading { flex-wrap: wrap; gap: 12px; }
  .role-heading h3 { font-size: 26px; }
  .about-grid { display: block; }
  .about-copy { padding-top: 0; }
  .about-copy > p { font-size: 16px; }
  .about-copy > p:first-child { font-size: 21px; }
  .about-profile { margin-top: 38px; }
  .toolkit { margin-top: 40px; gap: 25px; }
  .contact { margin-top: 75px; padding-block: 70px 60px; }
  .contact-content > p:not(.eyebrow) { font-size: 16px; }
  .footer { justify-content: space-between; }
  .footer p { flex-basis: 100%; order: 3; margin: 0; }
}
@media (max-width: 360px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .button { min-width: 205px; }
  .hero-bottom { align-items: start; flex-direction: column; }
  .card-top { padding-inline: 20px; }
  .search-concept { font-size: 24px; }
  .edu-stats strong { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .button, .resume-nav, .motion-button, .tags span { border: 1px solid ButtonText; }
}


.leadership h4 { font: 500 22px/1.4 var(--display); letter-spacing: -.5px; color: var(--text); }
