/* Font will be preloaded in HTML head for better performance */

html {
	height: 100%;
}

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

/* Performance optimizations for smoother animations */
*,
*::before,
*::after {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

/* GPU acceleration for transforms */
[class*="panel"],
[class*="video"],
[class*="image"] {
	transform: translateZ(0);
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #f5f5f5;
	color: #121212;
	position: relative;
	height: 100vh;
	overflow-x: hidden;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow-y: scroll;
}

body::-webkit-scrollbar {
	display: none;
}

#logo {
	width: 62px;
	height: auto;
	display: block;
}

.top-navbar {
	position: absolute;
	top: 40px;
	left: 30px;
	right: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
	transform: translateY(-50%);
	box-sizing: border-box;
}

.navbar-left {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 48px;
}

.location {
	font-size: 18px;
	font-weight: 500;
	color: #121212;
	margin: 0;
}

.navbar-right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 48px;
}
/* =========================================
   Link Animation: Unidirectional Underline
   ========================================= */

.navbar-right a,
.social-links a {
	position: relative;
	text-decoration: none;
	display: inline-block;
	padding-bottom: 2px;
	color: #121212;
	transition: color 0.3s ease;
	font-size: 18px;
	font-weight: 500;
}

.navbar-right a::before,
.social-links a::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background-color: currentColor;
	transition: width 0s ease, background 0.35s ease;
}

.navbar-right a::after,
.social-links a::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background-color: currentColor;
	transition: width 0.35s ease;
}

.navbar-right a:hover,
.social-links a:hover {
	opacity: 1;
}

.navbar-right a:hover::before,
.social-links a:hover::before {
	width: 100%;
	transition: width 0.35s ease;
}

.navbar-right a:hover::after,
.social-links a:hover::after {
	width: 100%;
	background: transparent;
	transition: all 0s ease;
}

.navbar-right a.active::before {
	width: 100%;
	transition: width 0.35s ease;
}

main {
	position: relative;
	width: calc(100% - 60px);
	min-height: 100vh;
	margin: 0 auto;
	box-sizing: border-box;
	overflow: visible;
	container-type: inline-size;
}

.mobile-marquee {
	display: none;
}

.hero-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding-top: 40px;
	padding-bottom: 0;
}

.hero-wrapper {
	width: fit-content;
	margin: 0 auto;
	margin-top: -100px;
	position: relative;
	display: flex;
	flex-direction: column;
}

@keyframes slide-up {
	0% {
		transform: translateY(110%);
	}
	100% {
		transform: translateY(15%);
	}
}

#name {
	width: 100%;
	font-size: 17cqi;
	font-weight: bold;
	font-stretch: condensed;
	letter-spacing: -0.03em;
	color: #121212;
	text-transform: uppercase;
	font-family: "Helvetica Neue Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 0.85;
	padding-top: 0.15em;
	padding-bottom: 0.2em;
	margin: 0;
	display: block;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	#name {
		font-size: clamp(32px, 15vw, 100px);
		letter-spacing: -0.02em;
	}
}

@media (max-width: 600px) {
	#name {
		font-size: clamp(28px, 18vw, 80px);
		letter-spacing: -0.01em;
	}
}

.reveal-text {
	display: block;
	animation: slide-up 1s cubic-bezier(0.65, 0, 0.35, 1) both;
	animation-delay: 0.1s;
	padding-right: 0.1em;
}

.role-container {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-top: -25px;
	position: relative;
	z-index: 5;
}

.role-item {
	font-family: "Helvetica Neue";
	font-size: 24px;
	font-weight: bold;
	color: #121212;
	text-transform: uppercase;
	min-height: 1em;
	display: inline-block;
}

.visuals-wrapper {
	position: relative;
	height: 50vh;
	width: 50vh;
	max-height: 550px;
	max-width: 550px;
	min-height: 250px;
	min-width: 250px;
	margin: 20px auto 0 auto;
	z-index: 10;
	overflow: visible;
}

.image-container {
	width: 100%;
	height: 100%;
	margin: 0;
	position: relative;
	z-index: 10;
	clip-path: inset(100% 0 0 0);
	overflow: hidden;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.2);
	filter: brightness(0.8) grayscale(100%);
	transition: filter 0.5s ease;
}

.light-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	--x: 50%;
	--y: 50%;
	background: radial-gradient(
		circle at var(--x) var(--y),
		rgba(255, 255, 255, 0.4) 0%,
		transparent 50%
	);
	mix-blend-mode: soft-light;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.image-container:hover .light-overlay {
	opacity: 1;
}

.image-container:hover .hero-image {
	filter: brightness(1) grayscale(100%);
	transform: scale(1.05);
	transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}
/* =========================================
   ORBIT BADGE - Spinning Data Seal
   ========================================= */

.orbit-badge {
	position: absolute;
	bottom: 0;
	left: 0;
	transform: translate(-50%, 50%);
	width: 120px;
	height: 120px;
	z-index: 20;
	display: block;
}

.orbit-badge svg {
	fill: #121212;
	letter-spacing: 2px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	animation: spin-text 15s linear infinite;
	transform-origin: center;
}

body.dark .orbit-badge circle {
	fill: #121212;
}

body.dark .orbit-badge svg {
	fill: #f5f5f5;
}

@keyframes spin-text {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.social-links {
	position: absolute;
	bottom: 20px;
	left: 30px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 100;
	align-items: flex-start;
}

body.dark {
	background-color: #121212;
	color: #f5f5f5;
}

body.dark .location,
body.dark #name,
body.dark .reveal-text {
	color: #f5f5f5;
}

body.dark .role-item {
	color: #f5f5f5;
}
/* =========================================
   Dark Mode Support for Links
   ========================================= */
body.dark .navbar-right a,
body.dark .social-links a {
	color: #f5f5f5;
}

body.dark #logo {
	filter: invert(1);
}
/* ============================================
   Theme Toggle Switch - Morphing Sun/Moon Switch
   Based on CodePen: https://codepen.io/jkantner/pen/KKEgENL
   ============================================ */

:root {
	--hue: 223;
	--trans-dur: 0.4s;
	--trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
}

.switch {
	position: relative;
	margin: 0;
	z-index: 100;
	padding: 0;
	width: 3em;
	height: 1.5em;
	font-size: 17px;
	line-height: 1;
	display: inline-block;
}

.switch__input {
	-webkit-tap-highlight-color: transparent;
	background-color: hsl(var(--hue), 10%, 10%);
	border-radius: 1.5em;
	display: block;
	width: 100%;
	height: 100%;
	transition: background-color var(--trans-dur) var(--trans-timing);
	-webkit-appearance: none;
	appearance: none;
	margin: 0; padding: 0;
	position: static;
}

.switch__input:before {
	display: none;
	content: none;
}

.switch__icon,
.switch__icon-part {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

.switch__icon {
	background-color: hsl(var(--hue), 10%, 90%);
	border-radius: 50%;
	overflow: hidden;
	pointer-events: none;
	top: 0.125em;
	left: 0.125em;
	width: 1.25em;
	height: 1.25em;
	transition: transform var(--trans-dur) var(--trans-timing);
	z-index: 1;
}

.switch__icon-part {
	transition:
		box-shadow var(--trans-dur) var(--trans-timing),
		transform var(--trans-dur) var(--trans-timing);
}

.switch__icon-part--1,
.switch__icon-part--2,
.switch__icon-part--3 {
	border-radius: 50%;
}

.switch__icon-part--1 {
	background-color: hsl(var(--hue), 10%, 90%);
	top: calc(50% - 0.375em);
	left: calc(50% - 0.375em);
	width: 0.75em;
	height: 0.75em;
}

.switch__icon-part--2 {
	background-color: hsl(var(--hue), 10%, 10%);
	top: calc(50% - 0.4375em);
	left: calc(50% - 0.0625em);
	width: 0.5em;
	height: 0.5em;
	transform: translate(-0.1875em, 0.1875em) scale(0.2);
}

.switch__icon-part--3 {
	box-shadow: 0 0 0 0.625em hsl(var(--hue), 10%, 10%) inset;
	width: 1.25em;
	height: 1.25em;
	transform: scale(0.25);
}

.switch__icon-part--3 ~ .switch__icon-part {
	background-color: hsl(var(--hue), 10%, 10%);
	border-radius: 0.0625em;
	top: 50%;
	left: 50%;
	width: 0.125em;
	height: 0.1875em;
	transform-origin: 50% 0;
}

.switch__icon-part--4 {
	transform: translateX(-50%) rotate(0) translateY(0.25em);
}

.switch__icon-part--5 {
	transform: translateX(-50%) rotate(45deg) translateY(0.25em);
}

.switch__icon-part--6 {
	transform: translateX(-50%) rotate(90deg) translateY(0.25em);
}

.switch__icon-part--7 {
	transform: translateX(-50%) rotate(135deg) translateY(0.25em);
}

.switch__icon-part--8 {
	transform: translateX(-50%) rotate(180deg) translateY(0.25em);
}

.switch__icon-part--9 {
	transform: translateX(-50%) rotate(225deg) translateY(0.25em);
}

.switch__icon-part--10 {
	transform: translateX(-50%) rotate(270deg) translateY(0.25em);
}

.switch__icon-part--11 {
	transform: translateX(-50%) rotate(315deg) translateY(0.25em);
}

.switch__sr {
	overflow: hidden;
	position: absolute;
	width: 1px;
	height: 1px;
}

.switch__input:checked {
	background-color: hsl(var(--hue), 10%, 90%);
}

.switch__input:checked ~ .switch__icon {
	transform: translateX(1.5em);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--2 {
	transform: translate(0, 0) scale(1);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--3 {
	box-shadow: 0 0 0 0.25em hsl(var(--hue), 10%, 10%) inset;
	transform: scale(1);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--4 {
	transform: translateX(-50%) rotate(0) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--5 {
	transform: translateX(-50%) rotate(45deg) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--6 {
	transform: translateX(-50%) rotate(90deg) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--7 {
	transform: translateX(-50%) rotate(135deg) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--8 {
	transform: translateX(-50%) rotate(180deg) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--9 {
	transform: translateX(-50%) rotate(225deg) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--10 {
	transform: translateX(-50%) rotate(270deg) translateY(0.625em) scale(0);
}

.switch__input:checked ~ .switch__icon .switch__icon-part--11 {
	transform: translateX(-50%) rotate(315deg) translateY(0.625em) scale(0);
}

.switch__input:focus-visible {
	outline: 2px solid hsl(var(--hue), 10%, 10%);
	outline-offset: 4px;
	border-radius: 0.875em;
}

[data-theme="dark"] .switch__input:focus-visible,
body.dark .switch__input:focus-visible {
	outline-color: hsl(var(--hue), 10%, 90%);
}
/* =========================================
   RESPONSIVE DESIGN - Mobile First Approach
   ========================================= */

@media (max-width: 768px) {
	main {
		width: calc(100% - 40px);
		padding-top: 50px;
		padding-bottom: 30px;
	}
	#logo {
		width: 45px;
	}
	.top-navbar {
		top: 20px;
		left: 20px;
		right: 20px;
		gap: 24px;
	}
	.navbar-left {
		gap: 20px;
	}
	.location {
		font-size: 16px;
	}
	.navbar-right {
		gap: 20px;
	}
	.navbar-right a {
		font-size: 16px;
	}
	.social-links {
		bottom: 15px;
		left: 20px;
	}
	.hero-wrapper {
		margin-top: -60px;
	}
	.hero-section {
		padding-top: 80px;
		padding-bottom: 40px;
	}
}

@media (max-width: 600px) {
	main {
		width: calc(100% - 30px);
		padding-top: 40px;
		padding-bottom: 20px;
	}
	.top-navbar {
		top: 15px;
		left: 15px;
		right: 15px;
		flex-wrap: wrap;
		gap: 15px;
	}
	.navbar-left {
		gap: 15px;
	}
	#logo {
		width: 40px;
	}
	.location {
		font-size: 14px;
	}
	.navbar-right {
		gap: 15px;
		flex-wrap: wrap;
	}
	.navbar-right a {
		font-size: 14px;
	}
	.switch {
		font-size: 14px;
	}
	.social-links {
		left: 15px;
		bottom: 15px;
	}
	.hero-wrapper {
		margin-top: -40px;
	}
	#name {
		font-size: clamp(24px, 12vw, 120px);
	}
	.role-container {
		flex-direction: column;
		align-items: center;
		gap: 8px;
		margin-top: -15px;
	}
	.role-item {
		font-size: clamp(14px, 4vw, 24px);
		white-space: nowrap;
	}
	.hover-reveal-cursor {
		width: 250px;
		height: 180px;
	}
}

@media (max-width: 768px) {
	.visuals-wrapper {
		width: 100%;
		max-width: 400px;
		height: auto;
		min-height: 400px;
		margin-top: 30px;
	}
	.orbit-badge {
		width: 100px;
		height: 100px;
		left: 5px;
		bottom: -15px;
	}
	.orbit-badge svg {
		width: 100px;
		height: 100px;
	}
}

@media (max-width: 600px) {
	.visuals-wrapper {
		max-width: 300px;
		min-height: 300px;
		margin-top: 20px;
	}
	.orbit-badge {
		width: 80px;
		height: 80px;
		left: 0;
		bottom: -10px;
	}
	.orbit-badge svg {
		width: 80px;
		height: 80px;
		font-size: 9px;
	}
}
/* =========================================
   CUSTOM CURSOR
   ========================================= */

@media (hover: hover) and (pointer: fine) {
	body, a, button, input, label {
		cursor: none;
	}
	.switch,
	.switch__input {
		cursor: none;
	}
	.cursor-dot {
		width: 8px;
		height: 8px;
		background-color: white;
		border-radius: 50%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		pointer-events: none;
		transform: translate(-50%, -50%);
		mix-blend-mode: difference;
		opacity: 0;
	}
	.cursor-outline {
		width: 40px;
		height: 40px;
		border: 1px solid white;
		border-radius: 50%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9998;
		pointer-events: none;
		transform: translate(-50%, -50%);
		mix-blend-mode: difference;
		opacity: 0;
	}
}
/* =========================================
   IMMERSIVE ACHIEVEMENTS (Full Screen)
   ========================================= */

.achievements-section {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-top: 10vh;
	padding-bottom: 10vh;
	box-sizing: border-box;
	scroll-margin-top: 0;
}

.achievements-header {
	width: 100%;
	border-bottom: 3px solid #121212;
	padding-bottom: 20px;
	margin-bottom: 0;
	flex-shrink: 0;
	overflow: hidden;
}

.achievements-header h2 {
	font-size: 6vw;
	font-weight: bold;
	font-stretch: condensed;
	margin: 0;
	text-transform: uppercase;
	line-height: 0.9;
	color: #121212;
}

.achievements-list {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.achievement-item {
	flex: 1;
	display: grid;
	grid-template-columns: 80px 1fr auto;
	align-items: center;
	padding: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	transition: background 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: default;
}

.achievement-item:hover {
	background-color: transparent;
	transform: translateX(10px);
	border-bottom-color: #121212;
}

.ach-number {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 18px;
	opacity: 0.5;
	margin-top: 5px;
}

.ach-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}

.ach-content h3 {
	font-size: 4vw;
	font-weight: bold;
	font-stretch: condensed;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #121212;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ach-content p {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	margin: 0;
	opacity: 0.7;
	max-width: 100%;
	line-height: 1.4;
}

.ach-icon {
	font-size: 3vw;
	opacity: 0;
	transform: translateX(-20px) rotate(45deg);
	transition: all 0.4s ease;
}

.achievement-item:hover .ach-icon {
	opacity: 1;
	transform: translateX(0) rotate(0deg);
}

body.dark .achievements-header {
	border-bottom-color: #f5f5f5;
}

body.dark .achievements-header h2 {
	color: #f5f5f5;
}

body.dark .achievement-item {
	border-bottom-color: rgba(255,255,255,0.15);
}

body.dark .achievement-item:hover {
	border-bottom-color: #f5f5f5;
}

body.dark .ach-content h3 {
	color: #f5f5f5;
}

@media (max-width: 1024px) {
	.achievements-header h2 {
		font-size: clamp(32px, 6vw, 60px);
	}
	.ach-content h3 {
		font-size: clamp(28px, 4vw, 50px);
	}
	.achievement-item {
		grid-template-columns: 50px 1fr;
	}
	.ach-icon {
		display: none;
	}
}

@media (max-width: 768px) {
	.achievements-section {
		min-height: auto;
		padding: 60px 0;
	}
	.achievements-header {
		padding-bottom: 20px;
	}
	.achievements-header h2 {
		font-size: clamp(28px, 8vw, 50px);
	}
	.ach-content h3 {
		font-size: clamp(24px, 6vw, 40px);
	}
	.achievement-item {
		grid-template-columns: 40px 1fr;
		padding: 40px 0;
		flex: none;
	}
	.ach-number {
		font-size: 16px;
	}
	.ach-content p {
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	.achievements-section {
		padding: 50px 0;
	}
	.achievement-item {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 25px 0;
	}
	.ach-number {
		margin-bottom: 0;
		margin-top: 0;
		opacity: 0.5;
		font-size: 14px;
	}
	.ach-content h3 {
		font-size: clamp(20px, 8vw, 32px);
	}
	.ach-content p {
		font-size: 14px;
		line-height: 1.5;
	}
}
/* =========================================
   HOVER REVEAL IMAGE (Achievements)
   ========================================= */

.hover-reveal-cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 350px;
	height: 250px;
	z-index: 50;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
}

@media (max-width: 768px) {
	.hover-reveal-cursor {
		width: 280px;
		height: 200px;
	}
}

@media (max-width: 600px) {
	.hover-reveal-cursor {
		width: 220px;
		height: 160px;
	}
}

.reveal-img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: grayscale(120%);
	transform: scale(0.8);
	transition: transform 0.4s ease-out;
}
/* =========================================
   PROJECTS SECTION (Header + Split Layout)
   ========================================= */

.horizontal-section {
	position: relative;
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #f5f5f5;
	padding: 0;
}

.project-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 40px 0 20px 0;
	background: #f5f5f5;
	z-index: 20;
	flex-shrink: 0;
	box-sizing: border-box;
	overflow: hidden;
}

.project-header h2 {
	font-size: 6vw;
	font-weight: bold;
	font-stretch: condensed;
	margin: 0;
	line-height: 0.8;
	color: #121212;
	text-transform: uppercase;
}

.scroll-label {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	opacity: 0.6;
	margin-bottom: 5px;
}

.project-track-wrapper {
	flex-grow: 1;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.project-track {
	display: flex;
	gap: 0;
	height: 100%;
	width: fit-content;
	padding-right: 0;
}
/* =========================================
   3. The Panels (Split Screen)
   ========================================= */

.project-panel {
	width: 100vw;
	height: 100%;
	display: grid;
	grid-template-columns: 55% 45%;
	flex-shrink: 0;
	box-sizing: border-box;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.panel-image {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	background: #000;
	border: 1px solid #cccccc;
}

.video-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
	overflow: hidden;
	contain: layout style paint;
}

.project-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity 0.6s ease-out;
	will-change: opacity;
	contain: layout style paint;
	background-color: #f5f5f5;
}

.project-panel:first-child .project-video,
.project-panel:nth-child(2) .project-video {
	transform: scale(1.15);
	object-position: center center;
}

.project-video.is-loaded {
	opacity: 1;
}

.project-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.project-panel:hover .video-wrapper {
	transform: scale(1.05);
}

.panel-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 60px;
	background-color: #f5f5f5;
	position: relative;
}

.panel-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 20px;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.meta-row {
	display: grid;
	grid-template-columns: 80px 1fr;
	font-size: 16px;
	font-weight: 500;
	color: #121212;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.meta-row span:first-child {
	opacity: 0.5;
	font-weight: 500;
}

.panel-info {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.panel-number {
	font-size: 16px;
	opacity: 0.5;
	font-weight: 500;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #121212;
}

.panel-info h3 {
	font-size: 4vw;
	font-weight: bold;
	font-stretch: condensed;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #121212;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-with-icon {
	display: flex;
	align-items: center;
	gap: 15px;
	width: fit-content;
	margin-bottom: 0;
}

.title-with-icon h3 {
	flex: 0 0 auto;
	margin: 0;
}

.panel-info p {
	font-size: 18px;
	line-height: 1.5;
	max-width: 450px;
	opacity: 0.7;
	margin: 0;
	color: #121212;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	text-align: left;
}

.panel-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
}

.live-site-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #121212;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 50%;
	flex-shrink: 0;
}

.live-site-icon svg {
	width: 18px;
	height: 18px;
}

.live-site-icon:hover {
	background: #121212;
	color: #f5f5f5;
	border-color: #121212;
	transform: scale(1.1);
}

body.dark .live-site-icon {
	color: #f5f5f5;
	border-color: rgba(255, 255, 255, 0.3);
}

body.dark .live-site-icon:hover {
	background: #f5f5f5;
	color: #121212;
	border-color: #f5f5f5;
}
/* =========================================
   ANIMATED GITHUB BUTTON (Optimized & Smooth)
   ========================================= */

a.learn-more,
button.learn-more {
	position: relative;
	display: inline-block;
	cursor: pointer;
	outline: none;
	border: 0;
	vertical-align: middle;
	text-decoration: none;
	background: transparent;
	padding: 0;
	font-size: inherit;
	font-family: inherit;
	width: 13.5rem;
	height: auto;
	transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	will-change: width;
}

button[type="submit"].learn-more {
	width: 9rem;
	margin-top: 20px;
}

a.learn-more .circle,
button.learn-more .circle {
	position: relative;
	display: block;
	margin: 0;
	width: 3rem;
	height: 3rem;
	background: #121212;
	border-radius: 0;
	transform: translateZ(0);
	transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
	will-change: width;
}

a.learn-more .circle .icon,
button.learn-more .circle .icon {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	background: #fff;
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
}

a.learn-more .circle .icon.arrow,
button.learn-more .circle .icon.arrow {
	left: 0.625rem;
	width: 1.125rem;
	height: 0.125rem;
	background: none;
	transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
}

a.learn-more .circle .icon.arrow::before,
button.learn-more .circle .icon.arrow::before {
	position: absolute;
	content: '';
	top: -0.25rem;
	right: 0.0625rem;
	width: 0.625rem;
	height: 0.625rem;
	border-top: 0.125rem solid #fff;
	border-right: 0.125rem solid #fff;
	transform: rotate(45deg);
	transition: border-color 0.3s ease;
}

a.learn-more .button-text,
button.learn-more .button-text {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.75rem 0;
	margin: 0 0 0 3.5rem;
	color: #121212;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	text-transform: uppercase;
	font-size: 18px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	white-space: nowrap;
	transition: color 0.3s ease 0.1s;
}

a.learn-more:hover,
button.learn-more:hover {
	width: 15rem;
}

button[type="submit"].learn-more:hover {
	width: 10rem;
}

a.learn-more:hover .circle,
button.learn-more:hover .circle {
	width: 100%;
}

a.learn-more:hover .circle .icon.arrow,
button.learn-more:hover .circle .icon.arrow {
	background: #fff;
	transform: translateX(1rem);
}

a.learn-more:hover .button-text,
button.learn-more:hover .button-text {
	color: #fff;
	transition-delay: 0s;
}

.btn-circle {
	width: 50px;
	height: 50px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #121212;
	transition: all 0.3s ease;
	text-decoration: none;
}

.btn-circle:hover {
	background: #121212;
	color: #fff;
	transform: scale(1.1);
}

body.dark .horizontal-section,
body.dark .project-header,
body.dark .panel-content {
	background-color: #121212;
}

body.dark .project-header h2 {
	color: #f5f5f5;
}

body.dark .project-panel {
	border-right-color: rgba(255, 255, 255, 0.1);
}

body.dark .panel-image {
	border-color: #888888;
}

body.dark .meta-row,
body.dark .panel-info h3 {
	color: #f5f5f5;
}

body.dark .panel-info p,
body.dark .panel-number {
	color: rgba(255, 255, 255, 0.7);
}

body.dark .panel-meta {
	border-left-color: rgba(255, 255, 255, 0.2);
}

body.dark .btn-circle {
	border-color: rgba(255, 255, 255, 0.3);
	color: #f5f5f5;
}

body.dark .btn-circle:hover {
	background: #f5f5f5;
	color: #121212;
}
/* =========================================
   DARK MODE FOR GITHUB BUTTON
   ========================================= */

body.dark a.learn-more .circle,
body.dark button.learn-more .circle {
	background: #f5f5f5;
}

body.dark a.learn-more .button-text,
body.dark button.learn-more .button-text {
	color: #f5f5f5;
}

body.dark a.learn-more .circle .icon.arrow::before,
body.dark button.learn-more .circle .icon.arrow::before {
	border-color: #121212;
}

body.dark a.learn-more:hover .button-text,
body.dark button.learn-more:hover .button-text {
	color: #121212;
}

body.dark a.learn-more:hover .circle .icon.arrow,
body.dark button.learn-more:hover .circle .icon.arrow {
	background: #121212;
}

@media (max-width: 900px) {
	.horizontal-section {
		height: auto;
		overflow: visible;
	}
	.project-header {
		position: relative;
		padding: 30px 0;
	}
	.project-track {
		flex-direction: column;
		width: 100%;
		height: auto;
	}
	.project-panel {
		width: 100%;
		height: auto;
		grid-template-columns: 1fr;
		grid-template-rows: 300px auto;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}
	.panel-content {
		padding: 40px 20px;
	}
	.panel-info h3 {
		font-size: clamp(24px, 6vw, 40px);
	}
	.panel-info p {
		font-size: clamp(16px, 2.5vw, 18px);
		max-width: 100%;
		text-align: center;
		margin: 0 auto;
		line-height: 1.6;
	}
}

@media (max-width: 600px) {
	.title-with-icon {
		gap: 10px;
	}
	.title-with-icon h3 {
		font-size: clamp(20px, 8vw, 32px);
	}
	.live-site-icon {
		width: 32px;
		height: 32px;
	}
	.live-site-icon svg {
		width: 14px;
		height: 14px;
	}
	.panel-info p {
		font-size: clamp(14px, 4.5vw, 16px);
		text-align: center;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 10px 30px 10px;
		line-height: 1.6;
	}
}

@media (max-width: 1024px) {
	.title-with-icon {
		gap: 12px;
	}
	.title-with-icon h3 {
		font-size: clamp(28px, 4vw, 50px);
	}
	.live-site-icon {
		width: 36px;
		height: 36px;
	}
	.live-site-icon svg {
		width: 16px;
		height: 16px;
	}
}
/* =========================================
   FOOTER SECTION
   ========================================= */

.footer-section {
	height: 30vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-section p {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	color: #121212;
	opacity: 0.6;
}

body.dark .footer-section p {
	color: #f5f5f5;
}
/* =========================================
   RESPONSIVE FOOTER SECTION
   ========================================= */

@media (max-width: 768px) {
	.footer-section {
		height: 20vh;
		padding: 20px;
	}
	.footer-section p {
		font-size: 14px;
	}
}

@media (max-width: 600px) {
	.footer-section {
		height: 15vh;
		padding: 15px;
	}
	.footer-section p {
		font-size: 12px;
	}
}
/* =========================================
   CONTACT SECTION (Hierarchical)
   ========================================= */

.contact-section {
	width: 100%;
	height: 100vh;
	display: flex;
		flex-direction: column;
	justify-content: flex-start;
	background-color: #f5f5f5;
	padding-top: 80px;
	box-sizing: border-box;
	position: relative;
	z-index: 10;
}

.contact-header {
	width: 100%;
	padding: 40px 0;
	box-sizing: border-box;
	text-align: center;
	overflow: hidden;
}

.contact-header h2 {
	font-family: "Helvetica Neue Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 6vw;
	font-weight: 700;
	font-stretch: condensed;
	margin: 0;
	line-height: 0.8;
	color: #121212;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	text-align: center;
}

.contact-grid {
	display: flex;
	flex-grow: 1;
	width: 100%;
	height: 100%;
}

.contact-left {
	width: 50%;
	padding: 60px 40px;
	display: flex;
	flex-direction: column;
}

.big-statement {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: #121212;
	max-width: 90%;
	margin-bottom: 80px;
}

.contact-meta {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: auto;
}

.meta-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.label {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	opacity: 0.5;
	text-transform: uppercase;
}

.value, .value-link {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #121212;
	text-decoration: none;
}

.value-link:hover {
	text-decoration: underline;
}

.status-badge {
	display: inline-flex;
	align-items: center;
		gap: 10px;
	font-size: 16px;
	font-weight: 700;
	padding: 4px 0;
	text-transform: uppercase;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #121212;
}

body.dark .status-badge {
	color: #f5f5f5;
}

.dot {
	width: 10px;
	height: 10px;
	background-color: #2ecc71;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

.contact-right {
	position: relative;
	width: 50%;
	padding: 60px 40px;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#contact-form-wrapper {
	width: 100%;
	opacity: 1;
	transform: translateY(0);
	filter: blur(0px);
	transition:
		opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.8s ease;
}

.technical-form {
	display: flex;
	flex-direction: column;
	gap: 40px;
	height: 100%;
	justify-content: center;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.form-group label {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #121212;
	opacity: 0.6;
}

.technical-form input,
.technical-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 2px solid rgba(18, 18, 18, 0.2);
	padding: 10px 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #121212;
	text-align: left;
	outline: none;
	border-radius: 0;
	transition: border-color 0.3s ease;
}

.textarea-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 1.5em;
	position: relative;
	border-bottom: 2px solid rgba(18, 18, 18, 0.2);
}

.technical-form textarea {
	resize: none;
	overflow: hidden;
	border: none;
	border-bottom: none;
	line-height: 1.4;
	padding: 0;
	margin: 0;
	width: 100%;
	background: transparent;
	outline: none;
	border-radius: 0;
	transition: none;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #121212;
	text-align: left;
	min-height: 1.5em;
	height: auto;
}

.textarea-wrapper:focus-within {
	border-bottom-color: #121212;
}

body.dark .textarea-wrapper {
	border-bottom-color: rgba(255, 255, 255, 0.3);
}

body.dark .textarea-wrapper:focus-within {
	border-bottom-color: #f5f5f5;
}

.technical-form #name {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-stretch: normal;
	text-transform: none;
	letter-spacing: normal;
	width: 100%;
	transition: font-size 0.1s ease;
	text-align: left;
	overflow: hidden;
	white-space: nowrap;
}

.technical-form #name::placeholder {
	font-size: 24px;
	opacity: 0.3;
	letter-spacing: normal;
}

.technical-form input::placeholder,
.technical-form textarea::placeholder {
	opacity: 0.3;
}

.technical-form input:focus {
	border-bottom-color: #121212;
}

.send-btn.learn-more {
	margin-top: 20px;
}
/* =========================================
   FOOTER (Expanded & Hierarchical)
   ========================================= */

.site-footer {
	width: 100%;
	border-top: 2px solid #121212;
	background-color: #f5f5f5;
	padding: 80px 40px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.copyright {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #121212;
}

.tagline {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	opacity: 0.5;
}

.footer-socials {
	display: flex;
	gap: 20px;
}

.social-icon {
	width: 50px;
	height: 50px;
	border: 2px solid #121212;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #121212;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
}

.social-icon svg {
	width: 24px;
	height: 24px;
}

.social-icon:hover {
	background: #121212;
	color: #fff;
	transform: scale(1.1);
}
/* =========================================
   DARK MODE
   ========================================= */
body.dark .contact-section,
body.dark .site-footer {
	background-color: #121212;
	border-top-color: #f5f5f5;
}

body.dark .contact-header {
	border-color: #f5f5f5;
}

body.dark .contact-header h2 { color: #f5f5f5; }
body.dark .big-statement { color: #f5f5f5; }
body.dark .value, body.dark .value-link { color: #f5f5f5; }
body.dark .label { color: #f5f5f5; opacity: 0.6; }

body.dark .technical-form input {
	color: #f5f5f5;
	border-bottom-color: rgba(255, 255, 255, 0.3);
}

body.dark .technical-form input:focus {
	border-bottom-color: #f5f5f5;
}

body.dark .technical-form textarea {
	color: #f5f5f5;
}

body.dark .form-group label { color: #f5f5f5; }

body.dark .copyright { color: #f5f5f5; }
body.dark .tagline { color: rgba(255,255,255,0.5); }

body.dark .social-icon {
	border-color: #f5f5f5;
	color: #f5f5f5;
}

body.dark .social-icon:hover {
	background: #f5f5f5;
	color: #121212;
}
/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
	.contact-section {
		height: auto;
		min-height: 100vh;
	}
	.contact-grid { flex-direction: column; }
	.contact-left {
		width: 100%;
		border-right: none;
		border-bottom: 2px solid #121212;
		padding: 40px 20px;
	}
	.contact-right {
		width: 100%;
		padding: 40px 20px;
	}
	.site-footer {
		padding: 60px 20px;
	}
	.footer-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
	}
	body.dark .contact-left { border-bottom-color: #f5f5f5; }
}
/* =========================================
   FORM STATUS MESSAGE
   ========================================= */

#form-status {
	margin-top: 15px;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 500;
}
/* =================================================================
   MODAL OVERLAY - GLOBAL STYLES
   ================================================================= */

.modal-overlay {
	display: none;
}
/* =================================================================
   MOBILE RESPONSIVE OVERRIDES
   ================================================================= */

@media (max-width: 900px) {
	body {
		overflow-x: hidden;
		width: 100%;
	}
	main {
		width: 100%;
		padding: 0 25px;
		box-sizing: border-box;
	}
	.top-navbar {
		position: absolute;
		top: 25px;
		left: 25px;
		right: 25px;
		transform: none;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
	}
	.navbar-right a {
		display: none;
	}
	.navbar-right {
		gap: 0;
		flex: 0;
	}
	.navbar-left .location {
		display: none;
	}
	.hero-section {
		min-height: 100dvh;
		height: 100dvh;
		padding: 0;
		position: relative;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.hero-wrapper {
		margin-top: -40px;
		width: 100%;
		z-index: 2;
	}
	#name {
		font-size: 14vw;
		width: 100%;
		text-align: center;
		line-height: 0.9;
		margin-bottom: 10px;
	}
	.role-container {
		margin-top: 5px;
		gap: 5px;
	}
	.role-item {
		font-size: 16px;
	}
	.visuals-wrapper {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
		max-width: none;
		margin: 20px 0 0 0;
	}
	.orbit-badge {
		display: none;
	}
	.mobile-marquee {
		display: block;
		width: 100%;
		position: absolute;
		bottom: 30px;
		margin-top: 0;
		overflow: hidden;
		white-space: nowrap;
		z-index: 1;
		mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
		-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	}
	.marquee-track {
		display: inline-block;
		white-space: nowrap;
		will-change: transform;
		animation: marqueeScroll 15s linear infinite;
	}
	.marquee-track span {
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-weight: 700;
		text-transform: uppercase;
		font-size: 14px;
		letter-spacing: 2px;
		margin-right: 0;
		opacity: 1;
		color: #121212;
	}
	body.dark .marquee-track span {
		color: #f5f5f5;
	}
	@keyframes marqueeScroll {
		0% { transform: translateX(0); }
		100% { transform: translateX(-33.33%); }
	}
	.achievements-section {
		min-height: auto;
		padding-top: 80px !important;
		padding-bottom: 20px !important;
		margin-top: 0 !important;
		overflow: visible !important;
		position: relative;
		z-index: 5;
	}
	.achievements-list {
		display: flex;
		flex-direction: column;
		height: auto;
		width: 100%;
	}
	.achievements-header {
		text-align: left;
		padding-bottom: 20px;
		border-bottom: 3px solid #121212;
	}
	body.dark .achievements-header {
		border-bottom-color: #f5f5f5;
	}
	.achievements-header h2 {
		font-size: 10vw;
		text-align: left;
	}
	.achievement-item {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		padding: 30px 0;
		gap: 10px;
		position: relative;
		flex: 0 0 auto;
		height: auto;
		transform: none;
	}
	.achievement-item:active {
		background-color: rgba(0,0,0,0.05);
	}
	body.dark .achievement-item:active {
		background-color: rgba(255,255,255,0.05);
	}
	.ach-number {
		font-size: 14px;
		opacity: 0.5;
		margin-bottom: 5px;
	}
	.ach-icon {
		display: none;
	}
	.ach-content {
		align-items: flex-start;
	}
	.ach-content h3 {
		font-size: 32px;
		margin-bottom: 8px;
		text-align: left;
	}
	.ach-content p {
		font-size: 16px;
		text-align: left;
	}
	.modal-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 9999;
		background-color: rgba(0, 0, 0, 0.85);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	.modal-overlay.active {
		opacity: 1;
		visibility: visible;
	}
	.modal-content {
		width: 90%;
		max-width: 500px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		transform: scale(0.9);
		transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	}
	.modal-overlay.active .modal-content {
		transform: scale(1);
	}
	#modal-image {
		width: 100%;
		height: auto;
		max-height: 70vh;
		object-fit: contain;
		border-radius: 0;
		box-shadow: 0 10px 40px rgba(0,0,0,0.5);
		filter: grayscale(100%);
	}
	.modal-hint {
		color: white;
		font-family: "Helvetica Neue", sans-serif;
		font-size: 12px;
		letter-spacing: 2px;
		opacity: 0.7;
	}
	.horizontal-section {
		height: auto !important;
		display: block;
		padding-top: 80px;
		padding-bottom: 10px;
		overflow: visible;
	}
	.project-track {
		display: block;
		width: 100% !important;
		transform: none !important;
	}
	.project-panel {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: auto;
		margin-bottom: 80px;
		border-bottom: none;
		border-right: none;
		background-color: #f5f5f5;
		padding: 0;
		box-sizing: border-box;
	}
	body.dark .project-panel {
		background-color: #121212;
		border-bottom: none;
	}
	body.dark .panel-image {
		border-color: rgba(255, 255, 255, 0.15);
	}
	.panel-content,
	.panel-info {
		display: contents;
	}
	.panel-number {
		order: 1;
		width: 100%;
		text-align: right;
		padding: 0 0 15px 0;
		font-size: 14px;
		display: block;
	}
	.panel-image {
		order: 2;
		width: 100%;
		height: 60vw;
		max-height: 400px;
		min-height: 250px;
		background: #000;
		margin-bottom: 25px;
		border: 1px solid #cccccc;
	}
	.video-wrapper {
		width: 100%;
		height: 100%;
		transform: none !important;
		overflow: hidden;
	}
	.project-video {
		opacity: 1 !important;
		visibility: visible !important;
		transform: scale(1.15) translateX(2%) !important;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center !important;
	}
	.title-with-icon {
		order: 0;
		padding: 0;
		text-align: left;
		width: 100%;
		justify-content: flex-start;
		gap: 12px;
		margin: 0;
	}
	.title-with-icon h3 {
		font-size: clamp(24px, 6vw, 40px);
		text-align: left;
		flex: 0 1 auto;
	}
	.live-site-icon {
		width: 32px;
		height: 32px;
		flex-shrink: 0;
	}
	.live-site-icon svg {
		width: 14px;
		height: 14px;
	}
	.panel-info p {
		order: 4;
		padding: 0 0 30px 0;
		text-align: center;
		font-size: clamp(14px, 4vw, 18px);
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		line-height: 1.6;
	}
	.panel-meta {
		order: 5;
		padding: 0 0 30px 0;
		border-left: none;
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	.meta-row {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 5px;
	}
	.meta-row span:first-child {
		font-size: 12px;
		text-transform: uppercase;
		letter-spacing: 1px;
		opacity: 0.6;
	}
	.meta-row span:last-child {
		font-size: 16px;
		font-weight: bold;
	}
	.panel-actions {
		order: 6;
		padding: 0 0 50px 0;
		width: 100%;
		display: flex;
		justify-content: center;
	}
	.panel-actions .learn-more {
		width: 100%;
		max-width: 100%;
		height: 50px;
		background-color: #121212;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
		border-radius: 0;
	}
	.panel-actions .learn-more:hover {
		width: 100% !important;
		max-width: 100% !important;
	}
	.panel-actions .learn-more .circle,
	.panel-actions .learn-more .icon {
		display: none;
	}
	.panel-actions .learn-more .button-text {
		position: static;
		margin: 0; padding: 0;
		color: #ffffff;
		font-size: 16px;
		letter-spacing: 1px;
	}
	.panel-actions .learn-more:hover .button-text {
		color: #ffffff !important;
	}
	body.dark .panel-actions .learn-more {
		background-color: #f5f5f5;
	}
	body.dark .panel-actions .learn-more .button-text {
		color: #121212;
	}
	body.dark .panel-actions .learn-more:hover .button-text {
		color: #121212 !important;
	}
	.project-header {
		position: static;
		padding: 40px 0;
	}
	.project-header h2 {
		font-size: 12vw;
	}
	.scroll-label {
		display: none;
	}
	.project-track-wrapper {
		height: auto;
	}
	.contact-section {
		height: auto;
		min-height: auto;
		padding-top: 0;
		padding-bottom: 40px;
	}
	.contact-header h2 {
		font-size: 14vw;
		padding: 30px 0;
	}
	.contact-grid {
		flex-direction: column;
	}
	.contact-left, .contact-right {
		width: 100%;
		padding: 20px 0;
	}
	.contact-left {
		border-bottom: 1px solid rgba(0,0,0,0.1);
		margin-bottom: 30px;
	}
	.big-statement {
		font-size: 18px;
		margin-bottom: 40px;
	}
	.technical-form input,
	.technical-form textarea,
	.technical-form #name {
		font-size: 16px;
	}
	.site-footer {
		padding: 40px 25px;
		border-top: none !important;
	}
	body.dark .site-footer {
		border-top: none !important;
	}
	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 30px;
	}
	.footer-brand {
		align-items: center;
	}
	.social-links {
		display: none;
	}
}

@media (max-width: 380px) {
	#name { font-size: 42px; }
	.navbar-right a { font-size: 12px; }
	.orbit-badge { display: none; }
}
/* =========================================
   FORM SUCCESS STATE (The Clean Slate)
   ========================================= */

.success-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -40%);
	text-align: center;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	filter: blur(10px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	transition:
		opacity 0.6s ease,
		transform 0.6s ease,
		filter 0.6s ease,
		visibility 0.6s ease;
}

.success-title {
	font-family: "Helvetica Neue Condensed", "Helvetica Neue", sans-serif;
	font-size: 5vw;
	line-height: 0.9;
	font-weight: 700;
	text-transform: uppercase;
	font-stretch: condensed;
	color: #121212;
	margin: 10px 0;
}

.success-subtitle {
	font-family: "Helvetica Neue", sans-serif;
	font-size: 18px;
	opacity: 0.6;
	margin: 0;
	color: #121212;
}

.reset-link {
	background: none;
	border: none;
	border-bottom: 1px solid #121212;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding-bottom: 2px;
	cursor: pointer;
	margin-top: 30px;
	color: #121212;
	transition: opacity 0.3s;
}

.reset-link:hover {
	opacity: 0.6;
}

.check-icon {
	width: 60px;
	height: 60px;
	border: 3px solid #121212;
	border-radius: 50%;
	position: relative;
	margin-bottom: 10px;
}

.check-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 30px;
	border-right: 3px solid #121212;
	border-bottom: 3px solid #121212;
	transform: translate(-50%, -60%) rotate(45deg);
}

.contact-right.sent #contact-form-wrapper {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-40px);
	filter: blur(20px);
	transition:
		opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.8s ease,
		visibility 0.8s ease;
}

.contact-right.sent .success-container {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	transform: translate(-50%, -50%);
	filter: blur(0px);
	transition-delay: 0.2s;
	transition:
		opacity 0.6s ease,
		transform 0.6s ease,
		filter 0.6s ease,
		visibility 0.6s ease;
}

.contact-right:not(.sent) .success-container {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -40%);
	filter: blur(20px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease,
		filter 0.6s ease,
		visibility 0.6s ease;
}

.contact-right:not(.sent) #contact-form-wrapper {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	filter: blur(0px);
	transition-delay: 0.2s;
	transition:
		opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.8s ease,
		visibility 0.8s ease;
}

body.dark .success-title { color: #f5f5f5; }
body.dark .success-subtitle { color: #f5f5f5; }
body.dark .reset-link { color: #f5f5f5; border-color: #f5f5f5; }
body.dark .check-icon { border-color: #f5f5f5; }
body.dark .check-icon::after { border-color: #f5f5f5; }

@media (max-width: 900px) {
	.success-title { font-size: 12vw; }
	.contact-right { min-height: 400px; }
}
/* =========================================
   MOBILE RESPONSIVE CONTACT SECTION
   Add to the bottom of style.css
   ========================================= */

@media (max-width: 900px) {
	.contact-section {
		height: auto !important;
		min-height: auto !important;
		padding-top: 0;
		padding-bottom: 60px;
		overflow: visible;
	}
	.contact-header {
		padding: 40px 0 30px 0;
	}
	.contact-header h2 {
		font-size: 14vw;
		text-align: left !important;
		line-height: 0.85;
	}
	.contact-grid {
		display: flex;
		flex-direction: column;
	}
	.contact-left,
	.contact-right {
		width: 100%;
		padding: 0 25px;
		box-sizing: border-box;
	}
	.contact-left {
		order: 1;
		padding-top: 20px;
		padding-bottom: 40px;
		border-bottom: 1px solid rgba(0,0,0,0.1);
		margin-bottom: 40px;
	}
	.big-statement {
		font-size: 18px;
		line-height: 1.5;
		margin-bottom: 50px;
		max-width: 100%;
		text-align: left;
	}
	.contact-meta {
		gap: 30px;
	}
	.meta-item {
		gap: 0px;
	}
	.meta-item .label {
		font-size: 14px;
		margin-bottom: 0;
	}
	.meta-item .value,
	.meta-item .value-link {
		font-size: 16px;
		padding: 4px 0;
		display: inline-block;
		min-height: 44px;
		line-height: 1.4;
		word-break: break-word;
		overflow-wrap: break-word;
	}
	.contact-right {
		order: 2;
		padding-top: 0;
		min-height: auto;
	}
	.technical-form {
		gap: 40px;
	}
	.form-group {
		gap: 8px;
		margin-bottom: 0;
	}
	.form-group label {
		font-size: 14px;
		margin-bottom: 0;
	}
	.technical-form input,
	.technical-form #name {
		font-size: 16px !important;
		padding: 14px 0;
		min-height: 44px;
	}
	.technical-form textarea,
	.textarea-wrapper {
		font-size: 16px !important;
		min-height: 120px;
		padding-top: 14px;
		padding-bottom: 14px;
	}
	.technical-form textarea {
		padding: 14px 0;
		line-height: 1.6;
	}
	button[type="submit"].learn-more {
		width: 100%;
		max-width: none;
		height: 55px;
		margin-top: 10px;
		background-color: #121212;
		border-radius: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	button[type="submit"].learn-more .circle,
	button[type="submit"].learn-more .icon {
		display: none;
	}
	button[type="submit"].learn-more .button-text {
		position: static;
		margin: 0; padding: 0;
		color: #ffffff;
		font-size: 16px;
		letter-spacing: 2px;
	}
	body.dark .contact-left {
		border-bottom-color: rgba(255,255,255,0.15);
	}
	body.dark button[type="submit"].learn-more {
		background-color: #f5f5f5;
	}
	body.dark button[type="submit"].learn-more .button-text {
		color: #121212;
	}
	.success-container {
		position: static;
		transform: none;
		padding: 40px 0;
		min-height: 300px;
		justify-content: center;
	}
	.contact-right.sent {
		min-height: 300px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}
/* =======================================================
   MOBILE CONTACT FIX - PASTE AT BOTTOM OF CSS
   ======================================================= */
@media (max-width: 900px) {
	.contact-grid {
		display: block !important;
		width: 100% !important;
		height: auto !important;
	}
	.contact-left,
	.contact-right {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		box-sizing: border-box !important;
		min-height: auto !important;
	}
	.contact-left {
		border-right: none !important;
		border-bottom: 1px solid rgba(0,0,0,0.1);
		margin-bottom: 40px;
		padding-bottom: 40px !important;
	}
	.contact-right {
		margin: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	#contact-form-wrapper {
		width: 100% !important;
		display: block !important;
	}
	.technical-form {
		width: 100% !important;
		max-width: none !important;
	}
	.form-group {
		width: 100% !important;
	}
	.technical-form input,
	.technical-form textarea,
	.technical-form #name,
	.textarea-wrapper {
		width: 100% !important;
		box-sizing: border-box !important;
		max-width: 100% !important;
	}
	button[type="submit"].learn-more {
		width: 100% !important;
		max-width: 100% !important;
		height: 55px !important;
		margin-top: 20px !important;
		display: flex !important;
		justify-content: center;
		align-items: center;
	}
}

@media (max-width: 900px) {
	.contact-section {
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}
	.contact-header h2 {
		text-align: left !important;
		font-size: 14vw;
		line-height: 0.85;
	}
	.contact-header {
		padding-bottom: 30px !important;
	}
	.contact-left {
		margin-bottom: 0 !important;
		padding-bottom: 30px !important;
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
	body.dark .contact-left {
		border-bottom-color: rgba(255,255,255,0.15);
	}
	.contact-right {
		padding-top: 60px !important;
		padding-bottom: 60px !important;
		display: block !important;
		min-height: auto !important;
	}
	.success-container {
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		position: static !important;
		transform: none !important;
		width: 100% !important;
		height: 0 !important;
		min-height: 0 !important;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		filter: blur(20px);
		padding: 0;
		overflow: hidden;
		transition:
			opacity 0.6s ease,
			filter 0.6s ease,
			visibility 0.6s ease,
			height 0.6s ease,
			min-height 0.6s ease,
			padding 0.6s ease;
	}
	.contact-right.sent .success-container {
		height: auto !important;
		min-height: 300px !important;
		opacity: 1;
		visibility: visible;
		pointer-events: all;
		filter: blur(0px);
		padding: 20px 0;
		transition:
			opacity 0.6s ease,
			filter 0.6s ease,
			visibility 0.6s ease,
			height 0.6s ease,
			min-height 0.6s ease,
			padding 0.6s ease;
		transition-delay: 0.2s;
	}
	.contact-right:not(.sent) .success-container {
		height: 0 !important;
		min-height: 0 !important;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		filter: blur(20px);
		padding: 0;
		transition:
			opacity 0.6s ease,
			filter 0.6s ease,
			visibility 0.6s ease,
			height 0.6s ease,
			min-height 0.6s ease,
			padding 0.6s ease;
	}
	#contact-form-wrapper {
		opacity: 1;
		filter: blur(0px);
		transition:
			opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
			filter 0.8s ease,
			visibility 0.8s ease;
	}
	.contact-right.sent #contact-form-wrapper {
		display: none !important;
		opacity: 0;
		visibility: hidden;
		filter: blur(20px);
		transition:
			opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
			filter 0.8s ease,
			visibility 0.8s ease;
	}
	.contact-right:not(.sent) #contact-form-wrapper {
		display: block !important;
		opacity: 1;
		visibility: visible;
		filter: blur(0px);
		transition:
			opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
			filter 0.8s ease,
			visibility 0.8s ease;
		transition-delay: 0.2s;
	}
	@keyframes fadeIn {
		from { opacity: 0; }
		to { opacity: 1; }
	}
}
