:root {
	--bg: #ffffff;
	--surface: #f5f6f8;
	--ink: #111111;
	--muted: #4a525a;
	--line: #dde1e5;
	--brand: #0877b0;
	--blue: #0a95d6;
	--accent: #62bfec;
	--red: #e5484d;
	--dark: #000000;
	--dark-2: #2c2c2c;
	--darker: #000000;
	--pill: #000000;
	--on-dark: #f2f2f2;
	--on-dark-muted: #b4bcc2;
	--radius: 10px;
	--wrap: 1120px;
	--sans: "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
	--head: 72px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--head);
}

body {
	margin: 0;
	background: var(--dark);
	color: var(--on-dark);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
}

a {
	color: var(--brand);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--brand);
	color: #fff;
	padding: 8px 14px;
	z-index: 30;
}

.skip:focus {
	left: 0;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--dark);
	border-bottom: 1px solid var(--red);
}

.bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--head);
}

.brand {
	text-decoration: none;
	color: var(--blue);
}

.logo {
	display: block;
	width: auto;
	height: 46px;
}

#site-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#site-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: 6px;
	color: var(--on-dark);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
}

#site-nav a:hover {
	background: var(--dark-2);
	color: var(--accent);
	box-shadow: inset 0 -2px 0 var(--red);
	border-radius: 6px 6px 0 0;
}

#site-nav a.active,
#site-nav a[aria-current="page"] {
	color: var(--accent);
	box-shadow: inset 0 -2px 0 var(--accent);
	border-radius: 6px 6px 0 0;
}

#site-nav a.nav-cta {
	margin-left: 8px;
	border: 1px solid var(--accent);
	border-radius: 999px;
	color: var(--accent);
}

#site-nav a.nav-cta:hover,
#site-nav a.nav-cta.active {
	background: var(--accent);
	color: #04141c;
	box-shadow: none;
	border-radius: 999px;
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid #555;
	border-radius: 6px;
	padding: 6px 12px;
	color: var(--on-dark);
	font: inherit;
	font-size: 0.95rem;
	cursor: pointer;
}

@media (max-width: 860px) {
	.js .nav-toggle {
		display: inline-block;
	}

	.js #site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--dark);
		border-bottom: 1px solid var(--red);
		padding: 8px 16px 16px;
	}

	.js #site-nav.open {
		display: block;
	}

	.js #site-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.js #site-nav a.nav-cta {
		margin: 8px 0 0;
		text-align: center;
	}

	#site-nav a:hover {
		box-shadow: inset 3px 0 0 var(--red);
		border-radius: 0 6px 6px 0;
	}

	#site-nav a.active,
	#site-nav a[aria-current="page"] {
		box-shadow: inset 3px 0 0 var(--accent);
		border-radius: 0 6px 6px 0;
	}
}

/* Hero */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--head));
	min-height: calc(100svh - var(--head));
	padding: 96px 0 120px;
	background:
		linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.3)),
		var(--dark) url("hero.jpg") center / cover no-repeat;
	color: var(--on-dark);
}

.hero .wrap {
	max-width: 940px;
	padding: 64px 80px 68px;
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 140px;
	text-align: center;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
}

.hero h1 {
	margin: 0 0 18px;
	color: var(--accent);
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.lead {
	max-width: 62ch;
	margin: 0 0 12px;
	font-size: 1.15rem;
	color: #d3d9de;
}

.hero .lead {
	margin-left: auto;
	margin-right: auto;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
}

.hero .actions {
	justify-content: center;
}

.btn {
	display: inline-block;
	padding: 11px 24px;
	border: 2px solid var(--accent);
	border-radius: 999px;
	background: transparent;
	color: var(--accent);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.btn:hover {
	background: var(--accent);
	color: #04141c;
}

.btn.primary {
	background: var(--accent);
	color: #04141c;
}

.btn.primary:hover {
	background: #8dd2f2;
	border-color: #8dd2f2;
}

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 28px;
	width: 28px;
	height: 46px;
	margin-left: -14px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 16px;
}

.scroll-cue span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--accent);
	animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
	0% {
		opacity: 0;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateY(16px);
	}
}

@media (max-width: 860px) {
	.hero {
		padding: 56px 0 96px;
	}

	.hero .wrap {
		width: calc(100% - 24px);
		padding: 44px 28px 48px;
		border-radius: 72px;
	}
}

/* Capability strip */
.strip {
	background: var(--darker);
	border-bottom: 1px solid var(--red);
	color: var(--on-dark);
}

.strip ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.strip li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 26px 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.strip li + li {
	border-left: 1px solid var(--dark-2);
}

.strip svg {
	flex: none;
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--accent);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 640px) {
	.strip ul {
		grid-template-columns: 1fr 1fr;
	}

	.strip li:nth-child(3) {
		border-left: 0;
	}

	.strip li:nth-child(n + 3) {
		border-top: 1px solid var(--dark-2);
	}
}

/* Sections */
.section {
	padding: 96px 0;
	background: var(--dark);
	color: var(--on-dark);
}

.band {
	background: var(--dark);
	border-top: 1px solid var(--dark-2);
	border-bottom: 1px solid var(--dark-2);
}

.kicker {
	margin: 0 0 12px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.kicker::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	margin-right: 12px;
	vertical-align: middle;
	background: var(--red);
}

.section-title {
	margin: 0 0 20px;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #fff;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

.prose p {
	margin: 0 0 16px;
	color: #d3d9de;
}

.prose a {
	color: var(--accent);
}

@media (max-width: 860px) {
	.split {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.section {
		padding: 64px 0;
	}
}

/* Services */
.services {
	background: var(--dark);
	color: var(--on-dark);
	border-top: 1px solid var(--red);
}

.services-intro {
	padding-top: 80px;
	padding-bottom: 48px;
}

.services .kicker {
	color: var(--accent);
}

.services .section-title {
	margin: 0;
	color: #fff;
}

.service {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 520px;
}

.service::before {
	content: "";
	min-height: 320px;
	background: var(--dark-2) center / cover no-repeat;
}

.service:nth-of-type(even)::before {
	order: 2;
}

.service:nth-of-type(even) {
	background: var(--darker);
}

.s-software::before {
	background-image: url("services/computer.jpg");
}

.s-hardware::before {
	background-image: url("services/pcb.jpg");
}

.s-mechanical::before {
	background-image: url("services/mechanical.jpg");
}

.s-prototyping::before {
	background-image: url("services/pnp.jpg");
}

.service-body {
	align-self: center;
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	padding: 56px clamp(24px, 4vw, 64px);
}

.service h3 {
	margin: 0 0 16px;
	color: var(--accent);
	font-size: 1.7rem;
	line-height: 1.2;
}

.service p {
	margin: 0 0 14px;
	font-weight: 300;
}

.tag {
	margin: 0 0 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
}

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

.service li {
	position: relative;
	margin-bottom: 8px;
	padding-left: 20px;
	font-weight: 500;
	font-size: 0.97rem;
}

.service li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	background: var(--blue);
}

.service a {
	color: var(--accent);
}

@media (max-width: 860px) {
	.service {
		display: block;
		min-height: 0;
	}

	.service::before {
		display: block;
		height: 240px;
		min-height: 0;
	}

	.service-body {
		max-width: none;
		padding: 36px 24px 44px;
	}
}

/* Free assembly */
.assembly {
	padding: 80px 0;
	background: linear-gradient(120deg, #075f8d, #0a95d6);
	color: #fff;
}

.assembly .wrap {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
}

.assembly .kicker {
	color: #fff;
}

.assembly .kicker::before {
	background: #fff;
}

.assembly .section-title {
	color: #fff;
}

.assembly p {
	margin: 0 0 16px;
}

.assembly .btn {
	border-color: #04141c;
	background: #04141c;
	color: #fff;
}

.assembly .btn:hover {
	background: #fff;
	border-color: #fff;
	color: #04141c;
}

.terms {
	margin: 0;
	padding: 28px 28px 28px 52px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--radius);
	background: rgba(4, 20, 28, 0.35);
}

.terms li {
	margin-bottom: 10px;
	padding-left: 6px;
}

.terms li:last-child {
	margin-bottom: 0;
}

@media (max-width: 860px) {
	.assembly {
		padding: 56px 0;
	}

	.assembly .wrap {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Velox */
.velox {
	background:
		radial-gradient(circle at 1px 1px, rgba(98, 191, 236, 0.13) 1px, transparent 0) 0 0 / 28px 28px,
		var(--dark);
	color: var(--on-dark);
}

.velox .kicker {
	color: var(--accent);
}

.velox .section-title {
	color: #fff;
}

.velox .lead {
	max-width: 70ch;
}

.velox-head {
	margin-bottom: 56px;
}

.sub {
	margin: 0 0 20px;
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 20px;
	margin-bottom: 56px;
}

.card {
	padding: 24px;
	border: 1px solid var(--dark-2);
	border-top: 3px solid var(--blue);
	border-radius: var(--radius);
	background: var(--dark);
}

.card h4,
.package h4,
.faq h4 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	line-height: 1.3;
	color: #fff;
}

.card p {
	margin: 0;
	color: var(--on-dark-muted);
}

.packages {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 56px;
}

.package {
	padding: 32px;
	border: 1px solid var(--dark-2);
	border-radius: var(--radius);
	background: var(--darker);
}

.package h4 {
	margin-bottom: 16px;
	font-size: 1.5rem;
	color: var(--accent);
}

.package ul {
	margin: 0;
	padding: 0 0 0 20px;
	color: var(--on-dark-muted);
}

.package li {
	margin-bottom: 8px;
}

.faq {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--dark-2);
}

.faq p {
	margin: 0;
	color: var(--on-dark-muted);
}

.velox a {
	color: var(--accent);
}

@media (max-width: 860px) {
	.packages,
	.faq {
		grid-template-columns: 1fr;
	}

	.faq {
		gap: 28px;
	}
}

/* Clients */
.clients-head {
	max-width: 720px;
	margin-bottom: 40px;
}

.lead-dark {
	margin: 0;
	color: #d3d9de;
	font-size: 1.1rem;
}

.client-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.client {
	display: block;
	padding: 24px;
	border: 1px solid var(--dark-2);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius);
	background: var(--dark);
	color: var(--on-dark);
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.client:hover {
	transform: translateY(-3px);
	border-left-color: var(--red);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.client h3 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	color: #fff;
}

.client h3::after {
	content: " \2197";
	color: var(--accent);
	font-weight: 400;
}

.client p {
	margin: 0;
	color: var(--on-dark-muted);
	font-size: 0.97rem;
}

/* Contact */
.contact {
	padding: 96px 0;
	background:
		linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.94)),
		var(--dark) url("hero.jpg") center / cover no-repeat;
	color: var(--on-dark);
	border-top: 1px solid var(--red);
}

.contact .kicker {
	color: var(--accent);
}

.contact .section-title {
	color: #fff;
}

.contact-card {
	padding: 32px;
	border: 1px solid var(--dark-2);
	border-radius: var(--radius);
	background: var(--dark);
}

.contact-card h3 {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 1.3rem;
}

address {
	margin: 0 0 20px;
	font-style: normal;
}

dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 6px 20px;
	margin: 0 0 20px;
}

dt {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	align-self: center;
}

dd {
	margin: 0;
}

.contact a {
	color: var(--accent);
}

.contact .btn.primary {
	color: #04141c;
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.social a {
	padding: 6px 16px;
	border: 1px solid var(--dark-2);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.social a:hover,
.news-page .social a:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: #04141c;
}

@media (max-width: 860px) {
	.contact {
		padding: 64px 0;
	}
}

/* Footer */
.site-footer {
	background: var(--darker);
	color: var(--on-dark-muted);
	font-size: 0.88rem;
}

.site-footer p {
	margin: 0;
}

.footer-nav {
	padding: 22px 0;
	border-top: 1px solid var(--dark-2);
}

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

.footer-nav a {
	color: var(--on-dark);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
	color: var(--accent);
}

.legal {
	padding: 22px 0;
	border-top: 1px solid var(--red);
	text-align: center;
}

/* Reveal on scroll, only when scripting is available */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.scroll-cue span {
		animation: none;
		opacity: 1;
	}
}

/* Footer links and the Velox page */
.velox:first-child {
	padding-top: 72px;
}

.origin {
	margin-bottom: 56px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--dark-2);
}

.origin .sub {
	margin: 0;
}

.velox-cta .wrap {
	max-width: 760px;
	text-align: center;
}

.velox-cta .lead {
	margin-left: auto;
	margin-right: auto;
}

.velox-cta .actions {
	justify-content: center;
}

/* News page */
.news-page {
	min-height: 60vh;
}

.news-page .section {
	padding-top: 72px;
}

.news-page .prose {
	max-width: 62ch;
	margin-bottom: 24px;
}

.news-page .social a {
	color: var(--accent);
}

/* News list and posts */
.news-list {
	display: grid;
	gap: 20px;
	margin: 0 0 32px;
	padding: 0;
	max-width: 760px;
	list-style: none;
}

.news-item {
	display: block;
	padding: 24px 28px;
	border: 1px solid var(--dark-2);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius);
	background: var(--dark);
	color: var(--on-dark);
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.news-item:hover {
	transform: translateY(-3px);
	border-left-color: var(--red);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.news-item time,
.post .meta {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
}

.news-item h2 {
	margin: 6px 0 8px;
	font-size: 1.3rem;
	line-height: 1.3;
	color: #fff;
}

.news-item p {
	margin: 0 0 10px;
	color: var(--on-dark-muted);
}

.news-item .more {
	color: var(--accent);
	font-weight: 600;
}

.kicker a {
	color: inherit;
	text-decoration: none;
}

.kicker a:hover {
	text-decoration: underline;
}

.post .meta {
	margin: 0 0 32px;
}

.post .prose {
	max-width: 72ch;
}

.post .prose h2 {
	margin: 40px 0 12px;
	font-size: 0.95rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.post blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--red);
}

.post blockquote p {
	color: #fff;
	font-size: 1.1rem;
	font-style: italic;
}

.post .funding {
	padding-top: 16px;
	border-top: 1px solid var(--dark-2);
	font-size: 0.92rem;
}

/* Blog entries */
.entries {
	display: grid;
	gap: 20px;
	max-width: 760px;
	margin: 0 0 32px;
}

.entry {
	padding: 24px 28px;
	border: 1px solid var(--dark-2);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius);
	background: var(--dark);
}

.entry time {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
}

.entry h2 {
	margin: 6px 0 8px;
	font-size: 1.3rem;
	line-height: 1.3;
	color: #fff;
}

.entry p {
	margin: 0;
	color: #d3d9de;
}

.entry p + p {
	margin-top: 10px;
}

.entry .entry-link a {
	font-weight: 600;
}

.entry .video {
	position: relative;
	aspect-ratio: 16 / 9;
	margin-top: 16px;
	background: #000;
	border: 1px solid var(--dark-2);
	border-radius: var(--radius);
	overflow: hidden;
}

.entry .video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.entry .entry-img {
	display: block;
	width: 100%;
	min-height: 140px;
	max-height: 480px;
	margin-top: 16px;
	object-fit: contain;
	background: #000;
	border: 1px solid var(--dark-2);
	border-radius: var(--radius);
	color: var(--on-dark-muted);
	font-size: 0.9rem;
}
