/*
Theme Name: DATAradical
Theme URI: https://www.dataradical.com/
Author: DATAradical
Author URI: https://www.dataradical.com/
Description: Custom theme for DATAradical — IT infrastructure consulting and services (data center, Linux, AI, networks). Dark, precise, server-room aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dataradical
Tags: custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ================= tokens ================= */
:root {
	--bg: #06090f;
	--bg-1: #0a1019;
	--bg-2: #0e1622;
	--bg-3: #121c2b;
	--line: rgba(148, 163, 184, 0.14);
	--line-strong: rgba(148, 163, 184, 0.30);
	--ink: #e9f0fa;
	--muted: #94a3b8;
	--dim: #5b6b80;
	--acc: #2ce5c5;
	--acc-soft: rgba(44, 229, 197, 0.10);
	--acc-ink: #04231d;
	--acc2: #4e8cff;
	--amber: #ffb454;
	--font-d: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--font-b: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
	--font-m: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================= base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-b);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc2); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--acc); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-d);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	color: var(--ink);
	text-wrap: balance;
}
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(44, 229, 197, 0.25); color: var(--ink); }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.mono { font-family: var(--font-m); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; z-index: 9999; top: 12px; left: 12px;
	width: auto; height: auto; clip: auto; clip-path: none; white-space: normal;
	background: var(--acc); color: var(--acc-ink); padding: 10px 16px;
	border-radius: 8px; font-weight: 600;
}

/* ================= kicker / buttons ================= */
.kicker {
	font-family: var(--font-m);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--acc);
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
}
.kicker::before {
	content: "";
	width: 26px; height: 1px;
	background: var(--acc);
	flex: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-b);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 10px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
	min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
	background: var(--acc);
	color: var(--acc-ink);
	box-shadow: 0 0 0 rgba(44, 229, 197, 0);
}
.btn-primary:hover {
	background: #4ff0d4;
	color: var(--acc-ink);
	box-shadow: 0 8px 32px rgba(44, 229, 197, 0.25);
}
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
}
.btn-ghost:hover {
	border-color: var(--acc);
	color: var(--acc);
	box-shadow: none;
}
.text-link { font-weight: 600; font-size: 15px; color: var(--acc); }
.text-link:hover { color: #4ff0d4; }

/* ================= topbar ================= */
.topbar {
	background: #04070c;
	border-bottom: 1px solid var(--line);
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.topbar-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	font-family: var(--font-m);
	color: var(--muted);
}
.topbar-dot {
	width: 7px; height: 7px; flex: none;
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 0 8px rgba(255, 180, 84, 0.8);
	animation: dr-pulse 2.4s ease-in-out infinite;
}
@keyframes dr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.topbar-loc { margin-left: auto; color: var(--dim); }

/* ================= header / nav ================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6, 9, 15, 0.82);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
	border-bottom-color: var(--line);
	background: rgba(6, 9, 15, 0.94);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 36px;
	min-height: 76px;
}
.site-brand { display: inline-flex; align-items: center; }
.site-logo { height: 40px; width: auto; }
.header-cta { margin-left: auto; }

.site-nav { display: flex; }
.nav-menu {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu a {
	display: block;
	padding: 12px 14px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--muted);
	border-radius: 8px;
	min-height: 44px;
	transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current_page_item > a {
	color: var(--ink);
}
.nav-menu .menu-item-has-children > a::after {
	content: " \203A";
	font-family: var(--font-m);
	color: var(--dim);
	margin-left: 2px;
}
.sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	top: calc(100% - 6px);
	padding: 14px 8px 8px;
	position: absolute;
	left: 0;
	min-width: 240px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	z-index: 101;
}
.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}
.sub-menu a {
	font-size: 13.5px;
	padding: 10px 12px;
	white-space: nowrap;
}
.sub-menu a:hover { background: var(--bg-3); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	width: 48px; height: 48px;
	padding: 0;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-left: auto;
}
.nav-toggle span {
	display: block;
	width: 20px; height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= hero ================= */
.hero {
	position: relative;
	padding: 96px 0 104px;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(720px 420px at 12% -8%, rgba(44, 229, 197, 0.13), transparent 65%),
		radial-gradient(640px 400px at 96% 12%, rgba(78, 140, 255, 0.09), transparent 60%);
	pointer-events: none;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(900px 520px at 30% 0%, rgba(0, 0, 0, 0.55), transparent 75%);
	mask-image: radial-gradient(900px 520px at 30% 0%, rgba(0, 0, 0, 0.55), transparent 75%);
	opacity: 0.5;
	pointer-events: none;
}
.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}
.hero-title {
	font-size: clamp(2.3rem, 4.4vw, 3.8rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.06;
	margin: 0 0 24px;
}
.hero-accent {
	color: var(--acc);
}
.hero-lede {
	font-size: 17.5px;
	color: var(--muted);
	max-width: 46ch;
	margin-bottom: 36px;
	text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* terminal card */
.terminal-card {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(44, 229, 197, 0.04) inset;
	overflow: hidden;
}
.terminal-bar {
	display: flex;
	gap: 7px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--line);
	background: var(--bg-1);
}
.terminal-bar span {
	width: 11px; height: 11px;
	border-radius: 50%;
	background: var(--bg-3);
}
.terminal-bar span:nth-child(1) { background: rgba(255, 180, 84, 0.9); }
.terminal-bar span:nth-child(2) { background: rgba(44, 229, 197, 0.85); }
.terminal-bar span:nth-child(3) { background: rgba(78, 140, 255, 0.85); }
.terminal-body {
	padding: 20px 16px 24px;
	font-size: 13.5px;
	line-height: 2;
	color: var(--muted);
}
.terminal-body p { margin: 0; }
.t-prompt { color: var(--acc); }
.t-path { color: var(--ink); }
.t-out { color: var(--ink); }
.t-dim { color: var(--dim); }
.t-err { color: var(--amber); }
.t-cursor {
	display: inline-block;
	width: 8px; height: 15px;
	background: var(--acc);
	vertical-align: middle;
	animation: dr-blink 1.1s steps(1) infinite;
}
@keyframes dr-blink { 50% { opacity: 0; } }

/* ================= sections ================= */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.section-lede { color: var(--muted); font-size: 16.5px; margin: 0; text-wrap: pretty; }

/* services index */
.section-services { background: var(--bg); }
.svc-index { border-top: 1px solid var(--line); }
.svc-row {
	display: grid;
	grid-template-columns: 64px 1fr 40px;
	align-items: center;
	gap: 20px;
	padding: 26px 10px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	background: transparent;
	transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.svc-row:hover { background: var(--bg-1); padding-left: 20px; }
.svc-num { font-size: 14px; color: var(--dim); }
.svc-row:hover .svc-num { color: var(--acc); }
.svc-body { display: grid; gap: 5px; min-width: 0; }
.svc-name {
	font-family: var(--font-d);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.svc-desc { color: var(--muted); font-size: 15px; max-width: 62ch; margin: 0; }
.svc-arrow {
	font-size: 22px;
	color: var(--dim);
	transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-row:hover .svc-arrow { transform: translateX(6px); color: var(--acc); }

/* about */
.section-about { background: var(--bg-1); }
.about-grid {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 72px;
	align-items: start;
}
.about-side { position: sticky; top: 130px; }
.about-side .section-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.about-lead {
	font-family: var(--font-d);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--ink);
	margin-bottom: 36px;
	text-wrap: pretty;
}
.focus-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 32px;
}
.focus-list li {
	position: relative;
	padding-left: 22px;
	color: var(--muted);
	font-size: 15px;
}
.focus-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 9px;
	width: 8px; height: 8px;
	background: var(--acc);
	opacity: 0.85;
	border-radius: 2px;
}

/* stack */
.section-stack { background: var(--bg-1); padding: 64px 0; }
.stack-label {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 22px;
}
.stack-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0; padding: 0;
}
.stack-chips li {
	font-family: var(--font-m);
	font-size: 12.5px;
	color: var(--muted);
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 15px;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.stack-chips li:hover {
	color: var(--acc);
	border-color: var(--acc);
	transform: translateY(-2px);
}

/* product */
.section-product { background: var(--bg); }
.product-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.product-copy { max-width: 520px; }
.product-copy .btn { margin-top: 10px; }

/* posts */
.section-posts { background: var(--bg-1); }
.post-list { border-top: 1px solid var(--line); }
.post-row {
	padding: 30px 12px;
	border-bottom: 1px solid var(--line);
	transition: background 0.3s var(--ease);
}
.post-row:hover { background: var(--bg-2); }
.post-row-meta {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 10px;
}
.post-title { font-size: 1.5rem; margin-bottom: 10px; }
.post-title a { color: var(--ink); }
.post-row:hover .post-title a { color: var(--acc); }
.post-excerpt {
	color: var(--muted);
	font-size: 15.5px;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 75ch;
	text-wrap: pretty;
}
.post-more {
	font-family: var(--font-m);
	font-size: 13px;
	color: var(--acc);
}
.post-more:hover { color: #4ff0d4; }
.posts-more { margin-top: 34px; }

/* pagination */
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	font-family: var(--font-m);
	font-size: 13.5px;
	color: var(--muted);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.pagination .page-numbers:hover { color: var(--acc); border-color: var(--acc); }
.pagination .page-numbers.current {
	background: var(--acc);
	color: var(--acc-ink);
	border-color: var(--acc);
	font-weight: 600;
}
.empty { color: var(--dim); font-size: 14px; }

/* ================= page head ================= */
.page-head {
	padding: 84px 0 44px;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(560px 300px at 18% -30%, rgba(44, 229, 197, 0.08), transparent 65%);
}
.page-title { font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 0; }

/* ================= page content ================= */
.layout-blog {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 64px;
	padding-top: 48px;
	padding-bottom: 96px;
	align-items: start;
}
.blog-side { position: sticky; top: 130px; }
.page-content {
	max-width: 860px;
	padding-top: 52px;
	padding-bottom: 110px;
}
.page-content h2, .single-content h2 {
	font-size: 1.7rem;
	margin: 2.2em 0 0.7em;
	padding-top: 0.4em;
}
.page-content h3, .single-content h3 {
	font-size: 1.3rem;
	margin: 1.8em 0 0.6em;
}
.page-content p, .single-content p { color: #c3cedd; text-wrap: pretty; }
.page-content ul, .page-content ol, .single-content ul, .single-content ol { color: #c3cedd; }
.page-content a, .single-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.page-content a:hover, .single-content a:hover { text-decoration-color: var(--acc); }
.page-content strong { color: var(--ink); }
.page-content code, .single-content code {
	font-family: var(--font-m);
	font-size: 0.88em;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 2px 7px;
	color: var(--acc);
}
.page-content pre, .single-content pre {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 20px;
	overflow-x: auto;
	margin: 0 0 1.4em;
}
.page-content pre code, .single-content pre code { background: none; border: none; padding: 0; }
.page-content img, .single-content img { border-radius: 10px; margin: 1.4em 0; }
.page-content blockquote, .single-content blockquote {
	border-left: 2px solid var(--acc);
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	color: var(--muted);
	font-style: italic;
}
.page-content table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; }
.page-content th, .page-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; color: #c3cedd; }
.page-content th { background: var(--bg-2); font-family: var(--font-d); color: var(--ink); }
.page-links { font-size: 13px; color: var(--muted); margin-top: 2.5em; }
.page-links a { margin-left: 6px; }

/* ================= single ================= */
.single-head {
	padding: 84px 0 44px;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(560px 300px at 18% -30%, rgba(44, 229, 197, 0.08), transparent 65%);
}
.single-head-inner { max-width: 860px; }
.single-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 13px;
	color: var(--dim);
}
.cat-chips { color: var(--acc); }
.single-content { max-width: 860px; padding-top: 48px; padding-bottom: 100px; }
.post-tags { margin-top: 2.5em; font-size: 13px; color: var(--acc); }
.single-back { margin-top: 3em; }
.single-back a { font-family: var(--font-m); font-size: 14px; color: var(--muted); }
.single-back a:hover { color: var(--acc); }

/* ================= widgets ================= */
.widget { margin-bottom: 34px; }
.widget-title {
	font-family: var(--font-m);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dim);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin: 0 0 9px; font-size: 14.5px; }
.widget ul li a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
.widget ul li a:hover { color: var(--acc); }
.widget ul li a::before { content: "\203A"; font-family: var(--font-m); color: var(--dim); }
.widget ul li::marker { content: none; }
.widget ul li a .post-count, .widget ul li .post-count {
	margin-left: auto;
	font-family: var(--font-m);
	font-size: 11.5px;
	color: var(--dim);
}
.widget .search-form { display: flex; gap: 8px; }
.widget .search-field {
	flex: 1;
	min-width: 0;
	background: var(--bg-2);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	color: var(--ink);
	font-family: var(--font-b);
	font-size: 14px;
	padding: 11px 14px;
	min-height: 44px;
}
.widget .search-field::placeholder { color: var(--dim); }
.widget .search-submit {
	min-height: 44px;
	padding: 11px 16px;
	font-size: 13.5px;
	border-radius: 10px;
}
.widget-text { color: var(--muted); font-size: 14.5px; }
.widget-text p { margin-bottom: 0.7em; }

/* ================= CTA ================= */
.section-cta {
	background:
		radial-gradient(700px 380px at 50% 130%, rgba(44, 229, 197, 0.16), transparent 70%),
		var(--bg-1);
	text-align: center;
}
.cta-inner { max-width: 720px; }
.cta-title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; }
.cta-lede { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.cta-contact {
	font-size: 16px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-bottom: 34px;
}
.cta-contact a { color: var(--ink); }
.cta-contact a:hover { color: var(--acc); }
.cta-sep { color: var(--dim); }

/* ================= footer ================= */
.site-footer {
	background: #04070c;
	border-top: 1px solid var(--line);
	padding-top: 72px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 48px;
	padding-bottom: 64px;
}
.footer-blurb { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin: 18px 0 10px; }
.footer-loc { color: var(--dim); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.footer-heading {
	font-family: var(--font-m);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dim);
	margin: 4px 0 16px;
}
.footer-menu, .footer-cats, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-cats li { margin-bottom: 9px; }
.footer-menu a, .footer-cats a { color: var(--muted); font-size: 14.5px; }
.footer-menu a:hover, .footer-cats a:hover { color: var(--acc); }
.footer-contact li { margin-bottom: 9px; font-size: 13.5px; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--acc); }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	border-top: 1px solid var(--line);
	font-family: var(--font-m);
	font-size: 12px;
	color: var(--dim);
}
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: var(--acc); }

/* ================= 404 ================= */
.notfound { padding: 110px 0 120px; text-align: center; }
.notfound .terminal-card { max-width: 520px; margin: 0 auto 30px; text-align: left; }
.notfound-note { color: var(--muted); margin-bottom: 30px; }

/* ================= reveal ================= */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ================= responsive ================= */
@media (max-width: 1020px) {
	.hero-grid { grid-template-columns: 1fr; gap: 44px; }
	.hero { padding: 72px 0 80px; }
	.hero-term { max-width: 560px; }
	.about-grid { grid-template-columns: 1fr; gap: 36px; }
	.about-side { position: static; }
	.product-grid { grid-template-columns: 1fr; }
	.layout-blog { grid-template-columns: 1fr; gap: 48px; }
	.blog-side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.header-cta { display: none; }
	.nav-toggle { display: flex; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bg-1);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
		padding: 16px 24px 24px;
	}
	.site-nav.open { display: block; }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-menu a { padding: 13px 12px; font-size: 15.5px; min-height: 48px; }
	.sub-menu {
		display: block;
		position: static;
		min-width: 0;
		border: none;
		box-shadow: none;
		background: transparent;
		padding: 0 0 8px 18px;
	}
	.sub-menu a { font-size: 14px; color: var(--dim); }
	.topbar-loc { display: none; }
}

@media (max-width: 640px) {
	.section { padding: 68px 0; }
	.page-head, .single-head { padding: 60px 0 34px; }
	.hero { padding: 56px 0 64px; }
	.svc-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 6px; }
	.svc-num { font-size: 12.5px; }
	.svc-arrow { display: none; }
	.svc-row:hover { padding-left: 6px; }
	.focus-list { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.terminal-body { font-size: 12.5px; }
	.cta-contact { flex-direction: column; gap: 8px; }
}

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	.btn:hover, .stack-chips li:hover { transform: none; }
}
