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

:root {
	--bg: #fdfdfb;
	--text: #231f20;
	--muted: #6b7280;
	--line: #e5e7eb;
	--soft-line: #f1f5f9;
	--cyan: #00aeef;
	--magenta: #ec008c;
	--yellow: #fff200;
	--yellow-dark: #e6d600;
	--black: #231f20;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

strong {
	font-weight: 700;
}

.page-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.sidebar {
	position: sticky;
	top: 0;
	background: #fff;
	padding: 1rem;
	border-bottom: 1px solid var(--soft-line);
	z-index: 30;
}

.sidebar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	position: relative;
}

.identity {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.avatar-wrap {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid #f3f4f6;
}

.avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.28);
	transform-origin: center;
}

.site-title {
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.site-title-mobile {
	display: inline;
	font-size: 1rem;
}

.site-title-desktop {
	display: none;
	font-size: 2rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	flex-shrink: 0;
}

.nav-link {
	color: #111827;
}

.nav-cyan:hover {
	color: var(--cyan);
}

.nav-magenta:hover {
	color: var(--magenta);
}

.nav-yellow:hover {
	color: var(--yellow-dark);
}

.nav-black:hover {
	color: #000;
}

.social-links {
	display: none;
	margin-top: auto;
	padding-top: 2rem;
	gap: 1rem;
}

.social-links a {
	color: #9ca3af;
}

.social-links a:hover {
	color: var(--text);
}

.social-links a:nth-child(1):hover {
	color: var(--cyan);
}

.social-links a:nth-child(2):hover {
	color: var(--magenta);
}

.social-links a:nth-child(3):hover {
	color: var(--yellow-dark);
}

.social-links a:nth-child(4):hover {
	color: var(--black);
}

.social-links svg {
	width: 1.125rem;
	height: 1.125rem;
	fill: currentColor;
}

.cmyk-bar {
	position: absolute;
	pointer-events: none;
}

.cmyk-bar span,
.footer-dots span {
	display: block;
}

.cmyk-bar-mobile {
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	display: flex;
}

.cmyk-bar-mobile span {
	flex: 1;
}

.cmyk-bar-desktop {
	display: none;
	top: 0;
	right: 0;
	bottom: 0;
	width: 2px;
}

.cmyk-bar-desktop span {
	height: 25%;
}

.cmyk-cyan,
.footer-dots span:nth-child(1) {
	background: var(--cyan);
}

.cmyk-magenta,
.footer-dots span:nth-child(2) {
	background: var(--magenta);
}

.cmyk-yellow,
.footer-dots span:nth-child(3) {
	background: var(--yellow);
}

.cmyk-black,
.footer-dots span:nth-child(4) {
	background: var(--black);
}

.main-content {
	flex: 1;
	width: 100%;
	max-width: 72rem;
	padding: 3rem 1.5rem 4rem;
}

.section {
	margin-bottom: 5rem;
}

.section h2 {
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.intro-block {
	margin-bottom: 2rem;
}

.intro-block h1 {
	font-size: 1.25rem;
	font-weight: 500;
	margin-bottom: 0.3rem;
}

.location {
	font-size: 0.95rem;
	color: var(--muted);
	font-weight: 500;
}

.location::before {
	content: "📍";
	margin-right: 0.35rem;
}

.timeline {
	display: grid;
	gap: 1rem;
	padding-top: 1rem;
}

.timeline-item {
	display: grid;
	gap: 0.25rem;
}

.timeline-year {
	background: none;
	color: var(--cyan);
	font-weight: 700;
}

.timeline-copy {
	color: #111827;
}

.timeline-copy a,
.list-item a,
.contact-block a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25rem;
}

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

.list {
	display: grid;
	gap: 0.35rem;
}

.list-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0.55rem;
}

.list-bullet {
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 999px;
	flex-shrink: 0;
	margin-top: 0.6rem;
}

.bullet-magenta {
	background: var(--magenta);
}

.bullet-yellow {
	background: var(--yellow-dark);
}

.list-item p {
	color: #111827;
	line-height: 1.5;
}

.list-item a:hover {
	color: #4b5563;
}

.list-writing .list-item a:hover {
	color: var(--magenta);
}

.list-meta {
	display: block;
	color: var(--muted);
}

.section-group + .section-group {
	margin-top: 2.75rem;
}

.contact-block {
	padding-top: 3rem;
	border-top: 1px solid var(--soft-line);
}

.contact-block p {
	color: var(--muted);
	max-width: 42rem;
}

.contact-block a:hover {
	color: var(--black);
}

.site-footer {
	padding: 4rem 0 2.5rem;
	border-top: 1px solid var(--soft-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: #9ca3af;
	font-size: 0.75rem;
}

.footer-dots {
	display: flex;
	gap: 0.5rem;
}

.footer-dots span {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
}

@media (min-width: 640px) {
	.timeline-item {
		grid-template-columns: 120px minmax(0, 1fr);
		column-gap: 1rem;
	}

	.list-meta {
		display: inline;
		margin-left: 0.5rem;
	}

	.list-meta::before {
		content: "\2014 ";
	}
}

@media (min-width: 768px) {
	html {
		scroll-padding-top: 0;
	}

	.page-shell {
		flex-direction: row;
	}

	.sidebar {
		width: 16rem;
		min-width: 16rem;
		height: 100vh;
		padding: 3rem;
		border-bottom: 0;
		display: flex;
		flex-direction: column;
	}

	.sidebar-top {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.identity {
		flex-direction: column;
		align-items: flex-start;
		gap: 2rem;
	}

	.avatar-wrap {
		width: 7rem;
		height: 7rem;
	}

	.site-title-mobile {
		display: none;
	}

	.site-title-desktop {
		display: inline;
	}

	.site-nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		font-size: 1rem;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: none;
	}

	.social-links {
		display: flex;
	}

	.cmyk-bar-mobile {
		display: none;
	}

	.cmyk-bar-desktop {
		display: block;
	}

	.main-content {
		margin-left: 0;
		padding: 4rem 4rem 4rem;
		max-width: calc(100vw - 16rem);
	}
}

@media (min-width: 1024px) {
	.sidebar {
		width: 20rem;
		min-width: 20rem;
	}

	.main-content {
		padding: 6rem 6rem 4rem;
		max-width: calc(100vw - 20rem);
	}
}
