:root{
  --bg:#0b1020;
  --panel:#111a33;
  --panel2:#0f1730;
  --text:#e9ecf7;
  --muted:#b8c0da;
  --line:rgba(255,255,255,.10);
  --accent:#7aa2ff;
  --accent2:#61ffd6;
  --shadow: 0 20px 70px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 15% -20%, rgba(122,162,255,.30), transparent 60%),
    radial-gradient(900px 500px at 115% 0%, rgba(97,255,214,.14), transparent 60%),
    radial-gradient(700px 400px at 40% 115%, rgba(122,162,255,.10), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:var(--text); text-decoration:none}
a:hover{color:var(--accent)}
.wrap{max-width:1160px; margin:0 auto; padding:22px}

.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.10);
  border:1px solid var(--line);
  z-index:999;
}

.header{
  display:flex; align-items:center; justify-content:space-between;
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.62);
  border-bottom:1px solid var(--line);
  z-index:10;
}
.brand{display:flex; align-items:center; gap:10px}
.logo{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(122,162,255,.38), rgba(97,255,214,.18));
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  font-weight:900;
}
.brandText{font-weight:900; letter-spacing:.2px}

.nav{display:flex; gap:16px; align-items:center; flex-wrap:wrap}
.nav a{color:rgba(233,236,247,.78)}
.nav a:hover{color:var(--text)}
.pill{
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
}

.section{padding:40px 0; border-top:1px solid var(--line)}
.sectionTop{border-top:none; padding-top:18px}
.section h2{margin:0 0 10px; font-size: 28px}
.h3{font-size:18px; margin:0 0 10px}
.sectionLead{margin:0 0 18px; color:var(--muted); max-width: 80ch}
.muted{color:var(--muted)}
.small{font-size:12.5px}
.topGap{margin-top:16px}

.hero{display:grid; grid-template-columns: 1.32fr .92fr; gap:22px; padding:44px 0 14px}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; letter-spacing:.5px; text-transform:uppercase;
  color: rgba(233,236,247,.75);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding:6px 10px; border-radius:999px;
  width: fit-content;
}
.hero h1{
  font-size: clamp(34px, 4.2vw, 58px);
  line-height:1.03;
  margin:12px 0 12px;
  letter-spacing:-0.9px;
}
.lead{color:var(--muted); font-size: 17px; margin:0 0 18px; max-width: 60ch}
.micro{color:rgba(233,236,247,.66); font-size: 12.5px; margin-top:14px; max-width: 70ch}

.ctaRow{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px; border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow2);
  font-weight:800;
  transition: transform .12s ease, background .12s ease;
}
.btn.primary{background: linear-gradient(135deg, rgba(122,162,255,.60), rgba(97,255,214,.22));}
.btn.ghost{background: rgba(255,255,255,.03);}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08);}

.credRow{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:18px}
.cred{
  border:1px solid var(--line);
  background: rgba(15,23,48,.52);
  border-radius:18px;
  padding:12px 12px;
}
.credTop{font-weight:900}
.credSub{color:rgba(233,236,247,.70); font-size:12.5px; margin-top:4px}

.card{
  border:1px solid var(--line);
  background: rgba(17,26,51,.70);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow);
}
.card.subtle{background: rgba(17,26,51,.38)}
.cardTitle{font-weight:900; margin-bottom:12px}

.metricGrid{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.metric{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px;
}
.mNum{font-weight:900}
.mLabel{color:rgba(233,236,247,.72); font-size:12.5px; margin-top:4px}

.divider{height:1px; background: var(--line); margin:14px 0}
.miniNote{display:flex; gap:10px; color:rgba(233,236,247,.72); font-size:12.5px}
.dot{width:9px; height:9px; border-radius:999px; margin-top:6px; background: linear-gradient(135deg, rgba(122,162,255,1), rgba(97,255,214,1)); box-shadow: 0 0 0 4px rgba(122,162,255,.14);}
.tagRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.tag{font-size:12px; color:rgba(233,236,247,.82); border:1px solid var(--line); background: rgba(255,255,255,.04); padding:6px 10px; border-radius:999px}

.cards3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.panel{
  border:1px solid var(--line);
  background: rgba(15,23,48,.55);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow2);
}
.panelTop{display:flex; align-items:center; gap:10px; margin-bottom:6px}
.icon{
  width:30px; height:30px; border-radius:10px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.panel h3{margin:0}
.bullets{margin:12px 0 0; padding-left:18px; color:rgba(233,236,247,.82)}
.bullets li{margin:7px 0}

.callout{
  margin-top:16px;
  border:1px dashed rgba(122,162,255,.45);
  background: rgba(122,162,255,.08);
  border-radius:22px;
  padding:16px;
}
.calloutTitle{font-weight:900; margin-bottom:6px}

.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:14px}

.artifact{
  margin-top:16px;
  border:1px solid var(--line);
  background: rgba(17,26,51,.45);
  border-radius:22px;
  padding:16px;
}
.artifactHead{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.artifactTitle{font-weight:900}
.artifactSub{color:rgba(233,236,247,.70); font-size:12.5px; margin-top:2px}
.pillSmall{padding:6px 10px; border-radius:999px; border:1px solid var(--line); background: rgba(255,255,255,.04); font-size:12px; color:rgba(233,236,247,.82)}
.artifactGrid{display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; margin-top:12px}
.artifactItem{border:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); border-radius:16px; padding:12px}
.aTop{font-weight:900}
.aSub{color:rgba(233,236,247,.72); font-size:12.5px; margin-top:4px}

.contactRow{display:grid; grid-template-columns: 90px 1fr; gap:12px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.08)}
.contactRow:last-of-type{border-bottom:none}
.cLabel{color:rgba(233,236,247,.70); font-weight:800}
.cValue{font-weight:900}

.hidden{display:none}

/* Forms */
.form{margin-top:12px}
.field{display:block}
.label{display:block; color:rgba(233,236,247,.72); font-size:12.5px; margin-bottom:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(122,162,255,.55);
  box-shadow: 0 0 0 4px rgba(122,162,255,.12);
}
.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.span2{grid-column: 1 / -1}
.checkRow{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
}
.checkRow input{
  width:auto;
  margin-top:3px;
}
.btnRow{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}

.footer{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
  padding:22px 0 40px;
  color:rgba(233,236,247,.70);
}
.footerLinks{display:flex; gap:14px; flex-wrap:wrap}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
  .credRow{grid-template-columns:1fr}
  .cards3{grid-template-columns:1fr}
  .artifactGrid{grid-template-columns:1fr 1fr}
  .grid2{grid-template-columns:1fr}
  .contactRow{grid-template-columns: 1fr}
  .formGrid{grid-template-columns: 1fr;}
  .nav{gap:10px}
}


/* Publications / citations */
.citeBox{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px;
}
.citeTitle{
  font-weight: 900;
  margin-bottom: 8px;
}
.codeBlock{
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  overflow-x: auto;
  color: rgba(233,236,247,.92);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Brand tagline */
.brandTag{
  color: rgba(233,236,247,.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}
@media (max-width: 980px){
  .brandTag{display:none;}
}
