/* ==========================================================================
   Nova v3.0 — Titanium Aerospace Optics & Inner-Glow Chamfered Frame System
   Zero plastic 1px boxes. Heavy physical thickness, directional specular edges,
   deep inner luminescence, and asymmetric chamfered / reticle silhouettes.
   ========================================================================== */

:root {
	--nv-bg: #05060b;
	--nv-surface: rgba(14, 18, 30, 0.68);
	--nv-cyan: #5eead4;
	--nv-sky: #38bdf8;
	--nv-indigo: #818cf8;
	--nv-text: #f8fafc;
	--nv-soft: #94a3b8;
}

body.nv {
	background:
		radial-gradient(ellipse 80% 50% at 70% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
		radial-gradient(ellipse 60% 45% at 10% 35%, rgba(129, 140, 248, 0.12), transparent 55%),
		#05060b !important;
	color: var(--nv-text);
}

/* Header — heavy smoked glass bar with top specular & bottom etched hairline */
.site-head.glass {
	background: rgba(6, 8, 15, 0.82) !important;
	backdrop-filter: blur(22px) saturate(150%);
	border-bottom: 2px solid rgba(94, 234, 212, 0.22) !important;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.6) !important;
	border-radius: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	top: 0 !important;
}

.site-head .nav-desktop .nav__list a {
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #cbd5e1;
	padding: 6px 10px;
}

.site-head .nav-desktop .nav__list a:hover,
.site-head .nav-desktop .nav__list .current-menu-item > a {
	color: var(--nv-cyan);
}

/* Signature Chamfered Thick Inner-Glow Frame Mixin */
.nv-chamfer {
	position: relative;
	background: linear-gradient(155deg, rgba(22, 28, 46, 0.82) 0%, rgba(8, 11, 20, 0.92) 100%);
	backdrop-filter: blur(24px) saturate(140%);
	border: 2.5px solid rgba(148, 163, 184, 0.28);
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 0 34px rgba(56, 189, 248, 0.12),
		0 24px 60px rgba(0, 0, 0, 0.72);
}

/* Asymmetric Optical Frame with Reticle Brackets */
.nv-optic-frame {
	position: relative;
	background: linear-gradient(160deg, rgba(18, 24, 40, 0.78), rgba(7, 9, 16, 0.94));
	backdrop-filter: blur(22px) saturate(145%);
	border: 2px solid rgba(56, 189, 248, 0.32);
	border-radius: 4px 24px 4px 24px;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.26),
		inset 0 -2px 0 rgba(56, 189, 248, 0.18),
		inset 0 0 38px rgba(56, 189, 248, 0.11),
		0 22px 54px rgba(0, 0, 0, 0.68);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nv-optic-frame:hover {
	border-color: rgba(94, 234, 212, 0.72);
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.45),
		inset 0 0 48px rgba(94, 234, 212, 0.22),
		0 28px 70px rgba(0, 0, 0, 0.85);
	transform: translateY(-4px);
}

/* Tactile Chamfered Buttons */
.btn--nova {
	background: linear-gradient(135deg, #e0f2fe 0%, #5eead4 100%) !important;
	color: #05060b !important;
	border: 2px solid #ffffff !important;
	border-radius: 2px 12px 2px 12px !important;
	box-shadow: inset 0 1px 0 #ffffff, inset 0 -2px 6px rgba(0, 0, 0, 0.22), 0 10px 28px rgba(94, 234, 212, 0.24) !important;
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 800;
	padding: 13px 24px !important;
}

.btn--nova:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 1px 0 #ffffff, 0 14px 36px rgba(94, 234, 212, 0.38) !important;
}

.btn--ghost {
	background: rgba(15, 23, 42, 0.65) !important;
	border: 2px solid rgba(148, 163, 184, 0.38) !important;
	border-radius: 12px 2px 12px 2px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 18px rgba(56, 189, 248, 0.08) !important;
	color: #f8fafc !important;
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 13px 22px !important;
}

.btn--ghost:hover {
	border-color: var(--nv-cyan) !important;
	color: var(--nv-cyan) !important;
	box-shadow: inset 0 0 24px rgba(94, 234, 212, 0.22) !important;
}

/* ==========================================================================
   HERO — Full Atmospheric Depth + Asymmetric Overlapping Glass Composition
   ========================================================================== */
.hero {
	position: relative;
	min-height: clamp(640px, 88vh, 880px) !important;
	padding-block: clamp(54px, 7vw, 96px) !important;
	display: flex !important;
	align-items: center !important;
	border-bottom: 2px solid rgba(94, 234, 212, 0.22);
	overflow: hidden;
}

/* Perspective architectural grid floor + atmospheric glow */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 72% 42%, rgba(56, 189, 248, 0.20), transparent 48%),
		radial-gradient(circle at 22% 75%, rgba(129, 140, 248, 0.14), transparent 44%),
		linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
	background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
	mask-image: radial-gradient(ellipse 95% 90% at 55% 45%, #000 45%, transparent 95%);
	z-index: 1;
	pointer-events: none;
}

.nv-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(32px, 4.5vw, 64px);
	align-items: center;
	position: relative;
	z-index: 4;
}

.nv-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nv-cyan);
	border: 1.5px solid rgba(94, 234, 212, 0.45);
	background: rgba(10, 20, 32, 0.75);
	box-shadow: inset 0 0 18px rgba(94, 234, 212, 0.14);
	padding: 7px 15px;
	border-radius: 2px 10px 2px 10px;
	margin-bottom: 24px;
}

.nv-kicker-dot {
	width: 7px;
	height: 7px;
	background: var(--nv-cyan);
	box-shadow: 0 0 12px var(--nv-cyan);
}

.nv-hero-title {
	font-family: var(--display);
	font-size: clamp(3rem, 5.8vw, 5.2rem);
	line-height: 0.96;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.nv-hero-title span {
	background: linear-gradient(115deg, #ffffff 0%, #5eead4 52%, #818cf8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Asymmetric Hero Visual Stack: Main Chamfered Viewport + Floating Offset Spec Card */
.nv-hero-stack {
	position: relative;
	padding-bottom: 28px;
}

.nv-hud-stage {
	position: relative;
	background: linear-gradient(155deg, rgba(16, 22, 38, 0.85), rgba(6, 8, 15, 0.96));
	backdrop-filter: blur(26px) saturate(150%);
	border: 2.5px solid rgba(94, 234, 212, 0.36);
	border-radius: 4px 28px 4px 28px;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.34),
		inset 0 0 42px rgba(56, 189, 248, 0.15),
		0 28px 80px rgba(0, 0, 0, 0.82);
	overflow: hidden;
}

.nv-hud-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 13px 20px;
	border-bottom: 1.5px solid rgba(94, 234, 212, 0.22);
	background: rgba(8, 12, 22, 0.85);
	font-family: var(--mono);
	font-size: 0.72rem;
	color: #cbd5e1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nv-hud-bar strong {
	color: var(--nv-cyan);
}

.nv-hud-canvas-wrap {
	position: relative;
	height: clamp(320px, 42vh, 420px);
	background: radial-gradient(circle at 50% 48%, rgba(56, 189, 248, 0.18), rgba(5, 6, 11, 0.95) 75%);
}

#nvOrbitalCanvas {
	width: 100%;
	height: 100%;
	display: block;
}

.nv-hud-presets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1.5px solid rgba(94, 234, 212, 0.2);
	background: rgba(7, 10, 18, 0.9);
}

.nv-hud-btn {
	padding: 13px 16px;
	background: transparent;
	border: none;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease;
}

.nv-hud-btn:last-child { border-right: none; }
.nv-hud-btn span {
	display: block;
	font-family: var(--mono);
	font-size: 0.66rem;
	color: var(--nv-soft);
	text-transform: uppercase;
}
.nv-hud-btn strong {
	display: block;
	font-size: 0.84rem;
	color: #ffffff;
	margin-top: 2px;
}
.nv-hud-btn.is-active {
	background: linear-gradient(180deg, rgba(94, 234, 212, 0.18), rgba(56, 189, 248, 0.06));
	box-shadow: inset 0 2px 0 var(--nv-cyan);
}
.nv-hud-btn.is-active span { color: var(--nv-cyan); }

/* Floating Offset Telemetry Module breaking symmetry cleanly below stage */
.nv-hud-float {
	position: relative;
	margin-top: 16px;
	margin-left: -18px;
	width: fit-content;
	padding: 14px 22px;
	background: rgba(11, 15, 28, 0.90);
	backdrop-filter: blur(20px);
	border: 2px solid rgba(129, 140, 248, 0.56);
	border-radius: 16px 2px 16px 2px;
	box-shadow:
		inset 0 1.5px 0 rgba(255, 255, 255, 0.34),
		inset 0 0 24px rgba(129, 140, 248, 0.2),
		0 18px 40px rgba(0, 0, 0, 0.78);
	display: flex;
	gap: 24px;
	align-items: center;
	z-index: 5;
}

.nv-hud-float div span {
	display: block;
	font-family: var(--mono);
	font-size: 0.64rem;
	color: #94a3b8;
	text-transform: uppercase;
}

.nv-hud-float div strong {
	font-family: var(--display);
	font-size: 1rem;
	color: #ffffff;
}

/* ==========================================================================
   TILT / CAPABILITY / WORK CARDS — Thick Inner-Glow Optical Frames
   ========================================================================== */
.tilt-card.glass,
.stats.glass {
	background: linear-gradient(155deg, rgba(18, 24, 42, 0.78), rgba(8, 11, 20, 0.92)) !important;
	border: 2px solid rgba(148, 163, 184, 0.26) !important;
	border-radius: 4px 22px 4px 22px !important;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.24),
		inset 0 0 32px rgba(56, 189, 248, 0.09),
		0 18px 45px rgba(0, 0, 0, 0.62) !important;
}

.tilt-card.glass:hover {
	border-color: rgba(94, 234, 212, 0.65) !important;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.4),
		inset 0 0 42px rgba(94, 234, 212, 0.18),
		0 24px 55px rgba(0, 0, 0, 0.8) !important;
}

/* Broken-grid asymmetric Work Grid on Home & Work */
.work-card {
	background: linear-gradient(160deg, rgba(16, 22, 36, 0.84), rgba(7, 10, 18, 0.96)) !important;
	border: 2.5px solid rgba(148, 163, 184, 0.28) !important;
	border-radius: 4px 24px 4px 24px !important;
	padding: 18px !important;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.26),
		inset 0 0 36px rgba(56, 189, 248, 0.1),
		0 20px 50px rgba(0, 0, 0, 0.65) !important;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.work-card:nth-child(even) {
	border-radius: 24px 4px 24px 4px !important;
}

.work-card:hover {
	border-color: rgba(94, 234, 212, 0.78) !important;
	transform: translateY(-5px);
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.42),
		inset 0 0 46px rgba(94, 234, 212, 0.2),
		0 28px 70px rgba(0, 0, 0, 0.85) !important;
}

.work-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 2px 16px 2px 16px;
	overflow: hidden;
	border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.work-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-family: var(--mono);
	font-size: 0.7rem;
	padding: 4px 10px;
	border-radius: 2px 8px 2px 8px;
	background: rgba(5, 6, 11, 0.88);
	border: 1.5px solid rgba(94, 234, 212, 0.6);
	box-shadow: inset 0 0 12px rgba(94, 234, 212, 0.22);
	color: var(--nv-cyan);
	z-index: 2;
}

/* Footer list alignment fix */
.foot-grid ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Inner Page Shared Thick Optical Containers */
.nv-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.nv-frame {
	border: 2.5px solid rgba(94, 234, 212, 0.34);
	border-radius: 4px 24px 4px 24px;
	overflow: hidden;
	background: #0c0e18;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.25),
		0 24px 60px rgba(0, 0, 0, 0.72);
}

.nv-frame img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.nv-roster-grid,
.nv-journal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.nv-roster-card,
.nv-journal-card,
.nv-terminal__panel {
	border: 2px solid rgba(148, 163, 184, 0.26);
	border-radius: 4px 22px 4px 22px;
	background: linear-gradient(155deg, rgba(16, 22, 38, 0.82), rgba(7, 10, 18, 0.95));
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.24),
		inset 0 0 32px rgba(56, 189, 248, 0.1),
		0 20px 50px rgba(0, 0, 0, 0.65);
}

.nv-roster-card { padding: 26px; }
.nv-roster-card span {
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nv-cyan);
	display: block;
	margin-bottom: 8px;
}

.nv-journal-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	border: 2.5px solid rgba(94, 234, 212, 0.34);
	border-radius: 4px 26px 4px 26px;
	overflow: hidden;
	background: linear-gradient(155deg, rgba(16, 22, 38, 0.86), rgba(7, 10, 18, 0.96));
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.28),
		inset 0 0 38px rgba(56, 189, 248, 0.12),
		0 24px 60px rgba(0, 0, 0, 0.72);
	margin-bottom: 36px;
}

.nv-journal-featured img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.nv-journal-featured__body {
	padding: clamp(24px, 3vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
}

.nv-journal-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.nv-journal-card:hover {
	border-color: var(--nv-cyan);
	transform: translateY(-4px);
}
.nv-journal-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.nv-journal-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.nv-terminal {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
}
.nv-terminal__panel { padding: clamp(24px, 3vw, 36px); }

.nv-pill-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.nv-pill {
	font-family: var(--mono);
	font-size: 0.76rem;
	text-transform: uppercase;
	padding: 8px 14px;
	border: 1.5px solid rgba(148, 163, 184, 0.35);
	border-radius: 2px 10px 2px 10px;
	background: rgba(8, 12, 22, 0.75);
	color: #cbd5e1;
	cursor: pointer;
}

.nv-pill.is-selected {
	background: var(--nv-cyan);
	color: #05060b;
	border-color: #ffffff;
	font-weight: 800;
	box-shadow: 0 0 18px rgba(94, 234, 212, 0.3);
}

.nv-field {
	width: 100%;
	border: 1.5px solid rgba(148, 163, 184, 0.32);
	border-radius: 2px 10px 2px 10px;
	background: rgba(5, 6, 11, 0.85);
	padding: 12px 14px;
	color: #ffffff;
	margin-top: 8px;
}

.nv-case-specs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 2px solid rgba(94, 234, 212, 0.32);
	border-radius: 4px 20px 4px 20px;
	background: rgba(14, 18, 30, 0.85);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 28px rgba(56, 189, 248, 0.1);
	margin: 24px 0 30px;
}

.nv-case-spec {
	padding: 16px 20px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.nv-case-spec:last-child { border-right: none; }
.nv-case-spec span {
	display: block;
	font-family: var(--mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	color: var(--nv-cyan);
	margin-bottom: 5px;
}

/* Blog Filters & Prose Styling */
.nv-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.nv-blog-prose {
	font-size: 1.05rem;
	line-height: 1.78;
	color: #e2e8f0;
}

.nv-blog-prose h2 {
	font-family: var(--display);
	font-size: clamp(1.4rem, 2.4vw, 1.95rem);
	color: #ffffff;
	margin: 2em 0 0.7em;
	padding-top: 0.6em;
	border-top: 1px solid rgba(94, 234, 212, 0.2);
}

.nv-blog-prose p {
	margin-bottom: 1.25em;
}

.nv-blog-prose pre {
	background: #04050a;
	border: 2px solid rgba(94, 234, 212, 0.28);
	border-radius: 4px 16px 4px 16px;
	padding: 18px 20px;
	overflow-x: auto;
	font-family: var(--mono);
	font-size: 0.86rem;
	color: #a5f3fc;
	margin: 1.4em 0;
}

.nv-blog-prose figure.nv-fig {
	margin: 1.8em 0;
	border: 2px solid rgba(94, 234, 212, 0.3);
	border-radius: 4px 20px 4px 20px;
	overflow: hidden;
	background: #080b14;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 40px rgba(0, 0, 0, 0.6);
}

.nv-blog-prose figure.nv-fig img {
	width: 100%;
	max-height: 440px;
	object-fit: cover;
	display: block;
}

.nv-blog-prose figure.nv-fig figcaption {
	padding: 10px 16px;
	font-family: var(--mono);
	font-size: 0.74rem;
	color: var(--nv-soft);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nv-blog-prose table.nv-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6em 0;
	font-size: 0.92rem;
}

.nv-blog-prose table.nv-table th,
.nv-blog-prose table.nv-table td {
	padding: 12px 14px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	text-align: left;
}

.nv-blog-prose table.nv-table th {
	background: rgba(56, 189, 248, 0.12);
	font-family: var(--mono);
	font-size: 0.78rem;
	text-transform: uppercase;
	color: var(--nv-cyan);
}

.nv-blog-prose .nv-callout {
	margin: 1.6em 0;
	padding: 18px 22px;
	border-left: 3px solid var(--nv-cyan);
	background: rgba(56, 189, 248, 0.08);
	border-radius: 0 12px 12px 0;
}

@media (max-width: 960px) {
	.nv-hero-grid,
	.nv-split,
	.nv-roster-grid,
	.nv-journal-featured,
	.nv-journal-grid,
	.nv-terminal {
		grid-template-columns: 1fr;
	}
	.nv-hud-float {
		position: static;
		margin-top: 14px;
	}
	.nv-case-specs {
		grid-template-columns: repeat(2, 1fr);
	}
}
