:root {
	--ink: #302a31;
	--muted: #6f6770;
	--paper: #fffaf7;
	--shell: #f8edf1;
	--blush: #c9728f;
	--berry: #8b3d60;
	--sage: #7f9b8c;
	--gold: #bd8a48;
	--line: #ead7df;
	--white: #ffffff;
	--shadow: 0 18px 50px rgba(87, 48, 68, .14);
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

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

img {
	display: block;
	max-width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px clamp(18px, 5vw, 70px);
	border-bottom: 1px solid rgba(234, 215, 223, .85);
	background: rgba(255, 250, 247, .92);
	backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-actions,
.hero-actions,
.contact-strip,
.socials,
.project-links {
	display: flex;
	align-items: center;
}

.brand {
	gap: 10px;
	font-weight: 800;
}

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--white);
	background: var(--berry);
	font-size: 13px;
}

.nav-links {
	gap: 22px;
	font-size: 14px;
	color: var(--muted);
}

.nav-links a:hover,
.lang-link.is-active,
.lang-link:hover {
	color: var(--berry);
}

.nav-actions {
	gap: 8px;
}

.lang-link,
.icon-link {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.hero {
	position: relative;
	overflow: hidden;
	display: grid;
	align-items: center;
	min-height: 78vh;
	padding: clamp(72px, 10vw, 120px) clamp(18px, 6vw, 84px);
	background:
		linear-gradient(105deg, rgba(255,250,247,.96) 0%, rgba(248,237,241,.92) 52%, rgba(230,239,232,.88) 100%);
}

.hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255,250,247,.96) 0%, rgba(255,250,247,.68) 48%, rgba(255,250,247,.08) 100%);
	z-index: 1;
}

.hero-copy {
	position: relative;
	z-index: 2;
	max-width: 690px;
}

.eyebrow,
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--berry);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	max-width: 760px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(48px, 9vw, 104px);
	line-height: .95;
	font-weight: 700;
	letter-spacing: 0;
}

.headline {
	margin: 22px 0 0;
	color: var(--berry);
	font-size: clamp(20px, 3vw, 30px);
	font-weight: 700;
}

.summary {
	max-width: 640px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.8;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.btn.primary {
	color: var(--white);
	background: var(--berry);
	box-shadow: 0 12px 28px rgba(139, 61, 96, .24);
}

.btn.secondary {
	color: var(--berry);
	border-color: var(--line);
	background: rgba(255, 255, 255, .78);
}

.contact-strip {
	flex-wrap: wrap;
	gap: 12px 18px;
	margin-top: 30px;
	color: var(--muted);
	font-size: 14px;
}

.contact-strip span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero-visual {
	position: absolute;
	right: clamp(16px, 6vw, 88px);
	bottom: 0;
	z-index: 0;
	width: min(42vw, 480px);
	max-height: 86%;
	opacity: .94;
}

.hero-visual img,
.profile-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center;
	border-radius: 220px 220px 0 0;
	border: 10px solid rgba(255,255,255,.56);
	box-shadow: var(--shadow);
}

.profile-placeholder {
	display: grid;
	place-items: center;
	color: var(--white);
	background:
		linear-gradient(145deg, var(--berry), var(--sage));
}

.profile-placeholder span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(72px, 12vw, 148px);
}

.profile-placeholder i {
	position: absolute;
	right: 18%;
	bottom: 16%;
	font-size: 42px;
	color: rgba(255,255,255,.74);
}

.section {
	padding: clamp(64px, 8vw, 104px) clamp(18px, 6vw, 84px);
}

.section.muted {
	background: #f2f7f4;
}

.split,
.contact-section,
.compact-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(28px, 6vw, 74px);
}

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

.section-heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.section h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.05;
	letter-spacing: 0;
}

.prose {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.85;
}

.socials {
	gap: 10px;
	margin-top: 22px;
}

.socials a {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--white);
	background: var(--ink);
}

.service-grid,
.project-grid,
.skill-grid {
	display: grid;
	gap: 18px;
}

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

.soft-card,
.project-card,
.contact-panel,
.timeline article,
.mini-item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 10px 34px rgba(80, 54, 66, .08);
}

.soft-card {
	padding: 26px;
}

.soft-card > i {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 50%;
	color: var(--white);
	background: var(--blush);
	font-size: 18px;
}

.soft-card h3,
.project-card h3,
.timeline h3,
.mini-item h3 {
	margin: 0;
	font-size: 20px;
}

.soft-card p,
.project-description,
.timeline p,
.mini-item p,
.contact-section p {
	color: var(--muted);
	line-height: 1.7;
}

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

.skill-row {
	padding: 18px;
	border-radius: var(--radius);
	background: var(--white);
}

.skill-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
}

.skill-title i {
	color: var(--berry);
}

.skill-category {
	display: block;
	margin: 8px 0 12px;
	color: var(--muted);
	font-size: 13px;
}

.skill-meter {
	overflow: hidden;
	height: 8px;
	border-radius: 99px;
	background: #e0e7e2;
}

.skill-meter span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--berry), var(--sage));
}

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

.project-card {
	overflow: hidden;
}

.project-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--shell);
}

.project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-media span {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 7px 10px;
	border-radius: 999px;
	color: var(--white);
	background: var(--berry);
	font-size: 12px;
	font-weight: 800;
}

.project-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--berry);
	font-size: 46px;
	background: linear-gradient(135deg, var(--shell), #e8f1ea);
}

.project-body {
	padding: 22px;
}

.project-body > p {
	margin: 0 0 8px;
	color: var(--berry);
	font-weight: 800;
}

.project-body small {
	display: block;
	margin-top: 14px;
	color: var(--gold);
	font-weight: 800;
}

.project-links {
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.project-links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--berry);
	font-weight: 800;
	font-size: 14px;
}

.timeline {
	display: grid;
	gap: 16px;
	max-width: 960px;
}

.timeline article {
	padding: 22px;
	border-left: 5px solid var(--sage);
}

.timeline span,
.mini-item small {
	color: var(--berry);
	font-weight: 800;
	font-size: 13px;
}

.timeline strong {
	display: block;
	margin-top: 8px;
	color: var(--gold);
}

.mini-item {
	margin-top: 16px;
	padding: 20px;
}

.contact-panel {
	padding: 24px;
}

label {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--ink);
	font-weight: 800;
}

input,
textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 13px 14px;
	color: var(--ink);
	background: #fffdfb;
	font: inherit;
}

textarea {
	resize: vertical;
}

input:focus,
textarea:focus {
	outline: 3px solid rgba(201, 114, 143, .2);
	border-color: var(--blush);
}

.alert {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: var(--radius);
	font-weight: 700;
}

.alert.success {
	color: #245f45;
	background: #e4f4eb;
}

.alert.danger {
	color: #8a2648;
	background: #fae6ed;
}

.empty-state {
	padding: 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	background: var(--white);
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 26px clamp(18px, 6vw, 84px);
	color: var(--muted);
	border-top: 1px solid var(--line);
}

@media (max-width: 1040px) {
	.nav-links {
		display: none;
	}

	.hero-visual {
		right: -40px;
		width: min(48vw, 390px);
		opacity: .55;
	}

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

@media (max-width: 760px) {
	.site-header {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.nav-actions {
		margin-left: 48px;
	}

	.hero {
		min-height: 82vh;
		padding-top: 76px;
	}

	.hero:before {
		background: rgba(255,250,247,.84);
	}

	.hero-visual {
		right: -92px;
		width: 82vw;
		opacity: .32;
	}

	.split,
	.contact-section,
	.service-grid,
	.project-grid,
	.skill-grid,
	.compact-grid {
		grid-template-columns: 1fr;
	}

	.btn {
		width: 100%;
	}

	.site-footer {
		flex-direction: column;
	}
}
