:root {
	--bg-top: #f8fafc;
	--bg-bottom: #e2edf0;
	--ink: #0f172a;
	--muted: #475569;
	--line: #d4e1e6;
	--card: rgba(255, 255, 255, 0.86);
	--card-strong: rgba(255, 255, 255, 0.95);
	--accent: #0f766e;
	--accent-soft: #14b8a6;
	--shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--ink);
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
	background:
		radial-gradient(
			circle at 14% 12%,
			rgba(251, 191, 36, 0.34) 0 22%,
			transparent 35%
		),
		radial-gradient(
			circle at 88% 8%,
			rgba(14, 165, 233, 0.24) 0 20%,
			transparent 34%
		),
		linear-gradient(150deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.cv-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 42px 20px 56px;
}

.card {
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 22px;
	box-shadow: var(--shadow);
	backdrop-filter: blur(5px);
}

.hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 24px;
	background: linear-gradient(135deg, var(--card-strong) 0%, var(--card) 100%);
	padding: 36px;
	margin-bottom: 22px;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto -40px -55px auto;
	width: 280px;
	height: 140px;
	border-radius: 180px;
	background: linear-gradient(
		90deg,
		rgba(20, 184, 166, 0.24),
		rgba(14, 165, 233, 0.18)
	);
	transform: rotate(-8deg);
}

.hero-tag {
	margin: 0;
	color: var(--accent);
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
}

.hero-main {
	position: relative;
	z-index: 1;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: "Sora", "Trebuchet MS", sans-serif;
}

h1 {
	margin-top: 10px;
	font-size: clamp(2rem, 5.2vw, 3.2rem);
	line-height: 1.05;
}

.hero-role {
	margin: 8px 0 0;
	font-size: clamp(1rem, 2.4vw, 1.25rem);
	color: var(--muted);
}

.hero-meta {
	position: relative;
	z-index: 1;
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero-photo {
	position: relative;
	z-index: 1;
	width: 192px;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 7px;
	border-radius: 50%;
	background: linear-gradient(
		160deg,
		rgba(20, 184, 166, 0.45),
		rgba(14, 165, 233, 0.28)
	);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 30%;
	border: 4px solid rgba(255, 255, 255, 0.8);
}

.hero-meta span {
	border: 1px solid rgba(15, 118, 110, 0.28);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 0.84rem;
	color: #115e59;
	background: rgba(20, 184, 166, 0.09);
}

.cv-layout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 20px;
}

.sidebar,
.content {
	display: grid;
	gap: 16px;
	align-content: start;
}

.panel {
	padding: 20px;
	background: var(--card);
}

.panel h2 {
	font-size: 1.03rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #0b4955;
	margin-bottom: 12px;
}

.detail-list {
	margin: 0;
	display: grid;
	gap: 14px;
}

.detail-list dt {
	color: var(--muted);
	font-size: 0.77rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.detail-list dd {
	margin: 0;
	line-height: 1.45;
	font-size: 0.95rem;
}

.simple-list,
.chip-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.simple-list {
	display: grid;
	gap: 9px;
}

.simple-list a,
.detail-list a {
	color: #0f4f6a;
	text-decoration: none;
	border-bottom: 1px dashed rgba(15, 79, 106, 0.4);
}

.simple-list a:hover,
.detail-list a:hover {
	color: #0c6b7a;
	border-bottom-color: rgba(12, 107, 122, 0.8);
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip-list li {
	background: rgba(15, 118, 110, 0.1);
	color: #115e59;
	border: 1px solid rgba(15, 118, 110, 0.26);
	border-radius: 999px;
	padding: 6px 11px;
	font-size: 0.84rem;
}

.content .panel {
	background: var(--card-strong);
}

.entry + .entry {
	border-top: 1px solid var(--line);
	margin-top: 14px;
	padding-top: 14px;
}

.entry-head {
	display: grid;
	gap: 8px;
}

.entry-head h3 {
	font-size: 1rem;
	line-height: 1.36;
	font-weight: 600;
}

.entry-head p {
	margin: 0;
	color: var(--muted);
	font-size: 0.79rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.entry-note {
	margin: 8px 0 0;
	color: #334155;
	line-height: 1.5;
}

.hero,
.panel {
	animation: rise 620ms ease-out both;
}

.sidebar .panel:nth-child(2),
.content .panel:nth-child(2) {
	animation-delay: 80ms;
}

.sidebar .panel:nth-child(3),
.content .panel:nth-child(3) {
	animation-delay: 120ms;
}

.sidebar .panel:nth-child(4),
.content .panel:nth-child(4) {
	animation-delay: 160ms;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 980px) {
	.hero {
		grid-template-columns: 1fr auto;
	}

	.hero-photo {
		width: 152px;
	}

	.cv-layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.cv-shell {
		padding: 20px 14px 34px;
	}

	.hero {
		grid-template-columns: 1fr;
		padding: 24px 18px;
	}

	.hero-photo {
		width: 128px;
		justify-self: end;
	}

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

	.panel {
		padding: 16px;
		border-radius: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero,
	.panel {
		animation: none;
	}
}
