/* =====================================================
   Design tokens
   ===================================================== */
:root {
	--bg: #ffffff;
	--bg-alt: #ffffff;
	--text: #080808;
	--text-muted: #202020;
	--border: #949191;
	--primary: #6d28d9;
	--primary-soft: #f0eafe;
	--accent: #6d28d9;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	--chip-bg: #e5e7eb;
	--chip-bg-hover: #d1d5db;

	--chip-bg-2: #f3f4f6;

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'IBM Plex Sans', sans-serif;
	--font-mono: 'IBM Plex Mono', monospace;

	--nav-height: 76px;
	--max-width: 1180px;
}

html[data-theme='dark'] {
	--bg: #0f172a;
	--bg-alt: #0f172a;
	--text: #f7f7f7;
	--text-muted: #d1d1d1;
	--border: #6c6b6b;
	--primary: #a78bfa;
	--primary-soft: rgba(167, 139, 250, 0.16);
	--accent: #a78bfa;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	--chip-bg: #334155;
	--chip-bg-hover: #475569;
	
	--chip-bg-2: #334155;
}

/* =====================================================
   Reset & base
   ===================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.65;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
	-webkit-font-smoothing: antialiased;
}

body.menu-locked {
	overflow: hidden;
	padding-right: var(--menu-scrollbar-compensation, 0px);
}

a {
	color: var(--primary);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 1000;
	line-height: 1.2;
	margin: 0;
	color: var(--text);
}

p {
	margin: 0 0 1em;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 96px 0;
}

#home.section {
	border-top: none;
}

/* =====================================================
   Page layout — main column + sidebar
   ===================================================== */
.layout {
	max-width: 1180px;
	margin: 0 auto;
	padding: var(--nav-height) 24px 0px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 64px;
}

.main-col {
	min-width: 0;
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

@media (min-width: 960px) {
	.layout {
		grid-template-columns: minmax(0, 7.25fr) minmax(0, 2.75fr);
		align-items: start;
		gap: 64px;
	}
	.main-col {
		padding-left: 24px;
		padding-right: 24px;
	}
	.sidebar {
		position: static;
		padding-top: 40px;
	}

	.page-component-about {
		padding-bottom: 64px !important;
	}
	.contact-section,
	.nav-link[href='#contact'] {
		display: none;
	}
}

.section-inline {
	padding-top: 72px;
	margin-top: 24px;
}

.page-component-experience {
	padding-top: 1px;
	padding-bottom: 64px;
	margin-top: 0;
}

.contact-section {
	min-height: 0;
	padding-bottom: 48px;
}

.contact-socials {
	display: flex;
	gap: 24px;
	margin-top: 32px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.section {
		padding: 64px 0;
	}
	.layout {
		padding-bottom: 64px;
		gap: 48px;
	}
	.contact-section {
		min-height: 0;
	}

	.section-inline {
		padding-top: 48px;
		margin-top: 8px;
	}
	.experience-head {
		grid-template-columns: 1fr;
	}
	.experience-date {
		padding-top: 0;
	}
	.experience-role-line {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
	}
}

/* =====================================================
   Navbar (built by js/navbar.js)
   ===================================================== */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--nav-height);
	z-index: 1100;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transform: translateY(0);
	transition:
		transform 0.3s ease,
		border-color 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.navbar.nav-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar.nav-hidden {
	transform: translateY(-100%);
	pointer-events: none;
}

.nav-container {
	max-width: var(--max-width);
	margin: 0 auto;
	height: 100%;
	padding: 8px 40px 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
}

.nav-logo {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--text);
}
.nav-logo:hover {
	text-decoration: none;
	color: var(--primary);
}
.nav-logo span {
	color: var(--primary);
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 36px;
	order: 1;
	margin-left: auto;
	padding-right: 24px;
}

.nav-link {
	font-size: 1.12rem;
	font-weight: 550;
	color: var(--text);
	text-transform: capitalize;
	position: relative;
	padding: 8px 4px;
	text-decoration: none;
}
.nav-link:hover {
	color: var(--text);
	text-decoration: none;
}
.nav-link:focus,
.nav-link:focus-visible {
	text-decoration: none;
}
.nav-link::after {
	content: '';
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 1px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}
.nav-link:hover::after {
	transform: scaleX(1);
}

.theme-toggle {
	width: 32px;
	height: 32px;
	border: 0;
	background: var(--chip-bg);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.35rem;
	border-radius: 10px;
	/* transition:
		border-color 0.2s ease,
		transform 0.2s ease; */
	order: 2;
	margin-left: 16px;
	position: relative;
	z-index: 2;
}

html[data-theme='dark'] .theme-toggle {
	color: #fde047;
}

.theme-toggle:hover {
	background-color: var(--chip-bg-hover);
}

.theme-toggle svg {
	width: 1.35em;
	height: 1.35em;
}

@media (min-width: 599) {
	.nav-menu {
		margin-right: 10px;
	}
	.section-title {
		font-size: clamp(1.2rem, 2vw, 1.55rem);
	}
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 10;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
	border-radius: 2px;
	transition:
		transform 0.5s ease,
		opacity 0.25s ease;
}
.nav-toggle.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
	opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-panels,
.mobile-menu-backdrop {
	display: none;
}

@media (max-width: 959px) {
	.navbar {
		box-shadow: none;
	}

	.navbar.menu-open {
		box-shadow: none;
	}

	.nav-container {
		justify-content: space-between;
	}

	.nav-toggle {
		display: flex;
		order: 2;
		margin-right: 0;
	}

	.navbar.menu-open .nav-toggle {
		margin-right: 12px;
	}

	.nav-toggle.active {
		transform: rotate(90deg);
	}

	.theme-toggle {
		order: 1;
		margin: 0;
	}

	.nav-menu {
		position: absolute;
		top: var(--nav-height);
		left: 0;
		right: 0;
		background: var(--bg-alt);
		border-bottom: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height 0.3s ease;
		order: 4;
	}
	.nav-menu {
		display: none;
	}
	.nav-menu.open {
		max-height: 0;
		padding: 0;
		visibility: hidden;
	}

	.nav-link {
		width: 100%;
		padding: 14px 24px;
	}
	.nav-link::after {
		display: none;
	}

	.mobile-menu-backdrop {
		display: block;
		position: fixed;
		inset: var(--nav-height) 0 0;
		z-index: 1001;
		background: rgba(0, 0, 0, 0.28);
		backdrop-filter: blur(5px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			opacity 0.35s ease,
			visibility 0.35s ease;
	}

	.mobile-menu-panels {
		display: block;
		position: fixed;
		inset: var(--nav-height) 0 0;
		z-index: 1002;
		pointer-events: none;
		overflow: hidden;
	}

	.mobile-menu-panel {
		position: absolute;
		left: 0;
		right: 0;
		backdrop-filter: blur(14px);
		background: color-mix(in srgb, var(--bg-alt) 50%, transparent);
		transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.mobile-menu-panel-top {
		top: 0;
		height: 25%;
		background: color-mix(in srgb, var(--bg-alt) 50%, transparent);
		transform: translateX(100%);
		transition-delay: 0.08s;
		/* border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px; */
	}

	.mobile-menu-panel-bottom {
		bottom: 0;
		height: 75%;
		transform: translateX(-100%);
		transition-delay: 0s;
		/* border-top-right-radius: 8px;
		border-top-left-radius: 8px; */
	}

	.mobile-menu-panels.open {
		pointer-events: auto;
	}

	.mobile-menu-backdrop.open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.mobile-menu-panels.open .mobile-menu-panel {
		transform: translateX(0);
	}

	.mobile-menu-panel-top {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.mobile-menu-avatar {
		width: 72px;
		height: 72px;
		border: 1px solid var(--border);
		border-radius: 50%;
		overflow: hidden;
	}

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

	.mobile-nav-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		gap: 8px;
		height: 100%;
		padding: 40px 28px;
	}

	.mobile-nav-link {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 10px 0;
		color: var(--text);
		font-size: 24px;
		font-weight: 600;
		text-decoration: none;
		transform: translateX(100%);
		opacity: 0;
		transition:
			transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
			opacity 0.35s ease,
			color 0.2s ease;
	}

	.mobile-menu-panels.open .mobile-nav-link {
		transform: translateX(0);
		opacity: 1;
	}

	.mobile-menu-panels.open .mobile-nav-link:nth-child(1) {
		transition-delay: 0.12s;
		transition-duration: 0.35s;
	}
	.mobile-menu-panels.open .mobile-nav-link:nth-child(2) {
		transition-delay: 0.18s;
		transition-duration: 0.4s;
	}
	.mobile-menu-panels.open .mobile-nav-link:nth-child(3) {
		transition-delay: 0.24s;
		transition-duration: 0.45s;
	}
	.mobile-menu-panels.open .mobile-nav-link:nth-child(4) {
		transition-delay: 0.3s;
		transition-duration: 0.5s;
	}

	.mobile-menu-panels.open .mobile-nav-link:hover,
	.mobile-menu-panels.open .mobile-nav-link:focus-visible {
		color: color-mix(in srgb, var(--text) 75%, #000);
		transform: none;
		text-decoration: underline;
		text-decoration-color: var(--primary);
		text-underline-offset: 8px;
		transition: none;
	}

	#education-title {
		font-weight: 570;
		font-size: 1rem;
	}
}

/* =====================================================
   Hero (main column)
   ===================================================== */
.hero-block {
	min-height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 12px 0 64px;
	animation: rise 0.6s ease both;
}

.main-col {
	display: flex;
	flex-direction: column;
}

.page-component-home {
	order: 1;
}

.page-component-experience {
	order: 2;
}

.page-component-about {
	order: 3;
	padding-bottom: 24px;
}

.page-component-contact {
	order: 4;
}

.mobile-home-details {
	display: none;
}

.mobile-home-socials {
	display: flex;
	gap: 18px;
	margin-top: 24px;
}

.mobile-home-socials a {
	color: var(--text-muted);
	font-size: 1.7rem;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		color 0.2s ease;
}

.mobile-home-socials a:hover {
	color: #fde047;
	text-decoration: none;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-top {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
}

.avatar {
	flex: 0 0 auto;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2rem;
	letter-spacing: 0.02em;
	border: 1px solid var(--border);
	overflow: hidden;
}
.avatar-img {
	display: block;
	object-fit: cover;
	aspect-ratio: 1;
	width: 100%;
	height: 100%;
}

.hero-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--primary);
	margin-bottom: 8px;
}

.hero-name {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-weight: 700;
	font-size: clamp(2.5rem, 4.5vw, 4.1rem);
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.hero-title {
	font-size: clamp(0.95rem, 1.6vw, 1.1rem);
	color: var(--text-muted);
	font-weight: 500;
	margin-bottom: 0;
}
.hero-divider {
	color: var(--border);
	margin: 0 6px;
}

.hero-about p {
	color: var(--text-muted);
	max-width: 68ch;
}
.hero-about p:last-child {
	margin-bottom: 0;
}

.about-details {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 48px;
	/* margin-top: 48px;
	padding-top: 28px; */
}

.mobile-about-details {
	display: none;
}

.sidebar .about-details {
	display: block;
	margin-top: 0;
	padding-top: 16px;
}

.sidebar .about-detail + .about-detail {
	margin-top: 28px;
	padding-top: 16px;
}

.about-detail .section-eyebrow {
	margin-bottom: 14px;
}

.sidebar .section-eyebrow {
	font-size: 1.3rem;
	font-weight: 600;
}

.page-section {
	scroll-margin-top: calc(var(--nav-height) + 8px);
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.hero-lede {
	max-width: none;
	color: var(--text-muted);
}
.hero-bio {
	border-left: 3px solid var(--primary);
	padding-left: 20px;
	margin-bottom: 32px;
}

.hero-bio p {
	margin-bottom: 0;
}

.hero-bio a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hero-description {
	border-left: 3px solid var(--primary);
	padding-left: 20px;
	margin-bottom: 32px;
}

.hero-description a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tech-highlight {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tech-highlight-js {
	text-decoration-color: #f7df1e; /* JavaScript yellow */
}

.tech-highlight-godot {
	text-decoration-color: #478cbf; /* Godot's actual brand blue */
}
.project-media {
	margin: 16px 0 20px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}
.project-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

@media (max-width: 560px) {
	.mobile-menu-panels {
		inset: 24px 0 0;
	}
	.mobile-menu-backdrop {
		inset: 48px 0 0;
	}

	.layout {
		padding-top: 42px;
	}

	.navbar {
		height: 52px;
		padding-bottom: 50px;
		/* padding-top: 50px; */

		/* background: #000; */
	}

	.nav-container {
		height: 44px;
	}
	.theme-toggle {
		width: 32px;
		height: 32px;
	}
	.hero-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-top: 10px;
	}
	.hero-name {
		font-size: 2rem;
	}
	.hero-lede {
		font-size: 1rem;
	}

	.hero-title {
		font-size: 1.05rem;
	}
	.avatar {
		width: 64px;
		height: 64px;
		display: none;
	}
	.layout {
		margin-left: 18px;
	}
	.chip-list-compact .chip {
		font-size: 0.8rem !important;
		padding: 3x 5px !important;
	}
}

@media (max-width: 959px) {
	.layout {
		margin-left: 18px;
		margin-right: 18px;
	}
	.main-col {
		padding-left: 0;
	}
	.sidebar {
		position: static;
		display: block;
		width: auto;
	}

	#contact-rail,
	.sidebar .about-details {
		display: none;
	}

	.mobile-about-details {
		display: block;
	}

	.mobile-about-details .about-detail:first-child {
		display: none;
	}

	.mobile-home-details {
		display: block;
	}

	.hero-block {
		min-height: auto;
		padding: 12px 0 24px;
	}

	.hero-actions {
		display: none;
	}

	.contact-section .contact-socials {
		display: none;
	}
	.about-details {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition:
		transform 0.15s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}
.btn:hover {
	text-decoration: none;
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--primary);
	color: #fff;
}
.btn-primary:hover {
	background: color-mix(in srgb, var(--primary) 85%, black);
}

.btn-ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--text);
}
.btn-ghost:hover {
	border-color: var(--primary);
	color: var(--primary);
}

/* =====================================================
   Section headings
   ===================================================== */
.section-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.section-title {
	font-size: 1.6rem;
	font-family: var(--font-body);
	margin-bottom: 40px;
}

.subsection {
	margin-top: 56px;
}
.subsection-title {
	font-size: 1.15rem;
	margin-bottom: 22px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}

/* =====================================================
   Sidebar
   ===================================================== */
.sidebar-block {
	padding-bottom: 12px;
	border-bottom: none;
}
.sidebar-block:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sidebar-title {
	font-size: 0.95rem;
	margin-bottom: 18px;
}

.contact-list-compact {
	gap: 6px;
	margin-bottom: 20px;
}
.contact-list-compact li {
	font-size: 0.88rem;
	line-height: 1.35;
}
.sidebar .contact-list-compact i {
	width: 18px;
	font-size: 0.9rem;
	color: #000;
}

.sidebar-socials {
	display: flex;
	gap: 22px;
}
.sidebar-socials a {
	width: auto;
	height: auto;
	font-size: 1.8rem;
	border-radius: 0;
	border: 0;
	color: var(--text);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}
.sidebar-socials a:hover {
	color: #fde047;
	text-decoration: none;
}

/* Timeline (Education) */
.timeline-item {
	display: flex;
	gap: 24px;
	padding: 16px 0;
	border-left: 2px solid var(--border);
	padding-left: 20px;
	position: relative;
}
.timeline-item::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 22px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--primary);
}

.about-details .timeline-item {
	flex-direction: column;
	gap: 4px;
	padding: 12px 0 12px 16px;
}

.about-details .timeline-date {
	flex: none;
	padding-top: 0;
}
.timeline-date {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: var(--text-muted);
	flex: 0 0 130px;
	padding-top: 2px;
}
.timeline-content h4 {
	font-size: 1.02rem;
	margin-bottom: 4px;
}
.timeline-content p {
	color: var(--text-muted);
	margin-bottom: 0;
	font-size: 0.95rem;
}

.sidebar-block .timeline-item {
	flex-direction: column;
	gap: 4px;
}
.sidebar-block .timeline-date {
	flex: none;
	padding-top: 0;
}

.sidebar .timeline-content h4 {
	font-size: 0.95rem;
}

.sidebar .timeline-content p {
	font-size: 0.88rem;
}

.badge {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--primary);
	background: var(--primary-soft);
	padding: 2px 8px;
	border-radius: 4px;
	margin-left: 6px;
}

/* Tech stack chips */
.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip-list-compact {
	gap: 6px;
}

.chip-list-compact .chip {
	font-size: 0.85rem;
	font-weight: 400;
	padding: 5px 10px;
}

.sidebar .chip-list-compact {
	gap: 6px;
}

.sidebar .chip-list-compact .chip {
	border-radius: 6px;
	background: var(--chip-bg);
}

.experience-item {
	gap: 3px;
}

.experience-item .chip {
	border-radius: 5px !important;
	background: var(--chip-bg-2) !important;
	border: 0.5px solid var(--chip-bg-hover) !important;
	border-top: 2.5px solid var(--chip-bg-hover) !important;
	border-right: 3px solid var(--chip-bg-hover) !important;
	padding: 2px 7px !important;
	font-size: 0.8rem !important;
}

.experience-item .chip:hover {
	/* color: var(--text); */
	/* background: var(--chip-bg-hover) !important; */
	transform: none;
}

.chip {
	font-size: 0.88rem;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 14px;
	border-radius: 5px;
	background: var(--chip-bg);
	color: var(--text);

	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease;
}
.chip:hover {
	border-color: var(--primary);
	color: var(--primary);
	transform: translateY(-2px);
}
.sidebar .chip-list-compact .chip:hover,
.mobile-home-details .chip-list-compact .chip:hover {
	border-color: var(--border);
	color: var(--text);
	background: var(--chip-bg-hover);
	transform: none;
}
.chip-list-small .chip {
	font-size: 0.82rem;
	font-weight: 400;
	padding: 6px 12px;
	border-radius: 8px;
	transition: none;
}
.chip-list-small .chip:hover {
	border-color: var(--border);
	color: var(--text);
	background: var(--chip-bg-hover);
	transform: none;
}

/* =====================================================
   Experience
   ===================================================== */
.experience-list {
	display: flex;
	flex-direction: column;
	gap: 52px;
}

.page-component-experience .section-title {
	font-family: var(--font-body);
	font-weight: 600;
}

.experience-item {
	padding: 0 0 24px;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.experience-item:last-child {
	border-bottom: 0;
}

.experience-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.experience-role-line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
	flex-wrap: wrap;
}

.experience-head h3 {
	font-family: var(--font-body);
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 0;
}

.experience-company {
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

.experience-company-line {
	display: flex;
	align-items: center;
	gap: 12px;
}

.company-avatar {
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #ffffff;
	/* color: var(--primary); */
	font-family: var(--font-body);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.experience-role {
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	margin: 6px 0 0;
}

.experience-location {
	color: var(--text-muted);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 400;
	margin: 2px 0 0;
}

.experience-location .dot {
	color: var(--text-muted);
	margin: 0 4px;
}
.dot {
	color: var(--border);
	margin: 0 2px;
}

.experience-date {
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--text-muted) 45%, var(--bg));
	white-space: nowrap;
	padding-top: 4px;
}

.experience-desc {
	color: var(--text);
	font-size: 0.95rem;
	line-height: 1.35;
	margin: 8px 0 10px;
	max-width: none;
}
.experience-desc-list {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.35;
	list-style: disc;
	margin-bottom: 18px;
}

.experience-desc-list li {
	margin-bottom: 1px;
}
/* =====================================================
   Contact
   ===================================================== */
.contact-lede {
	color: var(--text-muted);
	max-width: 56ch;
	margin-bottom: 36px;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.contact-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 0.88rem;
	line-height: 1.35;
}
.contact-list i {
	width: 20px;
	text-align: center;
	color: #000;
}

html[data-theme='dark'] .sidebar .contact-list-compact i,
html[data-theme='dark'] .contact-list i {
	color: var(--text-muted);
}

.contact-list a {
	color: var(--text);
}
.contact-list a:hover {
	color: var(--primary);
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
	background: #e2e8f0;
	color: #494b4e;
	padding: 40px 0;
}

html[data-theme='dark'] .site-footer {
	background: #1e293b;
	color: var(--text-muted);
}

html[data-theme='dark'] .footer-socials a,
html[data-theme='dark'] .footer-copy {
	color: var(--text-muted);
}
.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.footer-socials {
	display: flex;
	gap: 26px;
}
.footer-socials a {
	color: #434446;
	font-size: 1.15rem;
	display: inline-flex;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		color 0.2s ease;
}
.footer-socials a:hover {
	color: #fde047 !important;
	text-decoration: none;
}
.footer-copy {
	font-size: 0.85rem;

	margin: 0;
}

/* =====================================================
   Reveal-on-scroll (set up in main.js)
   ===================================================== */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
}
.reveal.in-view {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.hero-inner,
	.reveal {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
