/* =========================================================
   RESET + GLOBAL
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body, #root, .jack3d-wrapper {
	background: #0C0C0C;
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Kanit', sans-serif;
	color: #D7E2EA;
	overflow-x: clip;
}

.jack3d-wrapper { overflow-x: clip; }

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

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

.hero-heading,
.hero-heading-gradient {
	background: linear-gradient(180deg, #646973 0%, #BBCCD7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* =========================================================
   FADE-IN (JS toggles .is-visible; initial state set inline)
========================================================= */
[data-fade] {
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
	            transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
	will-change: opacity, transform;
}
[data-fade].is-visible { opacity: 1; transform: translate(0, 0) !important; }

/* =========================================================
   BUTTONS
========================================================= */
.btn-contact {
	display: inline-block;
	border-radius: 9999px;
	background: linear-gradient(123deg, #18011F 7%, #B600A8 37%, #7621B0 72%, #BE4C00 100%);
	box-shadow: 0px 4px 4px rgba(181, 1, 167, 0.25), inset 4px 4px 12px #7721B1;
	outline: 2px solid #fff;
	outline-offset: -3px;
	color: #fff;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.75rem;
	padding: 0.75rem 2rem;
	transition: opacity 0.2s ease;
}
.btn-contact:hover { opacity: 0.8; }

@media (min-width: 640px) {
	.btn-contact { font-size: 0.875rem; padding: 0.875rem 2.5rem; }
}
@media (min-width: 768px) {
	.btn-contact { font-size: 1rem; padding: 1rem 3rem; }
}

.btn-live-project {
	display: inline-block;
	border-radius: 9999px;
	border: 2px solid #D7E2EA;
	color: #D7E2EA;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.875rem;
	padding: 0.75rem 2rem;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}
.btn-live-project:hover { background-color: rgba(215, 226, 234, 0.1); }

@media (min-width: 640px) {
	.btn-live-project { font-size: 1rem; padding: 0.875rem 2.5rem; }
}

/* =========================================================
   1. HERO SECTION
========================================================= */
.hero {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow-x: clip;
	padding-top: 5rem;
}
@media (min-width: 640px) { .hero { padding-top: 5rem; } }
@media (min-width: 768px) { .hero { padding-top: 5.5rem; } }

.navbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 1.5rem;
	row-gap: 0.5rem;
	padding: 1rem 1.5rem;
	color: #D7E2EA;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.875rem;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}
.navbar.is-scrolled {
	background: rgba(12, 12, 12, 0.55);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(215, 226, 234, 0.1);
}
.navbar a { transition: opacity 0.2s ease; }
.navbar a:hover { opacity: 0.7; }

/* -----------------------------------------------------------
   Mobile-only brand text (left of hamburger)
----------------------------------------------------------- */
.nav-brand {
	display: none;
}
@media (max-width: 767.98px) {
	.nav-brand {
		display: flex;
		align-items: center;
		gap: 0.55rem;
		max-width: 62vw;
	}
	.nav-brand-mark {
		width: 8px;
		height: 8px;
		flex-shrink: 0;
		border-radius: 50%;
		background: linear-gradient(135deg, #B600A8 0%, #7621B0 55%, #BE4C00 100%);
		box-shadow: 0 0 8px rgba(182, 0, 168, 0.85), 0 0 16px rgba(190, 76, 0, 0.5);
		animation: nav-brand-pulse 2.4s ease-in-out infinite;
	}
	.nav-brand-text {
		display: flex;
		flex-direction: column;
		line-height: 1.15;
		overflow: hidden;
	}
	.nav-brand-primary {
		font-size: 1rem;
		font-weight: 800;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		white-space: nowrap;
		background: linear-gradient(90deg, #D7E2EA 0%, #B600A8 28%, #7621B0 52%, #BE4C00 78%, #D7E2EA 100%);
		background-size: 300% 100%;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: transparent;
		animation: nav-brand-shimmer 5s linear infinite;
		filter: drop-shadow(0 0 10px rgba(182, 0, 168, 0.25));
	}
	.nav-brand-secondary {
		font-size: 0.5rem;
		font-weight: 500;
		letter-spacing: 0.24em;
		text-transform: uppercase;
		white-space: nowrap;
		color: rgba(215, 226, 234, 0.55);
		margin-top: 1px;
	}
}
@keyframes nav-brand-shimmer {
	0% { background-position: 0% 50%; }
	100% { background-position: 300% 50%; }
}
@keyframes nav-brand-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.7); opacity: 0.5; }
}

/* -----------------------------------------------------------
   Hamburger toggle (mobile only)
----------------------------------------------------------- */
.nav-toggle {
	appearance: none;
	background: rgba(215, 226, 234, 0.06);
	border: 1px solid rgba(215, 226, 234, 0.16);
	border-radius: 12px;
	width: 42px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	z-index: 210;
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
.nav-toggle:active { transform: scale(0.92); }
@media (hover: hover) {
	.nav-toggle:hover {
		background: rgba(215, 226, 234, 0.12);
		border-color: rgba(215, 226, 234, 0.3);
	}
}
.nav-toggle[aria-expanded="true"] {
	background: rgba(182, 0, 168, 0.12);
	border-color: rgba(182, 0, 168, 0.4);
}
.nav-toggle-bar {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, #D7E2EA 0%, #B600A8 45%, #BE4C00 100%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.3s ease;
	transform-origin: center;
}
.nav-toggle-bar:nth-child(1) { width: 20px; }
.nav-toggle-bar:nth-child(2) { width: 14px; }
.nav-toggle-bar:nth-child(3) { width: 20px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
	background: linear-gradient(90deg, #D7E2EA 0%, #F0F4F7 100%);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	width: 20px;
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
	width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	width: 20px;
	transform: translateY(-7px) rotate(-45deg);
}

/* -----------------------------------------------------------
   Mobile slide-in panel
----------------------------------------------------------- */
.nav-links {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(80vw, 340px);
	height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.25rem;
	padding: 5.5rem 1.75rem 2.5rem;
	background: linear-gradient(180deg, rgba(15, 15, 17, 0.98) 0%, rgba(9, 9, 10, 0.98) 100%);
	border-left: 1px solid rgba(215, 226, 234, 0.1);
	box-shadow: -24px 0 60px -12px rgba(0, 0, 0, 0.6);
	overflow-y: auto;
	transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 200;
}
.nav-links.is-open { right: 0; }
.nav-links a { width: 100%; padding: 0.75rem 0; font-size: 1.05rem; }

.nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 90;
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

.nav-item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.35rem;
}

.nav-caret {
	appearance: none;
	background: transparent;
	border: none;
	padding: 0.25rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.nav-caret::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	color: #D7E2EA;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.nav-item.is-open .nav-caret::before,
.nav-item:hover .nav-caret::before {
	transform: rotate(225deg);
}

.nav-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(0) scale(0.96);
	margin-top: 0.85rem;
	min-width: 230px;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.85rem;
	background: linear-gradient(180deg, rgba(24, 24, 27, 0.98) 0%, rgba(10, 10, 11, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 16px;
	box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform-origin: top center;
	transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
	z-index: 110;
}
.nav-dropdown::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 12px;
	height: 12px;
	background: rgb(24, 24, 27);
	border-left: 1px solid rgba(255, 255, 255, 0.7);
	border-top: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 3px 0 0 0;
}
.nav-item.is-open .nav-dropdown,
.nav-item:hover .nav-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #D7E2EA;
	opacity: 0.75;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	white-space: nowrap;
	overflow: hidden;
	transition: opacity 0.15s ease, background-color 0.15s ease, padding-left 0.15s ease;
}
.nav-dropdown a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #B600A8 0%, #7621B0 50%, #BE4C00 100%);
	transform: scaleY(0);
	transition: transform 0.18s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown a:active {
	opacity: 1;
	background: rgba(215, 226, 234, 0.1);
	padding-left: 1.1rem;
}
.nav-dropdown a:hover::before,
.nav-dropdown a:focus-visible::before,
.nav-dropdown a:active::before {
	transform: scaleY(1);
}
@media (hover: none) {
	.nav-dropdown a:active {
		background: rgba(215, 226, 234, 0.18);
	}
}

/* -----------------------------------------------------------
   Mobile-only: dropdowns become inline accordions inside the
   slide-in panel instead of floating absolute menus
----------------------------------------------------------- */
@media (max-width: 767.98px) {
	.nav-dropdown {
		position: static;
		width: 100%;
		min-width: 0;
		margin-top: 0;
		padding: 0;
		max-height: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		background: transparent;
		border: none;
		box-shadow: none;
		overflow: hidden;
		transition: max-height 0.3s ease, padding 0.3s ease;
	}
	.nav-dropdown::before { display: none; }
	.nav-item.is-open .nav-dropdown {
		max-height: 400px;
		padding: 0.35rem 0 0.5rem 1rem;
	}
	.nav-dropdown a {
		white-space: normal;
		overflow: visible;
	}
	.nav-item.is-open .nav-dropdown,
	.nav-item:hover .nav-dropdown {
		transform: none;
	}
}
@media (max-width: 767.98px) and (hover: none) {
	.nav-dropdown a:active {
		background: rgba(215, 226, 234, 0.12);
		padding-left: 1.1rem;
	}
}

@media (min-width: 768px) {
	.navbar { padding: 1.25rem 2.5rem; font-size: 1rem; column-gap: 2rem; justify-content: space-between; }

	.nav-toggle { display: none; }
	.nav-overlay { display: none; }

	.nav-links {
		position: static;
		width: 100%;
		height: auto;
		flex: 1 1 auto;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: inherit;
		padding: 0;
		background: transparent;
		border: none;
		box-shadow: none;
		overflow: visible;
		transition: none;
	}
	.nav-links a { width: auto; padding: 0; font-size: inherit; }
	.nav-item { width: auto; display: inline-flex; }
}
@media (min-width: 1024px) {
	.navbar { font-size: 1.1rem; }
}
@media (max-width: 767.98px) {
	.navbar { justify-content: space-between; padding: 1rem 1.25rem; }
}

.hero-heading-clip {
	overflow: hidden;
	width: 100%;
	margin-top: 1.5rem;
}
@media (min-width: 640px) { .hero-heading-clip { margin-top: 1rem; } }
@media (min-width: 768px) { .hero-heading-clip { margin-top: 0.5rem; } }

.hero-heading {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.03em;
	line-height: 0.9;
	white-space: nowrap;
	width: 100%;
	font-size: 14vw;
}
@media (min-width: 640px) { .hero-heading { font-size: 15vw; } }
@media (min-width: 768px) { .hero-heading { font-size: 15.5vw; } }
@media (min-width: 1024px) { .hero-heading { font-size: 16vw; } }

.hero-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 1.5rem 1.75rem;
	position: relative;
	z-index: 20;
}
@media (max-width: 639.98px) {
	.hero-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}
}
@media (min-width: 640px) { .hero-bottom { padding-bottom: 2rem; } }
@media (min-width: 768px) { .hero-bottom { padding: 0 2.5rem 2.5rem; } }

.hero-subtext {
	color: #D7E2EA;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.3;
	font-size: clamp(0.75rem, 1.4vw, 1.5rem);
	max-width: 160px;
}
@media (min-width: 640px) { .hero-subtext { max-width: 220px; } }
@media (min-width: 768px) { .hero-subtext { max-width: 260px; } }

.hero-portrait {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 10;
	width: min(430px, 96vw);
	top: auto;
	bottom: 10.5rem;
}
.hero-portrait .magnet { width: 100%; will-change: transform; }
.hero-portrait img { width: 100%; height: auto; display: block; margin: 0 auto; }

@media (min-width: 640px) {
	.hero-portrait { left: 50%; right: auto; margin: 0; width: 360px; top: auto; bottom: 0; transform: translateX(-50%); }
}
@media (min-width: 768px) { .hero-portrait { width: 440px; } }
@media (min-width: 1024px) { .hero-portrait { width: 520px; } }

/* =========================================================
   2. MARQUEE SECTION
========================================================= */
.marquee-section {
	background: #0C0C0C;
	padding: 6rem 0 2.5rem;
	overflow: hidden;
}
@media (min-width: 640px) { .marquee-section { padding-top: 8rem; } }
@media (min-width: 768px) { .marquee-section { padding-top: 10rem; } }

.marquee-row {
	overflow: hidden;
	margin-bottom: 0.75rem;
	cursor: grab;
}
.marquee-row.is-dragging { cursor: grabbing; }
.marquee-row:last-child { margin-bottom: 0; }

.marquee-track {
	display: flex;
	gap: 0.75rem;
	will-change: transform;
}

.marquee-tile {
	flex: 0 0 auto;
	width: 420px;
	height: 270px;
	border-radius: 1rem;
	overflow: hidden;
	pointer-events: none;
}
.marquee-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

/* =========================================================
   3. ABOUT SECTION
========================================================= */
.about-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5rem 1.25rem;
}
@media (min-width: 640px) { .about-section { padding: 5rem 2rem; } }
@media (min-width: 768px) { .about-section { padding: 5rem 2.5rem; } }

.about-deco { position: absolute; z-index: 1; }
.about-deco-tl { top: 4%; left: 1%; width: 120px; }
.about-deco-bl { bottom: 8%; left: 3%; width: 100px; }
.about-deco-tr { top: 4%; right: 1%; width: 120px; }
.about-deco-br { bottom: 8%; right: 3%; width: 130px; }

@media (min-width: 640px) {
	.about-deco-tl { left: 2%; width: 160px; }
	.about-deco-bl { left: 6%; width: 140px; }
	.about-deco-tr { right: 2%; width: 160px; }
	.about-deco-br { right: 6%; width: 170px; }
}
@media (min-width: 768px) {
	.about-deco-tl { left: 4%; width: 210px; }
	.about-deco-bl { left: 10%; width: 180px; }
	.about-deco-tr { right: 4%; width: 210px; }
	.about-deco-br { right: 10%; width: 220px; }
}

.about-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2.5rem;
}
@media (min-width: 640px) { .about-inner { gap: 3.5rem; } }
@media (min-width: 768px) { .about-inner { gap: 4rem; } }

.about-heading {
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.9;
	letter-spacing: -0.03em;
	font-size: clamp(3rem, 12vw, 160px);
}

.animated-text {
	color: #D7E2EA;
	font-weight: 500;
	text-align: center;
	line-height: 1.6;
	max-width: 560px;
	font-size: clamp(1rem, 2vw, 1.35rem);
}
.char-wrap { position: relative; display: inline; white-space: pre-wrap; }
.char-wrap > .char {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0.2;
	transition: opacity 0.05s linear;
}
.char-wrap { color: transparent; }

/* =========================================================
   4. SERVICES SECTION
========================================================= */
.services-section {
	background: #FFFFFF;
	border-radius: 40px 40px 0 0;
	padding: 5rem 1.25rem;
	color: #0C0C0C;
}
@media (min-width: 640px) { .services-section { border-radius: 50px 50px 0 0; padding: 6rem 2rem; } }
@media (min-width: 768px) { .services-section { border-radius: 60px 60px 0 0; padding: 8rem 2.5rem; } }

.services-heading {
	color: #0C0C0C;
	font-weight: 900;
	text-transform: uppercase;
	text-align: center;
	line-height: 0.9;
	font-size: clamp(3rem, 12vw, 160px);
	margin-bottom: 4rem;
}
@media (min-width: 640px) { .services-heading { margin-bottom: 5rem; } }
@media (min-width: 768px) { .services-heading { margin-bottom: 7rem; } }

.services-list {
	max-width: 64rem;
	margin: 0 auto;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem 0;
	border-bottom: 1px solid rgba(12, 12, 12, 0.15);
}
.services-list .service-item:first-child { border-top: 1px solid rgba(12, 12, 12, 0.15); }

@media (min-width: 640px) { .service-item { padding: 2.5rem 0; } }
@media (min-width: 768px) { .service-item { padding: 3rem 0; } }

.service-num {
	font-weight: 900;
	color: #0C0C0C;
	font-size: clamp(3rem, 10vw, 140px);
	line-height: 1;
	flex-shrink: 0;
}

.service-body { display: flex; flex-direction: column; gap: 0.5rem; }

.service-name {
	font-weight: 500;
	text-transform: uppercase;
	font-size: clamp(1rem, 2.2vw, 2.1rem);
}

.service-desc {
	font-weight: 300;
	line-height: 1.6;
	max-width: 42rem;
	font-size: clamp(0.85rem, 1.6vw, 1.25rem);
	opacity: 0.6;
}

/* =========================================================
   5. PROJECTS SECTION
========================================================= */
.projects-section {
	background: #0C0C0C;
	border-radius: 40px 40px 0 0;
	margin-top: -2.5rem;
	position: relative;
	z-index: 10;
	padding: 5rem 1.25rem 8rem;
}
@media (min-width: 640px) {
	.projects-section { border-radius: 50px 50px 0 0; margin-top: -3rem; padding: 6rem 2rem 10rem; }
}
@media (min-width: 768px) {
	.projects-section { border-radius: 60px 60px 0 0; margin-top: -3.5rem; padding: 7rem 2.5rem 12rem; }
}

.projects-heading {
	font-weight: 900;
	text-transform: uppercase;
	text-align: center;
	line-height: 0.9;
	font-size: clamp(3rem, 12vw, 160px);
	margin-bottom: 3rem;
}

.projects-stack { max-width: 80rem; margin: 0 auto; position: relative; }

.project-card-outer {
	position: sticky;
	top: 6rem;
	height: 85vh;
	display: flex;
	align-items: flex-start;
	padding-bottom: 2rem;
}
@media (min-width: 768px) { .project-card-outer { top: 8rem; } }

.project-card {
	width: 100%;
	border-radius: 40px;
	border: 2px solid #D7E2EA;
	background: #0C0C0C;
	padding: 1rem;
	transform-origin: top center;
	transition: transform 0.1s linear;
	will-change: transform;
}
@media (min-width: 640px) { .project-card { border-radius: 50px; padding: 1.5rem; } }
@media (min-width: 768px) { .project-card { border-radius: 60px; padding: 2rem; } }

.project-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.project-num {
	font-weight: 900;
	font-size: clamp(2.5rem, 8vw, 100px);
	line-height: 1;
}

.project-meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}
.project-category {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.8rem;
	opacity: 0.6;
}
.project-name {
	font-weight: 600;
	text-transform: uppercase;
	font-size: clamp(1.1rem, 2.5vw, 1.8rem);
}

.project-image-grid {
	display: flex;
	gap: 0.75rem;
}

.project-col-1 {
	width: 40%;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.project-col-1 img:first-child { height: clamp(130px, 16vw, 230px); width: 100%; object-fit: cover; border-radius: 40px; }
.project-col-1 img:last-child { height: clamp(160px, 22vw, 340px); width: 100%; object-fit: cover; border-radius: 40px; }

.project-col-2 { width: 60%; }
.project-col-2 img { height: 100%; width: 100%; object-fit: cover; border-radius: 40px; }

@media (min-width: 640px) {
	.project-col-1 img, .project-col-2 img { border-radius: 50px; }
}
@media (min-width: 768px) {
	.project-col-1 img, .project-col-2 img { border-radius: 60px; }
}

/* =========================================================
   RESPONSIVE UTILITIES
========================================================= */
@media (max-width: 639px) {
	.project-image-grid { flex-direction: column; }
	.project-col-1, .project-col-2 { width: 100%; }
}

/* =========================================================
   6. FOOTER
========================================================= */
.site-footer {
	background: #0C0C0C;
	border-top: 1px solid rgba(215, 226, 234, 0.15);
	position: relative;
	z-index: 5;
	padding: 4rem 1.25rem 2rem;
}
@media (min-width: 640px) { .site-footer { padding: 5rem 2rem 2.5rem; } }
@media (min-width: 768px) { .site-footer { padding: 6rem 2.5rem 3rem; } }

.footer-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	text-align: center;
	margin-bottom: 4rem;
}
@media (min-width: 768px) { .footer-cta { margin-bottom: 5rem; } }

.footer-heading {
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.95;
	font-size: clamp(2rem, 8vw, 80px);
}

.footer-grid {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	max-width: 80rem;
	margin: 0 auto;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(215, 226, 234, 0.15);
}
@media (min-width: 768px) {
	.footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 2rem; }
}

.footer-brand { max-width: 22rem; }
.footer-logo {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.footer-tagline {
	margin-top: 0.75rem;
	font-weight: 300;
	font-size: 0.9rem;
	line-height: 1.6;
	opacity: 0.6;
}

.footer-nav, .footer-social {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
@media (min-width: 640px) {
	.footer-nav { flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.5rem; max-width: 26rem; }
	.footer-social { flex-direction: row; gap: 1.5rem; }
}
.footer-nav a, .footer-social a { opacity: 0.75; transition: opacity 0.2s ease; }
.footer-nav a:hover, .footer-social a:hover { opacity: 1; }

.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 80rem;
	margin: 2rem auto 0;
	font-size: 0.75rem;
	opacity: 0.45;
}
@media (min-width: 640px) {
	.footer-bottom { flex-direction: row; justify-content: space-between; }
}
