:root {
  color-scheme: dark;
  --topbar-height: 78px;
  --bg: #090d18;
  --text: #eff2fa;
  --muted: #949db2;
  --faint: #586178;
  --line: rgba(154, 171, 213, .16);
  --cyan: #83e5d1;
  --violet: #ad9aff;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(131, 229, 209, .25); }

.network { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 1; }
.ambient { position: fixed; z-index: -1; width: 45vw; height: 45vw; border-radius: 50%; filter: blur(120px); opacity: .12; pointer-events: none; }
.ambient--one { top: -24vw; right: -18vw; background: #5759e8; }
.ambient--two { top: 65vh; left: -25vw; background: #31a899; opacity: .08; }
.section-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: var(--topbar-height); padding: 0 max(32px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid rgba(154, 171, 213, .08); background: rgba(9, 13, 24, .82); backdrop-filter: blur(18px); }
main { padding-top: var(--topbar-height); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: -.04em; }
.wordmark__icon { color: var(--cyan); font-size: 18px; }
.wordmark__dot { color: var(--violet); }
.nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 12px; font-weight: 600; }
.nav a, .text-link { transition: color .2s ease; }
.nav a:hover, .text-link:hover { color: var(--cyan); }
.nav__contact { color: var(--text); }
.nav__contact span { padding-left: 6px; color: var(--cyan); }

.hero { position: relative; display: grid; grid-template-columns: 1fr .9fr; align-items: center; min-height: 680px; padding-top: 65px; padding-bottom: 100px; }
.hero__copy { position: relative; z-index: 1; padding-bottom: 22px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font: 10px var(--mono); letter-spacing: .14em; }
.status-dot, .tag-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(131, 229, 209, .8); }
h1 { margin: 0; font-size: clamp(64px, 8vw, 104px); font-weight: 600; line-height: .99; letter-spacing: -.09em; }
.gradient-text { background: linear-gradient(100deg, var(--cyan), #9ac2e6 58%, var(--violet)); background-clip: text; -webkit-text-fill-color: transparent; }
.hero__intro { max-width: 465px; margin: 28px 0 0; color: #aeb6c9; font-size: 15px; line-height: 1.9; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 14px; padding: 0 18px; border-radius: 3px; font-size: 11px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #081119; background: linear-gradient(110deg, var(--cyan), #a8e8d1); box-shadow: 0 8px 28px rgba(91, 217, 191, .12); }
.button--primary:hover { box-shadow: 0 10px 34px rgba(91, 217, 191, .22); }
.button--primary span { font-size: 15px; }
.text-link { color: #c4cadd; font-size: 11px; font-weight: 700; }
.text-link span { margin-left: 5px; color: var(--cyan); }
.hero__meta { display: flex; gap: 25px; margin-top: 68px; color: #858ea5; font: 9px var(--mono); letter-spacing: .1em; }
.meta-mark { margin-right: 7px; color: var(--cyan); }
.hero__visual { position: relative; display: grid; min-height: 465px; place-items: center; }
.profile-card { position: relative; z-index: 1; width: min(355px, 90%); padding: 18px; overflow: hidden; border: 1px solid rgba(177, 192, 230, .18); border-radius: 5px; background: linear-gradient(145deg, rgba(22, 30, 50, .93), rgba(13, 17, 30, .93)); box-shadow: 0 35px 90px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 255, 255, .05); transform: rotate(2deg); }
.profile-card__top { display: flex; justify-content: space-between; align-items: center; }
.profile-card__top .eyebrow { margin: 0; font-size: 8px; }
.profile-card__index { color: var(--faint); font: 8px var(--mono); }
.portrait { position: relative; display: grid; height: 265px; margin: 18px 0 14px; overflow: hidden; place-items: center; border: 1px solid rgba(171, 189, 228, .12); background: radial-gradient(ellipse at 50% 43%, rgba(113, 126, 177, .25), transparent 55%), linear-gradient(145deg, #1c2941, #101625 70%); }
.portrait::before, .portrait::after { position: absolute; content: ""; }
.portrait::before { inset: 12px; border: 1px solid rgba(177, 192, 230, .09); }
.portrait::after { width: 190px; height: 190px; border: 1px solid rgba(131, 229, 209, .22); border-radius: 50%; box-shadow: 0 0 55px rgba(107, 144, 212, .13), inset 0 0 35px rgba(131, 229, 209, .04); }
.portrait__initials { z-index: 1; color: rgba(235, 240, 255, .76); font-size: 62px; font-weight: 500; letter-spacing: -.1em; }
.portrait__image { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.portrait__image[hidden] { display: none; }
.profile-card__bottom { display: flex; justify-content: space-between; align-items: center; }
.profile-card__bottom h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.05em; }
.profile-card__bottom p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.profile-card__arrow, .skill-card__arrow { color: var(--cyan); font-size: 17px; }
.orbit { position: absolute; border: 1px solid rgba(151, 165, 207, .12); border-radius: 50%; transform: rotate(-24deg); }
.orbit--outer { width: 455px; height: 200px; }
.orbit--inner { width: 385px; height: 140px; transform: rotate(36deg); border-color: rgba(131, 229, 209, .12); }
.float-tag { position: absolute; z-index: 2; display: flex; align-items: center; padding: 10px 12px; border: 1px solid rgba(178, 193, 228, .16); background: rgba(14, 19, 33, .88); color: #d7dced; font: 8px var(--mono); letter-spacing: .07em; box-shadow: 0 10px 25px rgba(0, 0, 0, .18); }
.float-tag--top { top: 50px; right: -6px; }
.float-tag--bottom { bottom: 0; left: 50%; transform: translate(-50%, calc(100% + 8px)); }
.float-tag .tag-dot { width: 5px; height: 5px; }
.mono { margin-right: 9px; color: var(--cyan); }
.visual-crosshair { position: absolute; width: 14px; height: 14px; border: 1px solid var(--cyan); opacity: .5; }
.visual-crosshair--one { top: 80px; left: 27px; }
.visual-crosshair--two { right: 32px; bottom: 80px; width: 8px; height: 8px; border-color: var(--violet); }
.scroll-cue { position: absolute; bottom: 22px; left: 0; display: flex; align-items: center; gap: 12px; color: var(--faint); font: 8px var(--mono); letter-spacing: .14em; }
.scroll-cue__line { display: inline-block; width: 35px; height: 1px; background: var(--cyan); }

.intro-band { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: start; padding: 48px 50px; border-block: 1px solid var(--line); }
.intro-band .eyebrow { margin: 7px 0 0; }
.intro-band > p:nth-child(2) { max-width: 710px; margin: 0; color: #c2c9d9; font-size: 17px; line-height: 1.8; letter-spacing: -.025em; }
.intro-band__asterisk { position: absolute; top: 50%; right: 0; color: var(--cyan); font-size: 20px; transform: translateY(-50%); }
.story, .expertise { padding-top: 140px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 63px; }
.section-heading .eyebrow { margin-bottom: 20px; }
.section-number { margin-right: 10px; color: var(--cyan); }
.section-heading h2, .contact h2 { margin: 0; font-size: clamp(42px, 5vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -.075em; }
.muted { color: #737d94; }
.section-heading__note { margin: 0 0 8px; color: var(--muted); font-size: 11px; line-height: 1.9; text-align: right; }
.timeline { position: relative; display: grid; gap: 0; margin-left: 95px; }
.timeline::before { position: absolute; top: 8px; bottom: 20px; left: 165px; width: 1px; background: linear-gradient(var(--cyan), rgba(154, 171, 213, .12) 85%, transparent); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 135px 60px 1fr; gap: 0; min-height: 210px; }
.timeline-item__date { padding-top: 8px; color: #79849b; font: 10px var(--mono); }
.timeline-item__marker { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; }
.timeline-item__marker span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(131, 229, 209, .5); border-radius: 50%; background: var(--bg); color: var(--cyan); font: 8px var(--mono); box-shadow: 0 0 18px rgba(131, 229, 209, .08); }
.timeline-item__content { max-width: 570px; padding: 3px 0 48px 28px; }
.timeline-item__content .eyebrow { margin: 0 0 9px; font-size: 9px; }
.separator { padding-inline: 6px; color: var(--cyan); }
.timeline-item__content h3 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.05em; }
.timeline-item__content > p:not(.eyebrow) { margin: 13px 0 0; color: #9da7bc; font-size: 12px; line-height: 1.9; }
.timeline-item__content ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 17px 0 0; list-style: none; }
.timeline-item__content li { padding: 7px 10px; border: 1px solid rgba(154, 171, 213, .14); border-radius: 2px; color: #aab4c9; font: 9px var(--mono); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.skill-card { display: flex; min-height: 75px; align-items: center; gap: 18px; border-top: 1px solid var(--line); color: #d4daea; font-size: 13px; }
.skill-card__number { color: var(--cyan); font: 9px var(--mono); }
.skill-card__arrow { margin-left: auto; opacity: .65; }
.certifications { padding-top: 110px; }
.credentials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.credential-card { min-height: 190px; padding: 20px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(22, 30, 50, .7), rgba(13, 17, 30, .7)); }
.credential-card__header { display: flex; justify-content: flex-end; }
.credential-status { padding: 5px 8px; border: 1px solid rgba(131, 229, 209, .25); color: var(--cyan); font: 8px var(--mono); letter-spacing: .08em; }
.credential-status--expired { border-color: rgba(173, 154, 255, .25); color: #baaaff; }
.credential-card__name { margin: 19px 0 7px; font-size: 15px; line-height: 1.5; letter-spacing: -.03em; }
.credential-card__issuer, .credential-card__details, .credential-card__id { margin: 0 0 8px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.credential-card__details, .credential-card__id { color: #78839a; font: 9px/1.7 var(--mono); }
.credential-card__link { display: inline-block; margin-top: 7px; color: var(--cyan); font-size: 10px; font-weight: 700; }
.credential-card__link:hover { text-decoration: underline; }
.contact { position: relative; display: flex; min-height: 510px; flex-direction: column; align-items: center; justify-content: center; margin-top: 150px; margin-bottom: 90px; overflow: hidden; border: 1px solid var(--line); text-align: center; }
.contact__orb { position: absolute; top: 48%; left: 50%; width: 510px; height: 210px; border: 1px solid rgba(131, 229, 209, .1); border-radius: 50%; box-shadow: 0 0 90px rgba(77, 142, 165, .08), inset 0 0 70px rgba(77, 142, 165, .06); transform: translate(-50%, -50%) rotate(-13deg); }
.contact > :not(.contact__orb) { position: relative; }
.contact .eyebrow { margin-bottom: 23px; }
.contact h2 { font-size: clamp(45px, 6vw, 70px); }
.contact > p:not(.eyebrow) { max-width: 410px; margin: 20px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.social-links { display: flex; gap: 22px; margin-top: 28px; }
.social-links .text-link { color: #8e98af; font: 9px var(--mono); }
.interests { padding-top: 80px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.interests > .eyebrow { margin-bottom: 18px; }
.interests__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.interests__heading h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -.07em; }
.interests__heading p { max-width: 280px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.interests__list { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); background: rgba(17, 23, 39, .5); color: #c4cadd; font-size: 10px; }
.interest-chip__number { color: var(--cyan); font: 8px var(--mono); }
.footer { display: flex; justify-content: space-between; align-items: center; min-height: 85px; border-top: 1px solid var(--line); }
.footer > p { color: #737d93; font-size: 9px; }
.footer > p span { padding-left: 4px; color: var(--cyan); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.timeline-item.reveal:nth-child(2) { transition-delay: .08s; }
.timeline-item.reveal:nth-child(3) { transition-delay: .16s; }
.timeline-item.reveal:nth-child(4) { transition-delay: .24s; }

@media (max-width: 760px) {
  :root { --topbar-height: 68px; }
  .section-wrap { width: min(100% - 38px, 560px); }
  .topbar { height: 68px; padding-inline: 20px; }
  .nav { gap: 13px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 83px; }
  h1 { font-size: clamp(66px, 17vw, 94px); }
  .hero__visual { min-height: 430px; margin-top: 5px; }
  .profile-card { width: min(340px, 82%); }
  .float-tag--top { right: 0; }
  .float-tag--bottom { left: 50%; }
  .hero__meta { margin-top: 45px; font-size: 8px; }
  .scroll-cue { bottom: 20px; }
  .intro-band { grid-template-columns: 1fr; gap: 17px; padding: 32px 24px; }
  .intro-band > p:nth-child(2) { font-size: 15px; }
  .intro-band__asterisk { right: 20px; }
  .story, .expertise { padding-top: 95px; }
  .certifications { padding-top: 80px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 42px; }
  .section-heading h2 { font-size: 49px; }
  .section-heading__note { text-align: left; }
  .timeline { margin-left: 0; }
  .timeline::before { left: 13px; }
  .timeline-item { grid-template-columns: 28px 1fr; min-height: 190px; }
  .timeline-item__date { grid-column: 2; grid-row: 1; padding: 7px 0 15px 18px; }
  .timeline-item__marker { grid-column: 1; grid-row: 1 / span 2; }
  .timeline-item__marker span { width: 27px; height: 27px; }
  .timeline-item__content { grid-column: 2; grid-row: 2; padding: 0 0 43px 18px; }
  .timeline-item__content h3 { font-size: 21px; }
  .skills-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .contact { min-height: 450px; margin-top: 100px; margin-bottom: 55px; padding-inline: 14px; }
  .contact h2 { font-size: clamp(44px, 10vw, 60px); }
  .contact__orb { width: 120%; }
  .footer { flex-wrap: wrap; gap: 8px; padding-block: 20px; }
  .interests { padding-block: 60px; }
  .interests__heading { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
