/* ============================================
   Nicket Uttarwar — Lightweight HTML/CSS
   ============================================ */

:root {
	--bg-deep: #06060c;
	--bg-mid: #0a0a12;
	--glass-bg: rgba(255, 255, 255, 0.06);
	--glass-border: rgba(255, 255, 255, 0.1);
	--glass-shadow: rgba(0, 0, 0, 0.3);
	--text: #f2f2fa;
	--text-muted: #9a9ab2;
	--accent: #6b8aff;
	--accent-warm: #b87cff;
	--accent-glow: rgba(107, 138, 255, 0.35);
	--fluid-1: #252d52;
	--fluid-2: #3d2a4a;
	--font-sans: system-ui, -apple-system, sans-serif;
	--font-mono: ui-monospace, monospace;
	--radius: 16px;
	--radius-sm: 12px;
	--nav-height: 64px;
	--safe-top: env(safe-area-inset-top, 0);
	--safe-bottom: env(safe-area-inset-bottom, 0);
	--safe-left: env(safe-area-inset-left, 0);
	--safe-right: env(safe-area-inset-right, 0);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	background: var(--bg-deep);
	color: var(--text);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Skip link — keyboard / screen reader */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	padding: 0.75rem 1.25rem;
	background: var(--bg-mid);
	color: var(--text);
	border: 2px solid var(--accent);
	border-radius: var(--radius-sm);
	font-weight: 600;
}
.skip-link:focus {
	left: max(var(--safe-left), 0.75rem);
	top: max(var(--safe-top), 0.75rem);
	position: fixed;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.blob { animation: none; }
	.scroll-dot { animation: none; }
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
a:hover {
	color: var(--accent-warm);
}
a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ---- Navigation ---- */
.main-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: calc(var(--nav-height) + var(--safe-top));
	min-height: 64px;
	padding-top: var(--safe-top);
	background: rgba(6, 6, 12, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 1px 0 var(--glass-border);
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 max(24px, var(--safe-left));
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-logo {
	display: flex;
	align-items: center;
}
.nav-logo:hover {
	opacity: 0.9;
}
.nav-logo-img {
	display: block;
	height: 36px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
}

.nav-links {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
}
.nav-links a {
	color: var(--text-muted);
	font-weight: 500;
}
.nav-links a:hover {
	color: var(--text);
}
.text-link {
	color: var(--accent);
	font-weight: 500;
}
.text-link:hover {
	color: var(--accent-warm);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	color: var(--text);
}
.nav-toggle:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
#nav-toggle:checked ~ .nav-toggle span:nth-child(1) {
	transform: translateY(4px) rotate(45deg);
}
#nav-toggle:checked ~ .nav-toggle span:nth-child(2) {
	opacity: 0;
}
#nav-toggle:checked ~ .nav-toggle span:nth-child(3) {
	transform: translateY(-4px) rotate(-45deg);
}
body:has(#nav-toggle:checked) { overflow: hidden; }

/* ---- Glass panels (fluid UI) ---- */
.glass-panel {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-panel:hover {
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---- Blobs (fluid decorative shapes) ---- */
.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.22;
	pointer-events: none;
	animation: blobFloat 20s ease-in-out infinite;
}
.blob-1 {
	width: 400px;
	height: 400px;
	background: var(--fluid-1);
	top: -100px;
	right: -100px;
	animation-delay: 0s;
}
.blob-2 {
	width: 320px;
	height: 320px;
	background: var(--fluid-2);
	bottom: -80px;
	left: -80px;
	animation-delay: -6s;
}
.blob-3 {
	width: 350px;
	height: 350px;
	background: var(--accent-warm);
	top: 30%;
	left: -120px;
	opacity: 0.25;
	animation-delay: -3s;
}
.blob-4 {
	width: 380px;
	height: 380px;
	background: var(--fluid-1);
	bottom: 10%;
	right: -100px;
	animation-delay: -9s;
}
.blob-5 {
	width: 300px;
	height: 300px;
	background: var(--fluid-2);
	top: -80px;
	left: 30%;
	animation-delay: -12s;
}

@keyframes blobFloat {
	0%, 100% { transform: translate(0, 0) scale(1); }
	25% { transform: translate(20px, -30px) scale(1.05); }
	50% { transform: translate(-15px, 20px) scale(0.98); }
	75% { transform: translate(25px, 15px) scale(1.02); }
}

/* ---- Layout ---- */
main {
	position: relative;
	z-index: 1;
}

/* ---- Breadcrumbs (multi-page) ---- */
.breadcrumb-wrap {
	position: relative;
	z-index: 1;
	padding: calc(var(--nav-height) + var(--safe-top) + 24px) max(24px, var(--safe-left)) 0 max(24px, var(--safe-right));
}
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0 0 32px;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
.breadcrumb a {
	color: var(--text-muted);
}
.breadcrumb a:hover {
	color: var(--accent);
}
.breadcrumb-sep {
	opacity: 0.5;
	user-select: none;
}
.breadcrumb-current {
	color: var(--text);
	font-weight: 500;
}
.nav-links a.nav-active {
	color: var(--text);
}
.nav-links a.nav-active:hover {
	color: var(--accent-warm);
}

/* ---- Inner pages (no fluid canvas) ---- */
body.page-inner main {
	padding-bottom: 48px;
}
.page-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 max(24px, var(--safe-left)) 48px max(24px, var(--safe-right));
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 max(24px, var(--safe-left)) 0 max(24px, var(--safe-right));
}

.section {
	position: relative;
	padding: 100px 0;
	min-height: 50vh;
}

.section-header {
	text-align: center;
	margin-bottom: 56px;
}
.section-header h1,
.section-header h2 {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--text);
	letter-spacing: -0.02em;
}
.section-header p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.art-site-link {
	text-align: center;
	margin: -40px 0 40px;
}

/* ---- Hero ---- */
.hero {
	min-height: 100vh;
	min-height: calc(100dvh - var(--nav-height));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: calc(var(--nav-height) + var(--safe-top)) max(24px, var(--safe-right)) calc(80px + var(--safe-bottom)) max(24px, var(--safe-left));
}

.hero-content {
	max-width: 640px;
}

.hero-label {
	font-family: var(--font-mono);
	font-size: clamp(0.75rem, 2.5vw, 0.9rem);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 20px;
}

.hero-title {
	font-size: clamp(2rem, 7vw, 3.5rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 12px;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, #fff 0%, #c0c0e0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-family: var(--font-mono);
	font-size: clamp(0.8rem, 2.5vw, 0.95rem);
	letter-spacing: 0.1em;
	color: var(--text-muted);
	margin: 0 0 32px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 28px;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover {
	transform: translateY(-2px);
	opacity: 0.95;
}
.btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
	color: #fff;
	box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover {
	box-shadow: 0 12px 36px var(--accent-glow);
}

.btn-glass {
	background: var(--glass-bg);
	color: var(--text);
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(12px);
}
.btn-glass:hover {
	border-color: rgba(255, 255, 255, 0.2);
}

.scroll-hint {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
}
.scroll-dot {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--text-muted);
	animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
	0%, 100% { opacity: 0.5; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(8px); }
}

/* ---- Intro ---- */
.intro-section .intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.intro-text {
	padding: 40px;
}
.intro-text p {
	margin: 0 0 20px;
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}
.intro-text p:last-child {
	margin-bottom: 0;
}

.fluid-card {
	overflow: hidden;
	padding: 0;
	aspect-ratio: 3/4;
	max-height: 480px;
}
.fluid-card-inner {
	width: 100%;
	height: 100%;
	position: relative;
	background: linear-gradient(145deg, var(--fluid-1) 0%, var(--fluid-2) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.fluid-card-placeholder {
	color: rgba(255,255,255,0.5);
	font-size: 1.2rem;
	display: none;
}
.fluid-card-inner:has(.fluid-card-placeholder:only-child),
.fluid-card-inner .intro-image[style*="display: none"] + .fluid-card-placeholder {
	display: flex;
}
.intro-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.intro-grid--compact .intro-text { padding: 32px; }
.intro-links {
	padding: 28px 32px;
}
.intro-links h3 {
	margin: 0 0 16px;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text);
}
.page-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.page-links li { margin-bottom: 10px; }
.page-links a {
	display: inline-block;
	color: var(--text-muted);
	font-weight: 500;
}
.page-links a:hover { color: var(--accent); }

/* ---- Experience timeline ---- */
.experience-section {
	padding: 100px 0 80px;
}
.timeline {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 720px;
	margin: 0 auto 48px;
}
.timeline-item {
	padding: 28px 32px;
	transition: transform 0.3s ease;
}
.timeline-item:hover {
	transform: translateX(6px);
}
.timeline-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-bottom: 12px;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-muted);
}
.timeline-date {
	color: var(--accent);
}
.timeline-item h3 {
	margin: 0 0 12px;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
}
.timeline-item p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.65;
}
.timeline-item.dissolved .timeline-item-title {
	text-decoration: line-through;
	color: var(--text-muted);
}
.timeline-item.dissolved .dissolved-badge {
	display: inline-block;
	margin-left: 0.5em;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-muted);
	letter-spacing: 0.02em;
}
.experience-note {
	margin-top: 48px;
	padding: 24px 28px;
	border-left: 3px solid var(--accent);
	background: var(--glass-bg);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.experience-note p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.65;
	font-style: italic;
}
.section-cta {
	text-align: center;
}

/* ---- Education ---- */
.education-section {
	padding: 72px 0;
}
.education-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	max-width: 640px;
	margin: 0 auto;
}
.education-card {
	padding: 28px 32px;
	transition: transform 0.3s ease;
}
.education-card:hover {
	transform: translateY(-4px);
}
.education-logo {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin: 0 auto 16px;
}
.education-date {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--accent);
	margin-bottom: 8px;
}
.education-card h3 {
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
}
.education-card p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-muted);
}

/* ---- Heritage explainer (Naturell → Zydus) ---- */
.heritage-section {
	padding: 72px 0;
}
.heritage-explainer {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 820px;
	margin: 0 auto;
}
.explainer-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	overflow: hidden;
	padding: 0;
}
.explainer-block:nth-child(even) {
	grid-template-columns: 1fr 1fr;
}
.explainer-block:nth-child(even) .explainer-img-wrap { order: 2; }
.explainer-block:nth-child(even) .explainer-body { order: 1; }
.explainer-img-wrap {
	position: relative;
	min-height: 220px;
	background: linear-gradient(145deg, var(--fluid-1) 0%, var(--fluid-2) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.explainer-img-wrap--video {
	min-height: 0;
	background: transparent;
}
.explainer-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 220px;
}
.explainer-img-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 1rem;
	font-weight: 500;
	padding: 24px;
	text-align: center;
}
.explainer-body {
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.explainer-body h3 {
	margin: 0 0 12px;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
}
.explainer-body p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--text-muted);
}
.heritage-video-wrap {
	margin: 0;
	max-width: none;
}
.heritage-video-wrap .heritage-video {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 0;
	padding: 0;
	overflow: hidden;
}
.heritage-video-wrap .explainer-img-wrap--video {
	order: 1;
}
.heritage-video-wrap .explainer-body { order: 2; }
.video-embed-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.video-embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.heritage-video-wrap .explainer-img-wrap--video {
	position: relative;
	min-height: 0;
	aspect-ratio: 16/9;
}
.heritage-video-wrap .explainer-img-wrap--video .video-embed-container {
	position: absolute;
	inset: 0;
	height: 100%;
	padding-bottom: 0;
}
.video-embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ---- Skill cards (text-first, no images) ---- */
.skills-section {
	padding: 48px 0 56px;
}
.skills-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.skill-card {
	position: relative;
	display: flex;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.skill-card:hover {
	transform: translateY(-4px);
}
.skill-card-accent {
	width: 4px;
	flex-shrink: 0;
	background: linear-gradient(180deg, var(--accent) 0%, var(--accent-warm) 100%);
}
.skill-card-accent--devops {
	background: linear-gradient(180deg, #4a9eff 0%, #6b8aff 100%);
}
.skill-card-accent--ai {
	background: linear-gradient(180deg, #b87cff 0%, #e08cff 100%);
}
.skill-card-body {
	flex: 1;
	padding: 24px 24px 24px 20px;
}
.skill-card-body h3 {
	margin: 0 0 6px;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.01em;
}
.skill-card-sub {
	margin: 0 0 16px;
	color: var(--text-muted);
	font-size: 0.875rem;
}
.skill-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	color: var(--text-muted);
	line-height: 1.75;
}
.skill-list li::before {
	content: '· ';
	color: var(--accent);
	font-weight: 700;
}

/* ---- Portfolio cards (legacy, e.g. art grid) ---- */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.portfolio-card {
	overflow: hidden;
	transition: transform 0.3s ease;
}
.portfolio-card:hover {
	transform: translateY(-4px);
}
.portfolio-card .card-image-wrap {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--fluid-2);
}
.portfolio-card .card-image-wrap.no-img {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.9rem;
}
.card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.portfolio-card .card-body {
	padding: 20px;
}
.portfolio-card .card-body h3 {
	margin: 0 0 4px;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
}
.card-sub {
	margin: 0 0 12px;
	color: var(--text-muted);
	font-size: 0.875rem;
}

/* ---- Stats ---- */
.stats-section {
	padding: 72px 0;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.stat-item {
	padding: 32px 24px;
	text-align: center;
	transition: transform 0.3s ease;
}
.stat-item:hover {
	transform: translateY(-4px);
}
.stat-icon {
	display: block;
	font-size: 1.5rem;
	color: var(--accent);
	margin-bottom: 12px;
	opacity: 0.9;
}
.stat-value {
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--text);
	display: inline-block;
}
.stat-suffix {
	font-size: 1.5rem;
	color: var(--text-muted);
}
.stat-label {
	display: block;
	margin-top: 4px;
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* ---- About ---- */
.about-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.about-card {
	padding: 32px 24px;
	transition: transform 0.3s ease;
}
.about-card:hover {
	transform: translateY(-4px);
}
.about-icon {
	font-size: 2rem;
	margin-bottom: 16px;
	line-height: 1;
}
.about-card h3 {
	margin: 0 0 12px;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
}
.about-card p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* ---- FAQ ---- */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.faq-item {
	padding: 28px 32px;
}
.faq-item h3 {
	margin: 0 0 12px;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text);
}
.faq-item p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.65;
}

/* ---- Contact ---- */
.contact-block {
	text-align: center;
	padding: 48px;
	max-width: 560px;
	margin: 0 auto;
}
.contact-detail {
	margin: 0 0 12px;
}
.contact-detail:last-child {
	margin-bottom: 0;
}
.contact-email,
.contact-phone {
	font-family: var(--font-mono);
	font-size: 1.15rem;
	color: var(--accent);
	word-break: break-all;
}
.contact-email:hover,
.contact-phone:hover {
	color: var(--accent-warm);
}
.contact-address {
	font-size: 0.95rem;
	color: var(--text-muted);
}

/* ---- Art page (assets load lazy when page is visited) ---- */
.art-intro {
	padding: 28px 32px;
	margin-bottom: 32px;
}
.art-intro p {
	margin: 0;
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}
.art-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.art-card {
	overflow: hidden;
	transition: transform 0.3s ease;
}
.art-card:hover {
	transform: translateY(-6px);
}
.art-card-image {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--fluid-2);
}
.art-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.art-card-image.no-img {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.9rem;
}
.art-card-body {
	padding: 20px;
}
.art-card-body h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text);
}

/* ---- Life page (simple timeline) ---- */
.life-page .page-content {
	max-width: 720px;
}
.life-hero-simple {
	text-align: center;
	padding-top: 48px;
}
.life-hero-simple .life-title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--text);
}
.life-hero-simple .life-subtitle {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 24px;
}
.life-timeline-section {
	padding: 48px 0;
}
.life-block {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 32px;
	align-items: center;
	padding: 0;
	overflow: hidden;
}
.life-block-img {
	position: relative;
	background: var(--fluid-2);
	min-height: 200px;
}
.life-block-img img:first-child {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	max-height: 280px;
}
.life-block-img .life-school-logo {
	position: absolute;
	bottom: 12px;
	right: 12px;
	width: 48px;
	height: auto;
	object-fit: contain;
	background: rgba(6, 6, 12, 0.7);
	border-radius: 8px;
	padding: 4px;
}
.life-block-body {
	padding: 28px 24px;
}
.life-year {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}
.life-block-body h2 {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--text);
}
.life-loc {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0 0 12px;
}
.life-desc {
	font-size: 0.95rem;
	line-height: 1.65;
}

.life-company-status {
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-weight: 500;
}
.life-education-section .section-header {
	margin-bottom: 32px;
}
.life-edu-blocks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.life-edu-block {
	padding: 0;
	overflow: hidden;
}
.life-edu-img-wrap {
	position: relative;
	background: var(--fluid-2);
	margin-bottom: 16px;
}
.life-edu-img-wrap img:first-child {
	width: 100%;
	height: auto;
	max-height: 180px;
	object-fit: cover;
	display: block;
}
.life-edu-img-wrap .life-edu-logo {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 72px;
	height: 72px;
	object-fit: contain;
	background: rgba(6, 6, 12, 0.75);
	border-radius: 50%;
	padding: 8px;
}
.life-edu-block h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--text);
	padding: 0 20px;
}
.life-edu-block .life-loc {
	padding: 0 20px 20px;
	margin: 0;
}
.life-cta-section .life-desc {
	margin: 0;
}
@media (max-width: 768px) {
	.life-block {
		grid-template-columns: 1fr;
	}
	.life-block-img { order: 1; }
	.life-block-body { order: 2; padding: 24px 20px; }
	.life-edu-blocks {
		grid-template-columns: 1fr;
	}
}

/* ---- Footer ---- */
.main-footer {
	position: relative;
	z-index: 1;
	padding: 32px 24px;
	text-align: center;
	border-top: 1px solid var(--glass-border);
}
.main-footer p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-muted);
}
.main-footer a {
	color: var(--accent);
}
.main-footer a:hover {
	color: var(--accent-warm);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.skills-grid {
		grid-template-columns: 1fr;
	}
	.portfolio-grid {
		grid-template-columns: 1fr;
	}
	.intro-section .intro-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.intro-text { order: 2; padding: 28px 24px; }
	.intro-visual { order: 1; }
	.fluid-card { max-height: 380px; }
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.about-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.education-grid {
		grid-template-columns: 1fr;
	}
	.explainer-block {
		grid-template-columns: 1fr;
	}
	.explainer-block:nth-child(even) .explainer-img-wrap { order: 0; }
	.explainer-block:nth-child(even) .explainer-body { order: 0; }
	.explainer-img-wrap { min-height: 200px; }
	.explainer-img { min-height: 200px; }
	.explainer-body { padding: 24px; }
	.heritage-video-wrap .heritage-video {
		grid-template-columns: 1fr;
	}
	.heritage-video-wrap .explainer-img-wrap--video { order: 0; }
	.heritage-video-wrap .explainer-body { order: 0; }
	.faq-grid {
		grid-template-columns: 1fr;
	}
	.section-header { margin-bottom: 40px; }
}

@media (max-width: 768px) {
	.nav-logo-img {
		height: 32px;
		max-width: 160px;
	}
	.nav-links {
		position: fixed;
		top: calc(var(--nav-height) + var(--safe-top));
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(8, 8, 16, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		flex-direction: column;
		align-items: stretch;
		padding: max(24px, var(--safe-left)) max(24px, var(--safe-right)) max(32px, var(--safe-bottom));
		gap: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
	}
	.nav-links li {
		border-bottom: 1px solid var(--glass-border);
	}
	.nav-links a {
		display: block;
		padding: 16px 0;
		min-height: 48px;
		line-height: 1.4;
	}
	#nav-toggle:checked ~ .nav-links {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	.nav-toggle {
		display: flex;
	}
	.section {
		padding: 64px 0;
		min-height: auto;
	}
	.experience-section { padding: 64px 0 56px; }
	.timeline { margin-bottom: 40px; }
	.timeline-item {
		padding: 22px 20px;
	}
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.stat-item { padding: 24px 20px; }
	.about-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.about-card { padding: 24px 20px; }
	.hero-actions {
		flex-direction: column;
		gap: 12px;
		width: 100%;
		max-width: 320px;
	}
	.btn {
		width: 100%;
		max-width: 320px;
		min-height: 48px;
	}
	.section-cta .btn { max-width: 320px; }
	.contact-block {
		padding: 32px 24px;
	}
	.faq-item { padding: 22px 24px; }
	.main-footer {
		padding: 24px max(24px, var(--safe-left)) calc(24px + var(--safe-bottom)) max(24px, var(--safe-right));
	}
}

@media (max-width: 768px) {
	.art-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.blob {
		width: 180px !important;
		height: 180px !important;
		filter: blur(45px);
		opacity: 0.28;
	}
	.hero-title { margin-bottom: 28px; }
	.section-header h1,
	.section-header h2 { font-size: 1.5rem; }
	.section-header { margin-bottom: 32px; }
	.intro-text { padding: 22px 20px; }
	.intro-text p { font-size: 0.98rem; }
	.portfolio-card .card-body { padding: 20px; }
	.stat-value { font-size: 1.9rem; }
	.stat-suffix { font-size: 1.25rem; }
}

/* Portfolio pages: native lazy images defer off-screen rendering (Uttarwar Art uses its own CSS) */
main img[loading="lazy"] {
	content-visibility: auto;
}

/* 404 — root-absolute URLs in 404.html; works for any missing path (S3/CloudFront/Nginx) */
.page-404 .page-404-section {
	padding-top: clamp(2rem, 8vh, 4rem);
	padding-bottom: clamp(3rem, 12vh, 6rem);
}
.page-404-card {
	max-width: 520px;
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
}
.page-404-code {
	font-family: var(--font-mono);
	font-size: clamp(3rem, 10vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
	margin: 0 0 0.5rem;
	color: var(--accent);
	opacity: 0.9;
	letter-spacing: -0.06em;
}
.page-404-title {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	margin: 0 0 0.75rem;
	font-weight: 600;
}
.page-404-lead {
	color: var(--text-muted);
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
}
.page-404-visual {
	margin: 0 auto 1.75rem;
	max-width: 280px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--glass-border);
	box-shadow: 0 12px 40px var(--glass-shadow);
}
.page-404-image {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
	object-fit: cover;
	aspect-ratio: 1;
}
.page-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
}
