:root{
  --bg:#090b0d;
  --bg-soft:#11161a;
  --panel:#151b20;
  --panel-2:#101419;
  --border:#2a343a;
  --text:#f5f7f4;
  --muted:#aeb8b6;
  --teal:#42c7b7;
  --amber:#f0b85a;
  --green:#87bf6f;
  --shadow:0 18px 54px rgba(0,0,0,.32);
  --radius:8px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#080a0c 0%,#101418 42%,#0a0c0e 100%);
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
p{line-height:1.7}
ul{margin:0;padding-left:1.1rem}
li{margin:.55rem 0;color:#d8dfdc;line-height:1.62}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  min-height:76px;
  display:flex;
  align-items:center;
  gap:22px;
  padding:0 6vw;
  background:rgba(9,11,13,.86);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}

.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(66,199,183,.65);
  border-radius:var(--radius);
  color:#06110f;
  background:linear-gradient(135deg,var(--teal),#b8efe5);
  box-shadow:0 10px 28px rgba(66,199,183,.18);
  font-weight:800;
}

.brand-text{font-weight:750;letter-spacing:0}

.site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin-inline:auto;
  color:#dce5e2;
  font-size:.84rem;
}

.site-nav a{
  opacity:.86;
  transition:.2s ease;
}

.site-nav a:hover{
  opacity:1;
  color:var(--teal);
}

.header-btn{
  border:1px solid rgba(240,184,90,.46);
  padding:10px 16px;
  border-radius:var(--radius);
  color:#141006;
  background:var(--amber);
  font-weight:750;
  font-size:.9rem;
}

.menu-toggle{
  display:none;
  margin-left:auto;
  width:42px;
  height:42px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.04);
}
.menu-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#fff;
  margin:4px auto;
}

.section{
  width:min(1120px, 88vw);
  margin:0 auto;
  padding:44px 0;
}

.hero{padding-top:72px}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:48px;
  align-items:center;
}

.eyebrow,.section-label{
  color:var(--teal);
  text-transform:uppercase;
  letter-spacing:0;
  font-size:.78rem;
  font-weight:800;
  margin:0 0 14px;
}

h1,h2,h3{margin:0;color:var(--text);line-height:1.12;letter-spacing:0}
h1{
  max-width:820px;
  font-size:5rem;
  line-height:.98;
}
.headline{
  max-width:780px;
  font-size:1.35rem;
  color:#e6ece8;
  margin:22px 0 0;
}
.hero-summary{
  max-width:760px;
  color:var(--muted);
  font-size:1.05rem;
  margin:26px 0 0;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:32px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:var(--radius);
  font-weight:760;
  border:1px solid var(--border);
}
.btn.primary{
  background:var(--teal);
  color:#041311;
  border-color:rgba(66,199,183,.75);
  box-shadow:0 14px 30px rgba(66,199,183,.22);
}
.btn.ghost{
  background:rgba(255,255,255,.045);
  color:#edf4f1;
}

.quick-info{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:#c5d0cc;
  margin-top:28px;
  font-size:.92rem;
}
.quick-info span{
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:8px 10px;
  background:rgba(255,255,255,.035);
}

.hero-card{
  padding:16px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(21,27,32,.98),rgba(12,16,19,.98));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.photo-frame{
  border-radius:var(--radius);
  overflow:hidden;
  min-height:450px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:#1c2529;
}
.photo-frame img{
  width:100%;
  height:100%;
  max-height:520px;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.profile-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:12px;
}
.profile-stats div{
  min-height:78px;
  padding:12px 10px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}
.profile-stats strong{
  display:block;
  color:#fff;
  font-size:1.25rem;
}
.profile-stats span{
  display:block;
  color:var(--muted);
  font-size:.78rem;
  margin-top:4px;
}

.about-layout,.education-layout{
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:40px;
  align-items:start;
  border-top:1px solid rgba(255,255,255,.09);
  border-bottom:1px solid rgba(255,255,255,.09);
}
.about-layout h2,.section-title h2,.contact-panel h2,.education-layout h2{
  font-size:2.55rem;
}
.about-layout p:last-child,.education-layout p{
  color:#d8dfdc;
  margin:0;
}

.section-title{margin-bottom:24px}
.row-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
}
.row-title .muted{max-width:390px}
.muted{color:var(--muted);margin:0}

.expertise-grid,.project-grid,.tools-grid,.service-grid,.featured-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.skill-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.feature-card,.skill-card,.timeline,.project-card,.tool-card,.service-card,.featured-card,.contact-panel,.publication-list article,.software-panel,.publication-detail{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(21,27,32,.94),rgba(13,17,21,.96));
  box-shadow:0 14px 44px rgba(0,0,0,.22);
}
.feature-card,.skill-card,.project-card,.tool-card,.service-card,.featured-card,.publication-list article{
  border-radius:var(--radius);
  padding:22px;
  min-height:230px;
  transition:.22s ease;
}
.feature-card:hover,.skill-card:hover,.project-card:hover,.tool-card:hover,.service-card:hover,.featured-card:hover{
  transform:translateY(-3px);
  border-color:rgba(66,199,183,.45);
}
.card-kicker,.project-top b{
  display:inline-flex;
  width:max-content;
  color:#111006;
  background:var(--amber);
  border-radius:999px;
  padding:6px 10px;
  font-size:.78rem;
  font-weight:800;
  margin-bottom:18px;
}
.feature-card h3,.skill-card h3,.project-card h3,.tool-card h3,.service-card h3,.featured-card h3,.timeline-content h3,.publication-list h3{
  font-size:1.12rem;
}
.feature-card p,.skill-card p,.project-card p,.tool-card p,.service-card p,.featured-card p,.publication-list p{
  color:#c8d2cf;
  margin:14px 0 0;
}


.detail-skill-grid{
  grid-template-columns:repeat(5,1fr);
}
.software-panel{
  border-radius:var(--radius);
  padding:24px;
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:24px;
  margin-top:18px;
}
.software-panel h3{
  font-size:1.12rem;
  margin:0;
}
.software-panel p{
  color:#c8d2cf;
  margin:12px 0 0;
}
.publication-detail{
  border-radius:var(--radius);
  padding:28px;
}
.publication-detail ul{
  columns:2;
  column-gap:36px;
  padding-left:1.2rem;
}
.publication-detail li{
  break-inside:avoid;
  margin:0 0 .85rem;
}
.tool-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.tool-strip span{
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:#dfe8e5;
  background:rgba(135,191,111,.10);
}

.timeline{
  border-radius:var(--radius);
  overflow:hidden;
}
.timeline-item{
  display:grid;
  grid-template-columns:220px 1fr;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.timeline-item:last-child{border-bottom:0}
.timeline-date{
  color:#f1dab0;
  padding:30px;
  border-right:1px solid rgba(255,255,255,.08);
  background:rgba(240,184,90,.06);
  font-weight:750;
}
.timeline-content{
  padding:30px;
  position:relative;
}
.timeline-content:before{
  content:"";
  position:absolute;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--teal);
  left:-6px;
  top:38px;
  box-shadow:0 0 0 6px rgba(66,199,183,.11);
}
.company{
  margin:8px 0 14px;
  color:var(--teal);
  font-weight:750;
}



.text-link{
  color:var(--amber);
  font-weight:780;
  border-bottom:1px solid rgba(240,184,90,.55);
  padding-bottom:3px;
}
.featured-card{min-height:380px}
.service-card{min-height:190px}
.visual-strip{
  height:120px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  margin-bottom:18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:12px;
  background:#172025;
  overflow:hidden;
}
.visual-strip span{
  padding:7px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#edf4f1;
  font-size:.78rem;
  font-weight:760;
}
.map-visual{background:linear-gradient(135deg,rgba(66,199,183,.18),rgba(135,191,111,.14)),repeating-linear-gradient(45deg,rgba(255,255,255,.07) 0 1px,transparent 1px 18px)}
.network-visual{background:radial-gradient(circle at 18% 28%,rgba(240,184,90,.5) 0 6px,transparent 7px),radial-gradient(circle at 72% 60%,rgba(66,199,183,.55) 0 6px,transparent 7px),linear-gradient(135deg,#172025,#11171b)}
.tools-visual{background:linear-gradient(135deg,rgba(240,184,90,.20),rgba(66,199,183,.16)),repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 22px)}
dl{margin:0;display:grid;gap:10px}
dt{color:var(--amber);font-size:.78rem;font-weight:800;text-transform:uppercase}
dd{margin:4px 0 0;color:#d8dfdc;line-height:1.55}
.detailed-projects{grid-template-columns:repeat(2,1fr)}
.detailed-projects .project-card{min-height:320px}
.contact-links .contact-primary{
  background:var(--teal);
  color:#041311;
  font-weight:800;
}

.tool-card{
  min-height:220px;
}
.tool-card h3{
  overflow-wrap:anywhere;
}

.project-card{min-height:245px}
.project-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:.82rem;
  margin-bottom:18px;
}
.project-top b{
  margin-bottom:0;
  flex-shrink:0;
}

.publication-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.publication-list article{min-height:240px}

.education-layout li{color:#d8dfdc}
.language-note{
  margin-top:18px;
  padding:18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  background:rgba(255,255,255,.04);
}
.language-note h3{font-size:1.05rem;margin:0 0 10px}
.language-note p{margin:6px 0;color:#c8d2cf}
.contact-panel{
  border-radius:var(--radius);
  padding:32px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:30px;
  align-items:center;
}
.contact-links{
  display:grid;
  gap:10px;
}
.contact-links a{
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  border-radius:var(--radius);
  color:#edf4f1;
  overflow-wrap:anywhere;
}
.contact-links a:hover{border-color:rgba(66,199,183,.5)}

footer{
  width:min(1120px, 88vw);
  margin:0 auto;
  padding:24px 0 42px;
  color:#8f9b98;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
}

@media (max-width: 1080px){
  .site-header{padding:0 4vw;gap:16px}
  .site-nav{gap:14px;font-size:.84rem}
  h1{font-size:4.1rem}
  .skill-grid,.detail-skill-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 920px){
  .site-nav,.header-btn{display:none}
  .menu-toggle{display:block}
  .nav-open .site-nav{
    display:grid;
    position:fixed;
    top:76px;
    left:4vw;
    right:4vw;
    padding:18px;
    border-radius:var(--radius);
    background:#101418;
    border:1px solid var(--border);
  }
  .hero-grid,.about-layout,.education-layout,.contact-panel,.software-panel{grid-template-columns:1fr}
  .expertise-grid,.project-grid,.tools-grid,.service-grid,.featured-grid,.publication-list{grid-template-columns:repeat(2,1fr)}
  .timeline-item{grid-template-columns:1fr}
  .timeline-date{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
  .timeline-content:before{display:none}
}

@media (max-width: 640px){
  .section{width:min(92vw,1120px);padding:34px 0}
  .hero{padding-top:44px}
  h1{font-size:3rem;line-height:1.02}
  .headline{font-size:1.12rem}
  .hero-summary{font-size:1rem}
  .expertise-grid,.skill-grid,.detail-skill-grid,.project-grid,.detailed-projects,.tools-grid,.service-grid,.featured-grid,.publication-list,.profile-stats{grid-template-columns:1fr}
  .photo-frame{min-height:360px}
  .feature-card,.skill-card,.project-card,.tool-card,.service-card,.featured-card,.publication-list article,.contact-panel,.software-panel,.publication-detail{padding:20px}
  .timeline-date,.timeline-content{padding:22px}
  .about-layout h2,.section-title h2,.contact-panel h2,.education-layout h2{font-size:2rem}
  .btn{width:100%}
  .quick-info{display:grid}
  .publication-detail ul{columns:1}
  .visual-strip{height:105px}
}
