:root {
  --bg:#0b0d12;
  --bg2:#10141d;
  --card:rgba(255,255,255,.075);
  --card2:rgba(255,255,255,.105);
  --line:rgba(255,255,255,.13);
  --text:#f5f7fb;
  --muted:#9fa8b8;
  --soft:#d7deea;
  --accent:#a7ff83;
  --accent2:#74c0ff;
  --accent3:#ffd166;
  --danger:#ff8fab;
  --max:1180px;

}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.55;
    overflow-x:hidden
}

a {
    color:inherit;
    text-decoration:none
}

body:before {
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at 20% 0%,rgba(116,192,255,.18),transparent 31%),radial-gradient(circle at 88% 12%,rgba(167,255,131,.11),transparent 28%),radial-gradient(circle at 50% 85%,rgba(255,209,102,.08),transparent 38%);
    z-index:-2
}

body:after {
    content:"";
    position:fixed;
    inset:0;
    background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:52px 52px;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 78%);
    pointer-events:none;
    z-index:-1
}

.wrap {
    max-width:var(--max);
    margin:0 auto;
    padding:0 24px
}

.nav {
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(18px);
    background:rgba(11,13,18,.74);
    border-bottom:1px solid var(--line)
}

.nav-inner {
    height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:800;
    letter-spacing:-.03em
}

.logo {
    width:40px;
    height:40px;
    border-radius:14px;
    background:linear-gradient(135deg,var(--accent2),var(--accent));
    display:grid;
    place-items:center;
    color:#071016;
    font-weight:900;
    padding-bottom:1px;
}

.nav-links {
    display:flex;
    gap:18px;
    align-items:center;
    color:var(--muted);
    font-size:14px
}

.nav-links a:hover {
    color:var(--text)
}

.btn {
    display:inline-flex;
    align-items:center;
    gap:9px;
    border:1px solid var(--line);
    padding:11px 16px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.07);
    transition:.2s ease
    
}

.btn:hover {
    transform:translateY(-2px);
    background:rgba(255,255,255,.12)
}

.btn.primary {
    background:linear-gradient(135deg,var(--accent2),var(--accent));
    color:#071016;
    border:0;
    font-weight:800
}

.hero {
    padding:86px 0 58px
}

.hero-grid {
    display:grid;
    grid-template-columns:1.18fr .82fr;
    gap:36px;
    align-items:stretch
}

.eyebrow {
    display:inline-flex;
    gap:8px;
    align-items:center;
    color:var(--accent);
    font-weight:700;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.13em
}

.eyebrow:before {
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 24px var(--accent)
}

h1 {
    font-size:clamp(42px,7.2vw,78px);
    line-height:.95;
    letter-spacing:-.04em;
    margin:18px 0 20px
}

h1 .muted {
    color:rgba(255,255,255,.48)
}

.lead {
    font-size:20px;
    color:var(--soft);
    max-width:760px;
    margin:0 0 14px
}

.hero-actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:26px
}

.hero-panel {
    position:relative;
    padding:24px;
    border:1px solid var(--line);
    border-radius:34px;
    background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
    box-shadow:0 30px 90px rgba(0,0,0,.36);
    overflow:hidden
}

.hero-panel:before {
    content:"";
    position:absolute;
    inset:-1px;
    background:linear-gradient(130deg,rgba(116,192,255,.15),transparent 35%,rgba(167,255,131,.14));
    pointer-events:none
}

.hero-panel>* {
    position:relative
}


.profile-card{
  width:100%;
  min-height:410px;
  border:1px solid var(--line);
  border-radius:30px;
  padding:38px 32px;
  background:rgba(8,10,14,.55);
  backdrop-filter:blur(12px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 20px 40px rgba(0,0,0,.35);
}


.profile-card h2 {
    font-size:28px;
    letter-spacing:-.04em;
    line-height:1.25;
    margin:0 0 4px
}

.profile-card p {
    color:var(--muted);
    margin:0
}

.contact-lines {
    display:grid;
    gap:10px;
    margin-top:22px
}

.contact-lines a,.contact-lines span {
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255,255,255,.045);
    color:var(--soft);
    font-size:14px
}

.section {
    padding:20px 0 58px;
}

.section-head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:22px;
    margin-bottom:38px
}

.section h2 {
    font-size:clamp(30px,4.6vw,52px);
    letter-spacing:-.055em;
    line-height:1.02;
    margin:0
}

.section-note {
    max-width:520px;
    color:var(--muted);
    margin:0
}

.stats {
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:12px
}

.stat,.metric {
    border:1px solid var(--line);
    border-radius:22px;
    padding:18px;
    background:rgba(255,255,255,.065)
}

.stat strong,.metric strong {
    display:block;
    font-size:28px;
    letter-spacing:-.05em;
    color:var(--text);
    line-height:1
}

.stat span,.metric span {
    display:block;
    margin-top:9px;
    color:var(--muted);
    font-size:13px
}

.competencies {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px
}

.competency {
    min-height:180px;
    border:1px solid var(--line);
    border-radius:24px;
    padding:20px;
    background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.04))
}

.competency h3 {
    margin:0 0 10px;
    font-size:18px;
    letter-spacing:-.03em
}

.competency p {
    margin:0;
    color:var(--muted);
    font-size:14px
}

.timeline {
    position:relative;
    display:grid;
    gap:12px
}

.timeline-row {
    display:grid;
    grid-template-columns:170px 1fr;
    gap:20px;
    border:1px solid var(--line);
    border-radius:22px;
    padding:16px;
    background:rgba(255,255,255,.055)
}

.timeline-row time {
    color:var(--accent2);
    font-weight:800
}

.timeline-row h3 {
    margin:0;
    font-size:17px
}

.timeline-row p {
    margin:2px 0 0;
    color:var(--muted);
    font-size:14px
}

.filters {
    display:flex;
    gap:10px;
    flex-wrap:wrap
}

.filter {
    border:1px solid var(--line);
    background:rgba(255,255,255,.05);
    color:var(--soft);
    border-radius:999px;
    padding:9px 13px;
    cursor:pointer
}

.filter.active {
    background:var(--text);
    color:#10141d
}

.projects-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px
}

.project-card {
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:310px;
    border:1px solid var(--line);
    border-radius:28px;
    padding:22px;
    background:rgba(255,255,255,.065);
    overflow:hidden;
    transition:.22s ease
}

.project-card:before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(116,192,255,.11),transparent 44%,rgba(167,255,131,.08));
    opacity:0;
    transition:.22s
}

.project-card>* {
    position:relative
}

.project-card:hover {
    transform:translateY(-4px);
    background:rgba(255,255,255,.095);
    border-color:rgba(255,255,255,.24)
}

.project-card:hover:before {
    opacity:1
}

.project-card.featured {
    grid-column:span 1
}

.card-top {
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    margin-bottom:18px
}

.tag {
    display:inline-flex;
    align-items:center;
    border:1px solid var(--line);
    border-radius:999px;
    padding:6px 10px;
    color:var(--accent);
    font-size:12px;
    font-weight:800
}

.period {
    color:var(--muted);
    font-size:12px
}

.project-card h3 {
    font-size:24px;
    line-height:1.05;
    letter-spacing:-.04em;
    margin:0 0 12px
}

.project-card p {
    color:var(--muted);
    margin:0 0 18px;
    font-size:14px
}

.mini-metrics {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:auto
}

.mini-metrics span {
    border:1px solid var(--line);
    border-radius:14px;
    padding:8px 10px;
    background:rgba(255,255,255,.05);
    font-weight:800;
    font-size:13px
}

.mini-metrics small {
    display:block;
    color:var(--muted);
    font-weight:500
}

.card-link {
    margin-top:18px;
    color:var(--text);
    font-weight:800
}

.footer {
    border-top:1px solid var(--line);
    padding:34px 0 48px;
    color:var(--muted)
}

.footer-grid {
    display:flex;
    justify-content:space-between;
    gap:24px
}

.project-hero {
    padding:32px 0 28px
}

.back {
    color:var(--muted);
    font-size:14px
}

.project-title {
    display:grid;
    grid-template-columns:minmax(0, 1fr) 420px;
    gap:28px;
    align-items:end;
    margin-top:26px
}

.project-title h1 {
    font-size:clamp(42px,6.2vw,76px);
    margin:10px 0 46px
}

.project-title .lead {
    font-size:18px
}

.project-meta {
    width:100%;
    border:1px solid var(--line);
    border-radius:28px;
    padding:20px;
    background:rgba(255,255,255,.065)
}

.meta-row {
    display:flex;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid var(--line);
    padding:12px 0
}

.meta-row:first-child {
    padding-top:0
}

.meta-row:last-child {
    border-bottom:0;
    padding-bottom:0
}

.meta-row span:first-child {
    color:var(--muted)
}

.meta-row span:last-child {
    text-align:right;
    color:var(--soft);
    font-weight:700
}

.case-grid {
    display:grid;
    grid-template-columns:.62fr .38fr;
    gap:18px;
    margin-top:22px
}

.case-card {
    border:1px solid var(--line);
    border-radius:28px;
    padding:24px;
    background:rgba(255,255,255,.06)
}

.case-card h2,.case-card h3 {
    margin:0 0 24px;
    letter-spacing:-.035em
}

.case-card p {
    color:var(--muted);
    margin:0
}

.case-card ul {
    margin:0;
    padding-left:20px;
    color:var(--soft)
}

.case-card li {
    margin:8px 0
}

.tools-card{
    grid-row:span 2;
}

.metrics-grid {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
    margin:24px 0
}

.chips {
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:26px
}

.chip {
    border:1px solid var(--line);
    border-radius:999px;
    padding:8px 11px;
    background:rgba(255,255,255,.055);
    color:var(--soft);
    font-size:13px
}

.visual {
    margin-top:18px;
    border:1px solid var(--line);
    border-radius:30px;
    overflow:hidden;
    background:rgba(255,255,255,.04)
}

.visual img {
    display:block;
    width:100%;
    height:auto
}

.visual figcaption {
    padding:14px 16px;
    color:var(--muted);
    font-size:13px
}

.gallery {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-top:18px
}

.gallery img {
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:24px;
    border:1px solid var(--line)
}

.project-nav{
    max-width:var(--max);
    margin:32px auto 64px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    padding:0 24px;
}

.project-nav a{
    border:1px solid var(--line);
    border-radius:22px;
    padding:18px 20px;
    background:rgba(255,255,255,.055);
    color:var(--muted);
}

.project-nav a:last-child {
    text-align:right
}

.project-nav strong {
    display:block;
    color:var(--text)
}

.confidential-note {
    border:1px solid rgba(255,255,255,.16);
    background:linear-gradient(135deg,rgba(255,209,102,.13),rgba(255,255,255,.05));
    border-radius:20px;
    padding:14px;
    color:var(--soft);
    font-size:14px;
    margin-top:14px
}

.profile-top{
  display:grid;
  grid-template-columns:1fr 128px;
  gap:20px;
  align-items:start;
}

.profile-info h2{
  margin-bottom:8px;
}

.profile-photo-btn{
  width:128px;
  height:128px;
  padding:0;
  border:1px solid rgba(255,255,255,.16);
  border-radius:24px;
  overflow:hidden;
  background:rgba(255,255,255,.05);
  cursor:pointer;
  flex-shrink:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.profile-photo-btn img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.photo-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  padding:32px;
}

.photo-modal.active{
  display:flex;
}

.photo-modal img{
  max-width:min(88vw,680px);
  max-height:84vh;
  border-radius:32px;
  object-fit:cover;
  box-shadow:0 30px 90px rgba(0,0,0,.65);
}

.photo-modal-close{
  position:absolute;
  top:28px;
  right:34px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.12);
  color:white;
  font-size:32px;
  line-height:1;
  cursor:pointer;
}

.mobile-only {
    display:none
}

.education-card{
  max-width:100%;
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px 34px;
  background:rgba(255,255,255,.065);
}

.education-card strong{
  display:block;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.04em;
  margin-bottom:12px;
  color:var(--text);
}

.education-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.4;
}

@media(max-width:980px) {
    .hero-grid,.project-title,.case-grid {
    grid-template-columns:1fr
}

.stats,.competencies,.projects-grid,.metrics-grid {
    grid-template-columns:repeat(2,1fr)
}

.project-card.featured {
    grid-column:auto
}

.nav-links {
    display:none
}

.mobile-only {
    display:inline-flex
}

.hero {
    padding-top:54px
}

}

@media(max-width:640px) {
    .wrap {
    padding:0 16px
}

.stats,.competencies,.projects-grid,.metrics-grid,.gallery {
    grid-template-columns:1fr
}

.timeline-row {
    grid-template-columns:1fr;
    gap:4px
}

.hero-actions {
    flex-direction:column
}

.btn {
    justify-content:center
}

.project-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:32px auto 64px;
  max-width:980px;
}

.project-nav a{
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px 20px;
  background:rgba(255,255,255,.055);
  color:var(--muted);
}

.project-nav a:last-child {
    text-align:left
}

.nav-inner {
    height:64px
}

.profile-card h2 {
    font-size:23px
}

}
