/*
Theme Name: SecureTech
Theme URI: https://securetechinnovations.com/
Author: SecureTech Innovations
Description: A custom WordPress theme matching the SecureTech Innovations public website.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: securetech
*/

:root {
	--ink: #0d131c;
	--navy: #111a27;
	--red: #ce1736;
	--red-dark: #ac1029;
	--text: #101827;
	--muted: #5d6b7f;
	--line: #e1e7ef;
	--mist: #f3f6fa;
	--soft: #f8fafc;
	--white: #fff;
	--shell: 1380px;
	--radius: 7px;
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background: var(--white);
	font-synthesis: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	background: var(--white);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

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

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

p,
h1,
h2,
h3,
h4 {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.026em;
}

p {
	color: var(--muted);
}

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

.site-header {
	position: absolute;
	z-index: 100;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
	color: #fff;
}

body:not(.home) .site-header {
	position: relative;
	background: var(--ink);
}

.header-inner {
	display: flex;
	min-height: 86px;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
}

.brand {
	display: block;
	flex: 0 0 auto;
}

.brand img {
	width: 178px;
	height: auto;
}

.desktop-nav {
	display: flex;
	align-items: center;
	gap: 31px;
	font-size: 14px;
	font-weight: 500;
}

.desktop-nav a {
	color: #eff3f8;
	transition: color .18s ease;
}

.desktop-nav a:hover {
	color: #fff;
}

.nav-alerts {
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 5px;
}

.menu-toggle,
.mobile-nav {
	display: none;
}

.hero {
	position: relative;
	display: flex;
	min-height: 840px;
	align-items: center;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}

.hero-video,
.hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-video {
	object-fit: cover;
	opacity: .58;
}

.hero-shade {
	background:
		linear-gradient(90deg, rgba(8, 13, 20, .96) 0%, rgba(8, 14, 23, .87) 52%, rgba(8, 14, 23, .72) 100%),
		linear-gradient(0deg, rgba(8, 13, 20, .42), transparent 55%);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding-top: 82px;
}

.hero-meta {
	margin-bottom: 22px;
	color: #eef2f7;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.hero-meta span {
	padding-inline: 12px;
	color: #b9c1cb;
}

.hero h1 {
	max-width: 900px;
	margin-bottom: 22px;
	color: #fff;
	font-size: clamp(48px, 4.3vw, 67px);
	font-weight: 300;
}

.hero-lead {
	max-width: 850px;
	margin-bottom: 30px;
	color: #eef1f5;
	font-size: 20px;
	line-height: 1.6;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 13px 25px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
}

.button-primary {
	border-color: var(--red);
	background: var(--red);
	color: #fff;
}

.button-primary:hover {
	border-color: var(--red-dark);
	background: var(--red-dark);
}

.button-secondary {
	border-color: rgba(255, 255, 255, .82);
	background: rgba(255, 255, 255, .04);
	color: #fff;
}

.hero-metrics {
	display: grid;
	margin-top: 50px;
	grid-template-columns: repeat(3, 1fr);
	gap: 46px;
}

.hero-metrics div {
	display: grid;
	gap: 8px;
}

.hero-metrics span,
.contact-details dt {
	color: #8995a5;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hero-metrics strong {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

.section {
	padding: 96px 0;
}

.section-mist {
	background:
		radial-gradient(circle at 1px 1px, rgba(61, 83, 111, .08) 1px, transparent 0) 0 0 / 14px 14px,
		var(--mist);
}

.section-soft {
	background: var(--soft);
}

.section-heading {
	max-width: 850px;
	margin-bottom: 48px;
}

.section-heading.compact {
	max-width: 690px;
}

.kicker {
	margin-bottom: 14px;
	color: var(--red);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kicker-muted {
	color: #8591a0;
}

.section-heading h2,
.contact h2,
.page-hero h1 {
	margin-bottom: 16px;
	font-size: clamp(34px, 3vw, 45px);
	font-weight: 300;
}

.section-heading > p:last-child {
	margin-bottom: 0;
	font-size: 16px;
	line-height: 1.65;
}

.operate-row {
	display: grid;
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid #d9e1ea;
	grid-template-columns: 72px 280px 1fr;
	gap: 24px;
}

.operate-row:last-child {
	border-bottom: 1px solid #d9e1ea;
}

.operate-row .dashicons,
.model-card .dashicons {
	width: 34px;
	height: 34px;
	color: var(--red);
	font-size: 34px;
}

.operate-row h3,
.model-card h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.operate-row p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
}

.card-grid {
	display: grid;
	gap: 22px;
}

.card-grid.three {
	grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
	grid-template-columns: repeat(2, 1fr);
}

.card {
	position: relative;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 3px 10px rgba(15, 23, 42, .025);
}

.model-card {
	min-height: 230px;
}

.model-card .dashicons {
	margin-bottom: 38px;
}

.model-card h3 {
	margin-bottom: 14px;
}

.model-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
}

.portfolio-snapshot {
	padding-top: 48px;
}

.portfolio-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-top: 3px solid #3b82f6;
	border-radius: var(--radius);
	background: #fff;
}

.portfolio-card.accent-2 {
	border-top-color: #f59e0b;
}

.portfolio-card.accent-3 {
	border-top-color: #475569;
}

.portfolio-logo {
	display: flex;
	height: 154px;
	align-items: center;
	justify-content: center;
	padding: 28px;
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.portfolio-logo img {
	max-width: 88%;
	max-height: 94px;
	object-fit: contain;
}

.portfolio-copy {
	padding: 26px;
}

.portfolio-copy h3 {
	margin-bottom: 12px;
	font-size: 17px;
	font-weight: 600;
}

.portfolio-copy p,
.portfolio-copy .wp-block-group {
	font-size: 14px;
}

.portfolio-copy .portfolio-tag {
	margin: 24px 0 0;
	color: #a0a9b6;
	font-size: 12px;
}

.resources {
	background: #fff;
}

.resource-card {
	min-height: 230px;
}

.resource-card > .dashicons {
	width: 34px;
	height: 34px;
	margin-bottom: 20px;
	color: #9aa7b8;
	font-size: 34px;
}

.resource-card small {
	position: absolute;
	top: 24px;
	right: 26px;
	color: #8491a1;
	font-size: 11px;
}

.resource-card h3 {
	margin-bottom: 10px;
	font-size: 17px;
	font-weight: 600;
}

.resource-card p {
	margin-bottom: 22px;
	font-size: 14px;
}

.resource-card a {
	color: var(--red);
	font-size: 13px;
	font-weight: 600;
}

.news-list {
	display: grid;
	gap: 16px;
}

.news-item {
	display: grid;
	min-height: 88px;
	align-items: center;
	padding: 18px 24px;
	border: 1px solid #e9edf2;
	border-radius: 4px;
	background: #fff;
	grid-template-columns: 34px 1fr auto;
	gap: 18px;
}

.news-item .dashicons {
	color: #9aa7b8;
}

.news-item strong {
	font-size: 15px;
	font-weight: 600;
}

.news-item time {
	color: #9aa5b3;
	font-size: 12px;
}

.blog-dark {
	background: var(--ink);
	color: #fff;
}

.inline-heading {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
}

.inline-heading h2 {
	margin-bottom: 0;
	color: #fff;
}

.inline-heading > a {
	color: #a4afbe;
	font-size: 13px;
}

.blog-card {
	overflow: hidden;
	border: 1px solid #1e2a3b;
	border-radius: var(--radius);
	background: #101722;
}

.blog-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-copy {
	padding: 22px;
}

.blog-copy .kicker {
	margin-bottom: 10px;
}

.blog-copy h3 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}

.blog-copy time {
	color: #647185;
	font-size: 12px;
}

.contact-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 90px;
}

.contact-grid > div > p:not(.kicker) {
	max-width: 430px;
}

.contact-details {
	display: grid;
	margin-top: 38px;
	gap: 24px;
}

.contact-details div {
	padding-left: 31px;
}

.contact-details dt {
	margin-bottom: 3px;
}

.contact-details dd {
	margin: 0;
	font-size: 15px;
}

.contact-form {
	display: grid;
	gap: 17px;
}

.contact-form label {
	display: grid;
	color: #68778a;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	gap: 7px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid #d9e0e8;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
	color: var(--text);
	font: inherit;
	text-transform: none;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form .button {
	width: 100%;
}

.site-footer {
	position: relative;
	padding: 72px 0 42px;
	background:
		linear-gradient(rgba(10, 18, 29, .91), rgba(10, 18, 29, .94)),
		url("assets/media/footer-background.webp") center / cover;
	color: #a7b2c0;
}

.site-footer p,
.site-footer a {
	color: #9da9b8;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 120px;
}

.footer-grid h2 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
}

.footer-grid p {
	max-width: 540px;
	font-size: 14px;
}

.footer-muted {
	margin-top: 24px;
	color: #667487 !important;
}

.footer-legal {
	margin-top: 42px;
	padding-top: 22px;
	border-top: 1px solid rgba(148, 163, 184, .2);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
	gap: 12px 28px;
	font-size: 12px;
}

.footer-legal > p:not(.footer-links) {
	font-size: 11px;
	line-height: 1.7;
}

.page-hero {
	padding: 80px 0;
	background: var(--ink);
	color: #fff;
}

.page-hero h1 {
	color: #fff;
}

.page-hero p {
	max-width: 790px;
	color: #aab5c3;
}

.content-section {
	padding: 72px 0;
}

.content-shell {
	width: min(calc(100% - 48px), 840px);
	margin-inline: auto;
}

.content-shell h2 {
	margin-top: 42px;
	font-size: 28px;
}

.content-shell h3 {
	margin-top: 30px;
	font-size: 19px;
	font-weight: 600;
}

.content-shell p,
.content-shell li {
	color: #4f5e71;
}

.leader {
	display: grid;
	align-items: start;
	padding: 46px 0;
	border-top: 1px solid var(--line);
	grid-template-columns: 270px 1fr;
	gap: 52px;
}

.leader img {
	width: 270px;
	aspect-ratio: 1;
	border-radius: 6px;
	object-fit: cover;
}

.leader h3 {
	margin-bottom: 8px;
	font-size: 28px;
}

.leader-role {
	margin-bottom: 24px;
	color: var(--red);
	font-size: 14px;
	font-weight: 600;
}

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

.archive-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.archive-card-copy {
	padding: 22px;
}

.archive-card h2 {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 600;
}

.archive-card time,
.post-meta {
	color: #8a96a6;
	font-size: 12px;
}

.post-content img {
	margin: 28px auto;
}

.post-hero-image {
	position: relative;
	z-index: 2;
	margin-top: -32px;
}

.post-hero-image img {
	width: 100%;
	max-height: 540px;
	border-radius: 8px;
	object-fit: cover;
}

.pagination {
	margin-top: 42px;
}

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

.pagination .page-numbers {
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: #fff;
}

@media (max-width: 900px) {
	.desktop-nav {
		display: none;
	}

	.menu-toggle {
		display: grid;
		width: 42px;
		height: 42px;
		place-content: center;
		border: 0;
		background: transparent;
		gap: 4px;
	}

	.menu-toggle span {
		display: block;
		width: 18px;
		height: 2px;
		background: #fff;
	}

	.mobile-nav {
		position: absolute;
		top: 76px;
		right: 16px;
		left: 16px;
		z-index: 110;
		padding: 15px;
		border: 1px solid #283547;
		border-radius: 6px;
		background: #111a27;
	}

	.mobile-nav:not([hidden]) {
		display: grid;
	}

	.mobile-nav a {
		padding: 11px 9px;
		color: #fff;
		font-size: 14px;
	}

	.card-grid.three,
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-grid {
		gap: 50px;
	}

	.leader {
		grid-template-columns: 200px 1fr;
		gap: 34px;
	}

	.leader img {
		width: 200px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 20px;
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	.shell,
	.content-shell {
		width: min(calc(100% - 30px), var(--shell));
	}

	.header-inner {
		min-height: 70px;
	}

	.brand img {
		width: 116px;
	}

	.hero {
		min-height: 1177px;
		align-items: flex-start;
	}

	.hero-content {
		padding-top: 164px;
	}

	.hero-shade {
		background: linear-gradient(90deg, rgba(8, 14, 23, .95), rgba(10, 17, 27, .86));
	}

	.hero-meta {
		display: grid;
		margin-bottom: 23px;
		font-size: 15px;
		line-height: 1.8;
	}

	.hero-meta span {
		display: none;
	}

	.hero h1 {
		margin-bottom: 24px;
		font-size: 37.5px;
		line-height: 1.18;
	}

	.hero-lead {
		margin-bottom: 34px;
		font-size: 22.5px;
		line-height: 1.55;
	}

	.button-row {
		display: grid;
		width: 100%;
		max-width: 235px;
	}

	.button {
		min-height: 54px;
		padding: 13px 20px;
		font-size: 15px;
	}

	.hero-metrics {
		margin-top: 58px;
		grid-template-columns: repeat(2, 1fr);
		gap: 34px 20px;
	}

	.hero-metrics span {
		font-size: 15px;
	}

	.hero-metrics strong {
		font-size: 17.5px;
	}

	.section {
		padding: 82px 0;
	}

	.section-heading {
		margin-bottom: 44px;
	}

	.section-heading h2,
	.contact h2,
	.page-hero h1 {
		font-size: 37.5px;
		line-height: 1.2;
	}

	.section-heading > p:last-child {
		font-size: 17.5px;
	}

	.kicker {
		font-size: 15px;
	}

	.operate .section-heading h2,
	.portfolio-snapshot .section-heading h2,
	.blog-dark .section-heading h2 {
		font-size: 30px;
	}

	.operate-row {
		display: block;
		padding: 36px 0;
	}

	.operate-row .dashicons {
		display: block;
		margin: 0 auto 22px;
	}

	.operate-row h3 {
		margin-bottom: 20px;
		font-size: 17.5px;
	}

	.operate-row p {
		font-size: 17.5px;
	}

	.card-grid.three,
	.card-grid.four,
	.archive-grid,
	.contact-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.card-grid {
		gap: 24px;
	}

	.model-card {
		min-height: 0;
		padding: 32px;
	}

	.model-card .dashicons {
		margin-bottom: 36px;
	}

	.model-card h3 {
		font-size: 17.5px;
	}

	.model-card p {
		font-size: 17.5px;
	}

	.portfolio-snapshot {
		padding-top: 68px;
	}

	.portfolio-logo {
		height: 172px;
	}

	.portfolio-copy {
		padding: 32px;
	}

	.portfolio-copy h3 {
		font-size: 17.5px;
	}

	.portfolio-copy p,
	.portfolio-copy .wp-block-group {
		font-size: 17.5px;
	}

	.resources .card-grid {
		gap: 24px;
	}

	.resource-card {
		min-height: 280px;
		padding: 32px;
	}

	.resource-card h3,
	.resource-card p {
		font-size: 17.5px;
	}

	.resource-card a {
		font-size: 15px;
	}

	.news-item {
		align-items: start;
		min-height: 118px;
		padding: 24px;
		grid-template-columns: 28px 1fr;
	}

	.news-item time {
		grid-column: 2;
	}

	.news-item strong {
		font-size: 17.5px;
	}

	.news-item time {
		font-size: 15px;
	}

	.inline-heading {
		align-items: end;
	}

	.inline-heading h2 {
		font-size: 30px;
	}

	.blog-card {
		max-width: none;
	}

	.blog-copy {
		padding: 28px;
	}

	.blog-copy h3 {
		font-size: 17.5px;
	}

	.blog-copy time,
	.inline-heading > a {
		font-size: 15px;
	}

	.contact-grid {
		gap: 62px;
	}

	.contact-details {
		margin-bottom: 8px;
	}

	.leader {
		display: block;
		padding: 36px 0;
	}

	.leader img {
		width: 100%;
		max-width: 300px;
		margin-bottom: 26px;
	}

	.site-footer {
		padding: 82px 0 44px;
	}

	.footer-grid {
		gap: 42px;
	}

	.footer-links {
		gap: 8px 18px;
	}

	.page-hero {
		padding: 78px 0;
	}
}
