:root {
	--wc-ink: #050816;
	--wc-ink-soft: #18223d;
	--wc-blue: #087bff;
	--wc-blue-2: #23b7e8;
	--wc-gold: #ffb320;
	--wc-text: #171923;
	--wc-muted: #667085;
	--wc-border: #d5d9e2;
	--wc-surface: #f6f8fb;
	--wc-white: #ffffff;
	--wc-max: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--wc-white);
	color: var(--wc-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	overflow-x: hidden;
}

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

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

.wc-container {
	width: min(var(--wc-max), calc(100% - 48px));
	margin-inline: auto;
}

.wc-main {
	min-height: 60vh;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(13, 20, 38, 0.08);
	backdrop-filter: blur(14px);
}

body.home .site-header {
	display: none;
}

.site-header__inner {
	min-height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site-logo img {
	width: 46px;
	height: 46px;
	object-fit: contain;
}

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

.site-nav a,
.site-social a {
	color: #322769;
	font-size: 13px;
	font-weight: 700;
}

.site-social {
	display: flex;
	gap: 18px;
	align-items: center;
	text-transform: uppercase;
}

.site-menu-button {
	display: none;
	width: 38px;
	height: 38px;
	padding: 9px;
	border: 0;
	background: transparent;
}

.site-menu-button span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: #252b37;
}

.wc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 116px;
	min-height: 40px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.wc-btn--primary {
	background: var(--wc-blue);
	color: var(--wc-white);
	box-shadow: 0 10px 28px rgba(8, 123, 255, 0.25);
}

.wc-btn--outline,
.wc-btn--ghost {
	background: var(--wc-white);
	border-color: #d7dce6;
	color: #322769;
}

.wc-btn--outline-dark {
	background: transparent;
	border-color: var(--wc-blue);
	color: var(--wc-white);
}

.wc-btn--small {
	min-width: 96px;
	min-height: 34px;
	padding: 8px 18px;
	font-size: 12px;
}

.home-hero {
	padding: 64px 0 0;
}

.home-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 36px 52px;
	padding: 78px 56px 54px;
	overflow: hidden;
	background: radial-gradient(circle at 72% 18%, rgba(24, 174, 232, 0.22), transparent 24%), linear-gradient(155deg, #030717, #081125 58%, #284b7f);
	color: var(--wc-white);
}

.home-hero__copy {
	position: relative;
	z-index: 2;
	max-width: 520px;
}

.home-hero__copy h1 {
	margin: 0 0 24px;
	font-size: clamp(36px, 4.3vw, 58px);
	line-height: 0.98;
	letter-spacing: 0;
}

.home-hero__copy h1::first-letter {
	color: inherit;
}

.wc-accent {
	color: #F59E0B;
}

.wc-accent--green {
	color: #3AFF5E;
}

.wc-accent--blue {
	color: #3B82F6;
}

.home-hero__copy p,
.home-hero__systems p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
}

.home-hero__copy p strong,
.home-hero__copy h1 em {
	color: var(--wc-gold);
	font-style: normal;
}

.home-hero__portrait {
	position: relative;
	z-index: 2;
	align-self: center;
	justify-self: center;
}

.home-hero__portrait img {
	object-fit: contain;
}

.home-hero__systems {
	position: relative;
	z-index: 2;
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: 42px;
	margin-top: 26px;
}

.home-hero__systems img {
	object-fit: contain;
}

.home-hero__systems-copy p {
	margin: 0 0 14px;
}

.home-hero__systems-copy p:last-child {
	margin-bottom: 0;
}

.home-mobile-intro {
	display: none;
}

.systems-section {
	padding: 56px 0 76px;
	background: var(--wc-surface);
}

.systems-section h2,
.home-cta h2,
.featured-project h2 {
	margin: 0 auto 38px;
	text-align: center;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.05;
}

.systems-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.systems-grid article {
	padding: 12px 12px 24px;
	background: var(--wc-white);
	border: 1px solid #e5e7ee;
	border-radius: 6px;
	box-shadow: 0 12px 22px rgba(16, 24, 40, 0.12);
}

.systems-grid h3 {
	margin: 18px 8px 8px;
	font-size: 17px;
	line-height: 1.2;
}

.systems-grid p {
	margin: 0 8px;
	color: var(--wc-muted);
	font-size: 13px;
}

.systems-card__image {
	height: 168px;
	border-radius: 4px;
	background-size: cover;
	background-position: center;
}

.systems-card__image--one,
.systems-card__image--1 {
	background-image: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)), url("../img/hero-bg.jpg");
}

.systems-card__image--two,
.systems-card__image--2 {
	background-image: linear-gradient(135deg, rgba(8, 123, 255, 0.6), rgba(255, 255, 255, 0.15)), url("../img/hero-bg.jpg");
}

.systems-card__image--three,
.systems-card__image--3 {
	background-image: radial-gradient(circle at 80% 20%, rgba(255, 179, 32, 0.8), transparent 18%), url("../img/hero-bg.jpg");
}

.home-cta,
.featured-project {
	padding: 86px 0;
	text-align: center;
}

.home-cta p,
.featured-project p {
	max-width: 560px;
	margin: -20px auto 26px;
	color: var(--wc-muted);
}

.home-cta .wc-btn + .wc-btn {
	margin-left: 12px;
}

.project-tags {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 18px 0 42px;
}

.project-tags span {
	padding: 6px 10px;
	border-radius: 4px;
	background: #f0f2f7;
	color: #3b4253;
	font-size: 11px;
	font-weight: 700;
}

.featured-project__button {
	margin: 0 0 28px;
}

.project-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(860px, 100%);
	aspect-ratio: 21 / 9;
	max-height: 260px;
	margin: 0 auto;
	overflow: hidden;
	background: #d8d8d8;
}

.project-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wc-placeholder {
	position: relative;
	display: inline-flex;
	width: 88px;
	height: 70px;
	border-radius: 10px;
	background: #c4c6ca;
}

.wc-placeholder::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	right: 18px;
	top: 14px;
	border-radius: 50%;
	background: #e6e7ea;
}

.wc-placeholder::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	height: 24px;
	background: #e6e7ea;
	clip-path: polygon(0 100%, 34% 38%, 52% 68%, 70% 28%, 100% 100%);
}

.home-posts {
	padding: 0 0 76px;
	background: var(--wc-surface);
}

.home-posts__mobile-list {
	display: none;
}

.home-posts__actions {
	margin-top: 32px;
	text-align: center;
}

.home-posts__more.is-loading {
	opacity: 0.65;
	cursor: wait;
}

.feature-row {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	align-items: center;
	gap: 64px;
	min-height: 260px;
	padding: 52px 100px;
	border-top: 1px solid #dce1ea;
}

.feature-row--reverse {
	grid-template-columns: 1.18fr 0.82fr;
}

.feature-row--reverse .feature-row__image {
	order: -1;
}

.feature-row__text h3 {
	margin: 0 0 12px;
	font-size: 20px;
}

.feature-row__text p {
	margin: 0 0 22px;
	color: var(--wc-muted);
	font-size: 14px;
}

.feature-row__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	overflow: hidden;
	border-radius: 4px;
	background: #d8d8d8;
}

.feature-row__image img {
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.site-footer {
	padding: 46px 0;
	background: #02050e;
	color: var(--wc-white);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 36px;
}

.site-footer__logo img {
	width: 76px;
}

.site-footer p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
}

.site-footer__actions {
	display: flex;
	gap: 12px;
}

.site-footer small {
	grid-column: 2 / 4;
	color: rgba(255, 255, 255, 0.52);
	font-size: 11px;
}

.single-hero {
	padding: 0 0 48px;
}

.single-hero__inner {
	position: relative;
}

.single-hero__image {
	position: relative;
	height: 420px;
	overflow: hidden;
	background: #858585;
}

.single-hero__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.single-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-hero__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.single-hero__title {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	color: var(--wc-white);
	text-align: center;
}

.single-hero__title span {
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 800;
}

.single-hero__title h1 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(34px, 4.5vw, 56px);
	line-height: 1.04;
}

.single-content {
	max-width: 720px;
	padding-bottom: 28px;
}

.single-content h2,
.single-content h3 {
	margin: 44px 0 18px;
	line-height: 1.15;
}

.single-content p,
.single-content li {
	color: #202534;
	font-size: 17px;
	line-height: 1.76;
}

.single-content p {
	margin: 0 0 26px;
}

.single-content img {
	width: 100%;
	margin: 34px 0 10px;
}

.single-content figcaption,
.wp-caption-text {
	margin: 8px 0 28px;
	padding-left: 10px;
	border-left: 2px solid #252b37;
	color: var(--wc-muted);
	font-size: 12px;
}

.single-content blockquote {
	margin: 44px 0;
	padding: 8px 0 8px 24px;
	border-left: 3px solid #777;
	color: #363d4f;
	font-size: 22px;
	font-style: italic;
	line-height: 1.45;
}

.post-share {
	max-width: 720px;
	padding: 24px 0 42px;
	border-bottom: 1px solid #222;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
}

.post-share strong {
	display: block;
	margin-bottom: 14px;
	font-size: 13px;
}

.post-share__links {
	display: flex;
	gap: 16px;
	align-items: center;
}

.post-share__links a {
	font-weight: 900;
	text-transform: uppercase;
}

.post-share__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	padding-top: 28px;
}

.post-share__tags a {
	padding: 6px 10px;
	background: #f0f2f7;
	color: #111827;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.related-posts {
	padding: 54px 0 80px;
}

.related-posts__header {
	position: relative;
	margin-bottom: 34px;
}

.related-posts__header h2 {
	margin: 0 0 8px;
	font-size: 32px;
}

.related-posts__header p {
	margin: 0;
	color: var(--wc-muted);
}

.related-posts__view-all {
	position: absolute;
	right: 0;
	top: 8px;
}

.related-posts__grid,
.wc-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.related-posts__more {
	display: none;
}

.wc-card {
	overflow: hidden;
	border: 1px solid #aeb3bc;
	background: var(--wc-white);
}

.wc-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 178px;
	background: #d8d8d8;
}

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

.wc-card__body {
	padding: 20px 20px 24px;
}

.wc-card__body h3 {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.2;
}

.wc-card__body h3 a:hover {
	color: var(--wc-blue);
}

.wc-card__body p {
	margin: 0 0 20px;
	color: #3d4556;
	font-size: 14px;
	line-height: 1.45;
}

.wc-archive,
.wc-page {
	padding: 72px 0;
}

.wc-page-title h1,
.wc-content h1 {
	margin: 0 0 36px;
	font-size: clamp(34px, 5vw, 52px);
}

.wc-pagination {
	margin-top: 42px;
	text-align: center;
}

.wc-pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.wc-pagination a,
.wc-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #d7dce6;
	border-radius: 999px;
}

.wc-pagination .current {
	background: var(--wc-ink);
	color: var(--wc-white);
}

@media (max-width: 900px) {
	.wc-container {
		width: min(100% - 36px, 680px);
	}

	.site-nav,
	.site-social {
		display: none;
	}

	.site-menu-button {
		display: block;
	}

	.home-hero {
		display: none;
	}

	.home-mobile-intro {
		display: block;
		padding: 20px 0 28px;
		text-align: center;
	}

	.home-mobile-card {
		position: relative;
		min-height: 380px;
		padding: 28px 22px 20px;
		overflow: hidden;
		color: var(--wc-white);
		background: #0c1726;
	}

	.home-mobile-card::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgba(3, 5, 12, 0.05), rgba(3, 5, 12, 0.58));
	}

	.home-mobile-card__bg {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.home-mobile-card__logo,
	.home-mobile-card__person,
	.home-mobile-card h1,
	.home-mobile-card strong {
		position: relative;
		z-index: 1;
	}

	.home-mobile-card__logo {
		width: 68px;
		margin: 0 auto 70px;
	}

	.home-mobile-card h1 {
		max-width: 260px;
		margin: 0 auto 12px;
		font-size: 34px;
		line-height: 0.98;
	}

	.home-mobile-card__person {
		width: 82px;
		height: 82px;
		margin: 0 auto 10px;
		border: 2px solid rgba(255, 255, 255, 0.75);
		border-radius: 50%;
		object-fit: cover;
	}

	.home-mobile-card strong {
		font-size: 13px;
	}

	.home-mobile-bio {
		max-width: 330px;
		margin: 24px auto 22px;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.45;
	}

	.home-mobile-actions {
		display: grid;
		gap: 12px;
		justify-content: center;
	}

	.systems-section,
	.home-cta,
	.featured-project,
	.home-posts__desktop-list {
		display: none;
	}

	.home-posts {
		padding: 22px 0 56px;
		background: var(--wc-white);
	}

	.home-posts__mobile-list {
		display: grid;
		gap: 28px;
		max-width: 330px;
		margin: 0 auto;
	}

	.home-posts__more {
		justify-self: center;
		margin-top: 4px;
		border-color: var(--wc-blue);
		color: var(--wc-blue);
	}

	.site-footer {
		padding: 32px 0;
	}

	.site-footer__inner {
		display: block;
		max-width: 330px;
		text-align: left;
	}

	.site-footer__logo img {
		width: 76px;
		margin: 0 auto 20px;
	}

	.site-footer p {
		margin-bottom: 18px;
		font-weight: 700;
	}

	.site-footer__actions {
		display: none;
	}

	.site-footer small {
		display: block;
		margin-top: 22px;
	}

	body.single-post {
		padding-bottom: 62px;
	}

	body.single-post .site-header {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		border-top: 1px solid rgba(13, 20, 38, 0.14);
		border-bottom: 0;
	}

	body.single-post .site-header__inner {
		min-height: 58px;
	}

	body.single-post .site-logo img {
		width: 38px;
		height: 38px;
	}

	body.single-post .single-hero {
		padding: 16px 0 28px;
	}

	body.single-post .single-hero__image {
		height: 202px;
	}

	body.single-post .single-hero__title h1 {
		max-width: 290px;
		font-size: 28px;
	}

	body.single-post .single-content,
	body.single-post .post-share {
		max-width: 330px;
	}

	body.single-post .post-share {
		display: block;
		text-align: left;
	}

	body.single-post .post-share__links {
		justify-content: flex-start;
	}

	body.single-post .post-share__tags {
		justify-content: flex-start;
		padding-top: 24px;
	}

	body.single-post .single-content h2 {
		font-size: 26px;
	}

	body.single-post .single-content p,
	body.single-post .single-content li {
		font-size: 15px;
		line-height: 1.62;
	}

	body.single-post .single-content blockquote {
		font-size: 20px;
	}

	body.single-post .related-posts {
		padding: 46px 0 58px;
	}

	body.single-post .related-posts__header {
		max-width: 330px;
		margin: 0 auto 28px;
		text-align: center;
	}

	body.single-post .related-posts__header h2 {
		font-size: 32px;
	}

	body.single-post .related-posts__view-all {
		display: none;
	}

	body.single-post .related-posts__grid,
	.wc-card-grid {
		grid-template-columns: 1fr;
		max-width: 330px;
		margin: 0 auto;
	}

	body.single-post .related-posts__more {
		display: inline-flex;
		margin: 30px auto 0;
		border-color: var(--wc-blue);
		color: var(--wc-blue);
	}

	body.single-post .related-posts .wc-container {
		text-align: center;
	}
}

@media (max-width: 640px) {
	.wc-container {
		width: min(100% - 32px, 380px);
	}

	.wc-card__media {
		height: 188px;
	}

	.wc-card__body {
		text-align: left;
	}
}
