:root {
	--bg: #fafafa;
	--bg-alt: #f2f2f7;
	--surface: #ffffff;
	--fg: #111827;
	--muted: #5b6270;
	--accent: #4f46e5;
	--accent-soft: #eef0fd;
	--accent-strong: #3730a3;
	--border: rgba(17, 24, 39, 0.08);
	--shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
	--shadow-md: 0 12px 32px -12px rgba(17, 24, 39, 0.16);
	--max-width: 60rem;
	--font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	color: var(--accent-strong);
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

.icon {
	width: 1.4rem;
	height: 1.4rem;
	flex-shrink: 0;
}

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.75rem;
	position: relative;
}

/* nav */

nav.top {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(250, 250, 250, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

nav.top .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

nav.top .mark {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--fg);
	white-space: nowrap;
	flex-shrink: 0;
}

nav.top .mark .dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
}

nav.top ul {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav.top a {
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 500;
}

nav.top a:hover {
	color: var(--fg);
}

/* mobile nav: hidden checkbox + label drive a CSS-only dropdown, no JS required */
nav.top .nav-toggle {
	display: none;
}

nav.top .nav-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 0.32rem;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	cursor: pointer;
}

nav.top .nav-burger span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--fg);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 45rem) {
	nav.top .wrap {
		flex-wrap: nowrap;
	}

	nav.top .nav-burger {
		display: flex;
	}

	nav.top ul {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-md);
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height 0.25s ease, opacity 0.2s ease;
	}

	nav.top ul li {
		border-top: 1px solid var(--border);
	}

	nav.top ul a {
		display: block;
		padding: 0.9rem 1.75rem;
	}

	nav.top .nav-toggle:checked ~ ul {
		max-height: 20rem;
		opacity: 1;
	}

	nav.top .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	nav.top .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
		opacity: 0;
	}

	nav.top .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

/* hero */

section.hero {
	position: relative;
	padding: 5.5rem 0 5rem;
	overflow: hidden;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.5;
	z-index: 0;
	pointer-events: none;
}

.blob.one {
	width: 26rem;
	height: 26rem;
	background: radial-gradient(circle, #c7d2fe, transparent 70%);
	top: -10rem;
	right: -8rem;
}

.blob.two {
	width: 18rem;
	height: 18rem;
	background: radial-gradient(circle, #ddd6fe, transparent 70%);
	bottom: -8rem;
	left: -6rem;
}

section.hero .hero-grid {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 3.5rem;
	flex-wrap: wrap;
}

section.hero .hero-copy {
	flex: 1 1 26rem;
}

@media (max-width: 45rem) {
	section.hero .headshot-wrap {
		margin: 0 auto;
	}
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}

.pill .icon {
	width: 0.95rem;
	height: 0.95rem;
}

section.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.2rem);
}

section.hero .role {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	color: var(--accent-strong);
	margin-top: 0.6rem;
}

section.hero .lede {
	margin-top: 1.4rem;
	max-width: 34rem;
	color: var(--muted);
	font-size: 1.08rem;
}

section.hero .cta-row {
	display: flex;
	gap: 1rem;
	margin-top: 2.2rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.8rem 1.5rem;
	border-radius: 999px;
	border: 1px solid transparent;
	box-shadow: var(--shadow-sm);
}

.btn .icon {
	width: 1rem;
	height: 1rem;
}

.btn.primary {
	background: var(--accent);
	color: #fff;
}

.btn.primary:hover {
	background: var(--accent-strong);
	color: #fff;
}

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

.btn.ghost:hover {
	border-color: var(--accent);
	color: var(--accent-strong);
}

.headshot-wrap {
	flex: 0 0 auto;
	position: relative;
}

.headshot {
	width: clamp(8.5rem, 16vw, 11rem);
	aspect-ratio: 3 / 4;
	border-radius: 1.25rem;
	overflow: hidden;
	background: var(--surface);
	box-shadow: var(--shadow-md);
	position: relative;
	z-index: 1;
}

.headshot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* stats */

section.stats .wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.25rem;
	padding-top: 1rem;
	padding-bottom: 3rem;
	position: relative;
	z-index: 1;
}

.stat-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	border-radius: 1rem;
	padding: 1.4rem 1.5rem;
}

.stat-card .icon-badge {
	flex: 0 0 auto;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 0.7rem;
	background: var(--accent-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.stat-card .number {
	font-family: var(--font-display);
	font-size: 1.6rem;
	color: var(--fg);
}

.stat-card .label {
	color: var(--muted);
	font-size: 0.85rem;
	margin-top: 0.15rem;
}

/* generic sections */

section.block {
	padding: 4.5rem 0;
}

section.block.alt {
	background: var(--bg-alt);
}

.section-head {
	max-width: 40rem;
	margin-bottom: 2.25rem;
}

.section-head .section-title {
	font-family: var(--font-display);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 0.75rem;
	display: block;
}

.section-head h2 {
	font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}

.section-lede {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 38rem;
}

/* focus areas */

.focus-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.25rem;
}

.focus-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 1rem;
	box-shadow: var(--shadow-sm);
	padding: 1.6rem 1.6rem 1.8rem;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.focus-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.focus-card .icon-badge {
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 0.7rem;
	background: var(--accent-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.1rem;
}

.focus-card h3 {
	font-size: 1.05rem;
}

.focus-card p {
	color: var(--muted);
	font-size: 0.92rem;
	margin-top: 0.5rem;
}

/* about */

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}

.about-grid p {
	color: var(--fg);
	font-size: 1.05rem;
}

.about-grid p + p {
	margin-top: 1rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.tag {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--fg);
	box-shadow: var(--shadow-sm);
}

@media (max-width: 42rem) {
	.about-grid {
		grid-template-columns: 1fr;
	}
}

/* experience cards */

.role-card {
	display: flex;
	gap: 1.25rem;
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	padding: 1.6rem 1.75rem;
	margin-top: 1rem;
}

.role-card .badge {
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05rem;
}

.role-card .role-head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: baseline;
}

.role-card h3 {
	font-size: 1.1rem;
}

.role-card .dates {
	color: var(--muted);
	font-size: 0.82rem;
	white-space: nowrap;
	font-weight: 500;
}

.role-card .title {
	color: var(--accent-strong);
	font-size: 0.92rem;
	font-weight: 600;
	margin-top: 0.2rem;
}

.role-card p.desc {
	color: var(--muted);
	margin-top: 0.6rem;
	font-size: 0.96rem;
}

/* engagements timeline */

.timeline {
	position: relative;
	margin-top: 0.5rem;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 0.5rem;
	top: 0.6rem;
	bottom: 0.6rem;
	width: 2px;
	background: var(--border);
}

.timeline-item {
	position: relative;
	padding-left: 2.75rem;
	padding-bottom: 2rem;
}

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

.timeline-item::before {
	content: '';
	position: absolute;
	left: 0.1rem;
	top: 0.35rem;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: var(--surface);
	border: 2px solid var(--accent);
}

.timeline-item .dates {
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.timeline-item .entry-card {
	margin-top: 0.6rem;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	border-radius: 0.85rem;
	padding: 1.25rem 1.5rem;
}

.timeline-item .entry-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
}

.timeline-item h3 {
	font-size: 1.05rem;
}

.timeline-item .role-tag {
	display: inline-block;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	white-space: nowrap;
}

.timeline-item p.desc {
	color: var(--muted);
	margin-top: 0.5rem;
	font-size: 0.95rem;
}

/* education */

.edu-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	padding: 1.5rem 1.75rem;
}

.edu-card .icon-badge {
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background: var(--accent-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.edu-card .title {
	color: var(--muted);
	font-size: 0.92rem;
	margin-top: 0.3rem;
}

/* contact */

section.contact {
	position: relative;
	background: linear-gradient(135deg, var(--accent-strong), var(--accent));
	color: #fff;
	overflow: hidden;
}

section.contact .wrap {
	padding-top: 4.5rem;
	padding-bottom: 4rem;
	text-align: center;
}

section.contact .section-title {
	color: rgba(255, 255, 255, 0.75);
}

section.contact h2 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	color: #fff;
	max-width: 34rem;
	margin: 0 auto;
}

section.contact .lede {
	color: rgba(255, 255, 255, 0.8);
	margin-top: 0.9rem;
	max-width: 30rem;
	margin-left: auto;
	margin-right: auto;
}

section.contact .cta-row {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 2.2rem;
	flex-wrap: wrap;
}

section.contact .btn.primary {
	background: #fff;
	color: var(--accent-strong);
	box-shadow: none;
}

section.contact .btn.primary:hover {
	background: rgba(255, 255, 255, 0.9);
}

section.contact .btn.ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	box-shadow: none;
}

section.contact .btn.ghost:hover {
	border-color: #fff;
	color: #fff;
}

footer.credit {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1.5rem 1.75rem 3rem;
	color: var(--muted);
	font-size: 0.8rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
}
