
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#0b1730;background:#fff}a{color:inherit;text-decoration:none}.top{height:72px;display:flex;align-items:center;gap:32px;padding:0 4%;border-bottom:1px solid #edf2f7;position:sticky;top:0;background:rgba(255,255,255,.96);z-index:20}.brand{min-width:250px}.brand b{font-size:27px;display:block}.brand small{font-size:9px;letter-spacing:1.3px;color:#5f7390}.top nav{display:flex;gap:16px;flex:1;justify-content:center}.top nav a{padding:10px 14px;border-radius:10px;font-size:14px}.top nav a:hover,.top nav .active{background:#f3f7fb}.resume{background:#0868f7;color:white;padding:12px 20px;border-radius:10px;font-weight:700;font-size:14px}.hero{min-height:340px;display:grid;grid-template-columns:29% 46% 25%;align-items:center;padding:18px 4% 0;background:radial-gradient(circle at 20% 40%,#eaf8ff,transparent 33%),linear-gradient(120deg,#fff,#f8fbff)}.photo{height:250px;align-self:end;overflow:hidden;display:flex;justify-content:center}.photo img{height:330px;width:330px;object-fit:cover;object-position:center 25%;border-radius:50%;mix-blend-mode:multiply}.eyebrow{font-size:12px;letter-spacing:2px;color:#607796;margin-bottom:10px}.intro h1{font-size:48px;line-height:1;margin:0 0 7px}.intro h2{font-size:24px;margin:0}.sub{font-size:21px;margin:3px 0 12px}.intro p{color:#536987;line-height:1.5;margin:0 0 12px}.facts{display:flex;gap:28px;color:#61718b;font-size:14px;flex-wrap:wrap}.contacts{display:flex;flex-direction:column;gap:14px;color:#304968;font-size:14px}.contacts a:nth-child(3){color:#0666ee}.section{padding:14px 4% 0}.section-head{display:flex;align-items:baseline;gap:22px;margin-bottom:12px}.section-head h3,.skills h3{font-size:25px;margin:0}.section-head span{color:#7486a1;font-size:13px}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project{border:1px solid;border-radius:16px;padding:16px 20px 14px;min-width:0}.green{background:linear-gradient(135deg,#f4fffb,#effbf8);border-color:#b7eadb;--accent:#00a66c}.red{background:linear-gradient(135deg,#fff8f8,#fff0f2);border-color:#ffc3c9;--accent:#ff3344}.blue{background:linear-gradient(135deg,#f7fbff,#eef6ff);border-color:#bfdcff;--accent:#0868f7}.project-title{display:flex;align-items:center;gap:10px}.project-title i{font-style:normal;background:var(--accent);color:#fff;border-radius:10px;width:34px;height:34px;display:grid;place-items:center}.project-title b{font-size:20px}.project-title em{font-style:normal;margin-left:auto;border-radius:16px;padding:7px 12px;background:#fff8;font-size:11px;color:var(--accent);font-weight:700}.project h4{font-size:16px;margin:9px 0 5px}.project p{font-size:13px;line-height:1.4;margin:0;color:#334966;min-height:55px}.mock{height:140px;background:white;border:1px solid #dce6ef;border-radius:9px;margin:10px 0;position:relative;overflow:hidden;padding-left:80px;padding-right:40%}.sidebar{position:absolute;left:0;top:0;bottom:0;width:72px;background:#26384c}.rows{margin:16px 10px;height:90px;background:repeating-linear-gradient(#edf2f7 0 7px,transparent 7px 19px)}.mock ul{position:absolute;right:8px;top:8px;width:38%;list-style:none;padding:0;margin:0}.mock li{font-size:10px;background:#f7f9fc;border:1px solid #e3e9f0;padding:5px;margin:3px 0;border-radius:5px}.go{display:block;width:58%;min-width:180px;text-align:center;margin:-30px auto 0;position:relative;background:var(--accent);color:#fff;padding:11px;border-radius:8px;font-weight:700;font-size:13px}.career{padding-top:20px}.timeline{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #cfdff4}.timeline>div{padding:14px 14px 8px;border-left:1px solid #d8e4f2;position:relative;min-width:0}.timeline>div:before{content:"";position:absolute;left:-6px;top:-6px;width:9px;height:9px;border:2px solid #0870ff;border-radius:50%;background:#fff}.timeline b,.timeline strong,.timeline small{display:block}.timeline b{font-size:12px;min-height:30px}.timeline small{color:#6b7e98;margin:4px 0 11px}.timeline strong{font-size:11px}.timeline p{font-size:11px;color:#60738e;line-height:1.4}.metrics{margin:16px 2.5%;padding:20px 3%;border-radius:18px;background:#f4f8fc;display:grid;grid-template-columns:repeat(6,1fr)}.metrics div{text-align:center;border-right:1px solid #d9e3ee}.metrics div:last-child{border:0}.metrics b{display:block;color:#0768f3;font-size:22px}.metrics span{font-size:11px;color:#62758e}.skills{padding:25px 5% 35px}.skills p{color:#526a87;line-height:1.8}footer{text-align:center;padding:25px;color:#73839a;border-top:1px solid #edf2f7;font-size:12px}
@media(max-width:1000px){.top nav{display:none}.hero{grid-template-columns:220px 1fr}.contacts{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;padding:16px 0}.projects{grid-template-columns:1fr}.timeline{grid-template-columns:repeat(2,1fr);border-top:0}.timeline>div{border-top:1px solid #d8e4f2}.metrics{grid-template-columns:repeat(2,1fr);gap:18px}.metrics div{border:0}.intro h1{font-size:38px}}
@media(max-width:650px){.top{padding:0 16px}.brand{min-width:0;flex:1}.brand b{font-size:23px}.resume{font-size:0;padding:12px}.resume:first-letter{font-size:18px}.hero{display:block;padding:24px 20px}.photo{height:220px}.photo img{height:260px;width:260px}.intro h1{font-size:36px}.intro{padding-top:16px}.facts{gap:12px}.contacts{padding-bottom:0}.section{padding-left:16px;padding-right:16px}.section-head{display:block}.section-head span{display:block;margin-top:4px}.timeline{grid-template-columns:1fr}.metrics{grid-template-columns:1fr}.metrics div{padding:8px}.project-title em{font-size:9px}.mock{padding-left:55px}.sidebar{width:48px}}

/* p6: remove button overlap with Job-Fit recovery status. Other project cards unchanged. */
.project.red .jobfit-restored { display: flex !important; width: fit-content; max-width: 100%; margin: 12px auto 12px !important; box-sizing: border-box; justify-content: center; text-align: center; }
.project.red .go { margin: 0 auto; }
@media (max-width: 650px) { .project.red .jobfit-restored { width: 100%; } .project.red .go { width: 100%; min-width: 0; } }

/* p7: all three projects online; no overlap of status and action buttons. */
.projects .project-restored { display:flex; align-items:center; justify-content:center; gap:8px; width:fit-content; max-width:100%; box-sizing:border-box; margin:12px auto 12px; padding:9px 14px; color:#166534; background:#ecfdf5; border:1px solid #bbf7d0; border-radius:12px; font-size:13px; font-weight:650; line-height:1.4; text-align:center; }
.projects .project-restored span:first-child {font-size:16px;flex-shrink:0}
.projects .project > .go {display:block; position:relative; margin:0 auto; max-width:100%; box-sizing:border-box;}
@media(max-width:650px){.projects .project-restored{width:100%}.projects .project > .go{width:100%;min-width:0}}

/* Key outcomes — v2.0-p9 */
.highlights{padding-top:42px;padding-bottom:44px}
.highlights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.highlight-card{background:#fff;border:1px solid #e2eaf6;border-radius:20px;padding:23px 24px;box-shadow:0 7px 24px rgba(30,53,90,.055);min-width:0}
.highlight-icon{font-size:26px;margin-bottom:12px}
.highlight-card h4{font-size:18px;line-height:1.3;color:#15223b;margin:0 0 12px}
.highlight-card p{font-size:15px;line-height:1.65;color:#475b77;margin:0}
.highlight-card strong{font-weight:750;color:#15223b}
.highlight-card a{color:#2463eb;text-decoration:underline;text-underline-offset:3px}
.highlight-focus{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:24px;padding:19px 22px;background:#eef5ff;border:1px solid #dae8ff;border-radius:16px;color:#20375a}
.highlight-focus>strong{margin-right:8px}
.highlight-focus>span{display:inline-flex;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #d8e5fa;font-size:13px;font-weight:650}
@media(max-width:990px){.highlights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.highlights-grid{grid-template-columns:1fr;gap:12px}.highlight-card{padding:20px}.highlight-focus{padding:16px}}

/* Expanded AI product descriptions (2.0-p10) */
.projects .project-details{margin:12px 0 14px;padding:11px 13px;background:rgba(255,255,255,.83);border:1px solid #dce6ef;border-radius:11px;color:#334966;}
.projects .project-details summary{cursor:pointer;color:#075ed5;font-size:13px;font-weight:700;list-style-position:inside;}
.projects .project-details summary:focus-visible{outline:2px solid #0868f7;outline-offset:3px;border-radius:3px;}
.projects .project-details ul{margin:12px 0 0;padding-left:20px;}
.projects .project-details li{font-size:12.5px;line-height:1.55;margin:0 0 9px;overflow-wrap:anywhere;}
.projects .project-details li:last-child{margin-bottom:0;}
.projects .project h4{overflow-wrap:anywhere;}

/* v2.0-p11: action button above hover-expanded details */
.projects .project-details{margin-top:14px;margin-bottom:0;transition:background .15s ease;}
.projects .project-details:hover{background:#fff;border-color:#b9d4fc;}
.projects .project > .go{margin-bottom:0;}
@media(hover:hover) and (pointer:fine){
  .projects .project-details summary{cursor:default;}
}

/* v2.0-p12: motivation and HTML career chart */
.career-motivation{padding-top:36px}
.motivation-panel{margin-top:16px;background:linear-gradient(120deg,#f4f9ff,#fff);border:1px solid #d9e8fc;border-radius:20px;padding:24px 30px;box-shadow:0 8px 22px rgba(22,53,106,.045)}
.motivation-panel p{font-size:15px;line-height:1.75;color:#334966;margin:0 0 14px}.motivation-panel p:last-child{margin-bottom:0}
.career-forecast{padding:28px 0 38px}
.career-forecast-box{border:1px solid #dfebfa;border-radius:21px;padding:30px;background:linear-gradient(145deg,#fff,#f9fcff);box-shadow:0 10px 35px rgba(21,63,118,.06);color:#142646}
.cf-header h2{font-size:clamp(23px,3vw,35px);line-height:1.2;letter-spacing:-.025em;margin:0 0 12px;color:#0b1837}
.cf-header p{color:#6a7d9c;font-size:clamp(13px,1.4vw,17px);line-height:1.55;margin:0}
.cf-chart-scroll{overflow-x:auto;overflow-y:hidden;margin:15px 0 0;scrollbar-width:thin}
.cf-chart-inner{position:relative;min-width:1240px;padding-left:28px}
.cf-chart{display:block;width:100%;height:auto;max-height:390px}
.cf-y-axis{position:absolute;left:0;top:45%;writing-mode:vertical-rl;transform:rotate(180deg);font-size:12px;color:#617895}
.cf-axis-year{fill:#4c6488;font-size:17px;font-weight:600}
.cf-dot{fill:#0877ee;stroke:#fff;stroke-width:3px;filter:drop-shadow(0 2px 4px rgba(8,99,222,.3))}
.cf-years{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:8px 0 24px}
.cf-year-card{border:1px solid #dce9fb;border-radius:12px;background:white;padding:11px 9px;display:flex;flex-direction:column;gap:5px;box-shadow:0 4px 10px rgba(25,63,110,.035);font-size:12px;line-height:1.4;color:#314667}
.cf-year{font-size:16px;font-weight:750;color:#0877ef}
.cf-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;padding:23px;border:1px solid #dbe8fa;border-radius:16px;background:white}
.cf-bottom h3{font-size:19px;color:#101d40;margin:0 0 15px}
.cf-summary{border-right:1px solid #dbe6f4;padding-right:22px}
.cf-summary ol{margin:0;padding-left:23px;color:#2d3e5a;font-size:14px;line-height:1.8}
.cf-tags{display:flex;flex-wrap:wrap;gap:9px}
.cf-tags span{font-size:13px;color:#1558a6;border:1px solid #d8e9fc;background:#eff7ff;padding:8px 12px;border-radius:999px}
.cf-tags span:nth-child(2){color:#158173;background:#eaf9f4;border-color:#d4eee6}
.cf-tags span:nth-child(3){color:#a06612;background:#fff7e8;border-color:#fae9cd}
.cf-tags span:nth-child(4){color:#784bc7;background:#f6efff;border-color:#ecddff}
.cf-tags span:nth-child(5){color:#ad4862;background:#fff0f4;border-color:#f9dfe6}
.cf-disclaimer{text-align:center;font-size:12px;line-height:1.5;color:#8190aa;margin:15px 0 0}
@media(max-width:1050px){.cf-years{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.motivation-panel{padding:19px 17px}.motivation-panel p{font-size:14px}.career-forecast-box{padding:19px 13px}.cf-years{grid-template-columns:repeat(1,minmax(0,1fr))}.cf-bottom{grid-template-columns:1fr;padding:17px;gap:18px}.cf-summary{border-right:0;border-bottom:1px solid #dbe6f4;padding-right:0;padding-bottom:14px}.cf-chart-inner{min-width:1180px}}

.cf-year-card{min-height:88px}
.cf-year-card span:last-child{display:block}

/* 2.0-p14: clearly separated career stages, a highlighted why-work nav link */
.top nav .nav-why-work {
  border: 1px solid #b7d6ff;
  background: #eaf3ff;
  color: #075fd7;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(8, 104, 247, .08);
}
.top nav .nav-why-work:hover, .top nav .nav-why-work:focus-visible {
  background: #dceaff;
  border-color: #7ab6ff;
  outline-offset: 2px;
}
#why-work {scroll-margin-top:90px}
.cf-years {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:18px 0 24px;
}
.cf-year-card {
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:12px;
  padding:15px;
  min-height:112px;
  border-radius:14px;
  border:1px solid #dce9fb;
  background: #fff;
}
.cf-year {
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:10px;
  background:#e9f3ff;
  font-size:17px;
  color:#0868f7;
  line-height:1.25;
  font-weight:800;
}
.cf-stage-copy {display:flex;flex-direction:column;gap:5px;min-width:0}
.cf-stage-company {font-size:14px;line-height:1.35;color:#13294d}
.cf-stage-detail {font-size:13px;line-height:1.5;color:#526885;overflow-wrap:break-word}
.cf-stage-future {background:linear-gradient(150deg,#f7fbff,#eef6ff);border-color:#cfe3ff}
.cf-stage-future .cf-year {background:#dcecff}
.cf-stage-current {border-color:#b4dcda;background:#f3fbfa}
.cf-stage-current .cf-year {background:#dbf6ee;color:#117968}
.cf-stage-start {border-color:#d4deef}
@media(max-width:1180px) {
  .top {gap:12px;padding-left:2%;padding-right:2%}
  .top nav {gap:2px}
  .top nav a {padding:9px 8px;font-size:12px}
  .cf-years {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px) {
  .top nav {display:flex;overflow-x:auto;max-width:100%;white-space:nowrap;justify-content:flex-start}
  .top nav .nav-why-work {order:-1}
  .cf-years {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px) {
  .cf-years {grid-template-columns:1fr}
  .cf-year-card {min-height:0;padding:13px}
  .cf-stage-detail{font-size:13px}
}


/* 2.0-p15: emphasis for the "Почему ищу работу?" section */
.career-motivation{
  padding-top:44px;
  position:relative;
}
.career-motivation .section-head{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.career-motivation .section-head h3{
  margin:0;
  position:relative;
  padding-left:18px;
  font-size:clamp(34px,4vw,54px);
  line-height:1.04;
  letter-spacing:-0.045em;
  color:#0a1735;
}
.career-motivation .section-head h3::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  bottom:8px;
  width:6px;
  border-radius:999px;
  background:linear-gradient(180deg,#0a84ff,#6bb8ff);
  box-shadow:0 0 0 6px rgba(10,132,255,.10);
}
.career-motivation .section-head span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  background:#eef5ff;
  border:1px solid #d4e5ff;
  color:#567093;
  font-size:14px;
  font-weight:700;
  letter-spacing:.01em;
}
.motivation-panel{
  position:relative;
  overflow:hidden;
  margin-top:0;
  background:linear-gradient(145deg,#ffffff 0%,#f8fbff 60%,#f1f7ff 100%);
  border:1px solid #cfe0fb;
  border-radius:28px;
  padding:34px 38px 34px 42px;
  box-shadow:0 18px 48px rgba(19,54,110,.11);
}
.motivation-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:8px;
  background:linear-gradient(180deg,#0b84ff,#7ec0ff);
}
.motivation-panel::after{
  content:"";
  position:absolute;
  right:-80px;
  top:-90px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle at center, rgba(8,104,247,.12), rgba(8,104,247,0) 68%);
  pointer-events:none;
}
.motivation-panel p{
  position:relative;
  z-index:1;
  margin:0 0 22px;
  font-size:clamp(18px,1.7vw,21px);
  line-height:1.82;
  color:#233a5b;
  font-weight:500;
  text-wrap:pretty;
}
.motivation-panel p:first-child{
  color:#16345b;
}
.motivation-panel p:last-child{
  margin-bottom:0;
}
@media(max-width:850px){
  .career-motivation .section-head h3{font-size:clamp(30px,6.8vw,42px)}
  .motivation-panel{padding:28px 24px 28px 28px;border-radius:22px}
  .motivation-panel p{font-size:17px;line-height:1.72}
}
@media(max-width:650px){
  .career-motivation{padding-top:32px}
  .career-motivation .section-head{gap:10px;margin-bottom:14px}
  .career-motivation .section-head h3{padding-left:14px;font-size:clamp(28px,9vw,36px)}
  .career-motivation .section-head h3::before{width:5px;top:6px;bottom:6px;box-shadow:0 0 0 4px rgba(10,132,255,.10)}
  .career-motivation .section-head span{font-size:13px;min-height:34px;padding:7px 12px}
  .motivation-panel{padding:22px 18px 22px 22px;border-radius:18px;box-shadow:0 10px 28px rgba(19,54,110,.10)}
  .motivation-panel p{font-size:16px;line-height:1.68;margin-bottom:16px}
}

/* 2.0-p16: warmer, human-centered HR-friendly presentation; copy untouched */
.career-motivation{
  isolation:isolate;
  padding-top:52px;
  padding-bottom:12px;
}
.career-motivation .section-head h3{
  color:#13244b;
  font-size:clamp(34px,4.2vw,56px);
  letter-spacing:-.042em;
}
.career-motivation .section-head h3::before{
  background:linear-gradient(180deg,#386cf6,#9d72e7);
  box-shadow:0 0 0 6px rgba(99,102,241,.10);
}
.career-motivation .section-head span{
  background:linear-gradient(120deg,#f1eefe,#eef5ff);
  color:#5755aa;
  border-color:#ddd8fc;
}
.career-motivation .motivation-panel{
  padding:43px 49px 43px 58px;
  background:linear-gradient(112deg,#fff 0%,#f6f8ff 57%,#f9f2ff 100%);
  border:1px solid #d8d9f4;
  border-radius:26px;
  box-shadow:0 22px 60px rgba(68,63,142,.13),0 5px 16px rgba(49,68,126,.055);
}
.career-motivation .motivation-panel::before{
  width:9px;
  background:linear-gradient(180deg,#3b82f6 0%,#8777ef 54%,#b88be7 100%);
}
.career-motivation .motivation-panel::after{
  top:-60px;right:-55px;width:260px;height:260px;
  background:radial-gradient(circle,rgba(158,126,238,.13),transparent 68%);
}
.career-motivation .motivation-panel p{
  font-size:clamp(18px,1.6vw,21px);
  line-height:1.85;
  font-weight:450;
  color:#34405f;
  max-width:115ch;
  margin-bottom:27px;
}
.career-motivation .motivation-panel p:first-child{font-weight:530;color:#172d55}
.career-motivation .motivation-panel p:last-child{margin-bottom:0}
@media(max-width:850px){
  .career-motivation .motivation-panel{padding:30px 28px 30px 36px}
  .career-motivation .motivation-panel p{font-size:17px;line-height:1.74}
}
@media(max-width:650px){
  .career-motivation{padding-top:36px}
  .career-motivation .motivation-panel{padding:24px 20px 24px 26px;border-radius:19px}
  .career-motivation .motivation-panel p{font-size:16px;line-height:1.72;margin-bottom:18px}
}


/* 2.0-p17: compact HR-friendly layout with right-side visualization */
.career-motivation{
  padding-top:42px;
}
.career-motivation .section-head h3{
  font-size:clamp(30px,3.8vw,48px);
}
.career-motivation .section-head span{
  font-size:13px;
  min-height:34px;
  padding:7px 12px;
}
.career-motivation .motivation-panel--compact{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(280px,0.95fr);
  gap:24px;
  align-items:stretch;
  padding:28px 30px 28px 38px;
  border-radius:24px;
}
.career-motivation .motivation-copy{
  position:relative;
  z-index:1;
}
.career-motivation .motivation-copy p{
  max-width:none;
  font-size:clamp(16px,1.35vw,18px);
  line-height:1.72;
  margin-bottom:18px;
}
.career-motivation .motivation-copy p:last-child{margin-bottom:0}
.motivation-visual{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(145deg, rgba(255,255,255,.82), rgba(242,245,255,.94));
  border:1px solid rgba(194,206,243,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.motivation-visual-top{display:flex;flex-direction:column;gap:8px}
.mv-eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#6e79a8;
}
.mv-role{
  font-size:20px;
  line-height:1.25;
  font-weight:800;
  color:#1d2e61;
}
.mv-flow{
  display:grid;
  gap:10px;
}
.mv-flow span{
  position:relative;
  display:flex;
  align-items:center;
  min-height:42px;
  padding:10px 12px 10px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid #d8e1fb;
  color:#25416e;
  font-size:14px;
  font-weight:700;
}
.mv-flow span:not(:last-child)::after{
  content:'↓';
  position:absolute;
  right:12px;
  color:#7d87bd;
  font-weight:800;
}
.mv-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.mv-tags span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef4ff;
  border:1px solid #d5e2ff;
  color:#4a5faa;
  font-size:12px;
  font-weight:700;
}
.mv-summary{
  padding:14px 14px 12px;
  border-radius:16px;
  background:linear-gradient(120deg,#f6f9ff,#fbf6ff);
  border:1px solid #dfe3fb;
}
.mv-summary strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
  color:#213665;
}
.mv-summary p{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#566684;
}
@media(max-width:1050px){
  .career-motivation .motivation-panel--compact{
    grid-template-columns:1fr;
    gap:18px;
    padding:24px 24px 24px 32px;
  }
  .motivation-visual{order:-1}
}
@media(max-width:650px){
  .career-motivation .section-head h3{font-size:clamp(27px,8vw,34px)}
  .career-motivation .motivation-panel--compact{
    padding:20px 16px 20px 22px;
    gap:14px;
    border-radius:18px;
  }
  .career-motivation .motivation-copy p{
    font-size:15px;
    line-height:1.64;
    margin-bottom:14px;
  }
  .motivation-visual{padding:14px;border-radius:16px;gap:12px}
  .mv-role{font-size:18px}
  .mv-flow span{min-height:38px;font-size:13px;padding:9px 11px 9px 14px}
  .mv-tags span{font-size:11px;padding:5px 9px}
}


/* 2.0-p18: smaller right-side visual and filled left empty area */
.career-motivation .motivation-panel--compact{
  grid-template-columns:minmax(0,1.72fr) minmax(250px,0.82fr);
  gap:20px;
  align-items:start;
  padding:24px 26px 24px 32px;
}
.career-motivation .motivation-copy p{
  font-size:clamp(15px,1.18vw,17px);
  line-height:1.66;
  margin-bottom:16px;
}
.motivation-inline-visual{
  margin-top:18px;
  display:grid;
  gap:12px;
}
.miv-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.miv-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  min-height:88px;
  padding:14px 15px;
  border-radius:16px;
  background:linear-gradient(145deg,#ffffff,#f6f9ff);
  border:1px solid #dce5fb;
  box-shadow:0 8px 18px rgba(37,69,125,.05);
}
.miv-card strong{
  font-size:18px;
  line-height:1.15;
  color:#19315b;
}
.miv-card span{
  font-size:13px;
  line-height:1.45;
  color:#61718e;
}
.miv-roadmap{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:6px 2px 0;
}
.miv-roadmap span{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  background:#eef4ff;
  border:1px solid #d7e3fc;
  color:#48619b;
  font-size:12px;
  font-weight:700;
}
.miv-roadmap span:not(:last-child)::after{
  content:'→';
  margin-left:10px;
  color:#94a7cf;
  font-weight:800;
}
.motivation-visual{
  gap:12px;
  padding:14px;
  border-radius:18px;
}
.mv-eyebrow{
  font-size:10px;
  letter-spacing:.14em;
}
.mv-role{
  font-size:16px;
  line-height:1.2;
}
.mv-flow{gap:8px}
.mv-flow span{
  min-height:36px;
  padding:8px 10px 8px 13px;
  font-size:13px;
  border-radius:12px;
}
.mv-flow span:not(:last-child)::after{right:10px}
.mv-tags{gap:6px}
.mv-tags span{
  min-height:28px;
  padding:5px 9px;
  font-size:11px;
}
.mv-summary{
  padding:12px 12px 11px;
  border-radius:14px;
}
.mv-summary strong{font-size:13px;margin-bottom:4px}
.mv-summary p{font-size:13px;line-height:1.45}
@media(max-width:1200px){
  .miv-grid{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:1050px){
  .career-motivation .motivation-panel--compact{
    grid-template-columns:1fr;
    gap:16px;
    padding:22px 22px 22px 28px;
  }
  .motivation-visual{order:-1}
}
@media(max-width:760px){
  .miv-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .career-motivation .motivation-panel--compact{
    padding:18px 14px 18px 20px;
    gap:14px;
  }
  .career-motivation .motivation-copy p{
    font-size:15px;
    line-height:1.62;
    margin-bottom:14px;
  }
  .miv-card{min-height:0;padding:13px 14px}
  .miv-card strong{font-size:17px}
  .miv-card span{font-size:13px}
  .motivation-inline-visual{margin-top:14px}
  .mv-role{font-size:15px}
}

/* 2.0-p21: Russian and English PDF download controls */
.top .resume-links { display:flex; align-items:center; gap:7px; flex:none; }
.top .resume-links .resume, .top .resume-en { display:inline-flex; justify-content:center; align-items:center; white-space:nowrap; min-height:39px; padding:10px 12px; border-radius:9px; font-size:12px; line-height:1.25; font-weight:750; text-decoration:none; transition:background .15s ease,border-color .15s ease; }
.top .resume-links .resume { background:#0868f7; color:#fff; }
.top .resume-en { color:#155bb8; border:1px solid #bdd9ff; background:#eef6ff; }
.top .resume-en:hover, .top .resume-en:focus-visible { background:#dceeff; border-color:#7cb6ff; }
.top .resume-links a[aria-busy="true"] { opacity:.7; cursor:wait; }
@media (max-width: 1480px) {
  .top { gap:10px; padding-left:2%; padding-right:2%; }
  .top .brand { min-width:170px; }
  .top nav { gap:3px; }
  .top nav a { padding:8px 7px; font-size:12px; }
  .top .resume-links .resume, .top .resume-en { padding:9px 9px; font-size:11.5px; }
}
@media (max-width: 1080px) {
  .top nav { display:none; }
  .top .brand { flex:1; }
}
@media (max-width: 650px) {
  .top { gap:7px; }
  .top .resume-links { gap:5px; }
  .top .resume-links .resume, .top .resume-en { font-size:11px; padding:9px 7px; min-height:36px; }
  .top .resume-links .resume:first-letter { font-size:11px; }
}
@media (max-width: 420px) {
  .top .brand small { display:none; }
  .top .brand b { font-size:19px; }
  .top .resume-links .resume, .top .resume-en { font-size:10px; padding:8px 6px; }
}

/* 2.1-p1: direct RU/EN resume PDF buttons immediately under hero descriptor */
.hero-resume-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 16px}
.hero-resume-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px;border-radius:11px;font-size:14px;font-weight:750;line-height:1.25;text-decoration:none;transition:transform .16s,box-shadow .16s,background .16s;box-shadow:0 5px 14px rgba(7,73,180,.08)}
.hero-resume-btn span{font-size:19px;line-height:1}
.hero-resume-btn--ru{background:#0868f7;color:white;border:1px solid #0868f7}
.hero-resume-btn--en{background:#f2f7ff;color:#165ebc;border:1px solid #bedaff}
.hero-resume-btn:hover,.hero-resume-btn:focus-visible{transform:translateY(-2px);box-shadow:0 7px 17px rgba(7,73,180,.16)}
.hero-resume-btn--ru:hover{background:#005be0}
.hero-resume-btn--en:hover{background:#e7f2ff}
@media(max-width:650px){.hero-resume-actions{gap:8px;margin:13px 0 15px}.hero-resume-btn{font-size:13px;padding:10px 12px;min-height:40px}}

/* 2.1-p2: single highlighted navigation item */
.top nav{display:flex;flex:1;justify-content:flex-end;align-items:center;min-width:0}
.top nav .nav-why-work{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px;line-height:1.2;padding:11px 16px}
@media(max-width:1080px){.top nav{display:flex;flex:0 0 auto;overflow:visible}}
@media(max-width:650px){.top{height:auto;min-height:62px;flex-wrap:wrap;justify-content:space-between;padding-top:8px;padding-bottom:8px}.top nav{order:3;width:100%;flex:0 0 100%;justify-content:center}.top nav .nav-why-work{font-size:12px;padding:8px 12px}}

/* 2.1-p3: contacts moved into header, former right hero column removed */
.top{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;min-height:72px;height:auto;
  padding:10px 3%;
}
.top .brand{flex:0 0 auto;min-width:170px}
.top .header-contacts{
  display:flex;flex:1 1 auto;align-items:center;justify-content:center;
  gap:clamp(10px,1.4vw,28px);min-width:0;
}
.top .header-contact{
  display:inline-flex;gap:7px;align-items:center;
  white-space:nowrap;font-size:clamp(12px,1vw,14px);
  font-weight:600;color:#3b5172;line-height:1.25;
  text-decoration:none;
}
.top .header-contact span:first-child{font-size:16px;color:#366cf0}
.top .header-contact--telegram{color:#1769ed}
.top .header-contact:hover,.top .header-contact:focus-visible{color:#075fe4;text-decoration:underline;text-underline-offset:4px}
.top nav{flex:0 0 auto;display:flex;justify-content:flex-end;order:0;width:auto;min-width:0}
.top nav .nav-why-work{padding:11px 13px;font-size:12px}
.hero{grid-template-columns:32% minmax(0,68%)}
.hero .intro{min-width:0;padding-right:2%}
@media(max-width:1160px){
  .top{gap:12px;padding-left:2%;padding-right:2%}
  .top .brand{min-width:140px}
  .top .header-contacts{gap:12px}
  .top .header-contact{font-size:12px}
  .top nav .nav-why-work{padding:9px 10px;font-size:11px}
}
@media(max-width:940px){
  .top{flex-wrap:wrap;gap:9px 15px;padding:10px 20px}
  .top .brand{flex:1 1 160px}
  .top nav{flex:0 0 auto;order:0;width:auto}
  .top .header-contacts{flex:0 0 100%;order:3;justify-content:flex-start;flex-wrap:wrap;gap:8px 20px}
  .top .header-contact{font-size:13px}
  .hero{grid-template-columns:30% minmax(0,70%)}
}
@media(max-width:650px){
  .top{padding:10px 16px;gap:9px}
  .top .brand{flex:1 1 auto;min-width:0}
  .top nav{order:0;width:auto;flex:0 0 auto;justify-content:flex-end}
  .top nav .nav-why-work{font-size:11px;padding:8px 10px}
  .top .header-contacts{order:3;width:100%;flex-basis:100%;gap:9px 15px}
  .top .header-contact{font-size:12px}
  .hero{display:block}
  .hero .intro{padding-right:0}
}
@media(max-width:390px){
  .top .brand b{font-size:18px}
  .top nav .nav-why-work{font-size:10px;padding:7px 8px}
  .top .header-contacts{gap:9px 12px}
}

/* 2.1-p4: contact chips in header, spaced and visually separated */
.top .header-contacts{
  display:flex;align-items:center;justify-content:center;
  gap:12px;min-width:0;flex:1 1 auto;
}
.top .header-contact{
  display:inline-flex;align-items:center;gap:10px;
  min-height:42px;padding:9px 14px;
  border:1px solid #e1eaf7;border-radius:12px;
  background:linear-gradient(135deg,#fff,#f7faff);
  box-shadow:0 3px 12px rgba(17,50,95,.035);
  font-size:13px;font-weight:650;letter-spacing:0;
  line-height:1.25;color:#334867;
  white-space:nowrap;text-decoration:none;
  transition:border-color .15s,background .15s,box-shadow .15s;
}
.top .header-contact span:first-child{
  display:grid;place-items:center;
  width:24px;height:24px;flex:0 0 24px;
  background:#edf4ff;color:#146af0;border-radius:7px;
  font-size:15px;line-height:1;
}
.top .header-contact--telegram{color:#1368e9;border-color:#cfe1ff;background:#f4f9ff}
.top .header-contact--telegram span:first-child{background:#e1efff}
.top .header-contact:hover,.top .header-contact:focus-visible{
  border-color:#a8ccff;background:#edf6ff;box-shadow:0 5px 15px rgba(31,98,202,.10);
  color:#075fe4;text-decoration:none;
}
@media(max-width:1190px){
  .top{gap:10px}
  .top .header-contacts{gap:7px}
  .top .header-contact{padding:8px 9px;gap:7px;font-size:12px}
}
@media(max-width:1060px){
  .top{flex-wrap:wrap}
  .top .header-contacts{order:3;flex:0 0 100%;justify-content:center;flex-wrap:wrap;gap:9px}
  .top nav{order:0;width:auto;flex:0 0 auto}
  .top .header-contact{font-size:13px;padding:9px 12px}
}
@media(max-width:650px){
  .top .header-contacts{justify-content:flex-start;gap:8px}
  .top .header-contact{min-height:38px;padding:7px 10px;font-size:12px;max-width:100%}
  .top .header-contact span:first-child{width:22px;height:22px;flex-basis:22px;font-size:14px}
}

/* 2.1-p5: prominent why-work CTA in the site header */
.top nav .nav-why-work,
.top nav a.nav-why-work {
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 padding:12px 18px;min-height:46px;
 font-size:14px;line-height:1.15;font-weight:800;
 letter-spacing:.005em;white-space:nowrap;
 border:1px solid #0761d9;border-radius:12px;
 background:linear-gradient(125deg,#0874f9,#2451d8);
 color:#fff;box-shadow:0 6px 17px rgba(15,91,221,.23);
 text-decoration:none;transition:transform .15s,background .15s,box-shadow .15s;
}
.top nav .nav-why-work:hover,
.top nav .nav-why-work:focus-visible {
 background:linear-gradient(125deg,#0062df,#183ebd);
 color:#fff;box-shadow:0 8px 21px rgba(15,91,221,.30);transform:translateY(-1px);
}
.top nav .nav-why-work span {font-size:17px;line-height:1;font-weight:800;}
@media(max-width:650px){
 .top nav .nav-why-work,.top nav a.nav-why-work {min-height:39px;padding:9px 11px;font-size:11px;border-radius:10px}
 .top nav .nav-why-work span{font-size:13px}
}
@media(max-width:390px){
 .top nav .nav-why-work,.top nav a.nav-why-work {padding:8px 9px;font-size:10px}
}


/* 2.1-p6: hero photo moved to the right and updated portrait */
.hero{min-height:420px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,360px);gap:34px;align-items:center;padding:26px 4% 8px;background:radial-gradient(circle at 10% 18%,#eef7ff,transparent 34%), radial-gradient(circle at 92% 18%,rgba(8,104,247,.08),transparent 30%), linear-gradient(120deg,#fff,#f8fbff)}
.photo{height:auto;align-self:center;overflow:visible;display:flex;justify-content:flex-end}.photo--hero-right{order:2}
.photo-frame{position:relative;width:min(100%,340px);aspect-ratio:1/1.07;padding:14px;border-radius:34px;background:linear-gradient(145deg,#ffffff,#edf4ff);border:1px solid #d4e4fb;box-shadow:0 26px 52px rgba(23,56,112,.12);display:flex;align-items:flex-end;justify-content:center}
.photo-frame::before{content:"";position:absolute;inset:18px 18px auto auto;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle, rgba(8,104,247,.18), rgba(8,104,247,0) 70%);pointer-events:none}
.photo-frame::after{content:"";position:absolute;left:18px;top:18px;width:90px;height:90px;border-radius:26px;background:linear-gradient(135deg,rgba(8,104,247,.12),rgba(68,167,255,.03));pointer-events:none}
.photo img{position:relative;z-index:1;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 24%;border-radius:26px;mix-blend-mode:normal;box-shadow:0 10px 28px rgba(27,54,102,.10)}
.intro{max-width:820px}.eyebrow{margin-bottom:14px}.intro h1{font-size:62px;line-height:.96;margin:0 0 10px}.intro h2{font-size:30px;margin:0 0 6px}.sub{font-size:23px;margin:4px 0 16px}.hero-resume-actions{margin-bottom:14px}.intro p{font-size:18px;line-height:1.6;margin:0 0 14px;max-width:880px}.facts{gap:18px 24px;font-size:14px}
@media(max-width:1120px){.hero{grid-template-columns:minmax(0,1fr) 300px;gap:24px;min-height:0;padding-top:22px}.intro h1{font-size:52px}.intro h2{font-size:27px}.sub{font-size:21px}}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:18px;padding-top:18px}.photo{justify-content:flex-start}.photo--hero-right{order:-1}.photo-frame{width:min(100%,320px);aspect-ratio:1/1.02}.intro h1{font-size:44px}.intro h2{font-size:24px}.sub{font-size:19px}.intro p{font-size:16px}}
@media(max-width:650px){.hero{padding-top:14px;gap:14px}.photo-frame{width:min(100%,270px);padding:10px;border-radius:24px}.photo img{border-radius:18px}.intro h1{font-size:37px}.intro h2{font-size:21px}.sub{font-size:17px;margin-bottom:12px}}

/* Achievements highlight / 2.2-p1 */
.metrics {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:32px 4% 10px;
  padding:32px;
  border:1px solid #c9ddfb;
  border-radius:26px;
  background:linear-gradient(135deg,#f0f7ff 0%,#f8fbff 48%,#f1f4ff 100%);
  box-shadow:0 17px 42px rgba(14,64,143,.08);
}
.metrics::before {
  content:"";
  position:absolute;
  left:0;top:24px;bottom:24px;width:6px;
  border-radius:0 8px 8px 0;
  background:linear-gradient(180deg,#0877f9,#8474ed);
}
.metrics-title {
  grid-column:1/-1;
  margin:0;
  color:#11274d;
  font-size:clamp(25px,3vw,34px);
  letter-spacing:-.025em;
  line-height:1.2;
}
.metrics-subtitle {
  grid-column:1/-1;
  margin:-6px 0 6px;
  color:#607592;
  font-size:14px;
}
.metrics > div {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  text-align:left;
  padding:21px 22px;
  min-height:126px;
  background:rgba(255,255,255,.94);
  border:1px solid #dce8fa;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(38,75,132,.055);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.metrics > div:last-child {border:1px solid #dce8fa}
.metrics > div:hover {
  transform:translateY(-3px);
  border-color:#a8cfff;
  box-shadow:0 13px 25px rgba(38,75,132,.1);
}
.metrics b {
  color:#0868f7;
  font-size:clamp(27px,2.7vw,38px);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.1;
}
.metrics span {
  font-size:15px;
  line-height:1.5;
  color:#39516f;
}
@media(max-width:900px) {
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px;gap:12px}
  .metrics > div{min-height:112px;padding:18px}
}
@media(max-width:560px) {
  .metrics{grid-template-columns:1fr;margin:22px 16px 8px;padding:19px 16px;border-radius:20px}
  .metrics > div{min-height:0;padding:16px 17px}
  .metrics b{font-size:29px}
  .metrics span{font-size:14px}
  .metrics-subtitle{font-size:13px}
}
@media(prefers-reduced-motion:reduce) {
  .metrics > div{transition:none}
  .metrics > div:hover{transform:none}
}


/* 2.2-p2: high-impact key results */
.highlights{
  position:relative;
  isolation:isolate;
  margin:34px 4% 8px;
  padding:32px;
  border:1px solid #bfd8fb;
  border-radius:28px;
  background:linear-gradient(135deg,#edf5ff 0%,#f9fbff 52%,#f0f3ff 100%);
  box-shadow:0 20px 48px rgba(19,61,128,.095);
}
.highlights::before{content:"";position:absolute;top:30px;bottom:30px;left:0;width:6px;border-radius:0 7px 7px 0;background:linear-gradient(#0877ff,#8877f1)}
.highlights .section-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 20px}
.highlights .section-head h3{font-size:clamp(26px,3vw,36px);font-weight:800;letter-spacing:-.035em;color:#0e2448}
.highlights .section-head span{font-size:14px;color:#526d95}
.highlights-grid{gap:14px;margin-top:0}
.highlights .highlight-card{position:relative;overflow:hidden;background:rgba(255,255,255,.97);border-color:#d4e4fa;border-radius:19px;padding:23px 23px 24px;box-shadow:0 8px 23px rgba(26,68,124,.06);transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
.highlights .highlight-card::before{content:"";position:absolute;top:0;right:0;width:94px;height:94px;background:radial-gradient(circle at 100% 0%,rgba(8,104,247,.1),transparent 70%);pointer-events:none}
.highlights .highlight-card:hover{transform:translateY(-3px);border-color:#92bdff;box-shadow:0 16px 32px rgba(26,68,124,.12)}
.highlights .highlight-icon{display:grid;place-items:center;width:46px;height:46px;font-size:24px;margin:0 0 14px;border:1px solid #d8e5fb;border-radius:13px;background:#eef5ff}
.highlights .highlight-card h4{font-size:19px;line-height:1.27;margin:0 0 10px;color:#11274e}
.highlights .highlight-card p{font-size:15px;line-height:1.65;color:#415674}
.highlights .highlight-card strong{font-size:1.06em;color:#075bcc;font-weight:800}
.highlights .highlight-focus{margin-top:17px;background:rgba(255,255,255,.75);border-color:#d0e0fa}
.highlights .highlight-focus>strong{color:#0d3976}
@media(max-width:900px){.highlights{padding:23px;margin:26px 3% 6px}.highlights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.highlights{margin:22px 16px 6px;padding:19px 16px;border-radius:20px}.highlights-grid{grid-template-columns:1fr}.highlights .highlight-card{padding:18px}.highlights .highlight-card h4{font-size:18px}.highlights .section-head h3{font-size:27px}}
@media(prefers-reduced-motion:reduce){.highlights .highlight-card{transition:none}.highlights .highlight-card:hover{transform:none}}

/* 2.2-p3: highlight career section, keep original timeline and typography */
.section.career#career{position:relative;isolation:isolate;margin:30px 4% 12px;padding:28px 30px 30px;border:1px solid #d0e2fa;border-radius:24px;background:linear-gradient(125deg,#f6faff,#fff 64%,#f7f6ff);box-shadow:0 14px 38px rgba(24,67,124,.065);scroll-margin-top:95px}
.section.career#career::before{content:"";position:absolute;left:0;top:26px;bottom:26px;width:5px;background:linear-gradient(#096cf4,#8a79eb);border-radius:0 5px 5px 0}
.section.career#career>.section-head{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #dce9f8;align-items:center;flex-wrap:wrap}
.section.career#career>.section-head h3{font-size:clamp(25px,2.6vw,33px);color:#142e56;letter-spacing:-.025em}
.section.career#career>.section-head span{color:#637a9b;font-size:13px}
/* Existing .timeline grid/card geometry remains unchanged. */
@media(max-width:650px){.section.career#career{margin:22px 16px 10px;padding:20px 16px 22px;border-radius:18px}.section.career#career>.section-head{margin-bottom:16px;padding-bottom:12px}.section.career#career>.section-head h3{font-size:25px}}


/* 2.2-p4: visually emphasize AI projects section, preserving all project cards */
.section#projects{
  position:relative;
  isolation:isolate;
  margin:30px 4% 12px;
  padding:28px 30px 30px;
  border:1px solid #cfdef8;
  border-radius:24px;
  background:linear-gradient(128deg,#f4f9ff 0%,#fff 62%,#f4f8ff 100%);
  box-shadow:0 14px 38px rgba(24,67,124,.07);
  scroll-margin-top:95px;
}
.section#projects::before{
  content:"";
  position:absolute;
  left:0;top:26px;bottom:26px;width:5px;
  border-radius:0 5px 5px 0;
  background:linear-gradient(180deg,#08a76e 0%,#0877f9 56%,#fd445c 100%);
}
.section#projects>.section-head{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 20px;
  margin-bottom:20px;
  padding-bottom:16px;
  border-bottom:1px solid #dce7f8;
}
.section#projects>.section-head h3{
  font-size:clamp(25px,2.8vw,34px);
  color:#102d55;
  letter-spacing:-.025em;
  font-weight:800;
}
.section#projects>.section-head span{color:#647c9b;font-size:13px}
/* Existing .projects grid, .project color schemes, actions and expand-on-hover behavior remain untouched. */
@media(max-width:650px){
  .section#projects{margin:22px 16px 10px;padding:20px 16px 22px;border-radius:18px}
  .section#projects>.section-head{margin-bottom:15px;padding-bottom:12px}
  .section#projects>.section-head h3{font-size:25px}
}

/* 2.2-p6: mountain mark #3 in the site header */
.top .brand--mountain{display:inline-flex;align-items:center;gap:10px;min-width:210px;flex-shrink:0}
.top .brand-logo{display:block;width:62px;height:62px;object-fit:contain;border-radius:10px;flex:0 0 62px}
.top .brand-wordmark{display:flex;flex-direction:column;min-width:0}
.top .brand-wordmark b{display:block;line-height:1.05;font-size:23px;white-space:nowrap;color:#12223c}
.top .brand-wordmark small{display:block;margin-top:5px;font-size:8px;letter-spacing:.9px;white-space:nowrap}
@media(max-width:1120px){.top .brand--mountain{min-width:0}.top .brand-logo{width:52px;height:52px;flex-basis:52px}.top .brand-wordmark b{font-size:21px}.top .brand-wordmark small{font-size:7px;letter-spacing:.6px}}
@media(max-width:650px){.top .brand--mountain{gap:7px}.top .brand-logo{width:44px;height:44px;flex-basis:44px}.top .brand-wordmark b{font-size:19px}.top .brand-wordmark small{font-size:6px;letter-spacing:.4px}}

/* 2.2-p10 — highlight RU / IL IT and the Russian reading РУЛИТ; logo untouched */
.top .brand-mainline .brand-accent{color:#176eed;font-weight:800}
.top .brand-mainline .brand-separator{color:#8a9bb4;padding:0 1px}
.top .brand-wordmark .brand-tagline{white-space:nowrap}
.top .brand-rulit{font-weight:800;color:#176eed;letter-spacing:.4px}
@media(max-width:650px){
  .top .brand-mainline{font-size:clamp(16px,4.6vw,19px)}
  .top .brand-wordmark .brand-tagline{font-size:6px;letter-spacing:0}
  .top .brand-rulit{letter-spacing:0}
}

/* 2.4-p4 — longer CPO title: preserve hero layout and mobile readability. */
.hero .intro h2{font-size:clamp(17px,1.8vw,24px);line-height:1.25;overflow-wrap:break-word;text-wrap:balance}
@media(max-width:650px){.hero .intro h2{font-size:clamp(17px,4.5vw,22px);line-height:1.25}}

/* Job-Fit semantic search highlight · p6 */
.project.red .jobfit-vector{margin:10px 0 12px;padding:12px 13px;border:1px solid #ffc4ca;border-left:4px solid #f04b65;border-radius:12px;background:linear-gradient(115deg,#fff,#fff1f4);box-shadow:0 4px 12px rgba(208,44,78,.06)}
.project.red .jobfit-vector strong{display:block;font-size:13px;color:#a82f4a;margin-bottom:5px;line-height:1.35}
.project.red .jobfit-vector span{display:block;color:#4d5c75;font-size:12px;line-height:1.5}
@media(max-width:600px){.project.red .jobfit-vector{padding:11px 12px}}

/* 2.4-p7 — Kudirka AI transaction analysis and centrally updated tax rules */
.project.green .kudirka-intelligence{margin:10px 0 12px;padding:12px 13px;border:1px solid #b8e8d6;border-left:4px solid #00a66c;border-radius:12px;background:linear-gradient(115deg,#fff,#effbf5);box-shadow:0 4px 12px rgba(0,143,94,.07)}
.project.green .kudirka-intelligence strong{display:block;font-size:13px;color:#08734f;margin-bottom:5px;line-height:1.35}
.project.green .kudirka-intelligence span{display:block;color:#4d5c75;font-size:12px;line-height:1.5}
@media(max-width:600px){.project.green .kudirka-intelligence{padding:11px 12px}}
