*, *::before, *::after { box-sizing: border-box; }
		:root { --col: rgba(255,255,255,0.04); --border: rgba(255,255,255,0.08); --text-muted: #71717a; --text-dim: #a1a1aa; }
		html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
		html.home-lock { scroll-behavior: auto !important; }
		html.home-lock body { opacity: 0; }
		body { background: #050507; color: #f4f4f5; font-family: 'DM Sans', sans-serif; overflow-x: hidden; cursor: none; }

		#cursor { width: 10px; height: 10px; background: #f59e0b; border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transition: transform 0.1s ease; mix-blend-mode: difference; }
		#cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(245,158,11,0.5); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transition: all 0.15s ease; }

		::-webkit-scrollbar { width: 3px; }
		::-webkit-scrollbar-track { background: #050507; }
		::-webkit-scrollbar-thumb { background: #7c3aed; border-radius: 10px; }

		#scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, #7c3aed, #f59e0b); z-index: 1000; transition: width 0.1s linear; }

		.glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); }

		.card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
		.card:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.06); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(124,58,237,0.12), 0 0 0 1px rgba(124,58,237,0.15); }

		h1, h2, h3, h4 { font-family: 'Syne', sans-serif; }

		.text-grad { background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 40%, #f59e0b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
		.text-grad-amber { background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

		body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.35; pointer-events: none; z-index: 0; }

		#stars-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.5; }

		.orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }

		.type-cursor::after { content: '|'; animation: blink 0.7s infinite; color: #f59e0b; }
		@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

		@keyframes noticeBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
		.notice-blink { animation: noticeBlink 1.2s ease-in-out infinite; }
		.notice-callout { background: linear-gradient(90deg, rgba(124,58,237,0.2), rgba(245,158,11,0.2)); border: 1px solid rgba(245,158,11,0.35); border-radius: 999px; padding: 6px 12px; box-shadow: 0 0 22px rgba(245,158,11,0.18); }

		.nav-link { position: relative; transition: color 0.3s; }
		.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: #f59e0b; transition: width 0.3s ease; }
		.nav-link:hover::after, .nav-link.active::after { width: 100%; }
		.nav-link:hover { color: white; }

		.skill-bar-fill { height: 3px; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #f59e0b); width: 0; transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1); }

		.timeline-line { position: absolute; left: 16px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(124,58,237,0.5), transparent); }
		.timeline-dot { width: 10px; height: 10px; background: #7c3aed; border-radius: 50%; border: 2px solid #050507; box-shadow: 0 0 0 3px rgba(124,58,237,0.3); flex-shrink: 0; }

		.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

		.tag { padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); font-size: 11px; color: #a1a1aa; }

		.btn-primary { padding: 14px 32px; background: #7c3aed; color: white; font-weight: 700; font-family: 'Syne', sans-serif; border-radius: 12px; transition: all 0.3s; position: relative; overflow: hidden; }
		.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent); opacity: 0; transition: opacity 0.3s; }
		.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,58,237,0.4); }
		.btn-primary:hover::before { opacity: 1; }

		.btn-outline { padding: 13px 32px; border: 1px solid rgba(255,255,255,0.12); color: #d4d4d8; font-weight: 600; font-family: 'Syne', sans-serif; border-radius: 12px; transition: all 0.3s; background: rgba(255,255,255,0.03); }
		.btn-outline:hover { border-color: rgba(245,158,11,0.5); color: white; background: rgba(245,158,11,0.05); }

		.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
		.reveal.visible { opacity: 1; transform: translateY(0); }

		.proj-card { border-radius: 20px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); cursor: pointer; overflow: hidden; position: relative; }
		.proj-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #7c3aed, #f59e0b); opacity: 0; transition: opacity 0.3s; }
		.proj-card:hover::before { opacity: 1; }
		.proj-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.3); box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.1); }

		.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(20px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
		.modal-backdrop.open { display: flex; }
		.modal-box { background: #0e0e14; border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; width: 100%; max-width: 860px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; transform: scale(0.95) translateY(20px); opacity: 0; transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
		.modal-box.open { transform: scale(1) translateY(0); opacity: 1; }
		.profile-modal-shell { overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
		.profile-modal-scroll { width: 100%; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }

		@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
		.float { animation: float 6s ease-in-out infinite; }

		.cert-card { border-radius: 16px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); padding: 20px; transition: all 0.3s ease; }
		.cert-card:hover { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.03); }

		.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #f59e0b; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
		.section-label::before { content: ''; width: 24px; height: 1px; background: #f59e0b; }

		.stat-num { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }

		@keyframes ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.2); opacity: 0; } }
		.avail-ring { position: absolute; inset: 0; border-radius: 50%; background: #4ade80; animation: ring 2s ease-out infinite; }

		.grid-bg { background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; }

		/* Work experience cards */
		.exp-card { border-radius: 16px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); transition: all 0.3s ease; }
		.exp-card:hover { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.04); }

		/* Cert grid scroll */
		.cert-scroll { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

		/* Resume section visual (on-screen) */
		.resume-panel { border-radius: 24px; border: 1px solid rgba(16,185,129,0.25); background: linear-gradient(180deg, rgba(4,26,20,0.95), rgba(3,10,12,0.95)); box-shadow: 0 24px 60px rgba(16,185,129,0.08); }
		.resume-headline { border-bottom: 1px solid rgba(255,255,255,0.08); }
		.resume-rule { height: 2px; background: linear-gradient(90deg, #10b981, rgba(16,185,129,0.15)); border-radius: 99px; }
		.resume-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #bbf7d0; border: 1px solid rgba(16,185,129,0.22); background: rgba(16,185,129,0.08); border-radius: 999px; padding: 5px 10px; }
		.resume-table { width: 100%; border-collapse: collapse; font-size: 13px; }
		.resume-table th, .resume-table td { border: 1px solid rgba(255,255,255,0.09); padding: 10px; text-align: left; vertical-align: top; }
		.resume-table th { background: rgba(255,255,255,0.04); color: #f4f4f5; font-weight: 700; }
		.resume-table td { color: #d4d4d8; }

		#resume-print h3, #resume-print h4 { color: #f4f4f5; }
		#resume-print p, #resume-print li, #resume-print td, #resume-print th { color: #d4d4d8; }

		.github-mini { border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.45); border-radius: 14px; padding: 10px 12px; max-width: 190px; margin: 0 auto 14px; }
		.github-mini-count { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; line-height: 1; color: #22c55e; }
		.github-mini-label { font-size: 12px; color: #a1a1aa; margin-top: 3px; }
		.hero-contrib-badge {
			position: absolute;
			top: 10px;
			right: -18px;
			z-index: 20;
			margin: 0;
			min-width: 186px;
			text-align: center;
			backdrop-filter: blur(8px);
			-webkit-backdrop-filter: blur(8px);
		}
		.hero-contrib-badge:hover { border-color: rgba(16,185,129,0.45); }

		@media (max-width: 768px) {
			.hero-contrib-badge {
				top: -4px;
				right: 50%;
				transform: translateX(50%);
			}
		}

		.cv-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

		.gallery-tabs-shell {
			display: flex;
			align-items: center;
			gap: 10px;
			width: 100%;
			max-width: 560px;
			margin-left: auto;
		}

		.gallery-tabs-viewport {
			flex: 1;
			min-width: 0;
			overflow: hidden;
			border-radius: 999px;
		}

		.gallery-tabs {
			display: flex;
			gap: 8px;
			flex-wrap: nowrap;
			overflow-x: auto;
			padding: 8px;
			border-radius: 999px;
			background: rgba(255,255,255,0.08);
			border: 1px solid rgba(255,255,255,0.14);
			backdrop-filter: blur(10px);
			-webkit-backdrop-filter: blur(10px);
		}
		.gallery-tabs::-webkit-scrollbar { height: 0; }

		.gallery-nav {
			width: 36px;
			height: 36px;
			border-radius: 999px;
			border: 1px solid rgba(255,255,255,0.2);
			background: rgba(255,255,255,0.08);
			color: #f4f4f5;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex-shrink: 0;
			transition: all 0.22s ease;
		}

		.gallery-nav:hover {
			background: rgba(124,58,237,0.35);
			border-color: rgba(124,58,237,0.55);
			transform: translateY(-1px);
		}

		.gallery-nav[disabled] {
			opacity: 0;
			pointer-events: none;
			transform: scale(0.9);
		}

		.mobile-quick-shell {
			position: fixed;
			inset: 0;
			z-index: 70;
			pointer-events: none;
		}

		.mobile-quick-shell.open {
			pointer-events: auto;
		}

		.mobile-quick-backdrop {
			position: absolute;
			inset: 0;
			border: 0;
			padding: 0;
			background: rgba(4, 6, 12, 0.32);
			backdrop-filter: blur(14px);
			-webkit-backdrop-filter: blur(14px);
			opacity: 0;
			transition: opacity 0.24s ease;
		}

		.mobile-quick-shell.open .mobile-quick-backdrop {
			opacity: 1;
		}

		.mobile-quick-toggle {
			position: fixed;
			top: 1rem;
			left: 50%;
			z-index: 80;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			min-width: 3.5rem;
			height: 2.75rem;
			padding: 0 1rem;
			border-radius: 999px;
			border: 1px solid rgba(255,255,255,0.11);
			background: rgba(255,255,255,0.03);
			color: rgba(255,255,255,0.92);
			font-family: 'Syne', sans-serif;
			font-size: 0.95rem;
			font-weight: 800;
			letter-spacing: 0.06em;
			box-shadow: 0 10px 24px rgba(0,0,0,0.26);
			backdrop-filter: blur(14px);
			-webkit-backdrop-filter: blur(14px);
			transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.28s ease, border-color 0.28s ease;
		}

		.mobile-quick-toggle:hover {
			border-color: rgba(245,158,11,0.42);
			box-shadow: 0 14px 30px rgba(0,0,0,0.34);
		}

		.mobile-quick-panel {
			position: absolute;
			top: 4.65rem;
			left: 0.75rem;
			right: 0.75rem;
			padding: 0.9rem;
			border-radius: 24px;
			border: 1px solid rgba(255,255,255,0.12);
			box-shadow: 0 30px 70px rgba(0,0,0,0.45);
			transform: translateY(-10px) scale(0.98);
			opacity: 0;
			transition: transform 0.24s ease, opacity 0.24s ease;
		}

		.mobile-quick-shell.open .mobile-quick-panel {
			transform: translateY(0) scale(1);
			opacity: 1;
		}

		.mobile-quick-panel-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 1rem;
			margin-bottom: 0.85rem;
			padding: 0.2rem 0.1rem 0.6rem;
			border-bottom: 1px solid rgba(255,255,255,0.08);
		}

		.mobile-quick-panel-kicker {
			font-size: 10px;
			font-weight: 800;
			letter-spacing: 0.22em;
			text-transform: uppercase;
			color: #f59e0b;
		}

		.mobile-quick-panel-title {
			margin-top: 0.2rem;
			font-family: 'Syne', sans-serif;
			font-size: 1rem;
			font-weight: 800;
			color: #ffffff;
		}

		.mobile-quick-close {
			width: 2.35rem;
			height: 2.35rem;
			border-radius: 999px;
			border: 1px solid rgba(255,255,255,0.12);
			background: rgba(255,255,255,0.04);
			color: #e4e4e7;
		}

		.mobile-quick-links {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 0.7rem;
		}

		.mobile-quick-link {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 0.75rem;
			padding: 0.95rem 1rem;
			border-radius: 16px;
			border: 1px solid rgba(255,255,255,0.08);
			background: rgba(255,255,255,0.04);
			color: #f4f4f5;
			font-size: 0.92rem;
			font-weight: 700;
			text-decoration: none;
			position: relative;
			overflow: hidden;
		}

		.mobile-quick-link::after {
			content: '';
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			height: 2px;
			background: linear-gradient(90deg, #f59e0b, #fb923c);
			transform: scaleX(0);
			transform-origin: left;
			transition: transform 0.22s ease;
		}

		.mobile-quick-link:hover,
		.mobile-quick-link.active {
			border-color: rgba(245,158,11,0.4);
			background: rgba(124,58,237,0.08);
			color: #ffffff;
		}

		.mobile-quick-link:hover::after,
		.mobile-quick-link.active::after {
			transform: scaleX(1);
		}

		.gallery-tab {
			border: 1px solid transparent;
			color: #1f2937;
			background: #fce7f3;
			display: inline-flex;
			align-items: center;
			gap: 8px;
			padding: 0 10px 0 0;
			min-height: 37px;
			border-radius: 999px;
			font-size: 10.5px;
			font-weight: 800;
			letter-spacing: 0.03em;
			text-transform: uppercase;
			white-space: nowrap;
			flex-shrink: 0;
			overflow: hidden;
			transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
			box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
		}

		.gallery-tab-thumb {
			width: 33px;
			min-height: 37px;
			height: 100%;
			border-radius: 999px 0 0 999px;
			object-fit: cover;
			border-right: 1px solid rgba(255,255,255,0.7);
			box-shadow: inset -1px 0 0 rgba(0,0,0,0.08);
			flex-shrink: 0;
		}

		.gallery-tab span {
			padding-right: 2px;
		}

		.gallery-tab[data-tone="pink"] { background: #fce7f3; }
		.gallery-tab[data-tone="blue"] { background: #dbeafe; }
		.gallery-tab[data-tone="green"] { background: #dcfce7; }
		.gallery-tab[data-tone="yellow"] { background: #fef3c7; }

		.gallery-tab:hover {
			transform: translateY(-1px);
			filter: saturate(1.08);
			box-shadow: 0 8px 20px rgba(0,0,0,0.18), inset 0 -1px 0 rgba(0,0,0,0.08);
		}

		.gallery-tab.active {
			color: #ffffff;
			border-color: rgba(124,58,237,0.45);
			background: linear-gradient(135deg, #7c3aed, #9333ea);
			box-shadow: 0 10px 24px rgba(124,58,237,0.35);
		}

		@media (max-width: 900px) {
			.gallery-tabs-shell {
				max-width: 100%;
			}
		}

		.gallery-grid {
			column-count: 4;
			column-gap: 16px;
		}
		.gallery-item {
			display: inline-block;
			width: 100%;
			margin: 0 0 16px;
			border-radius: 16px;
			overflow: hidden;
			border: 1px solid rgba(255,255,255,0.08);
			background: rgba(255,255,255,0.02);
			break-inside: avoid;
			-webkit-column-break-inside: avoid;
			page-break-inside: avoid;
		}
		.gallery-item img {
			width: 100%;
			height: auto;
			object-fit: unset;
			background: transparent;
			display: block;
			transition: transform 0.35s ease, filter 0.35s ease;
		}
		.gallery-item:hover img { transform: scale(1.02); filter: saturate(1.06); }
		.gallery-meta { display: none; }

		@media (max-width: 1200px) {
			.gallery-grid { column-count: 3; }
		}

		@media (max-width: 820px) {
			.gallery-grid { column-count: 2; }
		}

		@media (max-width: 520px) {
			.gallery-grid { column-count: 1; }
		}

		@media (max-width: 768px) {
			#cursor, #cursor-ring { display: none; }
			body { cursor: auto; }
			.mobile-quick-toggle { top: 0.9rem; }
			nav { display: none; }

			.hero-section {
				padding-top: 6rem;
			}

			.hero-layout {
				grid-template-columns: 1fr !important;
				justify-items: center;
				gap: 2rem;
				padding-left: 1rem;
				padding-right: 1rem;
			}

			.hero-copy {
				width: 100%;
				max-width: 100%;
				text-align: center;
				justify-self: center;
			}

			.hero-copy h1 {
				font-size: clamp(2.4rem, 11vw, 3.4rem);
				line-height: 0.98;
				letter-spacing: -0.04em;
				overflow-wrap: anywhere;
			}

			.hero-copy p {
				font-size: 1rem;
				line-height: 1.55;
			}

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

			.hero-actions > a {
				width: 100%;
				justify-content: center;
			}

			.hero-stats {
				justify-content: center;
				gap: 1.5rem;
				text-align: center;
			}

			.hero-card-shell {
				height: auto;
				padding-top: 1rem;
			}

			.hero-card-shell .card {
				max-width: 100%;
				width: 100%;
				padding: 1.25rem;
			}

			.hero-card-shell .github-mini {
				right: 50%;
				transform: translateX(50%);
				top: -8px;
				min-width: 170px;
			}

			#home .w-32.h-32 {
				width: 7rem;
				height: 7rem;
			}

			.stat-num {
				font-size: 2rem;
			}

			#projects .flex.flex-col.md\:flex-row {
				align-items: flex-start;
			}

			#projects .flex.gap-2 {
				width: 100%;
				flex-wrap: wrap;
			}

			#projects .flex.gap-2 > button {
				flex: 1 1 calc(50% - 0.25rem);
				justify-content: center;
			}

			#about .grid.md\:grid-cols-2,
			#experience .grid.md\:grid-cols-2,
			#contact .grid.md\:grid-cols-2 {
				grid-template-columns: 1fr;
			}

			#experience .flex.items-center.justify-between,
			#experience .flex.flex-wrap.items-center.justify-between {
				gap: 0.35rem;
				align-items: flex-start;
			}

			.mobile-quick-links {
				grid-template-columns: 1fr;
			}

			#projects-grid {
				gap: 1rem;
			}

			.proj-card {
				padding: 1.1rem;
			}

			.proj-card h3 {
				font-size: 1.2rem;
			}

			.gallery-tabs-shell {
				gap: 0.5rem;
			}

			.gallery-tab {
				min-height: 34px;
				font-size: 10px;
			}

			.gallery-tab-thumb {
				width: 30px;
				min-height: 34px;
			}

			.gallery-grid {
				column-gap: 12px;
			}

			#github .grid.lg\:grid-cols-3 {
				grid-template-columns: 1fr;
			}

			#github .grid.md\:grid-cols-2 {
				grid-template-columns: 1fr;
			}

			#github .card,
			#contact .card,
			#resume .resume-panel,
			#certs .cert-card,
			#about .cert-card,
			#experience .exp-card {
				border-radius: 18px;
			}
		}

		@media (max-width: 640px) {
			nav {
				display: none;
			}

			nav {
				padding-left: 0.75rem;
				padding-right: 0.75rem;
			}

			nav .glass {
				padding: 0.85rem 1rem;
				gap: 0.75rem;
				flex-wrap: wrap;
				justify-content: center;
			}

			nav .glass > a:first-child {
				width: 100%;
				justify-content: center;
			}

			nav .glass > div:last-child {
				width: 100%;
				justify-content: center;
			}

			.hero-layout {
				grid-template-columns: 1fr !important;
				justify-items: center;
				gap: 1.5rem;
				padding-left: 0.5rem;
				padding-right: 0.5rem;
			}

			.hero-copy h1 {
				font-size: clamp(2.1rem, 12.5vw, 3rem);
			}

			.hero-actions {
				gap: 0.75rem;
			}

			.hero-stats {
				flex-wrap: wrap;
				gap: 1rem;
				justify-content: center;
			}

			.hero-stats > div {
				min-width: 88px;
			}

			.hero-card-shell {
				height: auto;
				padding-top: 0.5rem;
			}

			.hero-card-shell .card {
				padding: 1rem;
			}

			.hero-contrib-badge {
				min-width: 150px;
				font-size: 12px;
			}

			.section-label {
				font-size: 10px;
				letter-spacing: 0.18em;
			}

			#projects .flex.gap-2 > button,
			#projects .flex.flex-col.md\:flex-row > .flex.gap-2 > button {
				flex: 1 1 100%;
			}

			.gallery-tabs-shell {
				flex-wrap: wrap;
				max-width: 100%;
			}

			.gallery-tabs-viewport {
				width: 100%;
				order: 1;
			}

			.gallery-nav {
				order: 2;
			}

			.gallery-tab {
				min-height: 34px;
				font-size: 10px;
			}

			.gallery-tab-thumb {
				width: 30px;
				min-height: 34px;
			}

			.gallery-grid {
				column-count: 1;
				column-gap: 12px;
			}

			.resume-table {
				display: block;
				overflow-x: auto;
				white-space: nowrap;
			}

			.resume-table th,
			.resume-table td {
				min-width: 170px;
			}

			#github .grid.lg\:grid-cols-3,
			#github .grid.md\:grid-cols-2 {
				grid-template-columns: 1fr;
			}

			#certs .grid.sm\:grid-cols-2,
			#certs .grid.lg\:grid-cols-3 {
				grid-template-columns: 1fr;
			}

			#contact .card {
				padding: 1.25rem;
			}

			.modal-backdrop {
				align-items: flex-start;
				overflow-y: auto;
				padding-top: 0.5rem;
				padding-bottom: 0.5rem;
				padding-left: 0.5rem;
				padding-right: 0.5rem;
			}

			.modal-box {
				max-height: calc(100vh - 1.5rem);
				overflow: hidden;
			}

			.profile-modal-shell {
				max-height: calc(100vh - 1.5rem);
				min-height: 0;
				display: flex;
				flex-direction: column;
			}

			.profile-modal-scroll {
				display: flex;
				flex-direction: column;
				max-height: calc(100vh - 4.25rem);
				overflow-y: auto;
				-webkit-overflow-scrolling: touch;
				touch-action: pan-y;
				overflow-x: hidden;
				min-height: 0;
			}

			#profile-modal .flex.flex-col.md\:flex-row {
				flex-direction: column;
				min-height: 0;
			}

			#profile-modal .md\:w-64 {
				width: 100%;
				min-height: auto;
				flex-shrink: 0;
			}

			#profile-modal .flex-1 {
				max-height: none;
				overflow: visible;
				min-height: 0;
			}

			#profile-modal .max-h-\\[60vh\\] {
				max-height: none;
			}
		}

		@media (max-width: 480px) {
			.hero-section {
				padding-top: 5rem;
			}

			.hero-copy p {
				font-size: 0.95rem;
			}

			.btn-primary,
			.btn-outline {
				width: 100%;
				justify-content: center;
				padding-left: 1rem;
				padding-right: 1rem;
			}

			.stat-num {
				font-size: 1.75rem;
			}

			.hero-stats p {
				font-size: 0.65rem;
			}

			#home .w-32.h-32 {
				width: 6.5rem;
				height: 6.5rem;
			}

			.mobile-quick-toggle {
				top: 0.8rem;
				min-width: 3.2rem;
				height: 2.55rem;
				font-size: 0.9rem;
			}

			.mobile-quick-panel {
				top: 4.35rem;
				left: 0.5rem;
				right: 0.5rem;
				padding: 0.8rem;
			}

			.modal-box {
				border-radius: 18px;
			}
		}

		@media (max-width: 520px) {
			.hero-section {
				padding-top: 5.5rem;
			}

			.hero-layout {
				grid-template-columns: 1fr !important;
				padding-left: 0.75rem;
				padding-right: 0.75rem;
			}

			.hero-copy > div:nth-child(2) p {
				font-size: 0.95rem;
			}

			.hero-stats {
				gap: 1rem;
				justify-content: space-between;
			}

			.hero-stats .stat-num {
				font-size: 1.7rem;
			}

			.hero-stats p {
				font-size: 0.65rem;
			}

			.btn-primary,
			.btn-outline {
				width: 100%;
				justify-content: center;
				padding-left: 1rem;
				padding-right: 1rem;
			}

			.hero-copy .inline-flex.items-center.gap-3 {
				margin-left: auto;
				margin-right: auto;
			}

			.proj-card .tag,
			.gallery-tab,
			.cert-card .tag {
				font-size: 10px;
			}

			.modal-box {
				border-radius: 18px;
			}

			#contact .card {
				padding: 1.25rem;
			}

			.mobile-quick-panel-head {
				margin-bottom: 0.7rem;
			}
		}

		@media print {
			html, body {
				margin: 0 !important;
				padding: 0 !important;
				background: #ffffff !important;
				color: #111111 !important;
				-webkit-print-color-adjust: exact;
				print-color-adjust: exact;
			}
			body * { visibility: hidden !important; }
			#resume,
			#resume * { visibility: visible !important; }
			#resume {
				display: block !important;
				padding: 0 !important;
				margin: 0 !important;
				min-height: 0 !important;
				position: relative !important;
			}
			#resume > *:not(#resume-print) { display: none !important; }
			#resume-print {
				display: block !important;
				position: relative;
				width: 100%;
				margin: 0;
				padding: 18px 22px 20px;
				background: #ffffff !important;
				color: #111111 !important;
				border: 0;
				box-shadow: none;
				border-radius: 0;
			}
			#resume-print * {
				visibility: visible !important;
			}
			.reveal,
			.reveal.visible {
				opacity: 1 !important;
				transform: none !important;
			}
			#resume-print section,
			#resume-print table,
			#resume-print tr,
			#resume-print td,
			#resume-print th,
			#resume-print ul,
			#resume-print li {
				break-inside: avoid;
				page-break-inside: avoid;
			}
			#resume-print * {
				color: #111111 !important;
				background: transparent !important;
				box-shadow: none !important;
				text-shadow: none !important;
			}
			#resume-print,
			#resume-print * { font-family: 'Times New Roman', Times, serif !important; }
			#resume-print a,
			#resume-print a:visited { color: #111111 !important; text-decoration: none !important; }
			#resume-print .resume-rule { background: #111111 !important; height: 1px !important; }
			#resume-print .resume-table th,
			#resume-print .resume-table td { border-color: #d4d4d8 !important; color: #111111 !important; }
			#resume-print .resume-headline,
			#resume-print .resume-panel { border-color: #d4d4d8 !important; background: #ffffff !important; }
			#resume-print .resume-chip { border: 1px solid #d1d5db !important; background: #f9fafb !important; color: #111111 !important; }
			#resume-print .resume-chip i,
			#resume-print .resume-chip svg,
			#resume-print .resume-chip span,
			#resume-print i { color: #111111 !important; }
			.btn-primary,
			.btn-outline,
			.section-label,
			.github-mini,
			.hero-contrib-badge,
			.cv-modal-actions,
			.nav-link,
			nav,
			footer,
			#cursor,
			#cursor-ring,
			#scroll-progress,
			#stars-canvas,
			.orb,
			.modal-backdrop,
			.gallery-tabs,
			.gallery-grid,
			#projects,
			#about,
			#certs,
			#contact,
			#gallery,
			#github,
			#home {
				display: none !important;
			}
			@page { size: A4; margin: 10mm; }
		}
