:root{
  --bg:#070a0f;
  --bg2:#0b1020;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.10);
  --text:#e9eefc;
  --muted: rgba(233,238,252,.74);
  --muted2: rgba(233,238,252,.58);
  --brand:#7aa7ff;
  --brand2:#a5c4ff;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
  --headerH: 76px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 15% 15%, rgba(122,167,255,.18), transparent 60%),
    radial-gradient(900px 650px at 85% 30%, rgba(80,210,190,.12), transparent 58%),
    radial-gradient(900px 650px at 40% 92%, rgba(160,110,255,.12), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2) 55%, var(--bg));
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--brand2)}
img{max-width:100%; height:auto}
p{margin:0 0 12px}
h1,h2,h3{margin:0 0 10px; letter-spacing:-.02em}
h1{font-size: clamp(34px, 4.2vw, 56px); line-height:1.06}
h2{font-size: clamp(24px, 3vw, 34px); line-height:1.12}
h3{font-size: 18px; line-height:1.2}

.container{width:min(var(--max), calc(100% - 48px)); margin:0 auto}
@media (max-width:640px){ .container{width:calc(100% - 28px)} }

.muted{color:var(--muted)}
.small{font-size:13px; color:var(--muted2)}

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

/* Header */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  height:var(--headerH);
  z-index:1000;
  background: rgba(9,12,20,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:0 1 auto;
}
.brand a{display:flex; align-items:center; gap:10px}
.brand .dot{
  width:12px; height:12px;
  border-radius:999px;
  background: rgba(122,167,255,.22);
  border:2px solid rgba(122,167,255,.85);
  box-shadow:0 0 0 6px rgba(122,167,255,.10);
}
.brand .name{
  font-weight:900;
  font-size:20px;
  letter-spacing:.2px;
  white-space:nowrap;
}
.brand .sub{
  margin-top:2px;
  font-size:12.5px;
  color:var(--muted2);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 520px;
}
.brand-stack{display:flex; flex-direction:column; gap:1px; min-width:0}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:center;
  flex:1 1 auto;
  min-width:0;
}
.nav a{
  color: rgba(233,238,252,.72);
  padding:10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space:nowrap;
}
.nav a:hover{background: rgba(255,255,255,.06); color: rgba(233,238,252,.92)}
.nav a.active{
  background: rgba(122,167,255,.16);
  border-color: rgba(122,167,255,.28);
  color: rgba(233,238,252,.98);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.lang a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(233,238,252,.85);
  font-weight:800;
  letter-spacing:.02em;
}
.lang a.active{
  background: rgba(122,167,255,.22);
  border-color: rgba(122,167,255,.34);
  color: rgba(233,238,252,.98);
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(122,167,255,.20), rgba(122,167,255,.08));
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  font-weight:800;
  white-space:nowrap;
}
.cta:hover{background: linear-gradient(180deg, rgba(122,167,255,.24), rgba(122,167,255,.10))}

.menu-btn{
  display:none;
  width:42px; height:42px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(233,238,252,.92);
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.menu-btn svg{width:20px; height:20px}

@media (max-width: 980px){
  .brand .sub{display:none}
}
@media (max-width: 860px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
}

/* Mobile nav */
.mobile-nav{
  display:none;
  position: fixed;
  top: var(--headerH);
  left:0; right:0;
  background: rgba(9,12,20,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 10px 0 14px;
  z-index: 999;
}
.mobile-nav.open{display:block}
.mobile-nav .wrap{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.mobile-nav a{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,252,.88);
}
.mobile-nav a.active{border-color: rgba(122,167,255,.30); background: rgba(122,167,255,.14)}
.mobile-nav a:hover{background: rgba(255,255,255,.07)}

/* Main */
main{padding-top: calc(var(--headerH) + 18px)}
.section{padding: 56px 0}
.card{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid{display:grid; gap:16px; margin-top:18px}
.grid.two{grid-template-columns: repeat(2, minmax(0, 1fr))}
.grid.three{grid-template-columns: repeat(3, minmax(0, 1fr))}
@media (max-width: 980px){ .grid.three{grid-template-columns: repeat(2, minmax(0, 1fr))} }
@media (max-width: 760px){ .grid.two, .grid.three{grid-template-columns: 1fr} }

.hero{
  padding: 36px 0 18px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:22px;
  align-items:start;
}
@media (max-width: 980px){ .hero-inner{grid-template-columns:1fr} }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(233,238,252,.78);
  font-size: 12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.kicker .dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--brand);
  box-shadow:0 0 0 5px rgba(122,167,255,.12);
}

.actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-weight:800;
}
.btn:hover{background: rgba(255,255,255,.08)}
.btn.primary{
  background: linear-gradient(90deg, rgba(122,167,255,.34), rgba(160,110,255,.22));
  border-color: rgba(122,167,255,.35);
}
.btn.ghost{background: rgba(255,255,255,.035)}
.btn.full{width:100%}

.hero-meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}
@media (max-width: 760px){ .hero-meta{grid-template-columns:1fr} }
.meta{
  padding:14px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.meta .label{font-size:12px; color:var(--muted2); margin-bottom:6px}
.meta .value{font-size:14px; font-weight:750}

.profile-card{padding:20px}
.badge{
  display:inline-flex;
  align-items:center;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-weight:900;
  letter-spacing:.02em;
  line-height:1.25;
}
.list{
  list-style:none; padding:0; margin:14px 0 0;
  display:grid; gap:10px;
}
.list li{display:flex; gap:10px; align-items:flex-start; color:var(--muted)}
.bullet{
  width:10px; height:10px; border-radius:999px; margin-top:6px;
  background: rgba(122,167,255,.9);
  box-shadow:0 0 0 5px rgba(122,167,255,.12);
  flex:0 0 auto;
}

.block{padding:20px}
.callout{
  margin-top:18px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
@media (max-width:760px){ .callout{flex-direction:column; align-items:flex-start} }

.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,252,.74);
  font-size:12px;
  white-space:nowrap;
}

.clean-list{margin:12px 0 0 18px; color:var(--muted)}
.clean-list li{margin:6px 0}

.timeline{display:grid; gap:14px; margin-top:18px}
.titem{padding:18px}
.tdate{color:var(--muted2); font-size:12.5px; margin-bottom:6px}
.tags{list-style:none; padding:0; margin:12px 0 0; display:flex; flex-wrap:wrap; gap:8px}
.tags li{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,252,.78);
}

.contact-box{
  margin-top:10px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.crow{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap:12px;
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.crow:first-child{border-top:none}
.clabel{color:var(--muted2); font-size:13px}
.cvalue{font-weight:800}
@media (max-width:640px){ .crow{grid-template-columns: 140px 1fr} }

pre.brief{
  white-space:pre-wrap;
  margin:12px 0 0 0;
  padding:14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: rgba(233,238,252,.86);
  font-size:13px;
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:22px 0;
  margin-top:28px;
  background: rgba(9,12,20,.35);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer-links{display:flex; gap:14px; flex-wrap:wrap; color:var(--muted)}
.footer-links a{color:inherit}
.footer-links a:hover{color: rgba(233,238,252,.92)}
