/*
Theme Name: DeepVision Lingjing
Theme URI: https://example.com/deepvision-lingjing
Author: Codex
Description: 深维灵境科技感官网主题，内置企业介绍、AI漫剧业务、技术平台、案例展示、资质合作、人才招聘和联系页面，兼容 Elementor 编辑。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deepvision-lingjing
*/

:root {
	--bg: #061018;
	--bg-deep: #02070d;
	--ink: #f4f8fb;
	--muted: #a8bac8;
	--line: rgba(129, 221, 255, 0.18);
	--line-strong: rgba(95, 245, 232, 0.48);
	--panel: rgba(12, 27, 40, 0.82);
	--panel-solid: #0c1b28;
	--cyan: #5ff5e8;
	--blue: #4e8cff;
	--amber: #ffbf5f;
	--jade: #65e6a5;
	--danger: #ff6d8a;
	--shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
	--radius: 8px;
	--shell: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(rgba(63, 142, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(63, 142, 255, 0.08) 1px, transparent 1px),
		var(--bg-deep);
	background-size: 44px 44px;
	color: var(--ink);
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 0;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(120deg, rgba(95, 245, 232, 0.08), transparent 34%),
		linear-gradient(300deg, rgba(255, 191, 95, 0.07), transparent 38%),
		linear-gradient(180deg, rgba(2, 7, 13, 0.1), rgba(2, 7, 13, 0.92));
	pointer-events: none;
}

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

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

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

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: 0;
	overflow-wrap: break-word;
}

h1 {
	font-size: 64px;
}

h2 {
	font-size: 42px;
}

h3 {
	font-size: 24px;
}

button,
input,
textarea {
	font: inherit;
}

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

.skip-link,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 200;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--cyan);
	color: #021015;
	border-radius: 4px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	background: rgba(2, 7, 13, 0.4);
	backdrop-filter: blur(18px);
	transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
	border-bottom-color: rgba(95, 245, 232, 0.18);
	background: rgba(2, 7, 13, 0.86);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.brand-image {
	flex: 0 0 auto;
	max-width: min(260px, 48vw);
}

.brand-logo {
	width: auto;
	height: 44px;
	object-fit: contain;
}

.brand-mark {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--line-strong);
	background: linear-gradient(135deg, rgba(95, 245, 232, 0.18), rgba(78, 140, 255, 0.12));
	color: var(--cyan);
	border-radius: 8px;
	font-weight: 800;
	box-shadow: inset 0 0 24px rgba(95, 245, 232, 0.1);
}

.brand-copy {
	display: grid;
	gap: 1px;
}

.brand-copy strong {
	color: var(--ink);
	font-size: 18px;
	line-height: 1.2;
}

.brand-copy em {
	color: var(--muted);
	font-size: 10px;
	font-style: normal;
	line-height: 1.2;
	text-transform: uppercase;
}

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

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

.primary-menu a {
	display: block;
	padding: 9px 12px;
	border: 1px solid transparent;
	border-radius: 6px;
	color: #dce8f2;
	font-size: 14px;
	line-height: 1.3;
	transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	border-color: rgba(95, 245, 232, 0.26);
	background: rgba(95, 245, 232, 0.08);
	color: var(--cyan);
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	background: var(--panel);
	border-radius: 6px;
	color: var(--ink);
}

.nav-toggle-line {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
}

.site-main {
	overflow: hidden;
}

.elementor-compatible-content {
	min-height: 62vh;
}

.elementor-full-width-content,
.elementor-canvas-content {
	width: 100%;
}

.elementor-page .site-main,
.dvl-canvas-template .site-main {
	overflow: visible;
}

.section {
	position: relative;
	padding: 110px 0;
}

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

.section-dark {
	background: rgba(2, 7, 13, 0.48);
	border-top: 1px solid rgba(129, 221, 255, 0.1);
	border-bottom: 1px solid rgba(129, 221, 255, 0.1);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--cyan);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 30px;
	height: 1px;
	background: var(--cyan);
}

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
	gap: 34px;
	align-items: end;
	margin-bottom: 44px;
}

.section-head p {
	max-width: 650px;
}

.hero {
	position: relative;
	min-height: 760px;
	padding: 112px 0 78px;
}

.hero::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	content: "";
	background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
	align-items: center;
	gap: 50px;
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.hero h1 {
	max-width: 780px;
	margin-bottom: 24px;
}

.hero-lead {
	max-width: 650px;
	color: #dce9f3;
	font-size: 20px;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid rgba(95, 245, 232, 0.42);
	background: rgba(95, 245, 232, 0.1);
	color: var(--ink);
	border-radius: 6px;
	font-weight: 700;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
	transform: translateY(-2px);
	border-color: var(--cyan);
	background: rgba(95, 245, 232, 0.18);
}

.button-primary {
	background: linear-gradient(135deg, var(--cyan), var(--blue));
	color: #021015;
	border-color: transparent;
}

.button-amber {
	background: rgba(255, 191, 95, 0.14);
	border-color: rgba(255, 191, 95, 0.46);
	color: #ffe3b0;
}

.hero-visual {
	position: relative;
}

.hero-frame {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(95, 245, 232, 0.26);
	background: var(--panel-solid);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero-frame img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.hero-frame::after {
	position: absolute;
	inset: 0;
	content: "";
	background:
		linear-gradient(90deg, rgba(2, 7, 13, 0.28), transparent 52%),
		linear-gradient(0deg, rgba(2, 7, 13, 0.76), transparent 44%);
}

.hero-console {
	position: absolute;
	left: -34px;
	bottom: -36px;
	display: grid;
	grid-template-columns: repeat(2, minmax(130px, 1fr));
	gap: 10px;
	width: min(390px, 86%);
	padding: 14px;
	border: 1px solid rgba(255, 191, 95, 0.36);
	background: rgba(6, 16, 24, 0.92);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.console-item {
	padding: 14px;
	border-left: 2px solid var(--amber);
	background: rgba(255, 191, 95, 0.08);
}

.console-item strong {
	display: block;
	color: var(--ink);
	font-size: 22px;
	line-height: 1.1;
}

.console-item span {
	color: var(--muted);
	font-size: 12px;
}

.metric-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	border: 1px solid rgba(95, 245, 232, 0.18);
	background: rgba(95, 245, 232, 0.12);
}

.metric-item {
	padding: 28px;
	background: rgba(8, 21, 33, 0.94);
}

.metric-item strong {
	display: block;
	color: var(--cyan);
	font-size: 34px;
	line-height: 1.05;
}

.metric-item span {
	display: block;
	margin-top: 10px;
	color: var(--muted);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

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

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

.dvl-card {
	position: relative;
	overflow: hidden;
	min-height: 220px;
	padding: 26px;
	border: 1px solid rgba(129, 221, 255, 0.15);
	background: rgba(12, 27, 40, 0.74);
	border-radius: var(--radius);
	box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.dvl-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	content: "";
	background: linear-gradient(90deg, var(--cyan), var(--amber), transparent);
}

.dvl-card small {
	display: inline-flex;
	margin-bottom: 16px;
	color: var(--amber);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.dvl-card h3 {
	margin-bottom: 12px;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
	gap: 44px;
	align-items: center;
}

.split.reverse {
	grid-template-columns: minmax(360px, 0.72fr) minmax(0, 0.88fr);
}

.image-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.image-grid img,
.feature-image {
	width: 100%;
	border: 1px solid rgba(129, 221, 255, 0.16);
	border-radius: var(--radius);
	object-fit: cover;
	box-shadow: var(--shadow);
}

.image-grid img {
	aspect-ratio: 1 / 1.06;
}

.feature-image {
	aspect-ratio: 16 / 10;
}

.flow {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	margin-top: 36px;
}

.flow-step {
	position: relative;
	min-height: 150px;
	padding: 18px;
	border: 1px solid rgba(95, 245, 232, 0.18);
	background: rgba(8, 21, 33, 0.78);
	border-radius: var(--radius);
}

.flow-step span {
	display: block;
	margin-bottom: 18px;
	color: var(--cyan);
	font-weight: 800;
}

.flow-step strong {
	display: block;
	margin-bottom: 8px;
	color: var(--ink);
}

.timeline {
	display: grid;
	gap: 18px;
}

.timeline-item {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 24px;
	padding: 26px;
	border: 1px solid rgba(129, 221, 255, 0.15);
	background: rgba(12, 27, 40, 0.72);
	border-radius: var(--radius);
}

.timeline-date {
	color: var(--cyan);
	font-weight: 800;
}

.timeline-item h3 {
	margin-bottom: 10px;
}

.case-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr 0.9fr;
	gap: 18px;
}

.case-card {
	position: relative;
	overflow: hidden;
	min-height: 360px;
	border: 1px solid rgba(129, 221, 255, 0.16);
	background: var(--panel-solid);
	border-radius: var(--radius);
}

.case-card.large {
	grid-row: span 2;
}

.case-card img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
	opacity: 0.82;
}

.case-card .case-copy {
	position: absolute;
	inset: auto 0 0;
	padding: 24px;
	background: linear-gradient(0deg, rgba(2, 7, 13, 0.94), rgba(2, 7, 13, 0.04));
}

.case-copy h3 {
	margin-bottom: 8px;
}

.hero-real {
	background:
		linear-gradient(115deg, rgba(2, 7, 13, 0.86), rgba(2, 7, 13, 0.24) 48%, rgba(2, 7, 13, 0.88)),
		radial-gradient(circle at 18% 18%, rgba(95, 245, 232, 0.16), transparent 34%);
}

.office-showcase {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: 18px;
	align-items: stretch;
}

.media-card,
.activity-card,
.editorial-gallery figure,
.feature-figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	border: 1px solid rgba(129, 221, 255, 0.16);
	background: rgba(12, 27, 40, 0.72);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.media-card {
	min-height: 300px;
}

.media-card-large {
	grid-row: span 2;
	min-height: 618px;
}

.media-card img,
.activity-card img,
.editorial-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-card img {
	aspect-ratio: 4 / 3;
	min-height: 300px;
}

.media-card-large img {
	aspect-ratio: auto;
	min-height: 618px;
}

.media-card figcaption,
.editorial-gallery figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	gap: 5px;
	padding: 22px;
	background: linear-gradient(0deg, rgba(2, 7, 13, 0.94), rgba(2, 7, 13, 0.02));
}

.media-card figcaption strong,
.editorial-gallery figcaption {
	color: var(--ink);
	font-weight: 800;
}

.media-card figcaption span {
	color: #d5e5ef;
	font-size: 14px;
	line-height: 1.65;
}

.business-stack {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	border: 1px solid rgba(95, 245, 232, 0.2);
	background: rgba(12, 27, 40, 0.72);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.business-stack img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	opacity: 0.92;
}

.stack-note {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	display: grid;
	gap: 6px;
	padding: 18px;
	border: 1px solid rgba(255, 191, 95, 0.34);
	background: rgba(6, 16, 24, 0.9);
	border-radius: 6px;
}

.stack-note strong {
	color: var(--ink);
}

.stack-note span {
	color: var(--muted);
	font-size: 14px;
}

.activity-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.activity-card {
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100%;
}

.activity-card img {
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid rgba(129, 221, 255, 0.16);
}

.activity-card > div {
	padding: 24px;
}

.activity-card small {
	display: inline-flex;
	margin-bottom: 12px;
	color: var(--amber);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.activity-card h3 {
	margin-bottom: 10px;
	font-size: 22px;
}

.feature-figure {
	display: grid;
}

.feature-figure .feature-image {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.feature-figure figcaption {
	padding: 16px 18px;
	color: var(--muted);
	font-size: 14px;
}

.editorial-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.editorial-gallery figure {
	min-height: 420px;
}

.editorial-gallery img {
	aspect-ratio: 4 / 5;
	min-height: 420px;
}

.cert-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.cert-card {
	display: grid;
	grid-template-rows: minmax(460px, 1fr) auto;
	overflow: hidden;
	margin: 0;
	border: 1px solid rgba(129, 221, 255, 0.16);
	background: rgba(12, 27, 40, 0.78);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.cert-frame {
	display: grid;
	min-height: 460px;
	padding: 18px;
	place-items: center;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 247, 0.94));
}

.cert-frame.landscape {
	min-height: 360px;
}

.cert-frame img {
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: contain;
}

.cert-frame.landscape img {
	max-height: 360px;
}

.cert-card figcaption {
	display: grid;
	gap: 5px;
	padding: 18px 20px;
	border-top: 1px solid rgba(129, 221, 255, 0.14);
}

.cert-card figcaption strong {
	color: var(--ink);
	font-size: 17px;
	line-height: 1.35;
}

.cert-card figcaption span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.badge {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(95, 245, 232, 0.28);
	background: rgba(95, 245, 232, 0.08);
	color: #dffdf9;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
}

.table-like {
	display: grid;
	gap: 1px;
	border: 1px solid rgba(95, 245, 232, 0.16);
	background: rgba(95, 245, 232, 0.14);
}

.table-row {
	display: grid;
	grid-template-columns: 0.8fr 1fr 0.6fr;
	gap: 1px;
}

.table-row > div {
	padding: 18px;
	background: rgba(8, 21, 33, 0.94);
	color: var(--muted);
}

.table-head > div {
	color: var(--cyan);
	font-weight: 800;
}

.cta-band {
	padding: 70px 0;
	background:
		linear-gradient(90deg, rgba(95, 245, 232, 0.12), rgba(78, 140, 255, 0.12), rgba(255, 191, 95, 0.1)),
		rgba(4, 12, 20, 0.76);
	border-top: 1px solid rgba(95, 245, 232, 0.18);
	border-bottom: 1px solid rgba(95, 245, 232, 0.18);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.cta-inner p {
	max-width: 680px;
	margin-top: 12px;
}

.page-hero {
	padding: 120px 0 72px;
	border-bottom: 1px solid rgba(129, 221, 255, 0.12);
	background:
		linear-gradient(90deg, rgba(2, 7, 13, 0.7), rgba(2, 7, 13, 0.16)),
		var(--page-image, none) center / cover;
}

.page-hero-inner {
	max-width: 780px;
}

.page-hero p {
	margin-top: 18px;
	color: #dce9f3;
	font-size: 19px;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.68fr) minmax(420px, 0.8fr);
	gap: 34px;
	align-items: start;
}

.contact-form {
	display: grid;
	gap: 16px;
	padding: 28px;
	border: 1px solid rgba(95, 245, 232, 0.22);
	background: rgba(12, 27, 40, 0.8);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.field {
	display: grid;
	gap: 8px;
}

.field label {
	color: #dce9f3;
	font-weight: 700;
}

.field input,
.field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid rgba(129, 221, 255, 0.18);
	background: rgba(3, 10, 16, 0.74);
	color: var(--ink);
	border-radius: 6px;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.honeypot {
	position: absolute;
	left: -9999px;
}

.form-status {
	padding: 12px 14px;
	border: 1px solid rgba(101, 230, 165, 0.3);
	background: rgba(101, 230, 165, 0.1);
	color: #d9ffe9;
	border-radius: 6px;
}

.form-status.error {
	border-color: rgba(255, 109, 138, 0.32);
	background: rgba(255, 109, 138, 0.1);
	color: #ffe0e7;
}

.site-footer {
	padding: 70px 0 28px;
	background: #02070d;
	border-top: 1px solid rgba(129, 221, 255, 0.14);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.7fr 1fr;
	gap: 44px;
}

.footer-grid h2 {
	margin-bottom: 16px;
	font-size: 18px;
}

.footer-logo-image {
	width: min(280px, 72vw);
	height: auto;
	margin-bottom: 18px;
}

.footer-links {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-links a,
.footer-cta {
	color: var(--muted);
}

.footer-links a:hover,
.footer-cta:hover {
	color: var(--cyan);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin-top: 48px;
	padding-top: 22px;
	border-top: 1px solid rgba(129, 221, 255, 0.12);
	color: #7f95a7;
	font-size: 13px;
}

.reveal {
	transform: translateY(16px);
	opacity: 0;
	transition: transform 520ms ease, opacity 520ms ease;
}

.reveal.is-visible {
	transform: translateY(0);
	opacity: 1;
}

@media (max-width: 1120px) {
	h1 {
		font-size: 52px;
	}

	h2 {
		font-size: 36px;
	}

	.hero-grid,
	.split,
	.split.reverse,
	.section-head,
	.office-showcase,
	.editorial-gallery,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.media-card-large {
		grid-row: auto;
		min-height: 420px;
	}

	.media-card-large img {
		aspect-ratio: 16 / 10;
		min-height: 420px;
	}

	.flow,
	.card-grid.four,
	.cert-grid,
	.activity-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hero-console {
		left: 18px;
	}
}

@media (max-width: 920px) {
	.header-inner {
		min-height: 68px;
	}

	.brand-logo {
		height: 36px;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: absolute;
		top: 68px;
		left: 20px;
		right: 20px;
		display: none;
		padding: 14px;
		border: 1px solid rgba(95, 245, 232, 0.2);
		background: rgba(2, 7, 13, 0.96);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}

	.site-nav.is-open {
		display: block;
	}

	.primary-menu {
		display: grid;
		gap: 6px;
	}

	.primary-menu a {
		padding: 12px;
	}

	.metric-strip,
	.card-grid,
	.card-grid.two,
	.card-grid.four,
	.activity-grid,
	.cert-grid,
	.case-grid,
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

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

	.cta-inner,
	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.shell {
		width: min(100% - 28px, var(--shell));
	}

	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 30px;
	}

	.hero {
		min-height: auto;
		padding-top: 82px;
	}

	.hero-grid {
		gap: 32px;
	}

	.hero-lead,
	.page-hero p {
		font-size: 17px;
	}

	.hero-console {
		position: static;
		width: 100%;
		margin-top: 14px;
	}

	.metric-strip,
	.card-grid,
	.card-grid.two,
	.card-grid.four,
	.activity-grid,
	.editorial-gallery,
	.cert-grid,
	.case-grid,
	.image-grid,
	.flow,
	.footer-grid,
	.table-row,
	.timeline-item {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 78px 0;
	}

	.section-tight {
		padding: 56px 0;
	}

	.case-card,
	.case-card img {
		min-height: 320px;
	}

	.media-card,
	.media-card img,
	.media-card-large,
	.media-card-large img,
	.business-stack,
	.business-stack img,
	.editorial-gallery figure,
	.editorial-gallery img {
		min-height: 300px;
	}

	.cert-card {
		grid-template-rows: minmax(360px, auto) auto;
	}

	.cert-frame,
	.cert-frame.landscape {
		min-height: 320px;
	}

	.cert-frame img,
	.cert-frame.landscape img {
		max-height: 380px;
	}

	.stack-note {
		position: static;
		margin: 14px;
	}
}
