/* Custom Minimalist Theme Overrides for iam3Dar */
:root {
	--font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--color-bg-dark: #0a0d0f;
	--color-card-bg: rgba(14, 18, 22, 0.85);
}

h1, h2, h3, h4, h5, h6, .major {
	font-family: var(--font-heading) !important;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

body {
	background-color: var(--color-bg-dark);
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--font-body);
}

/* Home view MUST NOT have any page scrollbar */
body:not(.is-article-visible) {
	height: 100vh;
	height: 100dvh;
	overflow: hidden !important;
}

#wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between !important;
	align-items: center;
	padding: clamp(2rem, 5vh, 4.5rem) clamp(1rem, 4vw, 3rem) !important;
	height: 100vh;
	height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
	overflow: hidden !important;
}

body.is-article-visible {
	overflow: auto;
}

body.is-article-visible #wrapper {
	justify-content: center !important;
	padding-top: 2rem !important;
	padding-bottom: 2rem !important;
}

/* Disable load displacement */
body.is-preload #header,
body.is-preload #wrapper {
	transform: none !important;
	transition: none !important;
	animation: none !important;
}

#wrapper:before,
#wrapper:after,
#header > *:before,
#header > nav:before,
#header nav.use-middle:after {
	display: none !important;
	content: none !important;
	height: 0 !important;
}

/* Header layout & generous vertical distribution across page height */
#header {
	transition: transform 0.4s ease, opacity 0.4s ease;
	width: 100%;
	max-width: 34rem;
	margin: auto 0 !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	flex: 1 1 auto;
	box-sizing: border-box;
}

#header > * {
	margin-top: 0 !important;
}

@keyframes logoSway {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
		box-shadow: 0 0 20px rgba(0, 201, 167, 0.3);
	}
	50% {
		transform: translateY(-5px) rotate(1deg);
		box-shadow: 0 0 28px rgba(0, 201, 167, 0.45);
	}
}

/* 1. Logo Element - Generous space below */
#header .logo {
	width: clamp(8.5rem, 18vh, 11rem) !important;
	height: clamp(8.5rem, 18vh, 11rem) !important;
	line-height: clamp(8.5rem, 18vh, 11rem) !important;
	border: 1px solid rgba(0, 201, 167, 0.3) !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: transparent;
	box-shadow: 0 0 22px rgba(0, 201, 167, 0.3) !important;
	margin: 0 auto clamp(1.5rem, 4vh, 3rem) auto !important;
	animation: logoSway 6s ease-in-out infinite;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	flex-shrink: 0;
}

#header .logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

#header .logo:hover {
	border-color: rgba(0, 255, 213, 0.6) !important;
	box-shadow: 0 0 30px rgba(0, 255, 213, 0.5) !important;
}

#header .logo:hover img {
	transform: scale(1.04);
}

/* 2. Text Content Block - Generous space below */
#header .content {
	border: none !important;
	box-shadow: none !important;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-radius: 0;
	padding: 0;
	margin-top: 0 !important;
	margin-bottom: clamp(1.75rem, 4.5vh, 3.25rem) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	flex-shrink: 0;
	width: 100%;
	max-width: clamp(34rem, 94vw, 62rem) !important;
	text-align: center;
}

#header .content .inner {
	padding: 0 !important;
}

#header .content .inner h1 {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: clamp(2.4rem, 5.5vh, 3.2rem) !important;
	letter-spacing: -0.02em;
	color: #ffffff;
	text-transform: none;
	margin-bottom: clamp(0.5rem, 1.5vh, 0.85rem) !important;
	background: none !important;
	-webkit-background-clip: unset !important;
	-webkit-text-fill-color: inherit;
	filter: none !important;
	animation: none !important;
	text-shadow: none !important;
}

#header .content p {
	font-family: var(--font-body);
	font-size: clamp(0.95rem, 2.2vh, 1.12rem) !important;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.95) !important;
	font-weight: 400;
	line-height: 1.6 !important;
	text-transform: none;
	max-width: 54rem !important;
	margin: 0 auto;
}

#header .content .inner .header-subtitle {
	font-family: var(--font-heading) !important;
	font-size: clamp(1.18rem, 2.8vh, 1.45rem) !important;
	font-weight: 800 !important;
	color: #00ffd5 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	margin: 0 0 clamp(0.5rem, 1.5vh, 0.85rem) 0 !important;
	line-height: 1.35 !important;
	border: none !important;
}

#header .content .inner .header-intro-text {
	display: flex;
	flex-direction: column;
	gap: clamp(0.5rem, 1.4vh, 0.85rem);
	max-width: 54rem !important;
	margin: 0 auto;
	padding: 0 0.5rem;
	box-sizing: border-box;
	text-align: center;
}

#header .content .inner .header-intro-text p {
	font-family: var(--font-body);
	font-size: clamp(0.95rem, 2.1vh, 1.1rem) !important;
	line-height: 1.55 !important;
	font-weight: 400 !important;
	letter-spacing: 0.005em !important;
	text-wrap: pretty !important;
	color: #ffffff !important;
	margin: 0 !important;
	max-width: 100% !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow: visible !important;
}

@media screen and (min-width: 737px) {
	#header .content .inner .header-intro-text {
		max-width: 58rem !important;
	}

	#header .content .inner .header-intro-text p {
		white-space: normal !important;
		text-wrap: pretty !important;
		font-size: clamp(0.95rem, 1.5vw, 1.12rem) !important;
		letter-spacing: 0.01em !important;
		margin: 0 !important;
	}
}

/* ==========================================================================
   UNIFIED TAB TYPOGRAPHY DESIGN SYSTEM (ALL TABS)
   ========================================================================== */

/* Level 1: Main Article Title (h2.major across all 5 tabs) */
#main article h2.major,
h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
	font-family: var(--font-heading) !important;
	font-size: clamp(2.0rem, 4.5vw, 2.7rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.015em !important;
	color: #ffffff !important;
	padding-bottom: 0.9rem !important;
	margin-bottom: 1.85rem !important;
	border: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
}

/* Level 2: Subtitle under main title across all tabs */
#main article .studio-subtitle,
#main article .solutions-subtitle,
#intro .studio-subtitle,
#solutions .studio-subtitle {
	font-family: var(--font-body) !important;
	font-size: 1.18rem !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	margin-top: -0.5rem !important;
	margin-bottom: 2.25rem !important;
	letter-spacing: 0.02em !important;
	line-height: 1.5 !important;
}

/* Level 3: Section Headings (h3) across all tabs */
#main article h3,
#intro .studio-block h3,
#solutions .studio-block h3 {
	font-family: var(--font-title) !important;
	font-size: 1.48rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	letter-spacing: -0.01em !important;
	margin-top: 1.75rem !important;
	margin-bottom: 1.0rem !important;
	text-transform: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
	padding-bottom: 0.5rem !important;
}

/* Level 4: Item Subheadings (h4) and Project Titles across all tabs */
#main article h4,
#intro .capability-item h4,
#solutions .capability-item h4,
.project-title {
	font-family: var(--font-title) !important;
	font-size: 1.28rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin-bottom: 0.6rem !important;
	text-transform: none !important;
	letter-spacing: 0.01em !important;
	line-height: 1.4 !important;
}

/* Standardized Body Text across all tabs (paragraphs, descriptions, taglines, quotes) */
#main article p,
#intro .studio-block .studio-tagline,
#solutions .studio-block .studio-tagline,
.project-desc,
.intro-text p,
.contact-quote,
.contact-subquote {
	font-family: var(--font-body) !important;
	font-size: 1.1rem !important;
	line-height: 1.7 !important;
	color: rgba(255, 255, 255, 0.92) !important;
	font-weight: 400 !important;
	margin-bottom: 1.25rem !important;
}

/* Standardized Lists across all tabs */
#main article ul,
#intro .capability-item ul,
#intro .philosophy-list,
#solutions .solutions-list {
	list-style: disc !important;
	padding-left: 1.35rem !important;
	margin: 0 0 1.25rem 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.65rem !important;
}

#main article ul li,
#intro .capability-item ul li,
#intro .philosophy-list li,
#solutions .solutions-list li {
	font-family: var(--font-body) !important;
	font-size: 1.08rem !important;
	line-height: 1.65 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	font-weight: 400 !important;
}

#main article ul li b,
#main article p b,
#intro .philosophy-list li b,
#solutions .solutions-list li b {
	color: #ffffff !important;
	font-weight: 600 !important;
}

/* 3. Pure Minimalist Menu (NO BORDERS OR OUTLINES) */
#header nav {
	margin-top: 0 !important;
	margin-bottom: clamp(1.5rem, 4vh, 2.75rem) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	max-width: clamp(34rem, 94vw, 54rem) !important;
	flex-shrink: 0;
}

#header nav ul {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0.3rem 0.6rem !important;
	list-style: none !important;
	border: none !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	box-shadow: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

#header nav ul li {
	flex: 1 1 0px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	text-align: center !important;
}

#header nav ul li a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: clamp(2.2rem, 4vh, 2.5rem) !important;
	line-height: clamp(2.2rem, 4vh, 2.5rem) !important;
	padding: 0 0.3rem !important;
	text-align: center !important;
	font-family: var(--font-heading) !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	font-size: clamp(0.74rem, 1.05vw, 0.84rem) !important;
	color: rgba(255, 255, 255, 0.85) !important;
	white-space: nowrap !important;
	background: transparent !important;
	border: none !important;
	border-radius: 6px !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	transition: background-color 0.25s ease, color 0.25s ease !important;
}

#header nav ul li a:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: none !important;
}

/* 4. Street AR Button Section - Clean subtle pill, no border */
.header-qr-wrapper {
	margin-top: 0 !important;
	margin-bottom: clamp(0.5rem, 2vh, 1.25rem) !important;
	flex-shrink: 0;
	width: 100%;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}

.header-qr-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	padding: clamp(0.5rem, 1.2vh, 0.65rem) clamp(1.3rem, 2.2vw, 1.75rem) !important;
	border: none !important;
	border-radius: 24px !important;
	color: #ffffff !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	background: rgba(0, 201, 167, 0.16) !important;
	transition: all 0.25s ease !important;
}

.header-qr-btn:hover {
	background: rgba(0, 201, 167, 0.3) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: 0 4px 20px rgba(0, 201, 167, 0.25) !important;
}

/* Modal Articles */
#main article {
	background-color: var(--color-card-bg);
	border: none !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 12px;
	padding: 2.5rem 2rem 2rem 2rem;
	width: 38rem;
	max-width: 100%;
}

h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
	font-family: var(--font-heading) !important;
	font-size: clamp(1.85rem, 4vw, 2.35rem) !important;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #ffffff;
	background: none !important;
	-webkit-background-clip: unset !important;
	-webkit-text-fill-color: inherit;
	padding-bottom: 0.85rem;
	margin-bottom: 1.75rem;
	border: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
	text-shadow: none !important;
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
}

h1.major:after, h2.major:after, h3.major:after, h4.major:after {
	display: none !important;
}

a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
	border-bottom: none !important;
	transition: opacity 0.2s ease;
}

a:hover {
	color: #ffffff;
	opacity: 0.75;
	border-bottom: none !important;
	text-shadow: none !important;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	background-color: #ffffff !important;
	color: #0a0d0f !important;
	font-weight: 600;
	border: none !important;
	border-radius: 6px;
	box-shadow: none !important;
	transition: opacity 0.2s ease;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
	background-color: #ffffff !important;
	opacity: 0.85;
	border: none !important;
	box-shadow: none !important;
	transform: none !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #ffffff !important;
	border-radius: 6px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: rgba(255, 255, 255, 0.3) !important;
	box-shadow: none !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

.icons li a {
	color: rgba(255, 255, 255, 0.7) !important;
}

.icons li a:hover {
	color: #ffffff !important;
	text-shadow: none !important;
}

.image.main img {
	border-radius: 8px;
	border: none !important;
	box-shadow: none !important;
}

/* 5. Footer element with generous top margin */
#footer {
	margin-top: clamp(1.5rem, 4vh, 3rem) !important;
	margin-bottom: 0 !important;
	flex-shrink: 0;
	text-align: center;
}

#footer .copyright {
	font-size: 0.72rem;
	letter-spacing: 0.1rem;
	opacity: 0.65;
}

/* Wide Modal Articles (Desktop) */
#main:has(#work.active),
#main:has(#about.active),
#main:has(#intro.active),
#main:has(#studio.active) {
	max-width: 50rem !important;
}

#work.active,
#about.active,
#intro.active,
#studio.active {
	width: 50rem !important;
	max-width: 100% !important;
}

#intro h2.major,
#studio h2.major {
	text-align: center !important;
}

.intro-grid {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	width: 100%;
}

.intro-text {
	flex: 1 1 auto;
	text-align: left;
}

.intro-text p {
	text-align: left !important;
	max-width: none !important;
	margin: 0 0 1.25rem 0 !important;
}

.intro-text p:last-child {
	margin-bottom: 0 !important;
}

.intro-image {
	flex: 0 0 340px !important;
	max-width: 340px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

.intro-image img {
	width: 100%;
	height: auto;
	max-height: 32rem;
	object-fit: contain;
	border-radius: 12px;
	filter: drop-shadow(0 8px 20px rgba(0, 201, 167, 0.12));
	transition: transform 0.3s ease, filter 0.3s ease;
}

body.is-light-theme .intro-image img {
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.intro-image img:hover {
	transform: translateY(-4px) scale(1.03);
	filter: drop-shadow(0 12px 25px rgba(0, 255, 213, 0.2));
}

/* Intro CTA Buttons styling */
.intro-actions {
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	margin-top: 1.25rem;
	flex-wrap: wrap;
}

.intro-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.3rem;
	line-height: 2.3rem;
	padding: 0 1.25rem;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.85) !important;
	border: none !important;
	border-radius: 8px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background 0.25s ease, color 0.25s ease;
}

.intro-btn:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff !important;
}

.intro-btn.primary {
	background: rgba(0, 201, 167, 0.2);
	color: #ffffff !important;
}

.intro-btn.primary:hover {
	background: rgba(0, 201, 167, 0.35);
}

body.is-light-theme .intro-btn {
	background: rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, 0.8) !important;
}

body.is-light-theme .intro-btn:hover {
	background: rgba(0, 0, 0, 0.1);
	color: #000000 !important;
}

body.is-light-theme .intro-btn.primary {
	background: rgba(0, 201, 167, 0.12);
	color: #00c9a7 !important;
}

body.is-light-theme .intro-btn.primary:hover {
	background: rgba(0, 201, 167, 0.22);
	color: #00a88b !important;
}

/* Contact page logo styles */
.contact-logo-wrapper {
	text-align: center;
	margin-bottom: 1.5rem;
	width: 100%;
}

.contact-logo-wrapper img {
	max-width: 100%;
	height: auto;
	max-height: 18rem;
	border-radius: 8px;
	filter: drop-shadow(0 8px 20px rgba(0, 201, 167, 0.1));
	transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-logo-wrapper img:hover {
	transform: scale(1.02);
	filter: drop-shadow(0 12px 25px rgba(0, 255, 213, 0.18));
}

body.is-light-theme .contact-logo-wrapper img {
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

/* Contact page website link */
.contact-website {
	text-align: center;
	margin-top: 2rem;
	width: 100%;
}

.contact-link {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5) !important;
	text-decoration: none !important;
	border-bottom: 1px dotted rgba(255, 255, 255, 0.3) !important;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-link:hover {
	color: #00c9a7 !important;
	border-bottom-color: rgba(0, 201, 167, 0.6) !important;
}

body.is-light-theme .contact-link {
	color: rgba(0, 0, 0, 0.5) !important;
	border-bottom-color: rgba(0, 0, 0, 0.3) !important;
}

body.is-light-theme .contact-link:hover {
	color: #00c9a7 !important;
	border-bottom-color: rgba(0, 201, 167, 0.6) !important;
}

/* Instagram minimal button in projects footer */
.instagram-btn:hover {
	background: rgba(0, 201, 167, 0.12) !important;
	border-color: rgba(0, 255, 213, 0.7) !important;
	color: #00ffd5 !important;
	box-shadow: 0 4px 15px rgba(0, 255, 213, 0.12) !important;
	transform: translateY(-2px);
}

body.is-light-theme .instagram-btn {
	background: rgba(0, 201, 167, 0.03) !important;
	border-color: rgba(0, 201, 167, 0.2) !important;
	color: #00c9a7 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

body.is-light-theme .instagram-btn:hover {
	background: rgba(0, 201, 167, 0.08) !important;
	border-color: rgba(0, 201, 167, 0.5) !important;
	color: #00b092 !important;
	box-shadow: 0 4px 15px rgba(0, 201, 167, 0.1) !important;
	transform: translateY(-2px);
}

/* Force main gallery images object-fit to contain to prevent cropping and bypass browser @import caching */
.gallery-main img, .ar-gallery img, .project-gallery img {
	object-fit: contain !important;
	width: 100% !important;
	height: auto !important;
	max-height: 360px !important;
	background-color: #000000;
	cursor: zoom-in !important;
	transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.gallery-main img:hover {
	transform: scale(1.01);
}

/* Lightbox Modal Styles */
.lightbox {
	display: none;
	position: fixed;
	z-index: 999999 !important;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 14, 18, 0.98);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	justify-content: center;
	align-items: center;
	cursor: zoom-out;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.show {
	display: flex !important;
	opacity: 1;
}

.lightbox-content {
	max-width: 95%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
	transform: scale(0.95);
	transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
	transform: scale(1);
}

.lightbox-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 2.5rem;
	font-weight: 300;
	cursor: pointer;
	transition: color 0.2s, transform 0.2s;
	line-height: 1;
	user-select: none;
}

.lightbox-close:hover {
	color: #00c9a7;
	transform: scale(1.1);
}

/* Lightbox Navigation Buttons */
.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.5rem;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	user-select: none;
	z-index: 1000000;
}

.lightbox-prev {
	left: 2rem;
}

.lightbox-next {
	right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(0, 201, 167, 0.1) !important;
	border-color: rgba(0, 201, 167, 0.5) !important;
	color: #00c9a7;
	box-shadow: 0 0 15px rgba(0, 201, 167, 0.2);
}

/* Hide navigation buttons on mobile screens in favor of swipe gestures */
@media screen and (max-width: 736px) {
	.lightbox-prev,
	.lightbox-next {
		display: none !important;
	}
}



/* Particle Canvas Styles */
#particle-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2 !important; /* Render above #bg (z-index: 1) but below #wrapper (z-index: 3) */
	pointer-events: none; /* Ignore pointer events so users can click on links/buttons underneath */
	mix-blend-mode: screen; /* Blend nicely with background gradients */
}

body.is-light-theme #particle-canvas {
	mix-blend-mode: multiply !important;
}

/* Clean up light theme backgrounds so they don't cover the canvas */
body.is-light-theme #bg {
	z-index: 1 !important;
	background: #ffffff !important;
}

body.is-light-theme #bg:before,
body.is-light-theme #bg:after {
	background: transparent !important;
	display: none !important;
}

/* PC layout improvements to prevent vertical stretching and keep content compact */
@media screen and (min-width: 737px) {
	#wrapper {
		justify-content: center !important;
		gap: 2.25rem !important; /* Comfort space between elements instead of space-between stretch */
		padding-top: 3.5rem !important;
		padding-bottom: 3.5rem !important;
	}

	#wrapper:before {
		display: none !important;
		content: none !important;
	}

	#main {
		flex-grow: 0 !important;
		margin-bottom: 0.5rem !important;
	}

	#footer {
		margin-top: 0 !important;
	}
}
