:root {
	--bg: #121008;
	--bg-soft: #161310;
	--surface: #1b1813;
	--surface-2: #22201a;
	--surface-3: #2a2620;
	--cream: #efe5ce;
	--cream-soft: #c8bfa8;
	--cream-muted: #8a8270;
	--rust: #d97a47;
	--rust-deep: #b8612f;
	--rust-soft: #e89767;
	--border: #2c271e;
	--border-light: #3a3427;
	--success: #5bc97a;
	--shadow-card: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
	--shadow-deep: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
	--serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
	--sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	--max-w: 1360px;
	--gutter: clamp(24px, 5vw, 80px);
	--ease: cubic-bezier(0.2, 0.8, 0.3, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: var(--sans);
	background: var(--bg);
	color: var(--cream);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background-image: radial-gradient(rgba(239, 229, 206, 0.025) 1px, transparent 1px), radial-gradient(rgba(239, 229, 206, 0.018) 1px, transparent 1px);
	background-size:
		3px 3px,
		7px 7px;
	opacity: 0.9;
}

body::after {
	content: '';
	position: fixed;
	top: -20vh;
	right: -20vw;
	width: 80vw;
	height: 80vh;
	background: radial-gradient(ellipse at center, rgba(217, 122, 71, 0.08), transparent 60%);
	pointer-events: none;
	z-index: 0;
}

a {
	color: inherit;
	text-decoration: none;
}
img {
	max-width: 100%;
	display: block;
}
button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

.container {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 var(--gutter);
	position: relative;
	z-index: 2;
}

.eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cream-muted);
}

.dot-list {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}
.dot-list > span {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}
.dot-list > span:not(:last-child)::after {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--rust);
	display: inline-block;
}

/* ============ NAV (Apple-style glass) ============ */
nav {
	position: sticky;
	top: 0;
	z-index: 80;
	padding: 18px 0;
	backdrop-filter: blur(40px) saturate(1.8);
	-webkit-backdrop-filter: blur(40px) saturate(1.8);
	background: linear-gradient(180deg, rgba(28, 24, 16, 0.55) 0%, rgba(18, 16, 8, 0.65) 100%);
	border-bottom: 1px solid transparent;
	transition:
		border-color 0.3s ease,
		padding 0.3s ease,
		background 0.3s ease;
}
nav::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(239, 229, 206, 0.1) 50%, transparent);
	pointer-events: none;
}
nav.scrolled {
	border-bottom-color: rgba(239, 229, 206, 0.06);
	padding: 14px 0;
	background: linear-gradient(180deg, rgba(28, 24, 16, 0.7) 0%, rgba(18, 16, 8, 0.82) 100%);
}

.nav-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

.logo {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 24px;
	letter-spacing: -0.02em;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: var(--cream);
	position: relative;
	z-index: 2;
	transition: color 0.2s;
	justify-self: start;
}
.logo:hover {
	color: var(--rust-soft);
}
.logo .logo-star {
	display: inline-block;
	transform: translateY(-2px);
	color: var(--rust);
	font-size: 18px;
	animation: spin 12s linear infinite;
}
@keyframes spin {
	to {
		transform: translateY(-2px) rotate(360deg);
	}
}
.logo em {
	font-style: italic;
	font-weight: 400;
	color: var(--cream-muted);
	transition: color 0.2s;
}
.logo:hover em {
	color: var(--cream);
}

/* Center role text */
.nav-center {
	justify-self: center;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--cream-soft);
	white-space: nowrap;
}
.nav-center .dot-list {
	display: inline-flex;
	gap: 14px;
	align-items: center;
}
.nav-center .dot-list > span {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.nav-center .dot-list > span:not(:last-child)::after {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--rust);
	display: inline-block;
}

/* Desktop right cluster */
.nav-right {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-self: end;
}

.nav-menu {
	display: inline-flex;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	color: var(--cream-soft);
	align-items: center;
}
.nav-menu a {
	position: relative;
	padding: 8px 14px;
	border-radius: 999px;
	transition:
		color 0.25s,
		background 0.25s;
}
.nav-menu a::before {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 1px;
	background: var(--rust);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}
.nav-menu a:hover {
	color: var(--cream);
}
.nav-menu a:hover::before {
	transform: scaleX(1);
}
.nav-menu a.active {
	color: var(--cream);
	background: var(--surface);
}

/* Burger button (mobile) */
.burger {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(239, 229, 206, 0.1);
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 90;
	cursor: pointer;
	transition:
		background 0.25s,
		border-color 0.25s;
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.burger:hover {
	background: linear-gradient(180deg, rgba(217, 122, 71, 0.18), rgba(217, 122, 71, 0.05));
	border-color: rgba(217, 122, 71, 0.4);
}
.burger-lines {
	width: 18px;
	height: 12px;
	position: relative;
}
.burger-lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: var(--cream);
	border-radius: 2px;
	transition:
		transform 0.35s var(--ease),
		opacity 0.25s,
		top 0.35s var(--ease);
}
.burger-lines span:nth-child(1) {
	top: 0;
}
.burger-lines span:nth-child(2) {
	top: 5px;
	width: 60%;
}
.burger-lines span:nth-child(3) {
	top: 10px;
}
.burger:hover .burger-lines span:nth-child(2) {
	width: 100%;
}

.burger.open .burger-lines span:nth-child(1) {
	top: 5px;
	transform: rotate(45deg);
}
.burger.open .burger-lines span:nth-child(2) {
	opacity: 0;
}
.burger.open .burger-lines span:nth-child(3) {
	top: 5px;
	transform: rotate(-45deg);
}

/* Full-screen mobile overlay */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 75;
	background: rgba(18, 16, 8, 0.78);
	backdrop-filter: blur(40px) saturate(1.7);
	-webkit-backdrop-filter: blur(40px) saturate(1.7);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s var(--ease);
	overflow-y: auto;
}
.mobile-menu::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 80% 20%, rgba(217, 122, 71, 0.15), transparent 55%),
		radial-gradient(ellipse at 10% 90%, rgba(217, 122, 71, 0.08), transparent 55%);
	pointer-events: none;
}
.mobile-menu::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(239, 229, 206, 0.03) 1px, transparent 1px);
	background-size: 6px 6px;
	pointer-events: none;
	opacity: 0.6;
}
.mobile-menu.open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-menu-inner {
	position: relative;
	z-index: 2;
	min-height: 100%;
	padding: 120px var(--gutter) 60px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mobile-menu-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(239, 229, 206, 0.1);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--cream-soft);
	align-self: flex-start;
	transform: translateY(20px);
	opacity: 0;
	transition:
		transform 0.5s var(--ease) 0.1s,
		opacity 0.5s 0.1s;
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.mobile-menu.open .mobile-menu-status {
	transform: translateY(0);
	opacity: 1;
}

.mobile-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.mobile-nav-list li {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.45s var(--ease),
		transform 0.45s var(--ease);
}
.mobile-menu.open .mobile-nav-list li {
	opacity: 1;
	transform: translateY(0);
}
.mobile-menu.open .mobile-nav-list li:nth-child(1) {
	transition-delay: 0.15s;
}
.mobile-menu.open .mobile-nav-list li:nth-child(2) {
	transition-delay: 0.2s;
}
.mobile-menu.open .mobile-nav-list li:nth-child(3) {
	transition-delay: 0.25s;
}
.mobile-menu.open .mobile-nav-list li:nth-child(4) {
	transition-delay: 0.3s;
}

.mobile-nav-list a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 22px 0;
	font-family: var(--serif);
	font-size: clamp(38px, 11vw, 56px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--cream);
	border-bottom: 1px solid var(--border);
	transition:
		color 0.3s,
		padding-left 0.3s var(--ease);
}
.mobile-nav-list a:hover,
.mobile-nav-list a:active {
	color: var(--rust-soft);
	padding-left: 8px;
}
.mobile-nav-list .num {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--cream-muted);
	letter-spacing: 0.14em;
	font-weight: 400;
	align-self: center;
}

.mobile-menu-foot {
	margin-top: auto;
	padding-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.5s var(--ease) 0.4s,
		transform 0.5s var(--ease) 0.4s;
}
.mobile-menu.open .mobile-menu-foot {
	opacity: 1;
	transform: translateY(0);
}
.mobile-menu-foot .label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cream-muted);
}
.mobile-menu-foot .mail {
	font-family: var(--serif);
	font-size: clamp(20px, 5vw, 28px);
	font-style: italic;
	color: var(--cream);
	transition: color 0.2s;
	word-break: break-all;
}
.mobile-menu-foot .mail:hover {
	color: var(--rust-soft);
}
.mobile-menu-socials {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.mobile-menu-socials a {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--cream-muted);
	padding: 8px 0;
	transition: color 0.2s;
}
.mobile-menu-socials a:hover {
	color: var(--cream);
}

/* Lock body scroll when menu is open */
body.menu-open {
	overflow: hidden;
}

/* ---------- NAV responsive breakpoints ---------- */
@media (max-width: 1100px) {
	.nav-center {
		display: none;
	}
	.nav-inner {
		grid-template-columns: 1fr auto;
	}
}

@media (max-width: 820px) {
	.nav-menu {
		display: none;
	}
	.burger {
		display: inline-flex;
	}
	.logo {
		font-size: 22px;
	}
}

@media (max-width: 520px) {
	nav {
		padding: 14px 0;
	}
	nav.scrolled {
		padding: 12px 0;
	}
	.logo {
		font-size: 20px;
	}
	.burger {
		width: 40px;
		height: 40px;
	}
}

/* ============ HERO (no image) ============ */
.hero {
	padding: 80px 0 120px;
	position: relative;
	overflow: hidden;
}

.hero-bg-glow {
	position: absolute;
	width: 700px;
	height: 700px;
	top: -200px;
	right: -150px;
	background: radial-gradient(circle, rgba(217, 122, 71, 0.18), transparent 60%);
	filter: blur(60px);
	pointer-events: none;
	animation: drift 18s ease-in-out infinite;
}
@keyframes drift {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(-30px, 20px) scale(1.05);
	}
}

/* Cursor-following spotlight — only on devices that hover */
.hero-spotlight {
	position: absolute;
	width: 600px;
	height: 600px;
	top: 0;
	left: 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 122, 71, 0.14) 0%, rgba(217, 122, 71, 0.05) 35%, transparent 65%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 1;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.6s ease;
	will-change: transform, opacity;
	mix-blend-mode: screen;
}
.hero:hover .hero-spotlight {
	opacity: 1;
}
@media (hover: none) {
	.hero-spotlight {
		display: none;
	}
}

.hero-ball {
	position: absolute;
	top: 12%;
	right: 9%;
	width: 40px;
	height: 40px;
	background: var(--rust);
	border-radius: 50%;
	animation: float 7s ease-in-out infinite;
	z-index: 1;
	box-shadow: 0 0 40px rgba(217, 122, 71, 0.45);
}
.hero-ball.two {
	top: auto;
	bottom: 18%;
	right: auto;
	left: 6%;
	width: 18px;
	height: 18px;
	background: var(--cream);
	animation-delay: -2.5s;
	animation-duration: 9s;
	box-shadow: 0 0 24px rgba(239, 229, 206, 0.25);
}
.hero-ball.three {
	top: 45%;
	right: 18%;
	width: 10px;
	height: 10px;
	background: var(--cream-muted);
	animation-delay: -4s;
	animation-duration: 11s;
}
@keyframes float {
	0%,
	100% {
		transform: translateY(0) translateX(0);
	}
	33% {
		transform: translateY(-24px) translateX(10px);
	}
	66% {
		transform: translateY(18px) translateX(-14px);
	}
}

.hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(239, 229, 206, 0.1);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--cream-soft);
	margin-bottom: 40px;
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 4px 16px -4px rgba(0, 0, 0, 0.2);
}
.status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 3px rgba(91, 201, 122, 0.2);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 0 0 3px rgba(91, 201, 122, 0.2);
	}
	50% {
		box-shadow: 0 0 0 7px rgba(91, 201, 122, 0.04);
	}
}
@keyframes pulse-rust {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

.hero-display {
	font-family: var(--serif);
	font-size: clamp(64px, 11vw, 172px);
	font-weight: 500;
	line-height: 0.94;
	letter-spacing: -0.03em;
	margin: 0;
	max-width: 14ch;
}
.hero-display .accent {
	font-style: italic;
	font-weight: 400;
	color: var(--rust);
	display: inline-block;
	position: relative;
}
.hero-display .accent::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.02em;
	height: 6px;
	background: rgba(217, 122, 71, 0.18);
	z-index: -1;
	border-radius: 4px;
}
.hero-display .slash {
	display: inline-block;
	margin: 0 0.06em;
	transform: translateY(-0.06em);
	color: var(--cream-muted);
	font-weight: 300;
}

.hero-body {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 64px;
	align-items: end;
	margin-top: 56px;
}
@media (max-width: 900px) {
	.hero-body {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

.hero-lede {
	font-family: var(--sans);
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
	color: var(--cream-soft);
	margin: 0;
	max-width: 52ch;
}
.hero-lede strong {
	color: var(--cream);
	font-weight: 600;
}
.hero-lede em {
	font-family: var(--serif);
	font-style: italic;
	color: var(--rust-soft);
	font-weight: 500;
}

.hero-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-self: end;
}
.stack-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cream-muted);
	margin-bottom: 4px;
}
.tool-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.tool-chips span {
	font-family: var(--mono);
	font-size: 12px;
	padding: 6px 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(239, 229, 206, 0.08);
	border-radius: 999px;
	color: var(--cream-soft);
	transition:
		all 0.25s ease,
		transform 0.18s var(--ease);
	cursor: default;
	backdrop-filter: blur(16px) saturate(1.5);
	-webkit-backdrop-filter: blur(16px) saturate(1.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	will-change: transform;
}
.tool-chips span:hover {
	border-color: rgba(217, 122, 71, 0.5);
	color: var(--cream);
	background: linear-gradient(180deg, rgba(217, 122, 71, 0.15), rgba(217, 122, 71, 0.04));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 6px 16px -6px rgba(217, 122, 71, 0.4);
}

.hero-cta {
	display: flex;
	gap: 14px;
	margin-top: 44px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px;
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	transition:
		transform 0.25s,
		background 0.25s,
		color 0.25s,
		border-color 0.25s;
	border: 1px solid transparent;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.btn-primary {
	background: var(--cream);
	color: var(--bg);
}
.btn-primary:hover {
	transform: translateY(-2px);
	background: #fff;
}
.btn-ghost {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	color: var(--cream);
	border-color: rgba(239, 229, 206, 0.12);
	backdrop-filter: blur(16px) saturate(1.5);
	-webkit-backdrop-filter: blur(16px) saturate(1.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
	background: linear-gradient(180deg, rgba(217, 122, 71, 0.15), rgba(217, 122, 71, 0.04));
	border-color: rgba(217, 122, 71, 0.4);
}
.btn svg {
	transition: transform 0.3s var(--ease);
}
.btn:hover svg {
	transform: translateX(4px);
}

/* ============ SECTIONS ============ */
section {
	padding: 110px 0;
	position: relative;
}
@media (max-width: 720px) {
	section {
		padding: 80px 0;
	}
}

.section-label {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(40px, 6vw, 72px);
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0 0 8px;
}
.section-label .italic {
	font-style: italic;
	font-weight: 400;
	color: var(--rust);
}

.section-sub {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--cream-muted);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.flex-wrap-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

/* ============ INTRO ============ */
.intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}
@media (max-width: 900px) {
	.intro {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.intro h2 {
	font-family: var(--serif);
	font-size: clamp(44px, 5.5vw, 80px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0;
}
.intro-body p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--cream-soft);
	margin: 0 0 18px;
}
.intro-body p:first-child::first-letter {
	font-family: var(--serif);
	font-size: 3.2em;
	float: left;
	line-height: 0.85;
	padding: 4px 10px 0 0;
	font-weight: 500;
	color: var(--rust);
}

.intro-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(239, 229, 206, 0.08);
	border-radius: 999px;
	font-size: 13px;
	color: var(--cream-soft);
	margin-top: 24px;
	backdrop-filter: blur(16px) saturate(1.5);
	-webkit-backdrop-filter: blur(16px) saturate(1.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.intro-badge svg {
	color: var(--rust);
}

/* ============ PORTFOLIO ============ */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}
@media (max-width: 820px) {
	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.project {
	display: block;
	position: relative;
	transition: transform 0.4s var(--ease);
}
.project:hover {
	transform: translateY(-6px);
}

.project.featured {
	grid-column: span 2;
}
.project.featured .project-image {
	aspect-ratio: 1216 / 460;
}
@media (max-width: 1024px) {
	.project.featured .project-image {
		aspect-ratio: 5 / 3;
	}
}
@media (max-width: 820px) {
	.project.featured {
		grid-column: span 1;
	}
	.project.featured .project-image {
		aspect-ratio: 4 / 3;
	}
}

.project-image {
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	position: relative;
	margin-bottom: 24px;
	box-shadow: var(--shadow-card);
	display: flex;
	align-items: center;
	justify-content: center;
}
.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.project:hover .project-image img {
	transform: scale(1.04);
}

.project-tag {
	position: absolute;
	top: 20px;
	left: 20px;
	padding: 6px 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	border: 1px solid rgba(239, 229, 206, 0.12);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cream);
	z-index: 3;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/* "Design System" flag stays solid rust as the brand mark */
.project-tag.flag {
	background: var(--rust);
	color: var(--bg);
	border-color: var(--rust);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 4px 12px -4px rgba(217, 122, 71, 0.4);
}

.project-arrow {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	border: 1px solid rgba(239, 229, 206, 0.12);
	color: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		transform 0.4s,
		background 0.3s,
		color 0.3s,
		border-color 0.3s;
	z-index: 3;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.project:hover .project-arrow {
	transform: rotate(-45deg);
	background: var(--cream);
	color: var(--bg);
	border-color: var(--cream);
}
.project-arrow svg {
	width: 18px;
	height: 18px;
}

.project-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}
.project-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rust);
	font-weight: 500;
	margin-bottom: 8px;
}
.project-title {
	font-family: var(--serif);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0;
	color: var(--cream);
}
.project.featured .project-title {
	font-size: clamp(32px, 3.8vw, 48px);
}

/* ============ VENDHUB — INTERACTIVE ============ */
.vh-showcase {
	flex: 1;
	height: fit-content;
	border-radius: 20px;
	background: radial-gradient(ellipse at 30% 50%, rgba(217, 122, 71, 0.12), transparent 60%), linear-gradient(135deg, #1e1a14 0%, #22201a 50%, #1a1711 100%);
	overflow: hidden;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 32px;
	padding: 36px;
	align-items: center;
}
.vh-showcase::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(217, 122, 71, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 122, 71, 0.08) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
	pointer-events: none;
}

.vh-left {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 13px;
}
.vh-tag {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	padding: 7px 15px;
	background: var(--rust);
	color: var(--bg);
	border: 1px solid var(--rust);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.vh-left h4 {
	font-family: var(--serif);
	font-size: 36px;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 1.05;
	color: var(--cream);
	padding-right: 72px;
}
.vh-left p {
	font-family: var(--sans);
	font-size: 13.5px;
	color: var(--cream-soft);
	margin: 0;
	line-height: 1.5;
	max-width: 248px;
}
.vh-right {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 170px);
	column-gap: 12px;
	row-gap: 12px;
	align-content: center;
}

.vh-tile {
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 60%), rgba(10, 8, 4, 0.35);
	border: 1px solid rgba(239, 229, 206, 0.08);
	border-radius: 14px;
	padding: 14px 15px 15px 15px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s var(--ease);
	backdrop-filter: blur(10px) saturate(1.4);
	-webkit-backdrop-filter: blur(10px) saturate(1.4);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	min-height: 0;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 4px 12px -4px rgba(0, 0, 0, 0.3);
}
.vh-tile::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 40%, transparent);
	pointer-events: none;
}
.vh-tile:hover {
	border-color: rgba(217, 122, 71, 0.45);
	transform: translateY(-3px);
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%), rgba(10, 8, 4, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 14px 32px -10px rgba(217, 122, 71, 0.3);
}
.vh-tile .tile-label {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cream-muted);
	font-weight: 500;
	flex-shrink: 0;
}

/* Row 1 — Typography (1 col) | Color (2 cols) */
/* Row 1: Typography · Color · Spacing */
.tile-type {
	grid-column: 1;
	grid-row: 1;
}
.tile-type .glyph {
	font-family: var(--serif);
	font-size: clamp(38px, 4.5vw, 60px);
	font-weight: 500;
	line-height: 0.9;
	color: var(--cream);
	letter-spacing: -0.04em;
	transition: color 0.3s;
}
.tile-type .glyph em {
	font-style: italic;
	color: var(--rust);
	font-weight: 400;
}
.tile-type .glyph em.wiggle {
	display: inline-block;
	animation: wiggle 4s ease-in-out infinite;
	transform-origin: bottom center;
}
@keyframes wiggle {
	0%,
	95%,
	100% {
		transform: rotate(0);
	}
	96% {
		transform: rotate(-8deg);
	}
	98% {
		transform: rotate(6deg);
	}
}
.tile-type .type-meta {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.tile-type .type-meta span {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--cream-soft);
	padding: 3px 7px;
	background: rgba(217, 122, 71, 0.12);
	border: 1px solid rgba(217, 122, 71, 0.25);
	border-radius: 4px;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.tile-color {
	grid-column: 2;
	grid-row: 1;
}
.tile-color .swatch-row {
	display: flex;
	gap: 6px;
	flex: 1;
	align-items: stretch;
	margin-top: 8px;
}
.tile-color .swatch {
	flex: 1;
	border-radius: 6px;
	cursor: pointer;
	transition: transform 0.25s var(--ease);
	min-height: 36px;
}
.tile-color .swatch:hover {
	transform: scale(1.05);
}
.tile-color .swatch:nth-child(1) {
	background: #d97a47;
}
.tile-color .swatch:nth-child(2) {
	background: #b8612f;
}
.tile-color .swatch:nth-child(3) {
	background: #efe5ce;
}
.tile-color .swatch:nth-child(4) {
	background: #5bc97a;
}
.tile-color .swatch:nth-child(5) {
	background: #8a8270;
}

.tile-zindex {
	grid-column: 2;
	grid-row: 2;
}
.tile-zindex .z-stack {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
}
.tile-zindex .z-card {
	position: absolute;
	width: 56%;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	border: 1px solid var(--border-light);
	background: var(--surface-2);
	transition: transform 0.5s var(--ease);
}
.tile-zindex .z-card:nth-child(1) {
	transform: translate(-22%, -16%) rotate(-6deg);
	background: rgba(217, 122, 71, 0.25);
	border-color: rgba(217, 122, 71, 0.4);
}
.tile-zindex .z-card:nth-child(2) {
	transform: translate(-3%, -2%) rotate(0deg);
	background: rgba(239, 229, 206, 0.08);
}
.tile-zindex .z-card:nth-child(3) {
	transform: translate(16%, 12%) rotate(6deg);
	background: var(--rust);
	border-color: var(--rust);
	box-shadow: 0 6px 16px rgba(217, 122, 71, 0.35);
}
.tile-zindex:hover .z-card:nth-child(1) {
	transform: translate(-32%, -24%) rotate(-12deg);
}
.tile-zindex:hover .z-card:nth-child(3) {
	transform: translate(26%, 20%) rotate(12deg);
}

.tile-spacing {
	grid-column: 3;
	grid-row: 1;
}
.tile-spacing .spacing-bars {
	display: flex;
	gap: 5px;
	align-items: flex-end;
	flex: 1;
	min-height: 50px;
}
.tile-spacing .spacing-bars span {
	flex: 1;
	background: var(--rust);
	border-radius: 2px;
	transform-origin: bottom;
	transition:
		transform 0.3s var(--ease),
		opacity 0.3s;
}
.tile-spacing:hover .spacing-bars span {
	transform: scaleY(1.08);
	opacity: 1;
}
.tile-spacing .spacing-bars span:nth-child(1) {
	height: 21%;
	opacity: 0.35;
}
.tile-spacing .spacing-bars span:nth-child(2) {
	height: 35%;
	opacity: 0.5;
}
.tile-spacing .spacing-bars span:nth-child(3) {
	height: 51%;
	opacity: 0.65;
}
.tile-spacing .spacing-bars span:nth-child(4) {
	height: 67%;
	opacity: 0.8;
}
.tile-spacing .spacing-bars span:nth-child(5) {
	height: 100%;
	opacity: 1;
}

/* Row 2: Motion · Z-Index · Buttons */
.tile-motion {
	grid-column: 1;
	grid-row: 2;
	overflow: hidden;
}
.tile-motion .motion-track {
	position: relative;
	flex: 1;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	min-height: 50px;
}
.tile-motion .orb {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--rust);
	box-shadow: 0 0 16px rgba(217, 122, 71, 0.7);
	animation: orbSlideContained 3.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}
@keyframes orbSlideContained {
	0% {
		transform: translateX(0);
		background: var(--rust);
	}
	50% {
		transform: translateX(calc(100% + 30px)) scale(1.15);
		background: var(--rust-soft);
	}
	100% {
		transform: translateX(0);
		background: var(--rust);
	}
}

.tile-button {
	grid-column: 3;
	grid-row: 2;
}
.tile-button .btn-set {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	justify-content: center;
}
.tile-button .btn-mini {
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 500;
	padding: 7px 11px;
	border-radius: 999px;
	transition: all 0.25s;
	cursor: pointer;
	border: 1px solid transparent;
	text-align: center;
	line-height: 1;
}
.tile-button .btn-mini.primary {
	background: var(--rust);
	color: var(--bg);
}
.tile-button .btn-mini.primary:hover {
	background: var(--rust-soft);
}
.tile-button .btn-mini.outline {
	background: transparent;
	color: var(--cream);
	border-color: var(--border-light);
}
.tile-button .btn-mini.outline:hover {
	border-color: var(--rust);
	color: var(--rust-soft);
}
.tile-button .btn-mini.ghost {
	background: transparent;
	color: var(--cream-muted);
}
.tile-button .btn-mini.ghost:hover {
	color: var(--cream);
}

/* ~1024: stack showcase, keep 3-col tiles */
@media (max-width: 1024px) {
	.vh-showcase {
		grid-template-columns: 1fr;
		padding: 32px;
		align-items: stretch;
	}
	.vh-right {
		grid-template-rows: repeat(2, 140px);
	}
}

/* ~720: simpler 2-col tile grid */
@media (max-width: 720px) {
	.vh-showcase {
		padding: 24px;
		gap: 24px;
	}
	.vh-right {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		min-height: 0;
	}
	.tile-type {
		grid-column: 1;
		grid-row: 1;
		min-height: 120px;
	}
	.tile-color {
		grid-column: 2;
		grid-row: 1;
		min-height: 120px;
	}
	.tile-spacing {
		grid-column: 1;
		grid-row: 2;
		min-height: 100px;
	}
	.tile-motion {
		grid-column: 2;
		grid-row: 2;
		min-height: 100px;
	}
	.tile-zindex {
		grid-column: 1;
		grid-row: 3;
		min-height: 120px;
	}
	.tile-button {
		grid-column: 2;
		grid-row: 3;
		min-height: 120px;
	}
}

/* ============ PRINCIPLES ============ */
.principles {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.principles-inner {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 72px;
	align-items: start;
}
@media (max-width: 900px) {
	.principles-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.principle-quote {
	font-family: var(--serif);
	font-size: clamp(22px, 2.4vw, 30px);
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	color: var(--cream);
	letter-spacing: -0.01em;
	margin: 0 0 40px;
	position: relative;
}
.principle-quote::before {
	content: '“';
	font-family: var(--serif);
	font-size: 3em;
	color: var(--rust);
	line-height: 0.3;
	position: absolute;
	left: -0.25em;
	top: 0.25em;
}

.principle-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.principle-item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 20px;
	padding: 24px 0;
	border-top: 1px solid var(--border);
	align-items: baseline;
	transition: padding-left 0.3s var(--ease);
}
.principle-item:hover {
	padding-left: 10px;
}
.principle-item:last-child {
	border-bottom: 1px solid var(--border);
}
.principle-num {
	font-family: var(--serif);
	font-size: 26px;
	color: var(--rust);
	font-style: italic;
	font-weight: 500;
}
.principle-text {
	font-family: var(--serif);
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--cream);
}

/* ============ MARQUEE words ============ */
.word-marquee {
	padding: 40px 0;
	background: var(--bg);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	overflow: hidden;
	white-space: nowrap;
}
.word-marquee-track {
	display: inline-flex;
	gap: 48px;
	animation: scrollWord 40s linear infinite;
	padding-right: 48px;
}
.word-marquee-item {
	font-family: var(--serif);
	font-size: clamp(42px, 6vw, 84px);
	font-weight: 500;
	font-style: italic;
	letter-spacing: -0.02em;
	color: var(--cream);
	line-height: 1;
	display: inline-flex;
	align-items: center;
	gap: 48px;
}
.word-marquee-item.loop {
	color: var(--rust);
}
.word-marquee-item::after {
	content: '✺';
	color: var(--rust);
	font-size: 0.6em;
	font-style: normal;
	display: inline-block;
	transform: translateY(-0.12em);
}
@keyframes scrollWord {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ============ EXPERIENCE (click-to-expand, desc starts with company name) ============ */
.experience-list {
	margin-top: 40px;
	border-top: 1px solid var(--border);
}

.exp-item {
	border-bottom: 1px solid var(--border);
	transition: background 0.3s ease;
	position: relative;
}
.exp-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--rust);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.4s var(--ease);
}
.exp-item.open::before {
	transform: scaleY(1);
	transform-origin: top;
}

.exp-trigger {
	width: 100%;
	display: grid;
	grid-template-columns: 60px 240px 1fr 160px 48px;
	gap: 24px;
	padding: 32px 4px 32px 20px;
	align-items: center;
	text-align: left;
	cursor: pointer;
	transition: padding 0.3s var(--ease);
}
.exp-item:hover .exp-trigger,
.exp-item.open .exp-trigger {
	padding-left: 28px;
}

@media (max-width: 820px) {
	.exp-trigger {
		grid-template-columns: 46px 1fr 36px;
		gap: 12px;
		padding: 22px 4px 22px 16px;
	}
	.exp-trigger .exp-period,
	.exp-trigger .exp-tag {
		display: none;
	}
}

.exp-num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 22px;
	color: var(--rust);
	font-variant-numeric: tabular-nums;
}

.exp-period {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--cream-muted);
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.exp-company-wrap {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.exp-role-inline {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rust);
	font-weight: 500;
}
.exp-company {
	font-family: var(--serif);
	font-size: clamp(26px, 2.8vw, 36px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.015em;
	margin: 0;
	color: var(--cream);
	transition: color 0.3s;
}
.exp-item:hover .exp-company,
.exp-item.open .exp-company {
	color: var(--rust-soft);
}

.exp-tag {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--cream-muted);
	text-align: right;
	letter-spacing: 0.04em;
}

.exp-plus {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cream-muted);
	transition:
		transform 0.4s var(--ease),
		border-color 0.3s,
		color 0.3s,
		background 0.3s;
	justify-self: end;
	flex-shrink: 0;
}
.exp-item:hover .exp-plus {
	border-color: var(--rust);
	color: var(--cream);
}
.exp-item.open .exp-plus {
	transform: rotate(45deg);
	background: var(--rust);
	border-color: var(--rust);
	color: var(--bg);
}

.exp-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s var(--ease);
}
.exp-item.open .exp-content {
	grid-template-rows: 1fr;
}
.exp-content-inner {
	overflow: hidden;
	padding-left: calc(60px + 24px + 20px);
	padding-right: calc(160px + 24px + 48px + 24px);
	padding-bottom: 0;
	transition: padding-bottom 0.5s var(--ease);
}
.exp-item.open .exp-content-inner {
	padding-bottom: 32px;
}
@media (max-width: 820px) {
	.exp-content-inner {
		padding-left: 74px;
		padding-right: 40px;
	}
}

.exp-meta-mobile {
	display: none;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--cream-muted);
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}
@media (max-width: 820px) {
	.exp-meta-mobile {
		display: block;
	}
}

.exp-desc {
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.65;
	color: var(--cream-soft);
	margin: 0;
	max-width: 70ch;
}
.exp-desc strong {
	color: var(--cream);
	font-weight: 600;
}

/* ============ RECENT EXPLORATIONS (redesigned) ============ */
.explorations {
	padding: 110px 0 90px;
	position: relative;
	overflow: hidden;
	background: var(--bg);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.explorations::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 30%, rgba(217, 122, 71, 0.08), transparent 40%), radial-gradient(circle at 85% 70%, rgba(217, 122, 71, 0.06), transparent 45%);
	pointer-events: none;
}

.explorations::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(239, 229, 206, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 229, 206, 0.015) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.explorations-head {
	margin-bottom: 56px;
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}
.explorations-head .section-label {
	margin: 8px 0 0;
}
.explorations-meta {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--cream-muted);
	letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	gap: 12px;
}
.explorations-meta .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rust);
	animation: pulse-rust 2.4s ease-in-out infinite;
}

.expl-rows {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.expl-row {
	display: flex;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
}
.expl-row-inner {
	display: flex;
	gap: 16px;
	flex-shrink: 0;
	will-change: transform;
	padding-right: 16px;
	padding-block: 10px 2px;
}
.expl-row.ltr .expl-row-inner {
	animation: scrollLTR 30s linear infinite;
	@media screen and (max-width: 768px) {
		animation: scrollLTR 10s linear infinite;
	}
}
.expl-row.rtl .expl-row-inner {
	animation: scrollRTL 30s linear infinite;
	@media screen and (max-width: 768px) {
		animation: scrollRTL 10s linear infinite;
	}
}
.expl-row:hover .expl-row-inner {
	animation-play-state: paused;
}

@keyframes scrollLTR {
	from {
		transform: translateX(-50%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes scrollRTL {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.expl-card {
	flex: 0 0 clamp(260px, 24vw, 340px);
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	position: relative;
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: var(--shadow-card);
	transition:
		transform 0.4s var(--ease),
		border-color 0.3s,
		box-shadow 0.4s;
}
.expl-card:hover {
	transform: translateY(-4px) scale(1.015);
	border-color: var(--rust);
	box-shadow: 0 20px 40px -10px rgba(217, 122, 71, 0.25);
}
.expl-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 60%, rgba(18, 16, 8, 0.5) 100%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
}
.expl-card:hover::after {
	opacity: 1;
}

.expl-inner {
	position: absolute;
	inset: 0;
	padding: 18px;
	display: flex;
	flex-direction: column;

	justify-content: space-between;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.expl-inner-v1 {
	background-image: url(./images/1.avif);
}
.expl-inner-v2 {
	background-image: url(./images/2.avif);
}
.expl-inner-v3 {
	background-image: url(./images/3.avif);
}
.expl-inner-v4 {
	background-image: url(./images/4.avif);
}
.expl-inner-v5 {
	background-image: url(./images/5.avif);
}
.expl-inner-v6 {
	background-image: url(./images/6.avif);
}
.expl-inner-v7 {
	background-image: url(./images/7.avif);
}
.expl-inner-v8 {
	background-image: url(./images/8.avif);
}
.expl-inner-v9 {
	background-image: url(./images/9.avif);
}
.expl-inner-v10 {
	background-image: url(./images/10.avif);
}
.expl-inner-v11 {
	background-image: url(./images/11.avif);
}
.expl-inner-v12 {
	background-image: url(./images/12.avif);
}

.expl-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 999px;
	backdrop-filter: blur(8px);
	align-self: flex-start;
}
.expl-tag.light {
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.expl-tag.dark {
	background: rgba(0, 0, 0, 0.6);
	color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.expl-tag.rust {
	background: var(--rust);
	color: var(--bg);
}

.expl-footer {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.3s,
		transform 0.3s var(--ease);
}
.expl-card:hover .expl-footer {
	opacity: 1;
	transform: translateY(0);
}
.expl-title {
	font-family: var(--serif);
	font-size: 18px;
	font-style: italic;
	font-weight: 500;
	color: var(--cream);
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.01em;
}
.expl-year {
	font-family: var(--mono);
	font-size: 10px;
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.08em;
}

/* Exploration card visuals — each card has its own mini-artwork */

/* 1 — Cream dashboard */
.expl-v1 {
	background: linear-gradient(135deg, #efe5ce 0%, #d9ceb1 100%);
}
.expl-v1 .v-art {
	position: absolute;
	inset: 0;
	padding: 18px 18px 48px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: flex-end;
}
.expl-v1 .v-bar {
	background: rgba(26, 23, 20, 0.65);
	border-radius: 3px;
	height: 8px;
}
.expl-v1 .v-bar.w40 {
	width: 40%;
}
.expl-v1 .v-bar.w65 {
	width: 65%;
}
.expl-v1 .v-bar.w80 {
	width: 80%;
}
.expl-v1 .v-chart {
	display: flex;
	gap: 6px;
	align-items: flex-end;
	height: 50%;
	margin-top: 8px;
}
.expl-v1 .v-chart span {
	flex: 1;
	background: rgba(26, 23, 20, 0.8);
	border-radius: 2px;
}
.expl-v1 .v-chart span:nth-child(1) {
	height: 45%;
}
.expl-v1 .v-chart span:nth-child(2) {
	height: 70%;
}
.expl-v1 .v-chart span:nth-child(3) {
	height: 55%;
	background: var(--rust);
}
.expl-v1 .v-chart span:nth-child(4) {
	height: 85%;
	background: var(--rust);
}
.expl-v1 .v-chart span:nth-child(5) {
	height: 40%;
}

/* 2 — Phone mockups on dark */
.expl-v2 {
	background: linear-gradient(135deg, #1b1813 0%, #22201a 100%);
}
.expl-v2 .v-phone {
	position: absolute;
	width: 40%;
	aspect-ratio: 9/18;
	border-radius: 14px;
	border: 1.5px solid rgba(239, 229, 206, 0.2);
	background: rgba(239, 229, 206, 0.08);
	padding: 10px;
	backdrop-filter: blur(4px);
}
.expl-v2 .v-phone.left {
	left: 12%;
	bottom: -10%;
	transform: rotate(-10deg);
}
.expl-v2 .v-phone.right {
	right: 12%;
	top: 22%;
	transform: rotate(8deg);
	background: rgba(239, 229, 206, 0.95);
	border-color: rgba(239, 229, 206, 0.3);
}
.expl-v2 .v-phone.left::before {
	content: '';
	position: absolute;
	top: 18%;
	left: 10%;
	right: 10%;
	height: 30%;
	background: linear-gradient(180deg, var(--rust), var(--rust-deep));
	border-radius: 6px;
}
.expl-v2 .v-phone.right::before {
	content: '';
	position: absolute;
	top: 12%;
	left: 10%;
	right: 10%;
	bottom: 40%;
	background: rgba(26, 23, 20, 0.85);
	border-radius: 6px;
}

/* 3 — Mountain/landscape */
.expl-v3 {
	background: linear-gradient(180deg, #2b1e4a 0%, #5d3a6e 40%, #c35b55 75%, #e89767 100%);
}
.expl-v3 .v-sun {
	position: absolute;
	top: 22%;
	right: 24%;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: radial-gradient(circle, #ffd580 20%, #f4a261 70%);
	box-shadow: 0 0 30px rgba(244, 162, 97, 0.6);
}
.expl-v3 .v-mountain {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 55%;
	background: linear-gradient(135deg, #1e1024 30%, #3a1f3f 100%);
	clip-path: polygon(0 65%, 18% 20%, 38% 50%, 58% 12%, 78% 38%, 100% 18%, 100% 100%, 0 100%);
}
.expl-v3 .v-mountain-back {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: rgba(30, 16, 36, 0.5);
	clip-path: polygon(0 85%, 15% 50%, 35% 70%, 55% 35%, 75% 60%, 100% 45%, 100% 100%, 0 100%);
}

/* 4 — Typography study */
.expl-v4 {
	background: linear-gradient(135deg, #efe5ce 0%, #c8bfa8 100%);
}
.expl-v4 .v-type {
	position: absolute;
	inset: 0;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
}
.expl-v4 .v-type .big {
	font-family: var(--serif);
	font-size: 68px;
	font-weight: 500;
	color: #1b1813;
	line-height: 0.9;
	letter-spacing: -0.03em;
}
.expl-v4 .v-type .big em {
	font-style: italic;
	color: var(--rust);
}
.expl-v4 .v-type .caption {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(27, 24, 19, 0.55);
	margin-top: 6px;
}

/* 5 — Onboarding flow */
.expl-v5 {
	background: linear-gradient(135deg, #2a1810 0%, #3d2418 100%);
}
.expl-v5 .v-screens {
	position: absolute;
	inset: 18px;
	display: flex;
	gap: 8px;
	align-items: flex-end;
}
.expl-v5 .v-screen {
	flex: 1;
	background: rgba(239, 229, 206, 0.08);
	border: 1px solid rgba(239, 229, 206, 0.15);
	border-radius: 6px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.expl-v5 .v-screen:nth-child(1) {
	height: 70%;
}
.expl-v5 .v-screen:nth-child(2) {
	height: 85%;
	background: rgba(217, 122, 71, 0.2);
	border-color: rgba(217, 122, 71, 0.4);
}
.expl-v5 .v-screen:nth-child(3) {
	height: 95%;
}
.expl-v5 .v-bar {
	background: rgba(239, 229, 206, 0.35);
	border-radius: 2px;
	height: 4px;
}

/* 6 — Chart visualization */
.expl-v6 {
	background: linear-gradient(135deg, #d97a47 0%, #b8612f 100%);
}
.expl-v6 .v-bars {
	position: absolute;
	inset: 18px 18px 48px;
	display: flex;
	gap: 6px;
	align-items: flex-end;
}
.expl-v6 .v-bars span {
	flex: 1;
	background: rgba(18, 16, 8, 0.8);
	border-radius: 3px 3px 0 0;
}
.expl-v6 .v-bars span:nth-child(1) {
	height: 30%;
}
.expl-v6 .v-bars span:nth-child(2) {
	height: 55%;
}
.expl-v6 .v-bars span:nth-child(3) {
	height: 40%;
	background: var(--cream);
}
.expl-v6 .v-bars span:nth-child(4) {
	height: 72%;
}
.expl-v6 .v-bars span:nth-child(5) {
	height: 90%;
	background: var(--cream);
}
.expl-v6 .v-bars span:nth-child(6) {
	height: 60%;
}

/* 7 — Color palette */
.expl-v7 {
	background: #1b1813;
}
.expl-v7 .v-palette {
	position: absolute;
	inset: 18px 18px 48px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 6px;
}
.expl-v7 .v-palette div {
	border-radius: 6px;
}
.expl-v7 .v-palette div:nth-child(1) {
	background: #d97a47;
}
.expl-v7 .v-palette div:nth-child(2) {
	background: #efe5ce;
}
.expl-v7 .v-palette div:nth-child(3) {
	background: #5bc97a;
}
.expl-v7 .v-palette div:nth-child(4) {
	background: #b8612f;
}
.expl-v7 .v-palette div:nth-child(5) {
	background: #8a8270;
}
.expl-v7 .v-palette div:nth-child(6) {
	background: #2c271e;
	border: 1px solid #3a3427;
}

/* 8 — Login/auth */
.expl-v8 {
	background: linear-gradient(135deg, #efe5ce 0%, #f0e5d2 100%);
}
.expl-v8 .v-form {
	position: absolute;
	inset: 18px 18px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}
.expl-v8 .v-field {
	height: 20px;
	background: rgba(26, 23, 20, 0.08);
	border-radius: 5px;
	border: 1px solid rgba(26, 23, 20, 0.12);
}
.expl-v8 .v-btn {
	height: 24px;
	background: #1b1813;
	border-radius: 999px;
	margin-top: 8px;
}
.expl-v8 .v-title {
	font-family: var(--serif);
	font-size: 22px;
	font-style: italic;
	color: #1b1813;
	margin-bottom: 6px;
	line-height: 1;
}

/* 9 — Dashboard grid */
.expl-v9 {
	background: linear-gradient(135deg, #22201a 0%, #1b1813 100%);
}
.expl-v9 .v-grid {
	position: absolute;
	inset: 18px 18px 48px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
}
.expl-v9 .v-cell {
	background: rgba(239, 229, 206, 0.06);
	border: 1px solid rgba(239, 229, 206, 0.1);
	border-radius: 6px;
	padding: 8px;
	position: relative;
}
.expl-v9 .v-cell::after {
	content: '';
	position: absolute;
	bottom: 8px;
	left: 8px;
	width: 40%;
	height: 3px;
	background: var(--rust);
	border-radius: 2px;
}
.expl-v9 .v-cell:nth-child(2)::after {
	background: var(--cream);
	width: 60%;
}
.expl-v9 .v-cell:nth-child(3)::after {
	background: var(--success);
	width: 35%;
}
.expl-v9 .v-cell:nth-child(4)::after {
	background: var(--rust-soft);
	width: 75%;
}

/* 10 — Map/location */
.expl-v10 {
	background: radial-gradient(circle at 60% 50%, #3a4a2a 0%, #1a2218 80%);
}
.expl-v10 .v-roads {
	position: absolute;
	inset: 0;
	opacity: 0.3;
}
.expl-v10 .v-roads span {
	position: absolute;
	background: rgba(239, 229, 206, 0.3);
}
.expl-v10 .v-roads span:nth-child(1) {
	top: 30%;
	left: 0;
	right: 0;
	height: 1px;
}
.expl-v10 .v-roads span:nth-child(2) {
	top: 60%;
	left: 0;
	right: 0;
	height: 1px;
}
.expl-v10 .v-roads span:nth-child(3) {
	left: 35%;
	top: 0;
	bottom: 0;
	width: 1px;
}
.expl-v10 .v-roads span:nth-child(4) {
	left: 70%;
	top: 0;
	bottom: 0;
	width: 1px;
}
.expl-v10 .v-pin {
	position: absolute;
	top: 40%;
	left: 55%;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--rust);
	box-shadow:
		0 0 0 6px rgba(217, 122, 71, 0.25),
		0 0 20px rgba(217, 122, 71, 0.5);
	transform: translate(-50%, -50%);
	animation: pulse-rust 2s ease-in-out infinite;
}

/* 11 — Music/audio player */
.expl-v11 {
	background: linear-gradient(135deg, #4b2e6e 0%, #1b1228 100%);
}
.expl-v11 .v-waveform {
	position: absolute;
	inset: 18px 18px 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
}
.expl-v11 .v-waveform span {
	width: 3px;
	background: var(--rust-soft);
	border-radius: 2px;
	animation: wavePulse 1.4s ease-in-out infinite;
}
.expl-v11 .v-waveform span:nth-child(1) {
	height: 25%;
	animation-delay: 0s;
}
.expl-v11 .v-waveform span:nth-child(2) {
	height: 55%;
	animation-delay: 0.1s;
}
.expl-v11 .v-waveform span:nth-child(3) {
	height: 35%;
	animation-delay: 0.2s;
}
.expl-v11 .v-waveform span:nth-child(4) {
	height: 75%;
	animation-delay: 0.3s;
}
.expl-v11 .v-waveform span:nth-child(5) {
	height: 45%;
	animation-delay: 0.4s;
	background: var(--cream);
}
.expl-v11 .v-waveform span:nth-child(6) {
	height: 90%;
	animation-delay: 0.5s;
	background: var(--cream);
}
.expl-v11 .v-waveform span:nth-child(7) {
	height: 65%;
	animation-delay: 0.6s;
}
.expl-v11 .v-waveform span:nth-child(8) {
	height: 40%;
	animation-delay: 0.7s;
}
.expl-v11 .v-waveform span:nth-child(9) {
	height: 70%;
	animation-delay: 0.8s;
}
.expl-v11 .v-waveform span:nth-child(10) {
	height: 30%;
	animation-delay: 0.9s;
}
.expl-v11 .v-waveform span:nth-child(11) {
	height: 55%;
	animation-delay: 1s;
}
.expl-v11 .v-waveform span:nth-child(12) {
	height: 40%;
	animation-delay: 1.1s;
}
@keyframes wavePulse {
	0%,
	100% {
		transform: scaleY(0.4);
	}
	50% {
		transform: scaleY(1);
	}
}

/* 12 — Card stack */
.expl-v12 {
	background: linear-gradient(135deg, #3a2418 0%, #1b1813 100%);
}
.expl-v12 .v-stack {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.expl-v12 .v-card {
	position: absolute;
	width: 55%;
	aspect-ratio: 5/3;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--cream), var(--cream-soft));
	border: 1px solid var(--border-light);
}
.expl-v12 .v-card:nth-child(1) {
	transform: translate(-12%, -14%) rotate(-8deg);
	background: rgba(217, 122, 71, 0.85);
}
.expl-v12 .v-card:nth-child(2) {
	transform: translate(2%, 0) rotate(2deg);
	background: rgba(239, 229, 206, 0.9);
}
.expl-v12 .v-card:nth-child(3) {
	transform: translate(16%, 12%) rotate(10deg);
	background: var(--rust);
}

/* ============ SERVICES ============ */
.services {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 56px;
}
@media (max-width: 720px) {
	.services-grid {
		grid-template-columns: 1fr;
	}
}

.service-card {
	padding: 36px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition:
		background 0.3s,
		border-color 0.3s,
		transform 0.3s;
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(217, 122, 71, 0.12), transparent 70%);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.service-card:hover::before {
	opacity: 1;
}
.service-card:hover {
	background: var(--surface-2);
	border-color: var(--border-light);
	transform: translateY(-4px);
}
.service-num {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--rust);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.service-title {
	font-family: var(--serif);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.015em;
	color: var(--cream);
}
.service-desc {
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.55;
	color: var(--cream-soft);
	margin: 0;
}

/* ============ CONTACT ============ */
.contact {
	padding: 120px 0 80px;
	background: var(--bg);
	border-top: 1px solid var(--border);
}
.contact .container {
	text-align: center;
}
.contact .eyebrow {
	color: var(--cream-muted);
	justify-content: center;
	display: inline-flex;
}
.contact-title {
	font-family: var(--serif);
	font-size: clamp(60px, 10vw, 160px);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.03em;
	margin: 24px 0 56px;
	color: var(--cream);
}
.contact-title .italic {
	font-style: italic;
	font-weight: 400;
	color: var(--rust);
}
.contact-actions {
	display: inline-flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.contact-email {
	display: inline-block;
	margin-top: 72px;
	font-family: var(--serif);
	font-size: clamp(22px, 3vw, 36px);
	font-style: italic;
	color: var(--cream);
	border-bottom: 1px solid var(--border-light);
	padding-bottom: 4px;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.contact-email:hover {
	color: var(--rust-soft);
	border-color: var(--rust);
}

/* ============ FOOTER ============ */
footer {
	background: var(--bg);
	color: var(--cream-muted);
	padding: 40px 0 48px;
	border-top: 1px solid var(--border);
	font-size: 13px;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.footer-links {
	display: inline-flex;
	gap: 24px;
}
.footer-links a:hover {
	color: var(--cream);
}

.corner-asterisk {
	position: absolute;
	font-family: var(--serif);
	font-style: italic;
	color: var(--rust);
	opacity: 0.5;
	pointer-events: none;
	font-size: 40px;
	line-height: 1;
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.9s ease,
		transform 0.9s var(--ease);
	will-change: opacity, transform;
}
.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	background: var(--rust);
	z-index: 100;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.1s linear;
}

/* ==================================================
     RESPONSIVE — comprehensive breakpoint pass
     ================================================== */

/* Tablet & below (≤ 1024px) */
@media (max-width: 1024px) {
	:root {
		--gutter: clamp(20px, 4vw, 48px);
	}
	section {
		padding: 90px 0;
	}
	.hero {
		padding: 60px 0 90px;
	}
	.hero-display {
		font-size: clamp(58px, 9.5vw, 120px);
	}
	.hero-body {
		gap: 40px;
	}
	.principles-inner {
		gap: 48px;
	}
	.portfolio-grid {
		gap: 28px;
	}
	.services-grid {
		gap: 20px;
	}
	.service-card {
		padding: 28px;
	}
	nav {
		padding: 16px 0;
	}
	.logo {
		font-size: 22px;
	}
}

/* Small tablet / large mobile (≤ 820px) */
@media (max-width: 820px) {
	:root {
		--gutter: 24px;
	}
	section {
		padding: 72px 0;
	}

	/* Hero */
	.hero {
		padding: 48px 0 80px;
	}
	.hero-pill {
		margin-bottom: 28px;
		font-size: 11px;
		padding: 7px 14px;
	}
	.hero-display {
		font-size: clamp(48px, 11vw, 80px);
	}
	.hero-body {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 40px;
	}
	.hero-lede {
		font-size: 16px;
	}
	.hero-stack {
		align-self: start;
	}
	.hero-cta {
		margin-top: 32px;
	}
	.hero-cta .btn {
		padding: 14px 22px;
		font-size: 13px;
	}
	.hero-ball {
		width: 30px;
		height: 30px;
		right: 6%;
		top: 8%;
	}
	.hero-ball.two {
		width: 14px;
		height: 14px;
	}
	.hero-ball.three {
		display: none;
	}

	/* Section heads */
	.section-label {
		font-size: clamp(36px, 9vw, 56px);
	}
	.flex-wrap-head {
		margin-bottom: 36px;
	}

	/* Intro */
	.intro h2 {
		font-size: clamp(36px, 9vw, 56px);
	}

	/* Portfolio */
	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.project-image {
		margin-bottom: 16px;
	}
	.project-title {
		font-size: 22px;
	}

	/* Principles */
	.principles-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.principle-quote {
		font-size: 20px;
		margin-bottom: 28px;
	}
	.principle-text {
		font-size: 20px;
	}
	.principle-item {
		grid-template-columns: 40px 1fr;
		gap: 12px;
		padding: 18px 0;
	}
	.principle-num {
		font-size: 22px;
	}

	/* Word marquee — slightly smaller */
	.word-marquee {
		padding: 28px 0;
	}
	.word-marquee-item {
		font-size: clamp(38px, 10vw, 56px);
		gap: 32px;
	}
	.word-marquee-track {
		gap: 32px;
		padding-right: 32px;
	}

	/* Experience — already had some mobile, reinforcing */
	.exp-trigger {
		grid-template-columns: 36px 1fr 32px;
		gap: 12px;
		padding: 20px 4px 20px 14px;
	}
	.exp-item:hover .exp-trigger,
	.exp-item.open .exp-trigger {
		padding-left: 22px;
	}
	.exp-num {
		font-size: 18px;
	}
	.exp-company {
		font-size: 22px;
	}
	.exp-role-inline {
		font-size: 9px;
	}
	.exp-plus {
		width: 32px;
		height: 32px;
	}
	.exp-content-inner {
		padding-left: 62px;
		padding-right: 24px;
	}
	.exp-desc {
		font-size: 14px;
	}

	/* Explorations */
	.explorations {
		padding: 80px 0 60px;
	}
	.expl-card {
		flex: 0 0 clamp(220px, 60vw, 280px);
	}
	.expl-title {
		font-size: 16px;
	}
	.explorations-head {
		margin-bottom: 36px;
	}

	/* Services */
	.services-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.service-card {
		padding: 24px;
		gap: 12px;
	}
	.service-title {
		font-size: 26px;
	}
	.service-desc {
		font-size: 14px;
	}

	/* Contact */
	.contact {
		padding: 80px 0 60px;
	}
	.contact-title {
		font-size: clamp(48px, 14vw, 88px);
		margin: 20px 0 36px;
	}
	.contact-email {
		margin-top: 48px;
		font-size: 20px;
	}
	.contact-actions .btn {
		padding: 14px 22px;
		font-size: 13px;
	}

	/* Footer */
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.footer-links {
		flex-wrap: wrap;
		gap: 16px 20px;
	}
}

/* Phones (≤ 520px) */
@media (max-width: 520px) {
	:root {
		--gutter: 20px;
	}
	section {
		padding: 60px 0;
	}

	/* Hero */
	.hero {
		padding: 36px 0 60px;
	}
	.hero-pill {
		font-size: 10px;
		letter-spacing: 0.06em;
		padding: 6px 12px;
	}
	.hero-display {
		font-size: clamp(40px, 13vw, 64px);
	}
	.hero-lede {
		font-size: 15px;
		line-height: 1.55;
	}
	.stack-label {
		font-size: 10px;
	}
	.tool-chips span {
		font-size: 11px;
		padding: 5px 10px;
	}
	.hero-cta {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.hero-cta .btn {
		width: 100%;
		justify-content: center;
	}

	/* Intro */
	.intro h2 {
		font-size: clamp(32px, 10vw, 44px);
	}
	.intro-body p {
		font-size: 15px;
	}
	.intro-body p:first-child::first-letter {
		font-size: 2.6em;
	}
	.intro-badge {
		font-size: 11px;
		padding: 7px 12px;
		flex-wrap: wrap;
	}

	/* Sections */
	.section-label {
		font-size: clamp(30px, 10vw, 44px);
	}
	.section-sub {
		font-size: 10px;
		letter-spacing: 0.14em;
	}

	/* Portfolio */
	.project-title {
		font-size: 20px;
	}
	.project.featured .project-title {
		font-size: 22px;
	}
	.project-tag,
	.expl-tag {
		font-size: 9px;
	}
	.project-arrow {
		width: 36px;
		height: 36px;
		top: 14px;
		right: 14px;
	}
	.project-arrow svg {
		width: 14px;
		height: 14px;
	}
	.project-tag {
		top: 14px;
		left: 14px;
	}

	/* Principles */
	.principle-quote {
		font-size: 18px;
	}
	.principle-text {
		font-size: 17px;
	}

	/* Word marquee */
	.word-marquee-item {
		font-size: clamp(32px, 11vw, 48px);
		gap: 24px;
	}
	.word-marquee-track {
		gap: 24px;
		padding-right: 24px;
	}

	/* Experience */
	.exp-company {
		font-size: 20px;
	}
	.exp-desc {
		font-size: 13.5px;
	}

	/* Explorations */
	.expl-card {
		flex: 0 0 clamp(200px, 72vw, 260px);
	}
	.explorations-meta {
		font-size: 11px;
	}

	/* Services */
	.service-title {
		font-size: 22px;
	}
	.service-card {
		padding: 22px 20px;
		border-radius: 18px;
	}

	/* Contact */
	.contact-title {
		font-size: clamp(40px, 16vw, 64px);
	}
	.contact-actions {
		flex-direction: column;
		width: 100%;
		align-items: stretch;
	}
	.contact-actions .btn {
		width: 100%;
		justify-content: center;
	}
	.contact-email {
		font-size: 17px;
	}
}

/* Very small (≤ 380px) */
@media (max-width: 380px) {
	:root {
		--gutter: 16px;
	}
	.hero-display {
		font-size: clamp(36px, 14vw, 52px);
	}
	.section-label {
		font-size: clamp(28px, 11vw, 40px);
	}
	.intro h2 {
		font-size: clamp(28px, 11vw, 40px);
	}
	.logo {
		font-size: 18px;
	}
}

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.1ms !important;
		scroll-behavior: auto !important;
	}
	.expl-row-inner {
		animation: none !important;
	}
	.word-marquee-track {
		animation: none !important;
	}
}

/* ============ IMAGE GALLERY MARQUEE ============ */
.gallery-marquee {
	padding: 90px 0;
	background: var(--bg);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.marquee-row {
	display: flex;
	width: 100%;
	overflow: hidden;
	/* Fades out the left and right edges */
	mask-image: linear-gradient(90deg, transparent 0, black 5%, black 95%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, black 5%, black 95%, transparent 100%);
}

.marquee-track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.marquee-group {
	display: flex;
	gap: 24px;
	padding-right: 24px; /* Critical: Matches the gap to ensure the loop is invisible */
	flex-shrink: 0;
}

/* Animations */
.marquee-row.rtl .marquee-track {
	-webkit-animation: marqueeRTL 35s linear infinite;
	animation: marqueeRTL 35s linear infinite;
}

.marquee-row.ltr .marquee-track {
	-webkit-animation: marqueeLTR 35s linear infinite;
	animation: marqueeLTR 35s linear infinite;
}

/* Pause on hover (desktop) or tap/hold (mobile) */
.marquee-row:hover .marquee-track,
.marquee-row:active .marquee-track {
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

/* Image Cards */
.img-card {
	width: clamp(240px, 20vw, 320px);
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid var(--border);
	background: var(--surface);
}

.img-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--ease);
}

.img-card:hover img {
	transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Hardware Accelerated Keyframes */
@-webkit-keyframes marqueeRTL {
	from {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	to {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
}
@keyframes marqueeRTL {
	from {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	to {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
}

@-webkit-keyframes marqueeLTR {
	from {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes marqueeLTR {
	from {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

/* Mobile Adjustments */
@media (max-width: 768px) {
	.gallery-marquee {
		gap: 16px;
		padding: 60px 0;
	}
	.marquee-group {
		gap: 16px;
		padding-right: 16px; /* Must continue to match gap */
	}
	/* Speed up on mobile */
	.marquee-row.rtl .marquee-track {
		animation-duration: 20s;
	}
	.marquee-row.ltr .marquee-track {
		animation-duration: 20s;
	}
}
