@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,600;6..72,700&display=swap");

:root {
	--bg: #f6f7f4;
	--bg-grid: rgba(16, 20, 24, 0.055);
	--ink: #101418;
	--ink-soft: #2a343c;
	--muted: #65717a;
	--muted-strong: #43515a;
	--panel: #ffffff;
	--panel-warm: #fbfcf8;
	--line: #dfe5df;
	--line-strong: #cbd6ce;
	--dark: #11181d;
	--dark-2: #172128;
	--dark-line: rgba(222, 232, 224, 0.14);
	--accent: #1f7a68;
	--accent-2: #2a5c87;
	--accent-soft: rgba(31, 122, 104, 0.1);
	--blue-soft: rgba(42, 92, 135, 0.11);
	--shadow: 0 22px 70px rgba(16, 20, 24, 0.1);
	--shadow-soft: 0 14px 38px rgba(16, 20, 24, 0.07);
	--max: 1180px;
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--bg);
}

body {
	margin: 0;
	background:
		linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
		linear-gradient(var(--bg-grid) 1px, transparent 1px),
		radial-gradient(circle at 20% 0%, rgba(31, 122, 104, 0.12), transparent 30rem),
		linear-gradient(180deg, #fbfcf8 0%, var(--bg) 34rem);
	background-size: 48px 48px, 48px 48px, auto, auto;
	color: var(--ink);
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--accent);
	color: #ffffff;
}

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

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

h1,
h2,
h3,
p {
	margin: 0;
}

h1,
h2 {
	font-family: "Newsreader", Georgia, serif;
	font-weight: 700;
	letter-spacing: 0;
}

h1 {
	max-width: 680px;
	font-size: clamp(3rem, 5vw, 4.2rem);
	line-height: 1;
}

h2 {
	max-width: 780px;
	font-size: clamp(1.85rem, 3.2vw, 3.15rem);
	line-height: 1.05;
}

h3 {
	color: var(--ink);
	font-size: 1.04rem;
	font-weight: 700;
	line-height: 1.25;
}

:focus-visible {
	outline: 3px solid rgba(31, 122, 104, 0.5);
	outline-offset: 4px;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 100;
	transform: translateY(-160%);
	border-radius: var(--radius);
	background: var(--dark);
	color: #ffffff;
	padding: 0.7rem 0.9rem;
	font-weight: 700;
	transition: transform 160ms ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(203, 214, 206, 0.9);
	background: rgba(246, 247, 244, 0.86);
	backdrop-filter: blur(18px);
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: min(100% - 2rem, var(--max));
	min-height: 70px;
	margin: 0 auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.72rem;
	color: var(--ink);
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 2.15rem;
	height: 2.15rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--dark);
	color: #e7f3ec;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	color: var(--muted-strong);
	font-size: 0.86rem;
	font-weight: 700;
}

.nav-links a {
	padding: 0.45rem 0;
	border-bottom: 2px solid transparent;
	transition: color 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
	color: var(--ink);
	border-color: var(--accent);
}

.hero,
.section,
.contact-section,
.site-footer {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.hero,
.section,
.contact-section {
	scroll-margin-top: 92px;
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: clamp(1.6rem, 4vw, 3rem);
	align-items: center;
	min-height: min(620px, calc(100vh - 70px));
	padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(2.4rem, 4vw, 3.2rem);
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.hero::before {
	inset: 5rem auto auto -1.8rem;
	width: min(52rem, 70%);
	height: min(31rem, 62%);
	border: 1px solid rgba(31, 122, 104, 0.18);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.18)),
		repeating-linear-gradient(90deg, transparent 0 6.4rem, rgba(31, 122, 104, 0.075) 6.4rem 6.48rem);
}

.hero::after {
	right: 30%;
	bottom: 4rem;
	width: 9rem;
	height: 9rem;
	border: 1px solid rgba(42, 92, 135, 0.16);
	background: linear-gradient(135deg, rgba(42, 92, 135, 0.08), rgba(31, 122, 104, 0.08));
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-content {
	display: grid;
	gap: 1rem;
}

.role-label,
.section-kicker,
.case-period {
	color: var(--accent);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.role-label {
	width: fit-content;
	border-left: 3px solid var(--accent);
	background: rgba(255, 255, 255, 0.68);
	padding: 0.3rem 0.7rem;
	box-shadow: inset 0 0 0 1px rgba(203, 214, 206, 0.72);
}

.hero-text {
	max-width: 660px;
	color: var(--ink-soft);
	font-size: clamp(1.02rem, 1.35vw, 1.18rem);
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 1px solid var(--dark);
	border-radius: var(--radius);
	padding: 0.78rem 1rem;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.button.primary {
	background: var(--dark);
	color: #ffffff;
}

.button.secondary {
	background: rgba(255, 255, 255, 0.72);
	color: var(--ink);
}

.hero-panel {
	position: relative;
	display: grid;
	gap: 0.95rem;
	border: 1px solid rgba(203, 214, 206, 0.92);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 252, 248, 0.9)),
		var(--panel);
	padding: 1rem;
	box-shadow: var(--shadow);
}

.hero-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(90deg, transparent 0 1.4rem, rgba(31, 122, 104, 0.08) 1.4rem 1.46rem, transparent 1.46rem 100%),
		linear-gradient(rgba(31, 122, 104, 0.065) 1px, transparent 1px);
	background-size: 100% 100%, 100% 2.25rem;
	pointer-events: none;
}

.panel-profile {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0.78rem;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.72);
	padding: 0.62rem;
}

.panel-profile img {
	width: 64px;
	height: 64px;
	border-radius: var(--radius);
	object-fit: cover;
	filter: saturate(0.88) contrast(1.04);
}

.panel-profile div {
	display: grid;
	gap: 0.18rem;
}

.panel-profile strong {
	color: var(--ink);
	font-size: 0.97rem;
	line-height: 1.2;
}

.panel-profile span {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.panel-statement {
	position: relative;
	color: var(--ink-soft);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.48;
}

.proof-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
}

.proof-grid div,
.metric-grid article {
	display: grid;
	gap: 0.28rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.82);
	padding: 0.75rem;
}

.proof-grid strong,
.metric-grid strong {
	color: var(--accent-2);
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(1.75rem, 2.8vw, 2.55rem);
	font-weight: 700;
	line-height: 0.95;
}

.proof-grid strong {
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: clamp(1.05rem, 1.45vw, 1.25rem);
	line-height: 1.1;
}

.metric-grid strong {
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	font-weight: 700;
	line-height: 1.15;
}

.proof-grid span,
.metric-grid span {
	color: var(--muted-strong);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.24;
}

.metric-grid span {
	font-weight: 500;
	line-height: 1.45;
}

.stack-strip,
.case-tools {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 0.48rem;
}

.stack-strip span,
.case-tools span {
	border: 1px solid rgba(67, 81, 90, 0.16);
	border-radius: 999px;
	background: rgba(246, 247, 244, 0.86);
	color: var(--muted-strong);
	padding: 0.3rem 0.58rem;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
}

.section {
	padding: clamp(3rem, 5.5vw, 4.6rem) 0;
	border-top: 1px solid rgba(203, 214, 206, 0.82);
}

.section-dark {
	width: 100%;
	max-width: none;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(135deg, rgba(31, 122, 104, 0.2), transparent 42%),
		var(--dark);
	background-size: 48px 48px, 48px 48px, auto, auto;
	color: #f3f7f2;
}

.section-dark > * {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.section-heading {
	display: grid;
	gap: 0.85rem;
	max-width: 850px;
	margin-bottom: 1.5rem;
}

.section-heading.split {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: end;
	max-width: none;
}

.section-heading p:not(.section-kicker),
.case-list p {
	color: var(--muted);
}

.section-dark h2,
.section-dark h3 {
	color: #f3f7f2;
}

.section-dark .section-kicker,
.section-dark .expertise-grid span {
	color: #8ad3bf;
}

.section-dark .expertise-grid p {
	color: rgba(243, 247, 242, 0.72);
}

.expertise-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.expertise-grid article {
	position: relative;
	display: grid;
	gap: 0.75rem;
	min-height: 180px;
	border: 1px solid var(--dark-line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.055);
	padding: 1rem;
	overflow: hidden;
}

.skill-rows {
	display: grid;
	gap: 0.58rem;
	margin-top: 1rem;
}

.skill-rows p {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	gap: 1rem;
	align-items: baseline;
	border: 1px solid var(--dark-line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
	padding: 0.72rem 0.9rem;
	color: rgba(243, 247, 242, 0.76);
}

.skill-rows strong {
	color: #f3f7f2;
	font-size: 0.88rem;
}

.skill-rows span {
	font-size: 0.92rem;
	line-height: 1.42;
}

.expertise-grid article::after {
	content: "";
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	width: 3rem;
	height: 3rem;
	border-right: 1px solid rgba(138, 211, 191, 0.24);
	border-bottom: 1px solid rgba(138, 211, 191, 0.24);
}

.experience-list {
	display: grid;
	gap: 0.9rem;
}

.experience-list article {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.74);
	padding: 1.2rem;
	box-shadow: var(--shadow-soft);
}

.experience-meta {
	display: grid;
	gap: 0.55rem;
}

.experience-list ul {
	display: grid;
	gap: 0.58rem;
	margin: 0;
	padding-left: 1.1rem;
	color: var(--muted);
}

.experience-list li::marker {
	color: var(--accent);
}

.impact-section {
	position: relative;
}

.metric-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.85rem;
}

.metric-grid article {
	align-content: space-between;
	min-height: 150px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
		var(--panel);
	box-shadow: var(--shadow-soft);
}

.case-section {
	width: 100%;
	max-width: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(246, 247, 244, 0.78));
}

.case-section > * {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.case-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.case-list article {
	position: relative;
	display: grid;
	gap: 0.85rem;
	min-height: 210px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.82);
	padding: 1rem;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.case-list article::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.case-head {
	display: grid;
	gap: 0.45rem;
}

.contact-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(310px, 480px);
	gap: 2rem;
	align-items: center;
	margin-top: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px 16px 0 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(135deg, rgba(31, 122, 104, 0.2), transparent 42%),
		var(--dark);
	background-size: 44px 44px, 44px 44px, auto, auto;
	color: #f3f7f2;
	padding: clamp(1.7rem, 4vw, 2.7rem);
	box-shadow: var(--shadow);
}

.contact-section h2 {
	color: #ffffff;
}

.contact-section p:not(.section-kicker) {
	max-width: 650px;
	margin-top: 0.9rem;
	color: rgba(243, 247, 242, 0.74);
}

.contact-section .section-kicker {
	color: #8ad3bf;
}

.contact-list {
	display: grid;
	gap: 0.65rem;
}

.contact-list a {
	display: grid;
	gap: 0.16rem;
	border-color: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	padding: 0.72rem 0.85rem;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.12);
}

.contact-list span {
	color: #8ad3bf;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contact-list strong {
	color: #ffffff;
	font-size: 0.96rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.site-footer {
	padding: 1.2rem 0 2rem;
	color: var(--muted);
	font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (max-width: 1080px) {
	.nav-links {
		gap: 0.68rem;
		font-size: 0.8rem;
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero-panel {
		max-width: 720px;
	}

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

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

	.experience-list article,
	.section-heading.split,
	.contact-section {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 760px) {
	body {
		font-size: 15px;
		background-size: 36px 36px, 36px 36px, auto, auto;
	}

	.site-header {
		position: sticky;
	}

	.site-nav {
		display: grid;
		gap: 0.7rem;
		min-height: 0;
		padding: 0.82rem 0;
	}

	.nav-links {
		display: flex;
		flex-wrap: wrap;
		gap: 0.82rem;
		overflow-x: visible;
		padding-bottom: 0.25rem;
	}

	.nav-links a {
		padding: 0.2rem 0 0.35rem;
	}

	.hero,
	.section {
		padding-block: 2.8rem;
		scroll-margin-top: 132px;
	}

	.hero {
		gap: 1.35rem;
	}

	.hero::before {
		inset: 2.2rem -1rem auto -1rem;
		width: auto;
		height: 21rem;
	}

	.hero::after {
		display: none;
	}

	h1 {
		font-size: clamp(2.65rem, 11vw, 3.65rem);
	}

	h2 {
		font-size: clamp(1.8rem, 8vw, 2.55rem);
	}

	.hero-text {
		font-size: 1.04rem;
	}

	.proof-grid,
	.metric-grid,
	.case-list,
	.expertise-grid {
		grid-template-columns: 1fr;
	}

	.hero .proof-grid {
		grid-template-columns: 1fr;
	}

	.hero .proof-grid strong {
		font-size: 1.05rem;
	}

	.hero .proof-grid span {
		font-size: 0.78rem;
	}

	.skill-rows p {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.proof-grid div,
	.metric-grid article {
		min-height: auto;
	}

	.stack-strip span,
	.case-tools span {
		font-size: 0.74rem;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
		min-width: 0;
	}

	.button {
		width: 100%;
	}

	.contact-section {
		width: 100%;
		border-inline: 0;
		border-radius: 0;
		padding: 2.2rem 1rem;
	}
}

@media (max-width: 430px) {
	.brand-mark {
		width: 2rem;
		height: 2rem;
	}

	h1 {
		font-size: clamp(2.45rem, 11.5vw, 3.2rem);
	}

	.hero-panel {
		padding: 1rem;
	}

}
