/* Personal adaptation of Risen by Xiaoying Riley / 3rd Wave Media. */
:root{color-scheme:dark;--resume-text:#bac5d9;--resume-muted:#a5b3ce;--resume-line:rgba(255,255,255,.15)}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{color:var(--resume-text);font-size:15px;line-height:1.75}
a{color:#91bbf1;text-underline-offset:4px}
a:hover{color:#bad6fa}
a:focus-visible,button:focus-visible{outline:3px solid #91bbf1!important;outline-offset:5px;border-radius:4px}
button{font:inherit}
.icon{flex:none;vertical-align:middle}
.main-content-wrapper{max-width:1128px;margin:auto;padding:0 24px}
.top-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0;min-height:88px}
.top-identity{display:flex;align-items:center;gap:10px;color:var(--resume-muted);font-size:12px;text-decoration:none}
.monogram{display:grid;place-items:center;width:34px;height:34px;border:1px solid #63738d;border-radius:50%;font-size:11px;font-weight:800;color:#fff;letter-spacing:1px}
.top-actions{display:flex;align-items:center;gap:24px}
.language-switch{display:flex;border:1px solid #53617a;border-radius:24px;padding:4px;gap:2px}
.language-switch a{padding:4px 11px;border-radius:20px;color:var(--resume-text);font-size:12px;font-weight:700;line-height:1.8;text-decoration:none}
.language-switch a[aria-current=page]{color:#19202e;background:#d7dde9}
.language-switch a:hover{background:#344158;color:#fff}
.language-switch a[aria-current=page]:hover{color:#19202e;background:#fff}
.btn.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;background:#fe655c;color:#19202e;font-size:13px;padding:10px 20px;line-height:1.5;white-space:nowrap}
.btn.btn-primary:hover{background:#ff8179;color:#19202e}
.btn .icon{width:17px;height:17px;margin:0}
.resume-wrapper{margin-top:94px;box-shadow:0 16px 64px rgba(0,0,0,.08)}
.resume-profile-pic{width:160px;height:160px;object-fit:cover;object-position:center;filter:grayscale(1)}
.resume-name{letter-spacing:.12em;font-size:clamp(1.6rem,3.2vw,2.25rem);line-height:1.3;margin-bottom:12px;overflow-wrap:anywhere}
.resume-role-title{font-size:1.1rem;letter-spacing:.04em;margin-bottom:6px;color:#d7dde9}
.resume-speciality{font-size:13px;color:var(--resume-muted);margin-bottom:26px}
.resume-contact{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap;padding:15px 8px;margin-top:26px}
.resume-contact a,.print-button{display:inline-flex;align-items:center;gap:8px;color:var(--resume-text);font-size:13px;line-height:1.5}
.resume-contact .icon{width:17px;height:17px}
.print-button{border:0;padding:0;background:none;cursor:pointer}
.print-button[hidden]{display:none}
.print-button:hover{color:#bad6fa}
.external-mark{font-size:17px}
.resume-nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:20px 24px 0}
.resume-nav a{font-size:12px;font-weight:600;color:var(--resume-muted)}
.resume-section{margin-bottom:30px;scroll-margin-top:20px}
.resume-section-heading{font-size:15px;letter-spacing:.12em;gap:12px;line-height:1.5;margin:0 0 22px;padding:4px 0}
.resume-section-heading-icon{width:36px;height:36px;padding:0;flex:none}
.resume-section-heading-icon .icon{width:18px;height:18px}
.resume-body p{margin-bottom:16px}
.resume-body hr{margin:28px 0;color:var(--resume-line);opacity:1}
.intro{color:#d7dde9}
.resume-timeline{padding-left:32px}
.resume-timeline:before{left:5px;background:#344158;top:10px;height:calc(100% - 20px);width:2px}
.resume-timeline-item:before{left:-31px;top:6px;border-color:#94a7c9;background:#1e2738}
.resume-timeline-item{padding-bottom:32px}
.resume-timeline-item:last-child{padding-bottom:0}
.resume-position-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:10px;font-size:11px;color:var(--resume-muted)}
.resume-company-name{color:#c7d3e6;font-size:11px}
.resume-position-title{font-size:17px;line-height:1.6;margin-bottom:12px}
.resume-timeline-list{padding-left:16px;margin-bottom:0}
.resume-timeline-list li{margin-bottom:10px;padding-left:2px}
.section-intro{font-size:13px;color:var(--resume-muted)}
.project-item{padding:22px 0;border-bottom:1px solid var(--resume-line)}
.project-item:last-of-type{border-bottom:0}
.project-title{font-size:19px;line-height:1.45;margin:0 0 5px;color:#fff}
.project-title a{color:#fff;display:inline;line-height:1.6}
.project-link{display:inline-flex;margin-left:8px;vertical-align:middle;color:#91bbf1}
.project-link .icon{width:16px;height:16px}
.project-role{font-size:12px;color:#91bbf1;font-weight:600;letter-spacing:.02em}
.project-item p{margin-bottom:11px}
.project-item .project-stack{font-size:11px;font-weight:500;line-height:1.8;color:var(--resume-muted);margin-bottom:0}
.other-projects{margin-top:28px}
.other-projects h3{font-size:16px;line-height:1.6;margin-bottom:16px}
.other-projects ul{padding-left:17px;font-size:13px}
.other-projects li{margin-bottom:13px}
.other-projects strong{color:#d7dde9;font-weight:600}
.history-list{list-style:none;padding:0;font-size:13px}
.history-list li{display:grid;grid-template-columns:44px 1fr;gap:14px;margin-bottom:15px}
.history-year{color:#91bbf1;font-size:12px;font-weight:600}
.skill-group{margin-bottom:24px}
.skill-group h3{font-size:12px;line-height:1.6;margin-bottom:10px;color:#d7dde9}
.skill-tags{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0}
.skill-tags li{padding:4px 9px;background:#19202e;border:1px solid #334158;border-radius:4px;font-size:11px;line-height:1.8;color:#c4cfe2}
.resume-degree{font-size:14px;line-height:1.6}
.resume-degree-org,.resume-degree-time,.speciality{font-size:12px}
.resume-body .resume-degree-org{margin:8px 0}
.resume-body .resume-degree-time{margin-bottom:10px;color:#91bbf1}
.format-list{list-style:none;padding:0;font-size:13px}
.format-list li{display:flex;align-items:center;gap:10px;margin-bottom:11px}
.format-list .icon{width:15px;height:15px;color:#91bbf1}
.approach-list{font-size:13px;padding-left:18px}
.approach-list li{padding-left:4px;margin-bottom:12px}
.approach-list li::marker{color:#91bbf1}
.contact-panel{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:28px;border-top:1px solid var(--resume-line);padding-top:32px}
.contact-panel h2{font-size:20px;line-height:1.5;margin-bottom:10px}
.contact-panel p{font-size:13px;max-width:590px;margin-bottom:0}
.footer{text-align:center;font-size:11px;color:var(--resume-muted);padding:30px 12px 36px}
.footer p{margin-bottom:5px}
.footer .copyright{font-size:10px;opacity:.95;margin-top:12px}
.footer a{color:#bdc9de}
.skip-link{position:absolute;left:16px;top:-100px;z-index:10;background:#fff;color:#19202e;padding:10px 18px;border-radius:4px;font-size:14px}
.skip-link:focus{top:12px}
@media(max-width:991.98px){
  .resume-body .col-main{border-right:0}
  aside{border-top:1px solid var(--resume-line);padding-top:28px!important;margin-top:12px}
  .resume-body{padding:28px!important}
  .resume-header{padding-left:28px!important;padding-right:28px!important}
}
@media(max-width:575.98px){
  body{font-size:14px}
  .main-content-wrapper{padding:0 14px}
  .top-bar{padding:16px 0;gap:10px;flex-wrap:wrap}
  .top-identity{font-size:10px;gap:7px}
  .monogram{width:28px;height:28px;font-size:9px}
  .top-actions{gap:10px;margin-left:auto}
  .top-actions>.btn{display:none}
  .language-switch a{padding:3px 9px;font-size:11px}
  .resume-wrapper{margin-top:94px;padding-top:92px}
  .resume-name{font-size:26px;letter-spacing:.06em;margin-bottom:13px;line-height:1.4}
  .resume-role-title{font-size:14px;letter-spacing:0;line-height:1.7}
  .resume-speciality{font-size:11px;line-height:1.8;margin-bottom:20px}
  .resume-contact{gap:15px 20px;margin-top:20px;padding:16px 0}
  .resume-contact a,.print-button{font-size:11px}
  .resume-nav{gap:10px 20px;padding-top:18px}
  .resume-nav a{font-size:11px}
  .resume-header{padding-left:20px!important;padding-right:20px!important}
  .resume-body{padding:26px 20px!important}
  .resume-section-heading{font-size:13px;letter-spacing:.09em;gap:10px;margin-bottom:18px}
  .resume-section-heading-icon{width:30px;height:30px}
  .resume-timeline{padding-left:24px}
  .resume-timeline-item:before{left:-23px}
  .resume-position-meta{font-size:10px;gap:8px}
  .resume-company-name{font-size:10px}
  .resume-position-title{font-size:15px}
  .project-title{font-size:18px}
  .contact-panel{flex-direction:column;align-items:flex-start;gap:18px}
  .contact-panel h2{font-size:18px}
  .footer{font-size:10px;padding:26px 5px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
@page{size:A4;margin:14mm}
@media print{
  :root{color-scheme:light;--resume-text:#242b36;--resume-muted:#43526b;--resume-line:#c7ced8}
  html,body{background:#fff!important;color:#242b36!important;font-size:9pt;line-height:1.45}
  .main-content-wrapper{max-width:none;padding:0}
  .top-bar,.resume-nav,.print-button,.skip-link,.contact-panel>.btn{display:none!important}
  .resume-wrapper{margin:0;padding-top:0;background:#fff!important;box-shadow:none}
  .resume-header{padding:0!important;text-align:left}
  .resume-profile-holder{position:relative;padding-left:98px;min-height:90px;text-align:left!important}
  .resume-profile-pic{position:absolute;width:78px;height:78px;top:0;left:0;margin:0;border:0}
  .resume-name{font-size:21pt;letter-spacing:.04em;color:#111!important;margin-bottom:5px}
  .resume-role-title{font-size:12pt;color:#333!important;margin-bottom:4px}
  .resume-speciality{font-size:9pt;color:#43526b!important;margin-bottom:10px}
  .resume-contact{justify-content:flex-start;border:0;margin:0;padding:0;gap:18px}
  .resume-contact a{font-size:9pt;color:#242b36!important}
  .resume-body{padding:20px 0 0!important}
  .resume-body .row{display:block;margin:0}
  .resume-body .col-main,.resume-body aside{width:100%;border:0;padding:0!important;margin:0}
  .resume-body aside{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;margin-top:24px}
  aside hr{display:none}
  .resume-section-heading{font-size:12pt;letter-spacing:.08em;color:#111!important;margin-bottom:13px;break-after:avoid}
  .resume-section-heading-icon{width:25px;height:25px;color:#111;background:#eee!important}
  h1,h2,h3,h4,.intro,.other-projects strong{color:#111!important}
  a,.project-role,.project-stack,.history-year,.resume-degree-time{color:#254e7c!important}
  .resume-section{margin-bottom:15px}
  .resume-timeline{padding-left:22px}
  .resume-timeline-item{padding-bottom:18px}
  .resume-timeline-item:before{left:-21px;background:#fff;border-color:#566b8c}
  .resume-company-name{background:#eee;color:#242b36}
  .resume-position-title{font-size:12pt}
  .project-item{padding:12px 0;break-inside:avoid}
  .project-title{font-size:13pt;break-after:avoid}
  .project-role{font-size:9pt}
  .project-item .project-stack{font-size:8pt}
  .project-item p{margin-bottom:7px}
  .project-link{display:none}
  .skill-tags li{background:#fff;border-color:#aab5c6;color:#242b36;font-size:8pt}
  .skill-group,.history-list li,aside .resume-section,.contact-panel{break-inside:avoid}
  aside .skill-group{margin-bottom:18px}
  .format-list,.approach-list,.resume-degree-org,.resume-degree-time,.speciality{font-size:8.5pt}
  .resume-body hr{margin:17px 0}
  .contact-panel{margin-top:15px;padding-top:16px}
  .contact-panel h2{font-size:13pt}
  .contact-panel p{font-size:9pt;max-width:none}
  .footer{padding:8px 0 0;color:#43526b!important;font-size:7pt;break-inside:avoid}
  .footer .copyright{font-size:6pt;margin-top:4px}
  .footer a{color:#43526b}
}
