/* ---------- Tokens ---------- */
:root{
  --bg:#0a0f15;
  --bg-2:#0d141c;
  --surface:#111923;
  --surface-2:#172230;
  --line:rgba(148,175,205,.14);
  --line-2:rgba(148,175,205,.26);
  --text:#e8eef6;
  --muted:#9db0c4;
  --dim:#8497ad;
  --cyan:#38d0f2;
  --blue:#4c8dff;
  --grad:linear-gradient(135deg,#4c8dff 0%,#22d3ee 100%);
  --r-lg:22px;
  --nav-h:68px;
  --font-display:"Bricolage Grotesque","Noto Sans Georgian",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-body:"Manrope","Noto Sans Georgian",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ---------- Base ---------- */
.i18n-pending body{visibility:hidden}
*,*::before,*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 12px);
  color-scheme:dark;
  -webkit-text-size-adjust:100%;
  background:var(--bg);
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
body::before{
  content:"";
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(720px 440px at 10% -6%, rgba(76,141,255,.17), transparent 62%),
    radial-gradient(660px 440px at 94% 2%, rgba(34,211,238,.10), transparent 62%);
}
h1,h2,h3{
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.12;
  margin:0;
}
h2{font-size:clamp(2rem,4.4vw,2.8rem);letter-spacing:-.03em}
h3{font-size:1.25rem}
p{margin:0}
a{color:inherit}
ul,ol{margin:0;padding:0}
address{font-style:normal}
img,svg{max-width:100%}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:6px}
[tabindex="-1"]:focus{outline:none}

.container{width:min(1120px,calc(100% - 3rem));margin-inline:auto}
.section{padding-block:clamp(4rem,9vw,7rem)}
.band{background:linear-gradient(180deg,transparent,rgba(17,25,35,.55) 18%,rgba(17,25,35,.55) 82%,transparent)}
.lead-sm{color:var(--muted);margin-top:1rem;max-width:44ch}

.i{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.skip-link{
  position:fixed; left:1rem; top:-4rem; z-index:100;
  background:var(--text); color:#04131c; padding:.6rem 1rem; border-radius:10px; font-weight:700; text-decoration:none;
  transition:top .2s;
}
.skip-link:focus{top:1rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  min-height:48px; padding:.8rem 1.35rem;
  border-radius:12px; border:1px solid transparent;
  font-weight:700; font-size:.98rem; line-height:1.2; text-decoration:none;
  transition:transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn-primary{background:var(--grad);color:#04131c;box-shadow:0 8px 28px -10px rgba(34,211,238,.55)}
.btn-primary:hover{box-shadow:0 14px 34px -10px rgba(34,211,238,.8);transform:translateY(-1px)}
.btn-ghost{color:var(--text);background:rgba(255,255,255,.03);border-color:var(--line-2)}
.btn-ghost:hover{border-color:rgba(56,208,242,.6);background:rgba(56,208,242,.08)}
.btn-sm{min-height:40px;padding:.5rem 1rem;font-size:.9rem}

/* ---------- Header / nav ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  border-bottom:1px solid transparent;
  transition:background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled,.site-header.menu-open{
  background:rgba(10,15,21,.74);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h);gap:1rem}
.brand{display:inline-flex;flex:none;white-space:nowrap;align-items:center;gap:.7rem;text-decoration:none;font-family:var(--font-display);font-weight:700;letter-spacing:-.01em}
.brand-mark{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
  background:var(--grad);color:#04131c;font-size:.9rem;font-weight:800;letter-spacing:0;
}
.nav-menu{display:flex;align-items:center;gap:1.25rem;margin-left:auto}
.nav-call{display:none}

/* Language switcher */
.lang-switch{
  display:inline-flex;gap:2px;padding:3px;flex:none;
  border:1px solid var(--line-2);border-radius:12px;background:rgba(255,255,255,.04);
}
html:not(.js) .lang-switch{display:none}
.lang-btn{
  display:inline-flex;align-items:center;gap:.5rem;min-height:36px;padding:.3rem .75rem;
  border:0;border-radius:9px;background:transparent;color:var(--muted);
  font:inherit;font-weight:700;font-size:.88rem;line-height:1;white-space:nowrap;cursor:pointer;
  transition:background-color .2s,color .2s;
}
.lang-btn:hover{color:var(--text);background:rgba(255,255,255,.06)}
.lang-btn[aria-pressed="true"]{background:var(--grad);color:#04131c;box-shadow:0 4px 14px -6px rgba(34,211,238,.6)}
.lang-flag{width:20px;height:14px;flex:none;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.28)}

.nav-links{list-style:none;display:flex;gap:.15rem}
.nav-links a{
  position:relative;display:block;padding:.5rem .85rem;border-radius:10px;white-space:nowrap;
  color:var(--muted);font-weight:600;font-size:.93rem;text-decoration:none;transition:color .2s;
}
.nav-links a:hover{color:var(--text)}
.nav-links a::after{
  content:"";position:absolute;left:.85rem;right:.85rem;bottom:.15rem;height:2px;border-radius:2px;
  background:var(--grad);transform:scaleX(0);transform-origin:left;transition:transform .3s ease;
}
.nav-links a[aria-current="true"]{color:var(--text)}
.nav-links a[aria-current="true"]::after{transform:scaleX(1)}
.nav-toggle{
  display:none;flex:none;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:12px;border:1px solid var(--line-2);background:rgba(255,255,255,.04);color:var(--text);cursor:pointer;
}
.nav-toggle .i{width:1.4rem;height:1.4rem}
.nav-toggle[aria-expanded="true"] .ic-open{display:none}
.nav-toggle[aria-expanded="false"] .ic-close{display:none}

/* ---------- Hero ---------- */
.hero{padding-top:calc(var(--nav-h) + clamp(2.5rem,6vw,4.5rem));padding-bottom:clamp(3rem,6vw,5rem)}
.hero-grid{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:clamp(2rem,5vw,4rem);align-items:center;
}
.hero-copy > *{animation:rise .8s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i,0) * 80ms)}
.status{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.4rem .95rem .4rem .8rem;margin-bottom:1.5rem;
  border:1px solid var(--line-2);border-radius:999px;background:rgba(255,255,255,.03);
  color:var(--muted);font-size:.86rem;font-weight:500;
}
.dot{width:8px;height:8px;border-radius:50%;background:var(--cyan);animation:ping 2.6s ease-out infinite}
.hero h1{
  font-size:clamp(2.7rem,6.6vw,4.5rem);font-weight:800;letter-spacing:-.04em;line-height:1.02;
  background:linear-gradient(180deg,#ffffff 30%,#aebfd3);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  padding-bottom:.08em;
}
.role{
  font-family:var(--font-display);font-size:clamp(1.2rem,2.5vw,1.65rem);font-weight:600;
  letter-spacing:-.015em;color:var(--cyan);margin-top:1rem;
}
.lead{color:var(--muted);font-size:1.08rem;max-width:56ch;margin-top:1.25rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.facts{
  list-style:none;display:flex;flex-wrap:wrap;gap:.6rem 1.75rem;
  margin-top:2.25rem;padding-top:1.25rem;border-top:1px solid var(--line);
  color:var(--muted);font-size:.93rem;
}
.facts li{display:inline-flex;align-items:center;gap:.55rem}
.facts .i{color:var(--cyan)}

.hero-visual{
  margin:0;padding:1rem 1rem .85rem;
  border:1px solid var(--line-2);border-radius:26px;
  background:linear-gradient(160deg,rgba(28,40,56,.62),rgba(13,20,28,.5));
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 30px 80px -40px rgba(34,211,238,.4),inset 0 1px 0 rgba(255,255,255,.06);
  animation:rise .9s .2s cubic-bezier(.2,.7,.2,1) both;
}
.hero-visual figcaption{color:var(--dim);font-size:.82rem;text-align:center;padding:.15rem .5rem 0}
.net{display:block;width:100%;height:auto;overflow:visible}
.net .lbl{font:600 15px var(--font-body);fill:var(--muted)}
.net .ambient circle{fill:rgba(148,175,205,.3)}
.net .ambient path{stroke:rgba(148,175,205,.11);stroke-width:1;fill:none}
.net .link{fill:none;stroke:rgba(148,175,205,.3);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:100;animation:draw 1.1s ease-out both}
.net .l2{animation-delay:.45s}.net .l3{animation-delay:.55s}.net .l4{animation-delay:.65s}
.net .pulse{
  fill:none;stroke-width:3;stroke-linecap:round;stroke-dasharray:9 91;opacity:0;
  filter:drop-shadow(0 0 4px rgba(34,211,238,.85));
  animation:travel 3.4s linear infinite;
}
.net .p1{animation-delay:1.3s}
.net .p2{animation-delay:2.8s}.net .p3{animation-delay:2.9s}.net .p4{animation-delay:3s}
.net .ring{
  fill:none;stroke:#22d3ee;stroke-width:1.5;opacity:0;
  transform-box:fill-box;transform-origin:center;animation:ring 3.4s ease-out 2.7s infinite;
}
.net .node-anim{transform-box:fill-box;transform-origin:center;animation:pop .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--nd,0s)}
.net .node{fill:#131d29;stroke:rgba(148,175,205,.32);stroke-width:1.2}
.net .node-hub{fill:#14202d;stroke-width:1.6}
.net .ni{fill:none;stroke:#cfe0f0;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.net .ni-accent{stroke:var(--cyan)}

/* ---------- Section heads ---------- */
.split{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.section-head{position:sticky;top:calc(var(--nav-h) + 32px)}
.section-top{max-width:640px;margin-bottom:2.5rem}
.section-top p{color:var(--muted);margin-top:1rem}

/* ---------- Timeline ---------- */
.timeline{list-style:none;position:relative}
.timeline::before{
  content:"";position:absolute;left:13px;top:28px;bottom:28px;width:2px;border-radius:2px;
  background:linear-gradient(to bottom,var(--cyan),var(--blue) 55%,rgba(148,175,205,.28));
}
.tl-item{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:1.25rem}
.tl-rail{position:relative}
.tl-dot{position:absolute;left:6px;top:28px;width:16px;height:16px;border-radius:50%;background:var(--bg);border:3px solid var(--blue)}
.tl-item.current .tl-dot{background:var(--cyan);border-color:var(--cyan);animation:ping 2.6s ease-out infinite}
.tl-between{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:1.25rem;align-items:center;padding:1.15rem 0}
.tl-arrow{
  position:relative;z-index:1;width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;background:var(--bg);border:1px solid var(--line-2);color:var(--cyan);
}
.tl-arrow .i{width:.95rem;height:.95rem}
.tl-between-label{color:var(--dim);font-size:.9rem}
.role-card{
  background:linear-gradient(180deg,var(--surface-2),var(--surface));
  border:1px solid var(--line);border-radius:var(--r-lg);padding:1.6rem 1.75rem;
  transition:border-color .25s, box-shadow .25s;
}
.role-card:hover{border-color:rgba(56,208,242,.38);box-shadow:0 18px 50px -28px rgba(34,211,238,.4)}
.tl-item.current .role-card{border-color:rgba(56,208,242,.3)}
.role-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 1rem}
.role-title{font-size:1.55rem}
.company{margin-top:.35rem;color:var(--cyan);font-weight:700}
.role-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.pill{
  display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .7rem;border-radius:999px;
  border:1px solid var(--line-2);background:rgba(255,255,255,.03);color:var(--muted);
  font-size:.83rem;font-weight:600;white-space:nowrap;
}
.pill-live{color:#a6f1ff;border-color:rgba(56,208,242,.42);background:rgba(56,208,242,.1)}
.pill .i{width:.95rem;height:.95rem}
.ticks{list-style:none;display:grid;gap:.65rem;margin-top:1.25rem;color:var(--muted)}
.ticks li{position:relative;padding-left:1.4rem}
.ticks li::before{
  content:"";position:absolute;left:.05rem;top:.62em;width:7px;height:7px;border-radius:2px;
  background:var(--cyan);transform:rotate(45deg);opacity:.85;
}

/* ---------- Panels / skills ---------- */
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.panel{
  background:linear-gradient(180deg,var(--surface-2),var(--surface));
  border:1px solid var(--line);border-radius:var(--r-lg);padding:1.6rem;
  transition:border-color .25s;
}
.panel:hover{border-color:var(--line-2)}
.panel-head{display:flex;align-items:center;gap:.9rem;margin-bottom:1.15rem}
.badge-ic{
  width:44px;height:44px;flex:none;border-radius:13px;display:grid;place-items:center;color:var(--cyan);
  background:linear-gradient(135deg,rgba(76,141,255,.18),rgba(34,211,238,.12));
  border:1px solid rgba(56,208,242,.24);
}
.badge-ic .i{width:1.3rem;height:1.3rem}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem}
.chips li{padding:.4rem .8rem;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);font-size:.9rem}
.note{
  display:flex;gap:.9rem;align-items:flex-start;margin-top:1.25rem;padding:1.1rem 1.35rem;
  border:1px dashed var(--line-2);border-radius:16px;color:var(--muted);
}
.note .i{color:var(--cyan);margin-top:.2rem}

/* ---------- Certifications ---------- */
.certs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.cert{
  position:relative;overflow:hidden;display:flex;flex-direction:column;gap:1rem;min-height:250px;
  padding:1.9rem;border-radius:24px;border:1px solid rgba(56,208,242,.26);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(56,208,242,.14), transparent 65%),
    linear-gradient(160deg,rgba(28,42,58,.7),rgba(15,23,32,.72));
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  transition:border-color .25s, box-shadow .25s;
}
.cert:hover{border-color:rgba(56,208,242,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 22px 60px -32px rgba(34,211,238,.5)}
.cert-bars{position:absolute;right:1.5rem;top:1.5rem;width:76px;height:auto;opacity:.55}
.cert-label{display:inline-flex;align-items:center;gap:.55rem;color:var(--cyan);font-weight:700;font-size:.95rem}
.cert h3{font-size:clamp(1.4rem,2.6vw,1.75rem);letter-spacing:-.025em;max-width:16ch;margin-top:auto}
.cert-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;padding-top:1rem;border-top:1px solid var(--line)}
.cert-date{display:inline-flex;align-items:center;gap:.55rem;color:var(--muted);font-size:.95rem}
.cert-cta{display:inline-flex;align-items:center;gap:.4rem;color:var(--cyan);font-weight:700;font-size:.9rem;transition:gap .2s}
.cert:hover .cert-cta{gap:.65rem}
/* The title link stretches over the whole card, so the entire card opens the Credly badge */
.cert-link{color:inherit;text-decoration:none}
.cert-link::after{content:"";position:absolute;inset:0;border-radius:24px}
.cert-link:focus-visible{outline:none}
.cert-link:focus-visible::after{outline:2px solid var(--cyan);outline-offset:-4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- Education ---------- */
.edu-head{display:flex;align-items:center;gap:1rem;margin-bottom:.4rem}
.edu-head h3{font-size:clamp(1.25rem,2.4vw,1.6rem);letter-spacing:-.02em}
.edu-sub{color:var(--muted);margin:0 0 1.5rem 60px}
.courses{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.9rem}
.course{
  display:flex;gap:.9rem;align-items:flex-start;padding:1rem 1.1rem;border-radius:14px;
  border:1px solid var(--line);background:rgba(255,255,255,.025);font-size:.95rem;line-height:1.55;
  overflow-wrap:anywhere;transition:border-color .25s, background-color .25s;
}
.course:hover{border-color:rgba(56,208,242,.35);background:rgba(56,208,242,.05)}
.course-ic{width:36px;height:36px;flex:none;border-radius:10px;display:grid;place-items:center;color:var(--cyan);background:rgba(56,208,242,.1)}
.course-ic .i{width:1.1rem;height:1.1rem}
.course span[lang]{padding-top:.1rem}

/* ---------- Languages ---------- */
.langs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:0}
.lang{padding:1.4rem 1.6rem;border-radius:var(--r-lg);border:1px solid var(--line);background:linear-gradient(180deg,var(--surface-2),var(--surface))}
.lang dt{font-family:var(--font-display);font-size:1.4rem;font-weight:700;letter-spacing:-.02em}
.lang dd{margin:.35rem 0 0;color:var(--muted)}
.lang dd strong{color:var(--cyan);font-weight:700;margin-right:.4rem}

/* ---------- Contact ---------- */
.contact-card{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(1.75rem,4vw,3rem);align-items:center;
  padding:clamp(1.75rem,5vw,3.5rem);border-radius:30px;border:1px solid rgba(56,208,242,.27);
  background:
    radial-gradient(620px 320px at 0% 0%, rgba(56,208,242,.14), transparent 62%),
    radial-gradient(520px 320px at 100% 100%, rgba(76,141,255,.12), transparent 62%),
    linear-gradient(180deg,var(--surface-2),var(--surface));
  box-shadow:0 40px 100px -60px rgba(34,211,238,.55);
}
.contact-card h2{font-size:clamp(2.2rem,5vw,3.4rem)}
.contact-card .lead-sm{max-width:34ch;font-size:1.08rem}
.contact-list{list-style:none;display:grid;gap:.9rem}
.contact-item{display:flex;gap:1rem;align-items:center;padding:.9rem 1.1rem;border-radius:16px;border:1px solid var(--line);background:rgba(10,15,21,.45);min-width:0}
.contact-item small{display:block;color:var(--dim);font-size:.8rem;line-height:1.3}
.contact-item a,.contact-item span[lang]{font-weight:600;overflow-wrap:anywhere;text-decoration:none}
.contact-item a:hover{color:var(--cyan)}
.contact-item > div{min-width:0}

.site-footer{padding:2rem 0 2.5rem;border-top:1px solid var(--line);color:var(--dim);font-size:.85rem}
.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem 2rem}
.site-footer p{max-width:62ch}

/* ---------- Georgian typography ---------- */
html[lang="ka"] body{line-height:1.7}
html[lang="ka"] h2,html[lang="ka"] h3,html[lang="ka"] .role,html[lang="ka"] .brand{letter-spacing:0}
html[lang="ka"] h2{font-size:clamp(1.7rem,3.6vw,2.3rem);line-height:1.25}
html[lang="ka"] .hero h1{font-size:clamp(2.3rem,5.6vw,3.9rem);font-weight:700;letter-spacing:0;line-height:1.18}
html[lang="ka"] .brand-mark{font-size:.85rem}
html[lang="ka"] h3{line-height:1.3}
html[lang="ka"] .role{line-height:1.4}
html[lang="ka"] .role-title{font-size:1.4rem}
html[lang="ka"] .contact-card h2{font-size:clamp(1.85rem,4.4vw,2.7rem)}
html[lang="ka"] .lang dt{font-size:1.3rem;letter-spacing:0}
.section-head h2,.section-top h2,.contact-card h2{overflow-wrap:break-word}
.btn span,.lead,.lead-sm,.note span,.ticks li,.chips li,.facts span{overflow-wrap:break-word}

/* ---------- Motion ---------- */
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes ping{0%{box-shadow:0 0 0 0 rgba(56,208,242,.55)}70%,100%{box-shadow:0 0 0 9px rgba(56,208,242,0)}}
@keyframes draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes pop{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:none}}
@keyframes travel{
  0%{stroke-dashoffset:0;opacity:0}
  3%{opacity:1}
  44%{stroke-dashoffset:-100;opacity:1}
  47%{opacity:0}
  100%{stroke-dashoffset:-100;opacity:0}
}
@keyframes ring{0%{opacity:.6;transform:scale(.8)}40%{opacity:0;transform:scale(1.7)}100%{opacity:0;transform:scale(1.7)}}

.js [data-reveal]{opacity:0;transform:translateY(10px);transition:opacity .6s ease,transform .6s ease;transition-delay:var(--d,0ms)}
.js [data-reveal].in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{max-width:540px;width:100%;margin-inline:auto}
  .split{grid-template-columns:1fr}
  .section-head{position:static}
}
@media (max-width:1024px){
  .js .nav-toggle{display:inline-flex}
  .lang-switch{margin-left:auto}
  .nav-call{display:inline-flex}
  .nav-menu{
    margin-left:0;
    position:absolute;top:var(--nav-h);left:0;right:0;flex-direction:column;align-items:stretch;gap:1rem;
    padding:.75rem 1.5rem 1.5rem;background:var(--bg);
    border-bottom:1px solid var(--line);box-shadow:0 24px 40px -24px rgba(0,0,0,.7);
  }
  .js .nav-menu{visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility 0s .2s}
  .js .nav-menu.open{visibility:visible;opacity:1;transform:none;transition:opacity .2s,transform .2s}
  .nav-links{flex-direction:column;gap:.2rem}
  .nav-links a{padding:.85rem .6rem;font-size:1.05rem}
  .nav-links a::after{left:.6rem;right:auto;width:28px}
  .nav-menu .btn{width:100%}
}
@media (max-width:720px){
  .grid-2,.certs,.langs,.contact-card{grid-template-columns:1fr}
  .role-card{padding:1.35rem 1.25rem}
  .tl-item,.tl-between{column-gap:1rem}
  .edu-sub{margin-left:0}
  .cert{min-height:0}
  .cert h3{margin-top:1.25rem;max-width:none}
  .hero-copy .btn,.contact-card .btn{flex:1 1 100%}
}
@media (min-width:1025px) and (max-width:1139px){
  .brand-name{display:none}
}
@media (max-width:520px){
  .brand-name{display:none}
  .status{border-radius:18px}
}
@media (max-width:400px){
  .container{width:min(1120px,calc(100% - 2rem))}
  .lang-btn{padding:.3rem .55rem;gap:.4rem;font-size:.82rem}
}
@media (max-width:350px){
  .lang-flag{display:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
  .js [data-reveal]{opacity:1;transform:none}
}
@media print{
  .site-header,.hero-visual,.skip-link{display:none}
  .js [data-reveal]{opacity:1;transform:none}
  body{background:#fff;color:#000}
}
