
		:root {
			--color-bg: #ffffff;
			--color-bg-light: #f9fafb;
			--color-bg-primary-light: #eef2ff;

			--color-primary: #4f46e5;
			--color-primary-hover: #4338ca;

			--color-text-primary: #111827;
			--color-text-secondary: #4b5563;
			--color-text-muted: #6b7280;

			--color-border: #e5e7eb;
			--color-border-hover: #d1d5db;

			--font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
			--space-md: 1.5rem;
			--space-lg: 2rem;
			--space-xl: 3rem;
			--container: 1024px;
			--nav-h: 72px;
			--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
			--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
			--radius-sm: 0.375rem;
			--radius-md: 0.5rem;
			--radius-lg: 0.75rem;
			--radius-full: 9999px;
			--transition: 200ms ease-in-out;
		}

		* {
			box-sizing: border-box;
		}

		html {
			scroll-behavior: smooth;
		}

		body {
			margin: 0;
			min-height: 100vh;
			font-family: var(--font-primary);
			color: var(--color-text-primary);
			background-color: var(--color-bg);
			line-height: 1.6;
			font-size: 16px;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
		}

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

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

		.container {
			width: min(100% - 2rem, var(--container));
			margin: 0 auto;
		}

		.sticky-nav {
			position: sticky;
			top: 0;
			z-index: 50;
			backdrop-filter: blur(8px);
			background: rgba(255, 255, 255, 0.9);
			border-bottom: 1px solid var(--color-border);
		}

		.nav-inner {
			min-height: var(--nav-h);
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 1rem;
		}

		.brand {
			display: inline-flex;
			align-items: center;
			gap: 0.85rem;
			font-weight: 700;
			letter-spacing: 0.02em;
		}

		.brand-mark {
			width: 42px;
			height: 42px;
			display: grid;
			place-items: center;
			border-radius: var(--radius-md);
			background: var(--color-bg-primary-light);
			color: var(--color-primary);
			border: 1px solid var(--color-border);
		}

		.nav-links {
			display: flex;
			gap: 0.75rem;
			flex-wrap: wrap;
		}

		.nav-link {
			padding: 0.72rem 1rem;
			border-radius: 999px;
			color: var(--color-text-secondary);
			border: 1px solid transparent;
			transition: var(--transition);
		}

		.nav-link:hover {
			color: var(--color-text-primary);
			background: var(--color-bg-light);
			border-color: var(--color-border);
		}

		.section-head {
			display: flex;
			justify-content: space-between;
			align-items: end;
			gap: 1rem;
			margin: 2rem 0 1.25rem;
		}

		.section-head h2 {
			margin: 0;
			font-size: 1.45rem;
			letter-spacing: -0.02em;
		}

		.section-head p {
			margin: 0;
			color: var(--color-text-muted);
		}

		.projects-grid {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 1.5rem;
			padding-bottom: 3rem;
		}

		.project-card {
			position: relative;
			overflow: hidden;
			border-radius: var(--radius-lg);
			border: 1px solid var(--color-border);
			background: #ffffff;
			box-shadow: var(--shadow-lg);
			transform: translateY(24px);
			opacity: 0;
			transition: transform 320ms ease, opacity 320ms ease, border-color 220ms ease, box-shadow 220ms ease;
		}

		.project-card.is-visible {
			transform: translateY(0);
			opacity: 1;
		}

		.project-card:hover {
			transform: translateY(-6px) scale(1.01);
			border-color: var(--color-border-hover);
			box-shadow: var(--shadow-lg);
		}

		.project-media {
			position: relative;
			aspect-ratio: 16 / 9;
			background: var(--color-bg-light);
			overflow: hidden;
			cursor: pointer;
		}

		.embed-shell {
			position: absolute;
			inset: 0;
			display: none;
			background: #000;
			z-index: 2;
		}

		.embed-shell.active {
			display: block;
		}

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

		.thumb-overlay {
			position: absolute;
			inset: 0;
			background:
				linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.34)),
				linear-gradient(135deg, rgba(79, 70, 229, 0.12), transparent 42%);
		}

		.play-button {
			position: absolute;
			inset: 50% auto auto 50%;
			width: 78px;
			height: 78px;
			transform: translate(-50%, -50%);
			border-radius: 50%;
			border: 1px solid rgba(255, 255, 255, 0.14);
			background: rgba(17, 24, 39, 0.32);
			backdrop-filter: blur(12px);
			display: grid;
			place-items: center;
			box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
			transition: transform 180ms ease, background 180ms ease;
		}

		.play-button::before {
			content: "";
			display: block;
			margin-left: 4px;
			width: 0;
			height: 0;
			border-top: 12px solid transparent;
			border-bottom: 12px solid transparent;
			border-left: 18px solid white;
		}

		.project-card:hover .play-button {
			transform: translate(-50%, -50%) scale(1.06);
			background: rgba(79, 70, 229, 0.24);
		}

		.wave-ring {
			position: absolute;
			inset: -10px;
			border-radius: inherit;
			border: 1px solid rgba(79, 70, 229, 0.16);
			animation: pulse 2.6s infinite;
		}

		@keyframes pulse {
			0% { transform: scale(0.96); opacity: 0.8; }
			70% { transform: scale(1.08); opacity: 0; }
			100% { transform: scale(1.08); opacity: 0; }
		}

		.project-body {
			padding: 1.2rem 1.2rem 1.25rem;
		}

		.project-top {
			display: flex;
			justify-content: space-between;
			align-items: flex-start;
			gap: 1rem;
			margin-bottom: 0.95rem;
		}

		.project-title {
			margin: 0;
			font-size: 1.15rem;
			line-height: 1.2;
			color: var(--color-text-primary);
		}

		.external-link {
			flex: 0 0 auto;
			width: 42px;
			height: 42px;
			display: grid;
			place-items: center;
			border-radius: var(--radius-md);
			color: var(--color-primary);
			border: 1px solid var(--color-border);
			background: var(--color-bg-light);
			transition: transform 180ms ease, background 180ms ease;
		}

		.external-link:hover {
			transform: translateY(-2px);
			background: var(--color-bg-primary-light);
		}

		.tech-tags {
			display: flex;
			flex-wrap: wrap;
			gap: 0.5rem;
			margin-bottom: 1rem;
		}

		.tag {
			display: inline-flex;
			align-items: center;
			padding: 0.45rem 0.75rem;
			border-radius: var(--radius-sm);
			border: 1px solid var(--color-border);
			background: var(--color-bg-primary-light);
			color: var(--color-primary);
			font-size: 0.82rem;
			font-weight: 500;
		}

		.project-actions {
			display: flex;
			flex-wrap: wrap;
			gap: 0.75rem;
		}

		.btn {
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 0.55rem;
			min-height: 46px;
			padding: 0.8rem 1rem;
			border-radius: var(--radius-md);
			border: 1px solid transparent;
			background: white;
			color: var(--color-text-primary);
			font-weight: 600;
			transition: all var(--transition);
			cursor: pointer;
		}

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

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

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

		.btn-secondary {
			background: white;
			border-color: var(--color-border);
		}

		.btn[data-tooltip]::after {
			content: attr(data-tooltip);
			position: absolute;
			left: 50%;
			bottom: calc(100% + 10px);
			transform: translateX(-50%) translateY(4px);
			padding: 0.45rem 0.65rem;
			border-radius: var(--radius-sm);
			white-space: nowrap;
			font-size: 0.75rem;
			color: white;
			background: rgba(17, 24, 39, 0.95);
			border: 1px solid rgba(255, 255, 255, 0.08);
			box-shadow: var(--shadow-lg);
			opacity: 0;
			pointer-events: none;
			transition: 180ms ease;
		}

		.btn[data-tooltip]:hover::after {
			opacity: 1;
			transform: translateX(-50%) translateY(0);
		}

		.embed-shell iframe {
			width: 100%;
			height: 100%;
			border: 0;
		}

		.thumbnail-hidden .thumb-overlay,
		.thumbnail-hidden .play-button,
		.thumbnail-hidden img {
			display: none;
		}

		.project-card.loading::after {
			content: "Loading preview...";
			position: absolute;
			inset: auto 1rem 1rem auto;
			padding: 0.4rem 0.7rem;
			border-radius: 999px;
			color: var(--color-text-muted);
			background: rgba(255, 255, 255, 0.92);
			border: 1px solid var(--color-border);
			font-size: 0.75rem;
		}

		.icon {
			width: 18px;
			height: 18px;
			display: inline-block;
			fill: none;
			stroke: currentColor;
			stroke-width: 2;
			stroke-linecap: round;
			stroke-linejoin: round;
		}

		.play-hint {
			position: absolute;
			left: 1rem;
			bottom: 1rem;
			display: inline-flex;
			align-items: center;
			gap: 0.4rem;
			padding: 0.5rem 0.7rem;
			border-radius: 999px;
			color: white;
			font-size: 0.8rem;
			background: rgba(17, 24, 39, 0.45);
			border: 1px solid rgba(255, 255, 255, 0.12);
		}

		@media (max-width: 900px) {
			.projects-grid {
				grid-template-columns: 1fr;
			}

			.nav-inner {
				flex-direction: column;
				justify-content: center;
				padding: 1rem 0;
			}

			.hero {
				padding-top: 2rem;
			}
		}

		@media (max-width: 560px) {
			.hero-card,
			.project-body {
				padding-inline: 1rem;
			}

			.section-head {
				flex-direction: column;
				align-items: flex-start;
			}

			.project-actions {
				flex-direction: column;
			}

			.btn {
				width: 100%;
			}
		}

		@media (prefers-reduced-motion: reduce) {
			html {
				scroll-behavior: auto;
			}

			*, *::before, *::after {
				animation-duration: 0.01ms !important;
				animation-iteration-count: 1 !important;
				transition-duration: 0.01ms !important;
				scroll-behavior: auto !important;
			}
		}
