﻿/* Base */

:root {
	--bg: #070b12;
	--bg-soft: #0b1120;
	--surface: rgba(255, 255, 255, .04);
	--surface-2: rgba(255, 255, 255, .07);
	--border: rgba(255, 255, 255, .09);
	--border-strong: rgba(255, 255, 255, .18);
	--brand: #007ced;
	--brand-light: #4aa8ff;
	--cyan: #22d3ee;
	--violet: #8b5cf6;
	--heading: #f4f8ff;
	--text: #a3aec2;
	--muted: #6b7688;
	--grad: linear-gradient(120deg, #2b8fff, #22d3ee);
	--grad-violet: linear-gradient(120deg, #4aa8ff, #8b5cf6);
	--font: 'Inter', Helvetica, Arial, sans-serif;
	--display: 'Inter', Helvetica, Arial, sans-serif;
	--r-lg: 24px;
	--r: 16px;
	--r-sm: 12px;
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	background-color: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.is-locked {
	overflow: hidden;
}

a {
	color: var(--brand-light);
	text-decoration: none;
	transition: color .25s ease;
}

a:hover {
	color: var(--cyan);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.15;
	color: var(--heading);
}

p {
	margin: 0 0 12px;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: inherit;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	vertical-align: middle;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.text-grad {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

@media (max-width: 600px) {
	.container {
		padding: 0 18px;
	}
}

/* Reveal */

.animations [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
	transition-delay: calc(var(--i, 0) * 80ms);
}

.animations [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.animations [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Background */

.bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: radial-gradient(120% 90% at 50% -10%, var(--bg-soft), var(--bg) 55%);
}

.bg-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(100% 70% at 50% 0%, #000 40%, transparent 80%);
	-webkit-mask-image: radial-gradient(100% 70% at 50% 0%, #000 40%, transparent 80%);
}

/* Spin */

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Header */

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 18px 0;
	transition: padding .3s ease, background-color .3s ease, border-color .3s ease;
	border-bottom: 1px solid transparent;
}

.header.is-scrolled {
	padding: 12px 0;
	background: rgba(7, 11, 18, .72);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom-color: var(--border);
}

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

.header-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--heading);
}

.header-logo:hover {
	color: var(--heading);
}

.header-logo__mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	font-family: var(--display);
	font-weight: 800;
	font-size: 18px;
	color: #fff;
	background: var(--grad);
	border-radius: 10px;
}

.header-logo__mark .social-ico {
	width: 20px;
	height: 20px;
}

.header-logo__text {
	font-family: var(--display);
	font-size: 18px;
	font-weight: 700;
}

.header-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 35px;
}

.header-controls {
	display: flex;
	align-items: center;
	gap: 15px;
}

.header-nav__link {
	position: relative;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
}

.header-nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 2px;
	background: var(--grad);
	border-radius: 2px;
	transition: width .25s ease;
}

.header-nav__link:hover,
.header-nav__link.is-active {
	color: var(--heading);
}

.header-nav__link:hover::after,
.header-nav__link.is-active::after {
	width: 100%;
}

.header-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}

.header-toggle__bar {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--heading);
	border-radius: 2px;
	transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 860px) {
	.header-toggle {
		display: block;
	}

	.header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 0 24px;
		max-height: 0;
		overflow: hidden;
		background: rgba(7, 11, 18, .98);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		border-bottom: 1px solid var(--border);
		box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .85);
		transition: max-height .35s ease, padding .35s ease;
	}

	.header.is-open .header-nav {
		max-height: calc(100vh - 64px);
		padding: 8px 24px 22px;
		overflow-y: auto;
	}

	.header-nav__link {
		display: block;
		padding: 15px 2px;
		font-size: 17px;
		border-bottom: 1px solid var(--border);
	}

	.header-nav__link::after {
		display: none;
	}

	.header-controls .header-nav__cta {
		display: none;
	}

	.header.is-open .header-toggle__bar:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.header.is-open .header-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.header.is-open .header-toggle__bar:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

/* Language switcher */

.lang {
	position: relative;
}

.lang-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 6px;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	background: transparent;
	border: none;
	cursor: pointer;
	transition: color .25s ease;
}

.lang-toggle:hover,
.lang.is-open .lang-toggle {
	color: var(--heading);
}

.lang-toggle .material-symbols-outlined {
	font-size: 20px;
}

.lang-caret {
	font-size: 18px;
	transition: transform .25s ease;
}

.lang.is-open .lang-caret {
	transform: rotate(180deg);
}

.lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 170px;
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: rgba(7, 11, 18, .98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	z-index: 1002;
}

.lang.is-open .lang-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-option {
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	border-radius: 8px;
	transition: color .2s ease, background-color .2s ease;
}

.lang-option:hover {
	color: var(--heading);
	background: var(--surface-2);
}

.lang-option.is-active {
	color: var(--heading);
	background: var(--surface-2);
}

/* Button */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}

.btn-sm {
	padding: 10px 20px;
	font-size: 14px;
}

.btn-primary {
	color: #fff;
	background: var(--brand);
	box-shadow: 0 6px 16px -8px rgba(0, 124, 237, .5);
}

.btn-primary:hover {
	color: #fff;
	transform: translateY(-2px);
	background: #1585ee;
	box-shadow: 0 12px 24px -10px rgba(0, 124, 237, .55);
}

.btn-ghost {
	color: var(--heading);
	background: var(--surface);
	border-color: var(--border-strong);
}

.btn-ghost:hover {
	color: var(--heading);
	transform: translateY(-2px);
	background: var(--surface-2);
	border-color: var(--brand-light);
}

/* Section head */

.section-head {
	max-width: 620px;
	margin: 0 0 56px;
	text-align: left;
}

.section-head__label {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brand-light);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 100px;
}

.section-head__title {
	margin: 0 0 16px;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.section-head__desc {
	margin: 0;
	font-size: 16px;
	color: var(--text);
}

@media (max-width: 600px) {
	.section-head {
		margin-bottom: 40px;
	}

	.section-head__title {
		font-size: 30px;
	}
}

/* Hero */

.hero {
	position: relative;
	padding: 150px 0 32px;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 60px;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 100px;
	transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.hero-eyebrow:hover {
	transform: translateY(-2px);
	border-color: var(--brand-light);
	background: var(--surface-2);
}

.hero-eyebrow__logo {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.hero-title {
	margin: 0 0 14px;
	font-size: 78px;
	font-weight: 800;
	letter-spacing: -.03em;
}

.hero-roles {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 26px;
	font-family: var(--display);
	font-size: 26px;
	font-weight: 600;
}

.hero-roles__label {
	color: var(--muted);
}

.hero-roles__rotator {
	display: inline-grid;
}

.hero-roles__item {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .5s ease, transform .5s ease;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	white-space: nowrap;
}

.hero-roles__item.is-active {
	opacity: 1;
	transform: none;
}

.hero-desc {
	max-width: 520px;
	margin: 0 0 34px;
	font-size: 17px;
	color: var(--text);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 38px;
}

.hero-socials {
	display: flex;
	gap: 12px;
}

.hero-socials__link {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	font-size: 20px;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	transition: transform .25s ease, color .25s ease, border-color .25s ease, background-color .25s ease;
}

.hero-socials__link:hover {
	transform: translateY(-3px);
	color: #fff;
	background: var(--surface-2);
	border-color: var(--brand-light);
}

.social-ico {
	display: block;
	background-color: currentColor;
	-webkit-mask: var(--src) center / contain no-repeat;
	mask: var(--src) center / contain no-repeat;
}

.hero-socials__link .social-ico {
	width: 22px;
	height: 22px;
}

.hero-visual {
	position: relative;
	justify-self: center;
}

.hero-photo {
	position: relative;
	width: 360px;
	height: 360px;
	max-width: 100%;
}

.hero-photo__glow {
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	background: conic-gradient(from 180deg, var(--brand), var(--cyan), var(--violet), var(--brand));
	opacity: .45;
	animation: spin 22s linear infinite;
}

.hero-photo__img {
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 5px solid var(--bg);
}

.hero-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 500;
	color: var(--heading);
	background: rgba(11, 17, 32, .94);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow);
	will-change: transform;
	animation: float 5s ease-in-out infinite;
}

.hero-chip--top {
	top: 6%;
	left: -34px;
}

.hero-chip--bottom {
	bottom: 8%;
	right: -30px;
	animation-delay: 1.4s;
}

.hero-chip__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	font-size: 18px;
	color: #fff;
	background: var(--grad);
	border-radius: 8px;
}

@keyframes float {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, -12px, 0); }
}

@media (max-width: 980px) {
	.hero {
		padding: 90px 0 32px;
		text-align: left;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hero-visual {
		order: -1;
		justify-self: start;
	}

	.hero-actions,
	.hero-socials {
		justify-content: flex-start;
	}

	.hero-roles__item {
		text-align: left;
	}
}

@media (max-width: 600px) {
	.hero-title {
		font-size: 48px;
	}

	.hero-roles {
		font-size: 21px;
        margin-bottom: 16px;
	}

	.hero-desc {
		font-size: 16px;
	}

	.hero-photo {
		width: 200px;
		height: 200px;
	}

	.hero-chip {
		display: none;
	}
}

/* Projects */

.projects {
	padding: 32px 0;
}

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

.project {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}

.project::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(80% 120% at 100% 0%, rgba(0, 124, 237, .09), transparent 60%);
	opacity: 0;
	transition: opacity .3s ease;
}

.project:hover {
	color: var(--text);
	transform: translateY(-6px);
	background: var(--surface-2);
	border-color: transparent;
}

.project:hover::before {
	opacity: 1;
}

@property --project-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.project::after {
	content: '';
	position: absolute;
	inset: 0;
	padding: 2px;
	border-radius: var(--r-lg);
	background: conic-gradient(from var(--project-angle),
		rgba(74, 168, 255, .28) 0deg,
		var(--brand-light) 40deg,
		var(--cyan) 68deg,
		#eaf6ff 84deg,
		var(--cyan) 100deg,
		var(--brand-light) 128deg,
		rgba(74, 168, 255, .28) 168deg,
		rgba(74, 168, 255, .28) 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	opacity: 0;
	transform: scale(.98);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: none;
}

.project:hover::after {
	opacity: 1;
	transform: scale(1);
	animation: project-border 2.5s linear infinite;
}

@keyframes project-border {
	to { --project-angle: 360deg; }
}

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

.project-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.project-logo img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	transition: transform .3s ease;
}

.project-arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-left: auto;
	font-size: 18px;
	color: var(--heading);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 50%;
	transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.project:hover .project-arrow {
	color: #fff;
	background: var(--brand);
	transform: rotate(45deg);
}

.project.project--flagship:hover .project-arrow {
    transform: rotate(45deg) translateY(-10px);
}


.project-tag {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand-light);
}

.project-title {
	margin: 8px 0 12px;
	font-size: 26px;
	transition: color .3s ease;
}

.project:hover .project-logo img {
	transform: scale(1.12);
}

.project:hover .project-title {
	color: var(--brand-light);
}

.project-desc {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--text);
}

.project-link {
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--heading);
	transition: color .3s ease;
}

.project:hover .project-link {
	color: var(--brand-light);
}

.project--flagship {
	grid-column: 1 / -1;
	padding: 36px;
}

.project--flagship .project-title {
	font-size: 40px;
}

.project--flagship .project-desc {
	max-width: 620px;
	font-size: 16px;
}

.project-flag {
	display: flex;
	align-items: center;
	gap: 40px;
}

.project-flag__main {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.project-flag__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 18px;
	flex-shrink: 0;
}

.project-logo--lg {
	flex-shrink: 0;
}

.project-logo--lg img {
	width: 132px;
	height: 132px;
}

@media (max-width: 900px) {
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.projects-grid {
		grid-template-columns: 1fr;
	}

	.project--flagship {
		padding: 28px;
	}

	.project--flagship .project-title {
		font-size: 26px;
	}

	.project--flagship .project-desc {
		max-width: none;
		font-size: 14px;
	}

	.project-flag {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 18px;
	}

	.project-flag__side {
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-between;
		gap: 0;
	}

	.project-logo--lg img {
		width: 40px;
		height: 40px;
	}

	.project--flagship:hover .project-arrow {
		transform: rotate(45deg);
	}
}

/* Stats */

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 44px 30px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}

.stat {
	text-align: center;
}

.stat-num {
	font-family: var(--display);
	font-size: 52px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.stat-label {
	margin-top: 10px;
	font-size: 14px;
	color: var(--text);
}

@media (max-width: 720px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px 20px;
	}

	.stat-num {
		font-size: 42px;
	}
}

/* CTA */

.cta {
	padding: 32px 0;
}

.cta-box {
	position: relative;
	padding: 64px 40px;
	text-align: center;
	background: linear-gradient(180deg, rgba(0, 124, 237, .08), rgba(11, 17, 32, .4));
	border: 1px solid var(--border-strong);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.cta-box__glow {
	position: absolute;
	top: -60%;
	left: 50%;
	width: 520px;
	height: 520px;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(0, 124, 237, .15), transparent 60%);
	pointer-events: none;
}

.cta-box__title {
	position: relative;
	margin: 0 0 14px;
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.cta-box__desc {
	position: relative;
	max-width: 460px;
	margin: 0 auto 30px;
	font-size: 16px;
	color: var(--text);
}

.cta-box__actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

@media (max-width: 600px) {
	.cta-box {
		padding: 46px 24px;
	}

	.cta-box__title {
		font-size: 24px;
	}

	.cta-box__actions .btn {
		width: 100%;
	}
}

/* Page hero */

.page-hero {
	padding: 150px 0 60px;
	text-align: left;
}

.page-hero__label {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brand-light);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 100px;
}

.page-hero__title {
	margin: 0 0 16px;
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -.03em;
}

.page-hero__desc {
	max-width: 560px;
	margin: 0;
	font-size: 17px;
	color: var(--text);
}

@media (max-width: 600px) {
	.page-hero {
		padding: 108px 0 40px;
	}

	.page-hero__title {
		font-size: 38px;
	}
}

/* Timeline */

.timeline {
	position: relative;
	padding-bottom: 40px;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 90px;
	left: 7px;
	width: 2px;
	background: linear-gradient(180deg, var(--brand), var(--violet), transparent);
}

.timeline-item {
	position: relative;
	padding: 0 0 34px 44px;
}

.timeline-item:last-child {
	padding-bottom: 0;
}

.timeline-item::before {
	content: '';
	position: absolute;
	top: 4px;
	left: 0;
	width: 16px;
	height: 16px;
	background: var(--bg);
	border: 3px solid var(--brand-light);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(0, 124, 237, .07);
}

.timeline-item__period {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 14px;
	font-family: var(--font);
	font-size: 12px;
	font-weight: 600;
	color: var(--brand-light);
	background: rgba(0, 124, 237, .1);
	border: 1px solid rgba(0, 124, 237, .25);
	border-radius: 100px;
}

.timeline-item__card {
	padding: 24px 26px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r);
	transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}

.timeline-item__card:hover {
	transform: translateX(4px);
	background: var(--surface-2);
	border-color: var(--border-strong);
}

.timeline-item__company {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
}

.timeline-item__title {
	margin: 0 0 12px;
	font-size: 20px;
}

.timeline-item p {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--text);
}

.timeline-item p:last-child {
	margin-bottom: 0;
}

.timeline-item__events {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.timeline-event {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 16px;
}

.timeline-event__date {
	padding-top: 1px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
	text-align: right;
	white-space: nowrap;
	color: var(--brand-light);
}

.timeline-event__text {
	position: relative;
	padding: 0 0 16px 20px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text);
	border-left: 2px solid var(--border);
}

.timeline-event:last-child .timeline-event__text {
	padding-bottom: 0;
	border-left-color: transparent;
}

.timeline-event__text::before {
	content: '';
	position: absolute;
	left: -5px;
	top: 6px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--grad);
	box-shadow: 0 0 0 3px var(--bg);
}

@media (max-width: 600px) {
	.timeline::before {
		display: none;
	}

	.timeline-item {
		padding-left: 0;
	}

	.timeline-item::before {
		display: none;
	}

	.timeline-item__card {
		padding: 20px;
	}

	.timeline-item__title {
		font-size: 18px;
	}

	.timeline-event {
		grid-template-columns: 68px 1fr;
		gap: 12px;
	}

	.timeline-event__date {
		font-size: 12px;
	}
}

/* Skills */

.skills {
	padding-bottom: 40px;
}

.skills-group:not(:last-child) {
	margin-bottom: 48px;
}

.skills-group__title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 24px;
	font-size: 22px;
}

.skills-group__title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--border-strong), transparent);
}

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

.skill {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r);
	transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}

.skill:hover {
	color: var(--text);
	transform: translateY(-4px);
	background: var(--surface-2);
	border-color: var(--brand-light);
}

.skill-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--border);
	border-radius: 12px;
}

.skill-icon img {
	max-width: 28px;
	max-height: 28px;
}

.skill-name {
	display: block;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 600;
	color: var(--heading);
}

.skill-note {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--muted);
}

@media (max-width: 860px) {
	.skills-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.skills-grid {
		grid-template-columns: 1fr;
	}
}

/* Contacts */

.contacts {
	padding-bottom: 100px;
}

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

.contact {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r);
	transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}

.contact:hover {
	color: var(--text);
	transform: translateY(-4px);
	background: var(--surface-2);
	border-color: var(--brand-light);
}

.contact-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	font-size: 24px;
	color: var(--brand-light);
	background: rgba(0, 124, 237, .1);
	border: 1px solid rgba(0, 124, 237, .22);
	border-radius: 14px;
}

.contact-icon .social-ico {
	width: 26px;
	height: 26px;
}

.contact-label {
	display: block;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-value {
	display: block;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 600;
	color: var(--heading);
}

@media (max-width: 820px) {
	.contacts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.contacts {
		padding-bottom: 40px;
	}

	.contacts-grid {
		grid-template-columns: 1fr;
	}
}

/* Footer */

.footer {
	padding: 32px 0;
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, transparent, rgba(0, 124, 237, .05));
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-copyright {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

.footer-up {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	font-size: 20px;
	color: var(--heading);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	transition: transform .25s ease, border-color .25s ease, color .25s ease;
}

.footer-up:hover {
	color: #fff;
	transform: translateY(-3px);
	border-color: var(--brand-light);
}

@media (max-width: 480px) {
	.footer-bottom {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
}
