#floating-contact {
    position: fixed;
    z-index: 1100;
    right: clamp(16px, 3vw, 36px);
    bottom: clamp(16px, 3vw, 36px);
    width: min(390px, calc(100vw - 32px));
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, var(--scroll-offset, 0px), 0) rotate(0) scale(1);
    transform-origin: bottom right;
    transition: opacity .45s ease, transform .65s cubic-bezier(.2, .8, .2, 1);
}

#thumbs .item-thumbs {
	z-index: 3;
}

#thumbs .item-thumbs:hover {
	z-index: 4;
}

#techs .profile {
	z-index: 3;
}

#floating-contact.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, var(--scroll-offset, 0px), 0) rotate(0) scale(1);
}

#floating-contact.is-scrolling {
	transform: translate3d(0, var(--scroll-offset, 0px), 0) rotate(0) scale(1);
	transition-duration: .12s;
}

.floating-contact-toggle {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid rgba(183, 255, 90, .55);
    border-radius: 12px;
    background: linear-gradient(115deg, #caff78, #9bea54 55%, #78e7d0);
    box-shadow: 0 14px 42px rgba(0, 0, 0, .35), 0 0 28px rgba(183, 255, 90, .19);
    color: #10150b;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    animation: floating-contact-pulse 3.2s ease-in-out infinite;
}

.floating-contact-toggle::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .58) 48%, transparent 68%);
    content: "";
    transform: translateX(-120%);
    animation: floating-contact-shine 4.5s ease-in-out infinite;
}

.floating-contact-toggle > span {
    position: relative;
    z-index: 1;
}

.floating-contact-toggle-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(16, 21, 11, .22);
    border-radius: 10px;
    font-size: 19px;
    animation: floating-contact-spark 2.4s ease-in-out infinite;
}

.floating-contact-toggle-arrow {
    margin-left: auto;
    font-size: 21px;
    transition: transform .25s ease;
}

.floating-contact-toggle:hover .floating-contact-toggle-arrow {
    transform: translate(3px, -3px);
}

.floating-contact-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 13px);
	width: min(780px, calc(100vw - 32px));
	min-height: min(75vh, 900px);
	padding: 36px;
    border: 1px solid rgba(183, 255, 90, .27);
    border-radius: 16px;
    background: radial-gradient(ellipse at 100% 0, rgba(183, 255, 90, .11), transparent 44%), rgba(12, 17, 26, .97);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .52), 0 0 38px rgba(120, 231, 208, .09);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .28s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility .28s;
    backdrop-filter: blur(20px);
}

#floating-contact.is-open .floating-contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-contact-panel-heading {
    position: relative;
    margin-bottom: 17px;
    padding-right: 20px;
}

.floating-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
}

.floating-contact-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: floating-contact-spark 1.8s ease-in-out infinite;
}

.floating-contact-panel-heading h2 {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.floating-contact-panel-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.floating-contact-close {
    position: absolute;
    top: -5px;
    right: -9px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

.floating-contact-form p {
    margin-bottom: 10px;
}

.floating-contact-form input,
.floating-contact-form textarea {
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 11px;
}

.floating-contact-form textarea {
    min-height: 78px;
}

#floating-contact.is-open .floating-contact-panel {
	max-height: min(90vh, 1020px);
	overflow-y: auto;
}

.floating-contact-form .contact-submit {
    margin-bottom: 6px;
}

.floating-contact-form .submit {
    width: 100%;
    min-height: 44px;
}

#floating-contact-response {
    color: var(--accent-2);
    font-size: 11px;
    line-height: 1.5;
}

.floating-contact-form [role="status"] a {
    color: var(--accent);
}

.project-type-icon::before,
.project-type-icon::after {
	display: block;
}

@keyframes floating-contact-shine {
    0%, 62% { transform: translateX(-120%); }
    82%, 100% { transform: translateX(120%); }
}

@keyframes floating-contact-pulse {
    0%, 100% { box-shadow: 0 14px 42px rgba(0, 0, 0, .35), 0 0 20px rgba(183, 255, 90, .14); }
    50% { box-shadow: 0 16px 48px rgba(0, 0, 0, .38), 0 0 34px rgba(183, 255, 90, .3); }
}

@keyframes floating-contact-spark {
    0%, 100% { opacity: .8; transform: scale(.94); }
    50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 520px) {
    #floating-contact {
        right: 12px;
        bottom: 12px;
        width: min(360px, calc(100vw - 24px));
    }

    .floating-contact-panel {
        max-height: min(72vh, 590px);
        overflow-y: auto;
        padding: 19px;
    }

    .floating-contact-toggle {
        min-height: 56px;
    }
}

:root[data-theme="light"] .floating-contact-panel {
    border-color: rgba(54, 91, 0, .22);
    background: radial-gradient(ellipse at 100% 0, rgba(54, 91, 0, .1), transparent 44%), rgba(255, 255, 255, .97);
    box-shadow: 0 24px 80px rgba(24, 36, 55, .22), 0 0 38px rgba(54, 91, 0, .08);
}

:root[data-theme="light"] .floating-contact-panel-heading h2,
:root[data-theme="light"] .floating-contact-close {
    color: #111827;
}
.project-type-fieldset,
.project-budget-fieldset {
	min-width: 0;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.project-type-fieldset legend,
.project-budget-fieldset legend {
	margin: 0 0 7px;
	color: var(--text);
	font-size: 11px;
	font-weight: 700;
}

.project-type-list,
.project-budget-list {
	display: flex;
	gap: 7px;
	overflow-x: auto;
	padding: 2px 1px 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(183, 255, 90, .45) transparent;
}

.project-type-card {
	display: flex;
	min-width: 75px;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 8px 7px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: rgba(255, 255, 255, .035);
	color: var(--muted);
	font-size: 9px;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.project-type-card:hover,
.project-type-card.is-selected {
	border-color: var(--accent);
	background: rgba(183, 255, 90, .1);
	color: var(--text);
	transform: translateY(-2px);
}

.project-type-icon {
	position: relative;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	color: var(--accent);
}

.project-icon-ios::before {
	width: 13px;
	height: 21px;
	border: 1.5px solid currentColor;
	border-radius: 4px;
	content: "";
	animation: project-icon-device 2.4s ease-in-out infinite;
}

.project-icon-ios::after {
	position: absolute;
	bottom: 6px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.project-icon-android::before {
	width: 19px;
	height: 15px;
	border: 1.5px solid currentColor;
	border-radius: 8px 8px 4px 4px;
	content: "";
	animation: project-icon-bob 1.8s ease-in-out infinite;
}

.project-icon-android::after {
	position: absolute;
	top: 5px;
	width: 15px;
	height: 5px;
	border-top: 1px solid currentColor;
	content: "";
	transform: rotate(-24deg);
}

.project-icon-windows::before {
	width: 20px;
	height: 18px;
	background: linear-gradient(90deg, transparent 47%, currentColor 48% 53%, transparent 54%), linear-gradient(0deg, transparent 47%, currentColor 48% 53%, transparent 54%), currentColor;
	clip-path: polygon(0 10%, 46% 3%, 46% 47%, 0 47%, 0 53%, 46% 53%, 46% 97%, 0 90%, 54% 97%, 54% 53%, 100% 53%, 100% 47%, 54% 47%, 54% 3%, 100% 10%, 100% 90%);
	animation: project-icon-bob 2.2s ease-in-out infinite;
	content: "";
}

.project-icon-saas::before {
	width: 23px;
	height: 15px;
	border: 1.5px solid currentColor;
	border-radius: 12px;
	content: "";
	animation: project-icon-cloud 2.6s ease-in-out infinite;
}

.project-icon-saas::after {
	position: absolute;
	width: 9px;
	height: 6px;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	content: "";
}

.project-icon-server::before {
	width: 19px;
	height: 22px;
	border: 1.5px solid currentColor;
	border-radius: 4px;
	background: repeating-linear-gradient(to bottom, transparent 0 5px, currentColor 5px 6px);
	content: "";
	animation: project-icon-bob 2s ease-in-out infinite;
}

.project-icon-server::after {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 6px currentColor;
	content: "";
}

.project-icon-ai::before {
	width: 16px;
	height: 16px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(183, 255, 90, .35);
	content: "";
	animation: project-icon-ai 2.8s linear infinite;
}

.project-icon-ai::after {
	position: absolute;
	width: 25px;
	height: 25px;
	border: 1px dashed currentColor;
	border-radius: 50%;
	content: "";
	animation: project-icon-ai 5s linear infinite reverse;
}

.project-icon-web::before {
	width: 23px;
	height: 17px;
	border: 1.5px solid currentColor;
	border-radius: 3px;
	background: linear-gradient(currentColor, currentColor) 0 5px / 100% 1px no-repeat;
	content: "";
	animation: project-icon-bob 2s ease-in-out infinite;
}

.project-icon-web::after {
	position: absolute;
	top: 6px;
	left: 7px;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 4px 0 currentColor, 8px 0 currentColor;
	content: "";
}

.project-icon-other::before {
	width: 18px;
	height: 18px;
	border: 1px solid currentColor;
	border-radius: 6px;
	content: "✦";
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	animation: project-icon-ai 3s ease-in-out infinite;
}

.project-budget-list {
	flex-wrap: wrap;
	overflow: visible;
	padding-bottom: 2px;
}

.project-budget-option {
	flex: 0 0 auto;
	padding: 6px 9px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .035);
	color: var(--muted);
	font-size: 9px;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.project-budget-option:hover,
.project-budget-option.is-selected {
	border-color: var(--accent);
	background: rgba(183, 255, 90, .12);
	color: var(--text);
}

.floating-message-label {
	display: block;
	margin-bottom: 5px;
	color: var(--muted);
	font-size: 9px;
	line-height: 1.4;
}

.floating-contact-form textarea {
	min-height: 94px;
}

@keyframes project-icon-device {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-2px) rotate(5deg); }
}

@keyframes project-icon-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-2px); }
}

@keyframes project-icon-cloud {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.09); }
}

@keyframes project-icon-ai {
	to { transform: rotate(360deg); }
}

:root[data-theme="light"] .project-type-card,
:root[data-theme="light"] .project-budget-option {
	background-color: rgba(20, 34, 50, .035);
}

@media (prefers-reduced-motion: reduce) {
	.project-type-icon::before,
	.project-type-icon::after {
		animation: none !important;
	}
}

.project-type-fieldset,
.project-budget-fieldset {
	min-width: 0;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.project-type-fieldset legend,
.project-budget-fieldset legend {
	margin: 0 0 7px;
	color: var(--text);
	font-size: 11px;
	font-weight: 700;
}

.project-type-list,
.project-budget-list {
	display: flex;
	gap: 7px;
	overflow-x: auto;
	padding: 2px 1px 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(183, 255, 90, .45) transparent;
}

.project-type-card {
	display: flex;
	min-width: 75px;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 8px 7px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: rgba(255, 255, 255, .035);
	color: var(--muted);
	font-size: 9px;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.project-type-card:hover,
.project-type-card.is-selected {
	border-color: var(--accent);
	background: rgba(183, 255, 90, .1);
	color: var(--text);
	transform: translateY(-2px);
}

.project-type-icon {
	position: relative;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	color: var(--accent);
}

.project-icon-ios::before {
	width: 13px;
	height: 21px;
	border: 1.5px solid currentColor;
	border-radius: 4px;
	content: "";
	animation: project-icon-device 2.4s ease-in-out infinite;
}

.project-icon-ios::after {
	position: absolute;
	bottom: 6px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.project-icon-android::before {
	width: 19px;
	height: 15px;
	border: 1.5px solid currentColor;
	border-radius: 8px 8px 4px 4px;
	content: "";
	animation: project-icon-bob 1.8s ease-in-out infinite;
}

.project-icon-android::after {
	position: absolute;
	top: 5px;
	width: 15px;
	height: 5px;
	border-top: 1px solid currentColor;
	content: "";
	transform: rotate(-24deg);
}

.project-icon-windows::before {
	width: 20px;
	height: 18px;
	background: linear-gradient(90deg, transparent 47%, currentColor 48% 53%, transparent 54%), linear-gradient(0deg, transparent 47%, currentColor 48% 53%, transparent 54%), currentColor;
	clip-path: polygon(0 10%, 46% 3%, 46% 47%, 0 47%, 0 53%, 46% 53%, 46% 97%, 0 90%, 54% 97%, 54% 53%, 100% 53%, 100% 47%, 54% 47%, 54% 3%, 100% 10%, 100% 90%);
	animation: project-icon-bob 2.2s ease-in-out infinite;
	content: "";
}

.project-icon-saas::before {
	width: 23px;
	height: 15px;
	border: 1.5px solid currentColor;
	border-radius: 12px;
	content: "";
	animation: project-icon-cloud 2.6s ease-in-out infinite;
}

.project-icon-saas::after {
	position: absolute;
	width: 9px;
	height: 6px;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	content: "";
}

.project-icon-server::before {
	width: 19px;
	height: 22px;
	border: 1.5px solid currentColor;
	border-radius: 4px;
	background: repeating-linear-gradient(to bottom, transparent 0 5px, currentColor 5px 6px);
	content: "";
	animation: project-icon-bob 2s ease-in-out infinite;
}

.project-icon-server::after {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 6px currentColor;
	content: "";
}

.project-icon-ai::before {
	width: 16px;
	height: 16px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(183, 255, 90, .35);
	content: "";
	animation: project-icon-ai 2.8s linear infinite;
}

.project-icon-ai::after {
	position: absolute;
	width: 25px;
	height: 25px;
	border: 1px dashed currentColor;
	border-radius: 50%;
	content: "";
	animation: project-icon-ai 5s linear infinite reverse;
}

.project-icon-web::before {
	width: 23px;
	height: 17px;
	border: 1.5px solid currentColor;
	border-radius: 3px;
	background: linear-gradient(currentColor, currentColor) 0 5px / 100% 1px no-repeat;
	content: "";
	animation: project-icon-bob 2s ease-in-out infinite;
}

.project-icon-web::after {
	position: absolute;
	top: 6px;
	left: 7px;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 4px 0 currentColor, 8px 0 currentColor;
	content: "";
}

.project-icon-other::before {
	width: 18px;
	height: 18px;
	border: 1px solid currentColor;
	border-radius: 6px;
	content: "✦";
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	animation: project-icon-ai 3s ease-in-out infinite;
}

.project-budget-list {
	flex-wrap: wrap;
	overflow: visible;
	padding-bottom: 2px;
}

.project-budget-option {
	flex: 0 0 auto;
	padding: 6px 9px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .035);
	color: var(--muted);
	font-size: 9px;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.project-budget-option:hover,
.project-budget-option.is-selected {
	border-color: var(--accent);
	background: rgba(183, 255, 90, .12);
	color: var(--text);
}

.floating-message-label {
	display: block;
	margin-bottom: 5px;
	color: var(--muted);
	font-size: 9px;
	line-height: 1.4;
}

.floating-contact-form textarea {
	min-height: 94px;
}

@keyframes project-icon-device {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-2px) rotate(5deg); }
}

@keyframes project-icon-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-2px); }
}

@keyframes project-icon-cloud {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.09); }
}

@keyframes project-icon-ai {
	to { transform: rotate(360deg); }
}

:root[data-theme="light"] .project-type-card,
:root[data-theme="light"] .project-budget-option {
	background-color: rgba(20, 34, 50, .035);
}


.floating-contact-panel {
	display: flex;
	width: min(780px, calc(100vw - 32px));
	height: calc(min(67.5vh, 765px) + 50px);
	min-height: min(56vh, 675px);
	flex-direction: column;
	padding: 36px;
}

#floating-contact.is-open .floating-contact-panel {
	max-height: min(90vh, 1020px);
	overflow-y: auto;
}

.floating-contact-kicker,
.floating-contact-panel-heading p,
.floating-message-label {
	font-size: 13px;
}

.floating-contact-panel-heading h2 {
	font-size: 28px;
}

.floating-contact-close {
	right: -13px;
}

.project-type-fieldset legend,
.project-budget-fieldset legend {
	font-size: 14px;
}

.project-type-card,
.project-budget-option {
	font-size: 12px;
}

.floating-contact-form {
	display: flex;
	min-height: 0;
	flex: 1 1 0;
	flex-direction: column;
}

.floating-contact-form > .project-type-fieldset,
.floating-contact-form > .project-budget-fieldset,
.floating-contact-form > .contact-name,
.floating-contact-form > .contact-email,
.floating-contact-form > .contact-submit,
.floating-contact-form > #floating-contact-response {
	flex: 0 0 auto;
}

.floating-contact-form input,
.floating-contact-form textarea {
	padding: 15px 16px;
	font-size: 15px;
}

.floating-contact-form .contact-message {
	display: flex;
	min-height: 0;
	flex: 1 1 0;
	flex-direction: column;
}

.floating-contact-form textarea {
	min-height: 0;
	height: 100%;
	box-sizing: border-box;
	flex: 1 1 0;
}

.floating-contact-form .contact-submit {
	position: relative;
	z-index: 1;
	margin-top: auto;
	align-self: stretch;
	width: 100%;
}

.floating-contact-form .submit {
	display: flex;
	box-sizing: border-box;
	font-size: 15px;
}

@media (max-width: 520px) {
	.floating-contact-panel {
		width: calc(100vw - 24px);
		height: calc(66vh + 50px);
		min-height: min(52.5vh, 510px);
		max-height: calc(66vh + 50px);
		padding: 19px;
	}
}

