/* =====================================================================
   UNODEVS — futuristic dark agency theme
   Palette: pure black / white / silver
   ===================================================================== */

:root {
	--bg: #000000;
	--bg-2: #08080a;
	--bg-3: #0e0e12;
	--text: #f5f5f7;
	--muted: #9a9aa3;
	--faint: #55555e;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.16);
	--glass: rgba(255, 255, 255, 0.04);
	--glass-hover: rgba(255, 255, 255, 0.07);
	--silver: #c7c7d1;
	--grad-silver: linear-gradient(120deg, #ffffff 0%, #c7c7d1 40%, #6e6e78 100%);
	--glow: 0 0 40px rgba(255, 255, 255, 0.08);
	--radius: 18px;
	--radius-sm: 12px;
	--font-display: 'Space Grotesk', -apple-system, sans-serif;
	--font-body: 'Inter', -apple-system, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 76px;
}

/* ------------------------------------------------- Reset & base */
*, *::before, *::after { box-sizing: border-box; }

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

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.6em;
	letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

a { color: var(--text); text-decoration: none; transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
a:hover { color: #ffffff; }

::selection { background: rgba(255, 255, 255, 0.9); color: #000; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	position: fixed !important; top: 8px; left: 8px; z-index: 10000;
	background: #fff; color: #000; padding: 10px 18px; border-radius: 8px;
}

.container { width: min(1200px, 92vw); margin-inline: auto; }
.container-narrow { width: min(820px, 92vw); margin-inline: auto; }

/* ------------------------------------------------- Background FX */
#starfield {
	position: fixed; inset: 0; z-index: -2;
	width: 100%; height: 100%;
	background: var(--bg);
	pointer-events: none;
}

.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.aurora-blob {
	position: absolute; border-radius: 50%;
	filter: blur(110px); opacity: 0.4; will-change: transform;
}

.aurora-1 {
	width: 55vw; height: 55vw; top: -25vw; left: -12vw;
	background: radial-gradient(circle, rgba(200, 200, 215, 0.16), transparent 65%);
	animation: drift-1 26s ease-in-out infinite alternate;
}

.aurora-2 {
	width: 44vw; height: 44vw; top: 30vh; right: -18vw;
	background: radial-gradient(circle, rgba(150, 150, 175, 0.12), transparent 65%);
	animation: drift-2 32s ease-in-out infinite alternate;
}

.aurora-3 {
	width: 38vw; height: 38vw; bottom: -18vw; left: 28vw;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 65%);
	animation: drift-1 38s ease-in-out infinite alternate-reverse;
}

@keyframes drift-1 { to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-8vw, -6vh) scale(0.9); } }

/* ------------------------------------------------- Preloader */
.preloader {
	position: fixed; inset: 0; z-index: 99999;
	background: #000;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
	transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader-logo {
	font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
	letter-spacing: 0.35em; text-transform: uppercase;
	background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.preloader-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }

.preloader-bar span {
	display: block; height: 100%; width: 40%;
	background: #fff;
	animation: load-slide 1.1s ease-in-out infinite;
}

@keyframes load-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(450px); } }

/* ------------------------------------------------- Custom cursor */
.cursor-dot, .cursor-ring { display: none; }

@media (hover: hover) and (pointer: fine) {
	.has-custom-cursor { cursor: none; }
	.has-custom-cursor a, .has-custom-cursor button { cursor: none; }

	.has-custom-cursor .cursor-dot {
		display: block; position: fixed; z-index: 99990;
		width: 6px; height: 6px; border-radius: 50%;
		background: #fff; pointer-events: none;
		transform: translate(-50%, -50%);
	}

	.has-custom-cursor .cursor-ring {
		display: block; position: fixed; z-index: 99989;
		width: 34px; height: 34px; border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, 0.4);
		pointer-events: none;
		transform: translate(-50%, -50%);
		transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, background 0.25s;
	}

	.has-custom-cursor .cursor-ring.is-hovering {
		width: 58px; height: 58px;
		border-color: rgba(255, 255, 255, 0.8);
		background: rgba(255, 255, 255, 0.06);
	}
}

/* ------------------------------------------------- Header */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	height: var(--header-h);
	transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
	border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.site-logo-text {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
	letter-spacing: 0.22em; text-transform: uppercase;
}

.logo-mark {
	width: 10px; height: 10px; border-radius: 2px;
	background: var(--grad-silver);
	box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
	transform: rotate(45deg);
}

.custom-logo { max-height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }

.nav-menu li { position: relative; }

.nav-menu > li > a {
	display: block; padding: 10px 14px;
	font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--muted); position: relative;
}

.nav-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
	height: 1px; background: #fff;
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.35s var(--ease);
}

.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a { color: #fff; }
.nav-menu > li > a:hover::after, .nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }

.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 200px;
	list-style: none; margin: 0; padding: 8px;
	background: rgba(8, 8, 10, 0.95); backdrop-filter: blur(18px);
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all 0.3s var(--ease);
}

.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.85rem; color: var(--muted); }
.nav-menu .sub-menu a:hover { background: var(--glass-hover); color: #fff; }

.nav-toggle {
	display: none; flex-direction: column; gap: 5px;
	background: none; border: 0; padding: 10px; cursor: pointer;
}

.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.3s; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 32px; border-radius: 999px;
	font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
	letter-spacing: 0.05em; text-transform: uppercase;
	border: 1px solid transparent; cursor: pointer;
	transition: all 0.35s var(--ease);
	will-change: transform;
}

.btn-primary {
	background: #fff; color: #000 !important;
	box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.btn-primary:hover {
	box-shadow: 0 0 42px rgba(255, 255, 255, 0.35);
	transform: translateY(-2px);
}

.btn-ghost {
	background: var(--glass); color: #fff;
	border-color: var(--line-strong);
	backdrop-filter: blur(10px);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: var(--glass-hover); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 0.78rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }

.text-link { font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; color: var(--silver); }
.text-link:hover { color: #fff; }

/* ------------------------------------------------- Glass card */
.glass {
	background: var(--glass);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

/* ------------------------------------------------- Sections */
.section { padding: 110px 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: 56px; }

.kicker {
	display: inline-block; margin-bottom: 14px;
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--muted);
	padding-left: 34px; position: relative;
}

.kicker::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 24px; height: 1px; background: var(--silver);
}

.section-title {
	font-size: clamp(1.9rem, 4.2vw, 3.1rem);
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.aurora-blob, .marquee-track, .pulse-dot, .scroll-line { animation: none !important; }
	html { scroll-behavior: auto; }
}

/* ------------------------------------------------- Hero */
.hero {
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	text-align: center; position: relative;
	padding: calc(var(--header-h) + 40px) 0 80px;
}

.hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 9px 20px; margin-bottom: 34px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	background: var(--glass); backdrop-filter: blur(10px);
	font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--silver);
}

.pulse-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: #fff;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
	50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.hero-title {
	font-size: clamp(2.8rem, 9vw, 6.5rem);
	font-weight: 700; letter-spacing: -0.03em;
	margin-bottom: 28px;
}

.hero-line { display: block; }

.hero-line-gradient {
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	text-shadow: none;
	position: relative;
}

.hero-desc {
	max-width: 620px; margin: 0 auto 44px;
	font-size: clamp(1rem, 1.6vw, 1.18rem);
	color: var(--muted);
}

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

.hero-scroll {
	position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	color: var(--faint); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
}

.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, #fff); overflow: hidden; position: relative; }

.scroll-line::after {
	content: ""; position: absolute; inset: 0;
	background: var(--bg);
	animation: scroll-hint 2.2s var(--ease) infinite;
}

@keyframes scroll-hint { 0% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ------------------------------------------------- Marquee */
.marquee-section { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.marquee-track {
	display: inline-flex; align-items: center; gap: 34px;
	white-space: nowrap; will-change: transform;
	animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.marquee-item {
	font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

.marquee-sep { color: var(--faint); font-size: 0.8rem; }

/* ------------------------------------------------- Services */
.services-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

.service-card {
	position: relative; padding: 38px 30px; overflow: hidden;
	transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.service-card:hover { border-color: var(--line-strong); background: var(--glass-hover); }

.service-index {
	display: block; margin-bottom: 22px;
	font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
	letter-spacing: 0.2em; color: var(--faint);
}

.service-title { font-size: 1.3rem; margin-bottom: 10px; }

.service-desc { color: var(--muted); font-size: 0.94rem; margin: 0; }

.service-glow {
	position: absolute; top: -60px; right: -60px;
	width: 150px; height: 150px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
	opacity: 0; transition: opacity 0.5s var(--ease);
	pointer-events: none;
}

.service-card:hover .service-glow { opacity: 1; }

/* ------------------------------------------------- Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.work-card {
	display: block; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-2);
	transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.work-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow); }

.work-media { aspect-ratio: 16 / 10; overflow: hidden; }

.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }

.work-card:hover .work-media img { transform: scale(1.05); }

.work-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.09), transparent 55%),
		linear-gradient(140deg, #0c0c10, #000);
}

.work-placeholder span {
	font-family: var(--font-display); font-size: 5rem; font-weight: 700;
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: 0.5;
}

.work-info { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; }

.work-title { font-size: 1.15rem; margin: 0 0 3px; }

.work-cat { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.work-arrow {
	font-size: 1.3rem; color: var(--faint);
	transition: transform 0.35s var(--ease), color 0.35s;
}

.work-card:hover .work-arrow { transform: translate(4px, -4px); color: #fff; }

/* ------------------------------------------------- Process */
.process-track {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
	counter-reset: step;
}

.process-step { position: relative; padding: 30px 22px 0; border-top: 1px solid var(--line); }

.process-step::before {
	content: ""; position: absolute; top: -1px; left: 0;
	width: 42px; height: 1px; background: #fff;
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.process-num {
	display: block; margin-bottom: 16px;
	font-family: var(--font-display); font-size: 2rem; font-weight: 700;
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: 0.75;
}

.process-step h3 { font-size: 1.12rem; }

.process-step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ------------------------------------------------- Stats */
.stats-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	padding: 48px 30px; text-align: center;
}

.stat { padding: 8px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }

.stat-number {
	display: block; font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.stat-label { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------- Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.testimonial { margin: 0; padding: 34px 28px; position: relative; }

.quote-mark {
	position: absolute; top: 12px; right: 22px;
	font-family: var(--font-display); font-size: 4.4rem; line-height: 1;
	color: rgba(255, 255, 255, 0.07);
}

.testimonial blockquote { margin: 0 0 22px; font-size: 0.98rem; color: var(--text); }

.t-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }

.t-role { font-size: 0.8rem; color: var(--muted); }

/* ------------------------------------------------- CTA */
.cta-band {
	position: relative; text-align: center; overflow: hidden;
	padding: 90px 30px;
	border: 1px solid var(--line-strong); border-radius: 28px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.cta-glow {
	position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
	width: 560px; height: 320px; border-radius: 50%;
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.14), transparent 70%);
	pointer-events: none;
}

.cta-title {
	font-size: clamp(1.8rem, 4vw, 2.9rem); max-width: 640px; margin-inline: auto;
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.cta-desc { color: var(--muted); margin-bottom: 36px; }

/* ------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }

.contact-details { padding: 40px 36px; }

.contact-row { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: 0; }

.contact-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }

.contact-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }

.contact-side { padding-top: 12px; }

.contact-note { color: var(--muted); margin-bottom: 28px; }

.social-links { display: flex; gap: 12px; margin-top: 22px; }

.social-link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--line-strong); color: var(--muted);
	transition: all 0.3s var(--ease);
}

.social-link svg { width: 16px; height: 16px; }

.social-link:hover { color: #000; background: #fff; border-color: #fff; box-shadow: 0 0 24px rgba(255, 255, 255, 0.3); }

/* ------------------------------------------------- Footer */
.site-footer {
	margin-top: 60px; padding: 70px 0 120px;
	border-top: 1px solid var(--line);
	background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02));
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }

.footer-tagline { color: var(--muted); font-size: 0.92rem; margin: 16px 0 0; max-width: 300px; }

.widget-title { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }

.footer-menu, .footer-col ul { list-style: none; margin: 0; padding: 0; }

.footer-menu li, .footer-col li { margin-bottom: 10px; }

.footer-menu a, .footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-menu a:hover, .footer-col a:hover { color: #fff; }

.footer-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding-top: 28px; border-top: 1px solid var(--line);
}

.copyright { margin: 0; font-size: 0.84rem; color: var(--faint); }

.legal-menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }

.legal-menu a { font-size: 0.84rem; color: var(--faint); }
.legal-menu a:hover { color: #fff; }

/* ------------------------------------------------- Mobile dock */
.mobile-dock {
	position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
	z-index: 2000;
	display: none; align-items: center; gap: 6px;
	padding: 8px 10px;
	background: rgba(10, 10, 14, 0.82);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
	padding-bottom: calc(8px + env(safe-area-inset-bottom) * 0.4);
}

.dock-btn {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	min-width: 72px; padding: 8px 14px;
	background: none; border: 0; border-radius: 999px;
	color: var(--muted); font-family: var(--font-body); font-size: 0.62rem;
	letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
	transition: color 0.3s, background 0.3s;
}

.dock-btn svg { width: 21px; height: 21px; }

.dock-btn:hover, .dock-btn:active { color: #fff; background: var(--glass-hover); }

.dock-home {
	color: #000; background: #fff;
	box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.dock-home:hover { color: #000; background: #fff; }

/* ------------------------------------------------- Back to top */
.back-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 1500;
	width: 46px; height: 46px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--glass); border: 1px solid var(--line-strong);
	backdrop-filter: blur(12px); color: #fff; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all 0.4s var(--ease);
}

.back-to-top svg { width: 18px; height: 18px; }

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.back-to-top:hover { background: #fff; color: #000; }

/* ------------------------------------------------- Inner pages */
.page-shell { padding: calc(var(--header-h) + 70px) 0 90px; min-height: 70vh; }

.full-width-shell { padding-top: var(--header-h); min-height: 70vh; }

.page-header { margin-bottom: 46px; }

.prose { color: var(--text); }

.prose h2, .prose h3 { margin-top: 1.8em; }

.prose a { color: #fff; border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-bottom-color: #fff; }

.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }

.prose blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 22px;
	border-left: 2px solid #fff; color: var(--muted); font-style: italic;
}

.prose img { border-radius: var(--radius); }

.prose code {
	background: var(--glass-hover); padding: 2px 7px; border-radius: 6px;
	font-size: 0.9em; border: 1px solid var(--line);
}

.prose pre { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; }

.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--glass); }

/* ------------------------------------------------- Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s; }

.post-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }

.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }

.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }

.post-card:hover .post-card-media img { transform: scale(1.05); }

.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.post-meta { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }

.post-card-title { font-size: 1.15rem; margin: 0; }

.post-card-body p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }

.single-hero-media { margin-bottom: 40px; }
.single-hero-media img { border-radius: var(--radius); width: 100%; }

.single-footer { margin-top: 50px; }

.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }

.tag-list a {
	font-size: 0.76rem; padding: 6px 14px; border-radius: 999px;
	border: 1px solid var(--line-strong); color: var(--muted);
}

.tag-list a:hover { border-color: #fff; color: #fff; }

.post-nav { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }

.pagination-wrap { margin-top: 50px; }

.pagination-wrap .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.pagination-wrap .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.88rem;
}

.pagination-wrap .page-numbers.current, .pagination-wrap .page-numbers:hover { background: #fff; color: #000; border-color: #fff; }

.empty-state { padding: 60px 40px; text-align: center; }

/* ------------------------------------------------- Search form */
.search-form { display: flex; gap: 0; max-width: 460px; }

.search-field {
	flex: 1; padding: 14px 22px;
	background: var(--glass); border: 1px solid var(--line-strong); border-right: 0;
	border-radius: 999px 0 0 999px;
	color: #fff; font-family: var(--font-body); font-size: 0.95rem;
	outline: none; transition: border-color 0.3s;
}

.search-field:focus { border-color: rgba(255, 255, 255, 0.55); }

.search-field::placeholder { color: var(--faint); }

.search-submit {
	padding: 0 22px; border-radius: 0 999px 999px 0;
	background: #fff; color: #000; border: 0; cursor: pointer;
	display: flex; align-items: center;
}

.search-submit svg { width: 18px; height: 18px; }

/* ------------------------------------------------- Comments */
.comments-area { margin-top: 60px; padding: 40px 36px; }

.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }

.comment-list .comment { padding: 22px 0; border-bottom: 1px solid var(--line); }

.comment-list .children { list-style: none; padding-left: 34px; }

.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }

.comment-author .avatar { border-radius: 50%; }

.comment-metadata { font-size: 0.78rem; color: var(--faint); margin: 4px 0 10px; }

.comment-content { color: var(--muted); font-size: 0.95rem; }

.comment-reply-link { font-size: 0.8rem; color: var(--silver); }

.comment-form label { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }

.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
	width: 100%; padding: 13px 18px; margin-bottom: 18px;
	background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
	color: #fff; font-family: var(--font-body); outline: none;
	transition: border-color 0.3s;
}

.comment-form input:focus, .comment-form textarea:focus { border-color: rgba(255, 255, 255, 0.55); }

.comment-form .submit {
	padding: 14px 34px; border-radius: 999px; border: 0;
	background: #fff; color: #000; font-family: var(--font-display);
	font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
	cursor: pointer; transition: box-shadow 0.3s;
}

.comment-form .submit:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }

/* ------------------------------------------------- 404 */
.error-404 {
	min-height: 100vh; display: flex; align-items: center;
	text-align: center; padding: calc(var(--header-h) + 40px) 0 80px;
}

.error-404 .container { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.glitch-wrap { margin-bottom: 10px; }

.glitch {
	position: relative; display: inline-block;
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(6rem, 22vw, 13rem); line-height: 1;
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.glitch::before, .glitch::after {
	content: attr(data-text);
	position: absolute; inset: 0;
	background: var(--grad-silver);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: 0.6;
}

.glitch::before { animation: glitch-a 2.6s infinite steps(2, end); }
.glitch::after { animation: glitch-b 3.1s infinite steps(2, end); }

@keyframes glitch-a {
	0%, 92%, 100% { transform: none; clip-path: none; }
	93% { transform: translate(-5px, 2px); clip-path: inset(10% 0 60% 0); }
	96% { transform: translate(4px, -2px); clip-path: inset(50% 0 20% 0); }
}

@keyframes glitch-b {
	0%, 90%, 100% { transform: none; clip-path: none; }
	91% { transform: translate(5px, -1px); clip-path: inset(65% 0 8% 0); }
	95% { transform: translate(-4px, 1px); clip-path: inset(20% 0 55% 0); }
}

.error-title { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.error-desc { max-width: 480px; color: var(--muted); }

.error-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 26px 0 34px; }

.error-search { width: 100%; display: flex; justify-content: center; }

/* ------------------------------------------------- HTML sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }

.sitemap-block { padding: 30px 26px; }

.sitemap-block h2 { font-size: 1.1rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.sitemap-block ul { list-style: none; margin: 0; padding: 0; }

.sitemap-block li { margin: 9px 0; }

.sitemap-block a { color: var(--muted); font-size: 0.94rem; }
.sitemap-block a:hover { color: #fff; }

/* ------------------------------------------------- Honeypot */
.unodevs-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* ------------------------------------------------- Elementor harmony */
.elementor-kit- body, body.elementor-page { background: var(--bg); }

.unodevs-blank-canvas #starfield, .unodevs-blank-canvas .aurora { display: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
	.services-grid, .testimonial-grid, .sitemap-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.process-track, .stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat { border-left: 0; }
	.stats-grid { gap: 30px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.section { padding: 76px 0; }

	/* Mobile nav overlay */
	.nav-toggle { display: flex; }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
		flex-direction: column; justify-content: center; gap: 10px;
		background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(24px);
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: all 0.4s var(--ease);
	}

	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

	.nav-menu { flex-direction: column; gap: 4px; text-align: center; }

	.nav-menu > li > a { font-size: 1.25rem; padding: 14px; text-transform: none; letter-spacing: 0; }

	.nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; }

	.nav-cta { margin-top: 16px; }

	/* Show the dock, hide desktop back-to-top */
	.mobile-dock { display: flex; }
	.back-to-top { display: none; }

	/* Leave room for the dock */
	.site-footer { padding-bottom: 130px; }

	.work-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.hero-scroll { display: none; }
}

@media (max-width: 560px) {
	.services-grid, .testimonial-grid, .sitemap-grid, .post-grid,
	.process-track, .stats-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.container { width: 94vw; }
	.dock-btn { min-width: 60px; padding: 8px 10px; }
}
