/*
Theme Name: Xijun Composites
Theme URI: http://localhost/
Author: Xijun Technology
Author URI: http://localhost/
Description: 面向先进复合材料企业的企业级 WordPress 主题，版式与视觉语言参考 hexcel.com：深海军蓝 + 亮蓝／青色点缀、超大标题、克制留白、Hero／数据／业务板块／行业／新闻等区块。支持自定义菜单、小工具、自定义 Logo、编辑器样式与移动端折叠菜单。
Version: 1.0.0
Requires at least: 6.4
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: xijun-composites
Tags: business, corporate, custom-logo, custom-menu, featured-images, editor-style, translation-ready, wide-blocks, threaded-comments
*/

/* ==========================================================================
   0. Design tokens（取自参考站 hexcel.com 的 CSS 变量）
   ========================================================================== */
:root {
	--navy-950: #00072d;          /* primary-color2 */
	--navy-900: #001489;          /* primary-color3 / footer */
	--slate-600: #50577d;         /* primary-color1 / body text */
	--blue-600: #0072ce;          /* secondary-color2 */
	--blue-300: #8ec6ff;          /* secondary-color3 */
	--cyan-400: #00f3ff;          /* secondary-color4 */
	--gold-400: #ffb700;          /* notice / accent */
	--white: #ffffff;
	--mist: #f4f6fb;
	--mist-200: #e9edf6;
	--line: rgba(80, 87, 125, 0.16);
	--line-light: rgba(255, 255, 255, 0.14);
	--danger: #da747b;
	--success: #50b2a0;

	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
		"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
	--font-head: var(--font-sans);

	--fs-base: 1.8rem;
	--fs-small: 1.6rem;
	--fs-large: 2.2rem;
	--fs-h1: clamp(3.6rem, 7vw, 7.2rem);
	--fs-h2: clamp(3rem, 4.4vw, 5.4rem);
	--fs-h3: clamp(2.2rem, 2.6vw, 3.2rem);
	--fs-h4: clamp(1.9rem, 2vw, 2.4rem);
	--fs-eyebrow: 1.4rem;

	/* Container widths (vw-based like hexcel.com, with min/max clamps for extreme screens) */
	--container:  clamp(1100px, 75vw, 1500px);
	--container-wide: clamp(1400px, 92vw, 1800px);
	--gutter: 4rem;             /* 40px desktop gutter, hexcel uses 3rem (=30px) */
	--gutter-mobile: 2rem;      /* 20px mobile gutter (matches hexcel --dst--mobile-gutter) */
	--header-h: 76px;
	--radius: 2px;
	--section-gap: clamp(64px, 9vw, 120px);
	--shadow-lg: 0 30px 60px rgba(0, 7, 45, 0.12);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   1. Reset / base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%; /* 1rem = 10px */
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--slate-600);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--blue-600);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover,
a:focus {
	color: var(--navy-950);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--navy-950);
	font-family: var(--font-head);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.03em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.02em; }
h5, h6 { font-size: 1.8rem; font-weight: 600; letter-spacing: 0; }

p {
	margin: 0 0 1.4em;
}

ul,
ol {
	margin: 0 0 1.4em;
	padding-left: 1.3em;
}

li + li {
	margin-top: 0.4em;
}

blockquote {
	margin: 0 0 var(--section-gap);
	padding: 2.4rem 3.2rem;
	border-left: 3px solid var(--navy-900);
	color: var(--navy-900);
	font-size: clamp(2.2rem, 3vw, 4rem);
	line-height: 1.35;
	letter-spacing: -0.02em;
}

blockquote cite {
	display: block;
	margin-top: 1rem;
	color: var(--slate-600);
	font-size: 1.4rem;
	font-style: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

pre,
code,
kbd {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.88em;
}

pre {
	overflow: auto;
	padding: 24px;
	background: var(--navy-950);
	color: var(--blue-300);
	border-radius: var(--radius);
}

table {
	width: 100%;
	margin: 0 0 1.6em;
	border-collapse: collapse;
	font-size: var(--fs-small);
}

th,
td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

th {
	color: var(--navy-950);
	font-weight: 600;
}

hr {
	height: 1px;
	margin: 3rem 0;
	border: 0;
	background: var(--line);
}

figure {
	margin: 0 0 1.6em;
}

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	display: block;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	z-index: 100000;
	background: var(--white);
	color: var(--navy-950);
	font-size: 1.4rem;
	font-weight: 600;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 12px 20px;
	background: var(--white);
	color: var(--navy-950);
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

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

/* ==========================================================================
   2. Layout helpers
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--wide {
	max-width: var(--container-wide);
}

.section {
	padding: var(--section-gap) 0;
}

.section--tight {
	padding: clamp(48px, 6vw, 80px) 0;
}

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

.section--navy {
	background: var(--navy-950);
	color: rgba(255, 255, 255, 0.78);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
	color: var(--white);
}

.section--navy a {
	color: var(--blue-300);
}

.section--navy a:hover {
	color: var(--cyan-400);
}

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 40px var(--gutter);
	align-items: end;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head > * {
	margin-bottom: 0;
}

.section-head__aside {
	max-width: 560px;
	color: var(--slate-600);
	font-size: var(--fs-small);
	line-height: 1.7;
}

.section--navy .section-head__aside {
	color: rgba(255, 255, 255, 0.62);
}

.section-head__aside p:last-child {
	margin-bottom: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--blue-600);
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--gold-400);
}

.eyebrow--light {
	color: var(--blue-300);
}

.section--navy .eyebrow {
	color: var(--blue-300);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn svg {
	width: 18px;
	height: 18px;
	flex: none;
	transition: transform 0.2s var(--ease);
}

.btn:hover svg {
	transform: translateX(4px);
}

.btn--primary {
	background: var(--blue-300);
	border-color: var(--blue-300);
	color: var(--navy-950);
}

.btn--primary:hover {
	background: var(--cyan-400);
	border-color: var(--cyan-400);
	color: var(--navy-950);
}

.btn--navy {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--white);
}

.btn--navy:hover {
	background: var(--cyan-400);
	border-color: var(--cyan-400);
	color: var(--navy-950);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--white);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--white);
	color: var(--white);
}

.btn--text {
	padding: 0 0 6px;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: none;
	color: var(--blue-600);
	border-radius: 0;
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 1.5rem;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.link-arrow svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover svg {
	transform: translateX(4px);
}

/* ==========================================================================
   3. Header / navigation
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	color: var(--white);
	transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header--transparent {
	background: linear-gradient(180deg, rgba(0, 7, 45, 0.62) 0%, rgba(0, 7, 45, 0) 100%);
}

.site-header--solid {
	background: var(--navy-950);
}

.site-header.is-scrolled,
.site-header--solid {
	background: var(--navy-900);
	box-shadow: 0 8px 30px rgba(0, 7, 45, 0.22);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: var(--header-h);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.site-branding img {
	width: auto;
	max-height: 44px;
}

.site-branding__mark {
	width: 38px;
	height: 38px;
	flex: none;
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	color: var(--white);
	line-height: 1.15;
}

.site-title {
	margin: 0;
	font-size: 2.1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.site-title a {
	color: inherit;
}

.site-description {
	margin: 2px 0 0;
	font-size: 1.1rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.header-nav {
	margin-left: auto;
}

.primary-menu,
.primary-menu ul {
	margin: 0;
	padding: 0;
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	list-style-position: outside;
	display: flex;
}

/* Every LI inside nav: force block display to kill browser list-item marker box.
 * Do NOT set display:block on nested ULs - they have their own rules. */
.site-header .primary-menu li {
	display: block !important;
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	list-style-position: inside !important;
}
.site-header .primary-menu ul {
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	list-style-position: inside !important;
}

/* Explicitly kill CSS ::marker pseudo-element (list-style: none alone
 * is insufficient in modern browsers where the marker box persists). */
.site-header .primary-menu li::marker,
.site-header .primary-menu li::-webkit-details-marker,
.site-header .primary-menu ul::marker,
.site-header .primary-menu ul::-webkit-details-marker {
	content: none !important;
	display: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

/* Mobile drawer sub-menus are column layout, not flex row.
 * Wrap this whole block in (max-width: 900px) to avoid
 * leaking flex-direction: column to desktop. */
@media (max-width: 900px) {
	.site-header .primary-menu {
		display: flex;
		flex-direction: column;
	}
	.site-header .primary-menu ul.sub-menu {
		display: none !important;
	}
	.site-header .primary-menu li.is-submenu-open > ul.sub-menu {
		display: block !important;
	}
}

/* Desktop primary menu MUST stay horizontal row. */
@media (min-width: 901px) {
	.site-header .primary-menu {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.site-header .primary-menu > li {
		display: inline-block !important;
	}
}

.primary-menu {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 28px;
}

.primary-menu > li {
	position: relative;
	margin: 0;
}

.primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 26px 0;
	color: var(--white);
	font-size: 1.65rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	color: var(--blue-300);
}

.primary-menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.7;
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -20px;
	min-width: 260px;
	padding: 12px 0;
	margin: 0;
	list-style: none;
	background: var(--navy-950);
	border-top: 2px solid var(--blue-300);
	box-shadow: 0 24px 50px rgba(0, 7, 45, 0.32);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 24px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 1.5rem;
	line-height: 1.4;
}

.primary-menu .sub-menu a:hover {
	background: rgba(142, 198, 255, 0.08);
	color: var(--white);
}

.submenu-toggle {
	display: none;
}

body.nav-open {
	overflow: hidden;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: none;
}

/* Language switcher (中文 / EN) */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--white);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lang-switch svg {
	width: 17px;
	height: 17px;
	opacity: 0.8;
}

.lang-switch:hover,
.lang-switch:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--blue-300);
	opacity: 1;
}

.lang-switch .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

@media (max-width: 480px) {
	.lang-switch {
		padding: 0 9px;
		gap: 6px;
		font-size: 1.1rem;
	}

	.lang-switch svg {
		width: 15px;
		height: 15px;
	}
}

.header-search-toggle,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: var(--white);
	cursor: pointer;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-search-toggle:hover,
.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--blue-300);
}

.header-search-toggle svg,
.menu-toggle svg {
	width: 20px;
	height: 20px;
}

.menu-toggle {
	display: none;
	position: relative;
	z-index: 1200;
}

.menu-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.menu-toggle__bars span {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Header search panel */
.header-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--navy-950);
	border-top: 1px solid var(--line-light);
	padding: 20px 0;
	display: none;
}

.header-search.is-open {
	display: block;
}

.header-search .search-form {
	display: flex;
	gap: 12px;
	max-width: 760px;
	margin: 0 auto;
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(600px, 92vh, 880px);
	padding: calc(var(--header-h) + 80px) 0 90px;
	background-color: var(--navy-950);
	background-size: cover;
	background-position: center;
	color: var(--white);
	overflow: hidden;
}

/* Hero background video (when uploaded via Customizer). */
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	background-color: var(--navy-950);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 7, 45, 0.94) 0%, rgba(0, 7, 45, 0.72) 46%, rgba(0, 7, 45, 0.28) 100%),
		linear-gradient(0deg, rgba(0, 7, 45, 0.85) 0%, rgba(0, 7, 45, 0) 42%);
	z-index: 1;
}

/* When a background video is present, lighten the overlay so the footage is
 * actually visible instead of being crushed by the dark hero gradient. */
.hero--video::before {
	background:
		linear-gradient(90deg, rgba(0, 7, 45, 0.58) 0%, rgba(0, 7, 45, 0.34) 52%, rgba(0, 7, 45, 0.12) 100%),
		linear-gradient(0deg, rgba(0, 7, 45, 0.55) 0%, rgba(0, 7, 45, 0) 40%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	max-width: 980px;
}

.hero__title {
	margin: 0 0 24px;
	color: var(--white);
	font-size: var(--fs-h1);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.hero__text {
	max-width: 620px;
	margin: 0 0 36px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 1.9rem;
	line-height: 1.7;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hero__scroll {
	position: absolute;
	right: var(--gutter);
	bottom: 34px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.hero__scroll::after {
	content: "";
	width: 1px;
	height: 54px;
	background: rgba(255, 255, 255, 0.4);
	animation: hero-line 2.4s var(--ease) infinite;
	transform-origin: top;
}

@keyframes hero-line {
	0% { transform: scaleY(0); opacity: 0; }
	35% { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1); opacity: 0; }
}

/* ==========================================================================
   5. Stats
   ========================================================================== */
.stats {
	position: relative;
	background: var(--navy-950);
	color: var(--white);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat {
	padding: 42px 32px 46px;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:first-child {
	border-left: 0;
	padding-left: 0;
}

.stat__value {
	display: block;
	margin-bottom: 8px;
	color: var(--white);
	font-size: clamp(4rem, 5vw, 6rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.03em;
}

.stat__label {
	display: block;
	max-width: 200px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 1.3rem;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* ==========================================================================
   6. Why choose cards
   ========================================================================== */
.card-grid {
	display: grid;
	gap: 24px;
}

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

.feature-card {
	display: flex;
	flex-direction: column;
	padding: 34px 30px 36px;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--navy-900);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card:hover {
	transform: translateY(-4px);
	border-top-color: var(--gold-400);
	box-shadow: var(--shadow-lg);
}

.feature-card__index {
	color: var(--blue-600);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.18em;
}

.feature-card__icon {
	margin: 22px 0 24px;
	color: var(--navy-900);
}

.feature-card__icon svg {
	width: 44px;
	height: 44px;
}

.feature-card h3 {
	margin: 0 0 12px;
	font-size: 2.2rem;
	line-height: 1.25;
}

.feature-card p {
	margin: 0;
	color: var(--slate-600);
	font-size: 1.5rem;
	line-height: 1.65;
}

/* ==========================================================================
   7. Product portfolio
   ========================================================================== */
.section--navy .portfolio-grid {
	margin-top: 8px;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(142, 198, 255, 0.16);
	overflow: hidden;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(142, 198, 255, 0.45);
}

.product-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #061033;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media img {
	transform: scale(1.04);
}

.product-card__body {
	padding: 24px 26px 28px;
}

.product-card__body h3 {
	margin: 0 0 10px;
	font-size: 2.1rem;
	line-height: 1.3;
}

.product-card__body p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.4rem;
	line-height: 1.6;
}

.product-card__tag {
	margin: 0 0 10px !important;
	color: var(--blue-300) !important;
	font-size: 1.15rem !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.product-card__body .link-arrow {
	color: var(--blue-300);
}

/* ==========================================================================
   8. Industries
   ========================================================================== */
.industry-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.industry-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 460px;
	padding: 32px;
	background-color: var(--navy-950);
	background-size: cover;
	background-position: center;
	color: var(--white);
	overflow: hidden;
}

.industry-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 7, 45, 0.1) 0%, rgba(0, 7, 45, 0.62) 55%, rgba(0, 7, 45, 0.94) 100%);
	transition: opacity 0.3s var(--ease);
}

.industry-card:hover::before {
	opacity: 0.82;
}

.industry-card__content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.industry-card .eyebrow {
	margin-bottom: 10px;
	color: var(--blue-300);
}

.industry-card h3 {
	margin: 0 0 10px;
	color: var(--white);
	font-size: clamp(2.6rem, 3vw, 3.6rem);
}

.industry-card p {
	max-width: 380px;
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 1.4rem;
	line-height: 1.6;
}

.industry-card .link-arrow {
	color: var(--white);
}

/* ==========================================================================
   9. News
   ========================================================================== */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.news-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.news-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--mist-200);
}

.news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.news-card:hover .news-card__media img {
	transform: scale(1.04);
}

.news-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px 28px 30px;
}

.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--slate-600);
	font-size: 1.2rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.news-card__meta span + span::before {
	content: "·";
	margin-right: 8px;
}

.news-card h3 {
	margin: 0 0 12px;
	font-size: 2rem;
	line-height: 1.35;
}

.news-card h3 a {
	color: var(--navy-950);
}

.news-card h3 a:hover {
	color: var(--blue-600);
}

.news-card p {
	margin: 0 0 18px;
	color: var(--slate-600);
	font-size: 1.45rem;
	line-height: 1.6;
}

.news-card .link-arrow {
	margin-top: auto;
	color: var(--blue-600);
}

/* ==========================================================================
   10. CTA
   ========================================================================== */
.cta {
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0;
	background: var(--navy-900);
	color: var(--white);
	overflow: hidden;
}

.cta::after {
	content: "";
	position: absolute;
	top: -40%;
	right: -6%;
	width: 560px;
	height: 560px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,2 95,26 95,74 50,98 5,74 5,26' fill='none' stroke='%238ec6ff' stroke-width='1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.16;
	pointer-events: none;
}

.cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cta h2 {
	max-width: 720px;
	margin: 0;
	color: var(--white);
	font-size: clamp(3rem, 4vw, 4.6rem);
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	flex: none;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	padding: clamp(56px, 7vw, 88px) 0 0;
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.66);
	overflow: hidden;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -80px;
	width: 520px;
	height: 520px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,2 95,26 95,74 50,98 5,74 5,26' fill='none' stroke='%23ffffff' stroke-width='0.8'/%3E%3Cpolygon points='50,12 85,31 85,69 50,88 15,69 15,31' fill='none' stroke='%23ffffff' stroke-width='0.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.08;
	pointer-events: none;
}

.footer-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1fr);
	gap: 48px var(--gutter);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	color: var(--white);
}

.footer-brand__mark {
	width: 40px;
	height: 40px;
}

.footer-brand .site-title {
	font-size: 2rem;
}

.footer-brand .site-description {
	color: rgba(255, 255, 255, 0.5);
}

.footer-about {
	max-width: 360px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.45rem;
	line-height: 1.7;
}

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

.social-links li {
	margin: 0;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--blue-300);
	transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.social-links a:hover {
	background: var(--blue-300);
	border-color: var(--blue-300);
	color: var(--navy-950);
}

.social-links svg {
	width: 18px;
	height: 18px;
}

.footer-col h4,
.footer-widget h4 {
	margin: 0 0 18px;
	color: var(--white);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-menu,
.footer-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li,
.footer-widget ul li {
	margin: 0 0 10px;
}

.footer-menu a,
.footer-widget ul a {
	color: rgba(255, 255, 255, 0.66);
	font-size: 1.4rem;
	line-height: 1.5;
}

.footer-menu a:hover,
.footer-widget ul a:hover {
	color: var(--white);
}

.footer-contact {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.4rem;
	line-height: 1.6;
}

.footer-contact li {
	margin-bottom: 12px;
}

.footer-contact a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-contact a:hover {
	color: var(--white);
}

.footer-bottom {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.42);
	font-size: 1.25rem;
}

.footer-bottom a {
	color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
	color: var(--white);
}

.footer-widgets {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 40px;
}

/* ==========================================================================
   12. Page hero / content
   ========================================================================== */
.page-hero {
	position: relative;
	min-height: clamp(600px, 92vh, 880px);
	display: flex;
	align-items: flex-start;
	padding: calc(var(--header-h) + 200px) 0 80px;
	background-color: var(--navy-950);
	background-size: cover;
	background-position: center;
	color: rgba(255, 255, 255, 0.7);
	overflow: hidden;
}

/* Gradient overlay over images/videos (same as front-page hero). */
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 7, 45, 0.92) 0%, rgba(0, 7, 45, 0.68) 46%, rgba(0, 7, 45, 0.24) 100%),
		linear-gradient(0deg, rgba(0, 7, 45, 0.82) 0%, rgba(0, 7, 45, 0) 42%);
	z-index: 1;
	pointer-events: none;
}

.page-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	background-color: var(--navy-950);
}

.page-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 480px;
	height: 480px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,2 95,26 95,74 50,98 5,74 5,26' fill='none' stroke='%238ec6ff' stroke-width='0.7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.22;
	pointer-events: none;
	z-index: 2;
}

.page-hero__inner {
	position: relative;
	z-index: 3;
	max-width: 980px;
}

.page-hero h1 {
	margin: 0 0 18px;
	color: var(--white);
	font-size: clamp(4.2rem, 6vw, 7rem);
	font-weight: 300;
	letter-spacing: -0.035em;
}

.page-hero__lead {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 1.8rem;
	line-height: 1.7;
}

/* ------------------------------------------------------------------
 * Product / Industry sub-navigation (mirrors hexcel.com/products/)
 * ---------------------------------------------------------------- */
.page-subnav {
	position: sticky;
	top: var(--header-h, 68px);
	z-index: 40;
	background-color: #ffffff;
	border-bottom: 1px solid rgba(0, 20, 137, 0.12);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-subnav__wrap {
	overflow-x: auto;
	scrollbar-width: none; /* Firefox */
}
.page-subnav__wrap::-webkit-scrollbar {
	display: none;
}

.page-subnav__list {
	display: flex;
	align-items: stretch;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.page-subnav__item a {
	display: inline-flex;
	align-items: center;
	padding: 16px 20px;
	color: var(--text-muted);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.page-subnav__item a:hover {
	color: var(--navy-900);
}

.page-subnav__item.is-active a {
	color: var(--navy-900);
	border-bottom-color: var(--navy-900);
	font-weight: 600;
}

/* Underline the active main nav item — mirrors hexcel active state.
 * IMPORTANT: this must use ::before, NOT ::after. The ::after pseudo-element
 * is already reserved for the dropdown chevron (see .menu-item-has-children),
 * and an item can be BOTH current-menu-item and menu-item-has-children — when
 * both rules target ::after they merge into a stray rotated dot. */
.primary-menu > li.current-menu-item > a::before,
.primary-menu > li.current-menu-ancestor > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	width: auto;
	height: 2px;
	border: 0;
	background-color: var(--blue-300);
	border-radius: 1px;
	transform: none;
	opacity: 1;
}
.primary-menu > li > a {
	position: relative;
}

.breadcrumbs {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 1.25rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.breadcrumbs a {
	color: rgba(255, 255, 255, 0.62);
}

.breadcrumbs a:hover {
	color: var(--white);
}

.breadcrumbs span.sep {
	margin: 0 8px;
	opacity: 0.45;
}

.content-area {
	padding: clamp(48px, 6vw, 88px) 0 var(--section-gap);
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.content-layout--full {
	grid-template-columns: minmax(0, 1fr);
	max-width: 1200px;
	margin: 0 auto;
}

/* Entry content */
.entry-header {
	margin-bottom: 32px;
}

.entry-title {
	margin: 0 0 14px;
	font-size: clamp(3rem, 4vw, 4.6rem);
	font-weight: 300;
	letter-spacing: -0.03em;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	color: var(--slate-600);
	font-size: 1.25rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-meta a {
	color: var(--blue-600);
}

.entry-thumb {
	margin: 0 0 36px;
}

.entry-thumb img {
	width: 100%;
}

.entry-content {
	font-size: 1.75rem;
	line-height: 1.8;
	color: var(--slate-600);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2 {
	margin: 1.6em 0 0.5em;
	font-size: clamp(2.6rem, 3vw, 3.6rem);
}

.entry-content h3 {
	margin: 1.5em 0 0.5em;
	font-size: 2.4rem;
}

.entry-content h4 {
	margin: 1.4em 0 0.5em;
	font-size: 2rem;
}

.entry-content a {
	border-bottom: 1px solid rgba(0, 114, 206, 0.35);
}

.entry-content a:hover {
	border-bottom-color: var(--navy-950);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content ul li::marker {
	color: var(--navy-900);
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: var(--radius);
}

.entry-content figure figcaption,
.wp-caption-text {
	margin-top: 10px;
	color: var(--slate-600);
	font-size: 1.3rem;
	text-align: left;
}

.entry-content .alignwide {
	width: min(1100px, calc(100vw - 48px));
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .wp-block-button__link {
	padding: 15px 22px;
	background: var(--navy-900);
	color: var(--white);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content .wp-block-quote {
	margin: 2em 0;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 1.4rem;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
	display: block;
	margin-bottom: 8px;
}

.entry-footer a {
	color: var(--blue-600);
}

.post-navigation {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.post-navigation a {
	display: block;
	padding: 20px 24px;
	background: var(--mist);
	color: var(--navy-950);
	transition: background 0.2s var(--ease);
}

.post-navigation a:hover {
	background: var(--mist-200);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .meta-nav {
	display: block;
	margin-bottom: 6px;
	color: var(--slate-600);
	font-size: 1.1rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ==========================================================================
   13. Blog list / archives
   ========================================================================== */
.post-list {
	display: grid;
	gap: 24px;
}

.post-list .news-card {
	flex-direction: row;
}

.post-list .news-card__media {
	flex: none;
	width: 300px;
	aspect-ratio: 4 / 3;
}

.post-list .news-card__body {
	padding: 28px 32px;
}

.post-list .news-card h3 {
	font-size: 2.4rem;
}

.no-results {
	padding: 40px;
	background: var(--mist);
	border: 1px solid var(--line);
}

.no-results h2 {
	font-size: 2.6rem;
}

.pagination,
.navigation.pagination {
	margin-top: 48px;
}

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

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	color: var(--slate-600);
	font-size: 1.4rem;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--white);
}

/* ==========================================================================
   14. Sidebar / widgets
   ========================================================================== */
.widget-area {
	font-size: 1.5rem;
}

.widget {
	margin-bottom: 36px;
	padding: 26px 28px;
	background: var(--mist);
	border: 1px solid var(--line);
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title,
.widget .wp-block-heading {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	color: var(--navy-950);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

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

.widget ul li {
	margin: 0 0 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
	font-size: 1.4rem;
}

.widget ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.widget a {
	color: var(--slate-600);
}

.widget a:hover {
	color: var(--blue-600);
}

.widget_tag_cloud .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.widget_tag_cloud a {
	padding: 6px 10px;
	border: 1px solid var(--line);
	font-size: 1.2rem !important;
}

.widget select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 1.4rem;
}

/* ==========================================================================
   15. Comments
   ========================================================================== */
.comments-area {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
	font-size: 2.6rem;
}

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

.comment-list ol.children {
	margin-top: 24px;
	padding-left: 32px;
	list-style: none;
}

.comment-body {
	position: relative;
	margin-bottom: 28px;
	padding: 24px 26px;
	background: var(--mist);
	border-left: 2px solid var(--navy-900);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--navy-950);
}

.comment-author .avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.comment-metadata {
	margin-bottom: 12px;
	color: var(--slate-600);
	font-size: 1.2rem;
}

.comment-metadata a {
	color: var(--slate-600);
}

.comment-content {
	font-size: 1.5rem;
	line-height: 1.7;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	font-size: 1.3rem;
}

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

.comment-form > p {
	margin: 0;
}

.comment-form .comment-form-comment,
.comment-form .comment-form-url,
.comment-form .form-submit,
.comment-form .comment-form-cookies-consent,
.comment-form .logged-in-as {
	grid-column: 1 / -1;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--navy-950);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--navy-950);
	font-family: inherit;
	font-size: 1.5rem;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--blue-600);
	outline: 0;
}

.comment-form .submit {
	padding: 14px 24px;
	border: 0;
	background: var(--navy-900);
	color: var(--white);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--cyan-400);
	color: var(--navy-950);
}

/* ==========================================================================
   16. Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
	font-family: inherit;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
	margin: 0;
}

.search-form .search-field {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--navy-950);
	font-size: 1.5rem;
}

.search-form .search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	padding: 0;
	border: 1px solid var(--navy-900);
	background: var(--navy-900);
	color: var(--white);
	cursor: pointer;
}

.search-form .search-submit:hover {
	background: var(--cyan-400);
	border-color: var(--cyan-400);
	color: var(--navy-950);
}

.head-search .search-field {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--white);
}

.head-search .search-field::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   17. 404
   ========================================================================== */
.error-404 {
	padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px);
	text-align: center;
}

.error-404__code {
	margin: 0 0 16px;
	color: var(--navy-900);
	font-size: clamp(8rem, 18vw, 18rem);
	font-weight: 300;
	line-height: 0.9;
	letter-spacing: -0.04em;
}

.error-404 h1 {
	font-size: clamp(2.6rem, 4vw, 4rem);
}

.error-404 p {
	margin: 0 auto 28px;
	max-width: 560px;
	color: var(--slate-600);
	font-size: 1.6rem;
}

.error-404 .search-form {
	max-width: 480px;
	margin: 0 auto 24px;
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	:root {
		--gutter: var(--gutter-mobile);
	}

	.primary-menu {
		gap: 18px;
	}

	.primary-menu > li > a {
		font-size: 1.5rem;
	}

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

	.footer-grid > :last-child {
		grid-column: 2 / -1;
	}

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

@media (max-width: 900px) {
	:root {
		--header-h: 70px;
	}

	.header-inner {
		gap: 16px;
	}

	.site-branding {
		gap: 8px;
	}

	.header-actions {
		gap: 10px;
	}

	.lang-switch {
		height: 38px;
		padding: 0;
		gap: 0;
	}

	.lang-switch span:not(.screen-reader-text) {
		display: none;
	}

	.lang-switch svg {
		width: 20px;
		height: 20px;
	}

	.site-description {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
		order: 3;
	}

	.header-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(86vw, 420px);
		margin: 0;
		padding: calc(var(--header-h) + 24px) 28px 40px;
		background: var(--navy-950);
		border-left: 1px solid var(--line-light);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.3s var(--ease), visibility 0.3s;
		z-index: 1100;
	}

	.header-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.primary-menu {
		display: block;
	}

	.primary-menu > li {
		border-bottom: 1px solid var(--line-light);
	}

	.primary-menu > li > a {
		display: flex;
		justify-content: space-between;
		padding: 16px 0;
		font-size: 1.8rem;
	}

	.primary-menu .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 12px 16px;
		margin: 0;
		list-style: none !important;
		list-style-type: none !important;
		list-style-image: none !important;
		background: transparent;
		border-top: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.primary-menu .sub-menu li::marker,
	.primary-menu .sub-menu li::-webkit-details-marker,
	.primary-menu .sub-menu::marker {
		content: none !important;
		display: none !important;
	}

	.primary-menu li.is-submenu-open > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		padding: 8px 0;
		color: rgba(255, 255, 255, 0.66);
	}

	.primary-menu > li.menu-item-has-children {
		position: relative;
	}

	.primary-menu > li.menu-item-has-children > a::after {
		display: none;
	}

	.submenu-toggle {
		position: absolute;
		top: 4px;
		right: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--blue-300);
		cursor: pointer;
	}

	.submenu-toggle svg {
		width: 16px;
		height: 16px;
		transition: transform 0.2s var(--ease);
	}

	.submenu-toggle[aria-expanded="true"] svg {
		transform: rotate(45deg);
	}

	.site-header .header-search {
		display: none !important;
	}

	.header-search-toggle {
		display: none;
	}

	/* Mobile header actions: uniform square buttons, right-aligned. */
	.header-actions {
		flex: 1 1 auto;
		justify-content: flex-end;
		gap: 8px;
	}

	.lang-switch,
	.menu-toggle {
		width: 38px !important;
		height: 38px !important;
		padding: 0 !important;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
	}

	.header-search-toggle {
		display: none !important;
	}

	.lang-switch svg,
	.menu-toggle svg {
		width: 20px;
		height: 20px;
	}

	.lang-switch {
		gap: 0;
		line-height: 1;
		overflow: hidden;
	}

	.section-head {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.content-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.widget-area {
		margin-top: 16px;
	}

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

	.news-grid > :nth-child(3) {
		grid-column: 1 / -1;
	}

	.industry-grid > :nth-child(3) {
		grid-column: 1 / -1;
		min-height: 380px;
	}

	.post-list .news-card {
		flex-direction: column;
	}

	.post-list .news-card__media {
		width: 100%;
		aspect-ratio: 16 / 9;
	}

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

	.stat {
		padding: 28px 24px 32px;
	}

	.stat:nth-child(3) {
		border-left: 0;
		padding-left: 0;
	}

	.stat:nth-child(3),
	.stat:nth-child(4) {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: var(--gutter-mobile);
	}

	/* Don't autoplay video on small screens — show poster image instead. */
	.hero__video,
	.page-hero__video {
		display: none;
	}

	/* Inner page hero slightly shorter on phones. */
	.page-hero {
		min-height: clamp(420px, 76vh, 580px);
		padding: calc(var(--header-h) + 60px) 0 60px;
	}
	.page-hero h1 {
		font-size: clamp(3rem, 8.5vw, 4.6rem);
	}
	.page-hero__lead {
		font-size: 1.5rem;
	}

	/* Sub-nav tabs compact on mobile (horizontally scrollable). */
	.page-subnav {
		top: var(--header-h, 56px);
	}
	.page-subnav__item a {
		padding: 12px 14px;
		font-size: 1.2rem;
		letter-spacing: 0.04em;
	}

	.site-title {
		font-size: 1.8rem;
	}

	.site-branding__mark {
		width: 32px;
		height: 32px;
	}

	.lang-switch span:not(.screen-reader-text) {
		display: none;
	}

	.lang-switch {
		height: 34px;
		padding: 0 8px;
	}

	body {
		font-size: 1.7rem;
	}

	.hero {
		min-height: 86vh;
		padding: calc(var(--header-h) + 64px) 0 72px;
	}

	.hero__text {
		font-size: 1.7rem;
	}

	.hero__scroll {
		display: none;
	}

	.news-grid,
	.industry-grid,
	.card-grid--3,
	.card-grid--2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.news-grid > :nth-child(3),
	.industry-grid > :nth-child(3) {
		grid-column: auto;
	}

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

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.footer-grid > :last-child {
		grid-column: auto;
	}

	.footer-bottom {
		flex-direction: column;
	}

	.comment-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.comment-list ol.children {
		padding-left: 16px;
	}

	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.stats__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.stat {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding-left: 0;
		padding-right: 0;
	}

	.stat:first-child {
		border-top: 0;
	}

	.hero__actions .btn,
	.cta__actions .btn {
		width: 100%;
		justify-content: center;
	}

	.industry-card {
		min-height: 380px;
	}
}

/* ==========================================================================
   19. Motion / utilities
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* WordPress core alignment helpers */
.alignleft {
	float: left;
	margin: 0 24px 20px 0;
}

.alignright {
	float: right;
	margin: 0 0 20px 24px;
}

.aligncenter {
	display: block;
	margin: 0 auto 20px;
}

.wp-caption {
	max-width: 100%;
}

.sticky {
	position: relative;
}

.bypostauthor {
	display: block;
}

/* --------------------------------------------------------------------------
   Product inquiry form (light, two-column reference style)
   -------------------------------------------------------------------------- */

.inquiry-section--light {
	margin-top: clamp(48px, 6vw, 80px);
	background: #f3f5f9;
	border-radius: 10px;
	padding: 0;
	overflow: hidden;
}

.inquiry-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	min-height: 620px;
}

/* ---- LEFT column ---- */
.inquiry-grid__left {
	position: relative;
	padding: clamp(28px, 4vw, 44px);
	color: rgba(255, 255, 255, 0.92);
	background:
		linear-gradient( 135deg, rgba(0, 20, 137, 0.92) 0%, rgba(0, 7, 45, 0.96) 100% ),
		url( "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><defs><pattern id='g' width='60' height='60' patternUnits='userSpaceOnUse' patternTransform='rotate(35)'><path d='M0 30 h60 M30 0 v60' stroke='%238ec6ff22' stroke-width='1'/></pattern></defs><rect width='600' height='600' fill='url(%23g)'/><g stroke='%238ec6ff33' stroke-width='1' fill='none'><path d='M80 120 h260 l40 -40 h120 l40 40 v200 l-40 40 h-120 l-40 -40 h-260 z'/><path d='M120 160 h180 v160 h-180 z' stroke='%238ec6ff44'/><circle cx='210' cy='240' r='60' stroke='%2300f3ff22'/></g></svg>" );
	background-size: cover, cover;
	background-position: center, center;
}

.inquiry-grid__left::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient( ellipse at 80% 80%, rgba(0, 243, 255, 0.12), transparent 55% );
	pointer-events: none;
}

.inquiry-info {
	position: relative;
	z-index: 1;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.inquiry-info__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.inquiry-info__label {
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.55);
}

.inquiry-info__value {
	font-size: var(--fs-small);
	line-height: 1.55;
}

.inquiry-info__value--note {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.3rem;
}

.inquiry-info__value a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}
.inquiry-info__value a:hover {
	border-bottom-color: var(--blue-300);
}

.inquiry-social {
	display: flex;
	gap: 14px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.inquiry-social a {
	display: inline-flex;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--white);
	align-items: center;
	justify-content: center;
	transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.inquiry-social a:hover {
	background: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}
.inquiry-social svg {
	width: 18px;
	height: 18px;
}

/* ---- RIGHT column ---- */
.inquiry-grid__right {
	padding: clamp(28px, 4vw, 44px);
	background: #ffffff;
}

.inquiry-form__title {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--navy-900);
	margin: 0 0 22px;
}

.form-row {
	margin-bottom: 14px;
}
.form-row--phone {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 12px;
}
.form-row--captcha {
	margin-top: 4px;
}
.form-row--submit {
	margin-top: 22px;
}

.form-field {
	display: block;
	margin: 0;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid #dde3ee;
	border-radius: 10px;
	background: #ffffff;
	padding: 14px 18px;
	font: inherit;
	font-size: var(--fs-small);
	color: var(--navy-950);
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #aab2c8;
}
.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--blue-600);
	box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.12);
}

.form-field--country input {
	text-align: center;
	letter-spacing: 0.04em;
}

.form-field__label {
	display: block;
	font-size: var(--fs-small);
	font-weight: 500;
	color: var(--slate-600);
	margin-bottom: 6px;
}

.form-field--textarea textarea {
	min-height: 110px;
	resize: vertical;
}
.form-field--textarea .required {
	color: var(--danger);
}

/* Captcha row */
.captcha-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}
.captcha-row input {
	flex: 0 0 200px;
	min-width: 160px;
}
.captcha-question {
	flex: 1;
	border: 1px solid #dde3ee;
	border-radius: 10px;
	background: #f7f9fd;
	color: var(--navy-900);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.06em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	font-family: var(--font-sans);
}
.captcha-refresh {
	flex: 0 0 90px;
	border: 1px solid var(--blue-600);
	background: #ffffff;
	color: var(--blue-600);
	border-radius: 10px;
	font: inherit;
	font-size: 1.4rem;
	cursor: pointer;
	transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.captcha-refresh:hover {
	background: var(--blue-600);
	color: #ffffff;
}

/* Send button — uses theme's .btn--primary look, but override to navy here */
.inquiry-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 48px;
	padding: 0 32px;
	border-radius: 10px;
	background: var(--navy-900);
	color: var(--white);
	border: none;
	font: inherit;
	font-weight: 600;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background 0.18s var(--ease), transform 0.12s var(--ease);
}
.inquiry-submit:hover {
	background: #001ea8;
}
.inquiry-submit:active {
	transform: translateY(1px);
}

.inquiry-product-hint {
	margin: 14px 0 0;
	padding: 10px 14px;
	background: #f3f5f9;
	border-radius: 6px;
	font-size: var(--fs-small);
	color: var(--slate-600);
}
.inquiry-product-hint__label {
	color: #8790ab;
	margin-right: 6px;
}

/* ---- Notices ---- */
.inquiry-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: var(--fs-small);
	line-height: 1.5;
}
.inquiry-notice--success {
	background: #eaf6f2;
	color: #2a7f6d;
	border: 1px solid #cdeae2;
}
.inquiry-notice--error {
	background: #fce8eb;
	color: #a3434c;
	border: 1px solid #f4c0c6;
}

/* Honeypot (offscreen) */
.inquiry-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.inquiry-grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.inquiry-grid__left {
		padding-bottom: clamp(24px, 3vw, 32px);
	}
}
@media (max-width: 560px) {
	.form-row--phone {
		grid-template-columns: 100px 1fr;
	}
	.captcha-row {
		flex-wrap: wrap;
	}
	.captcha-row input {
		flex: 1 1 140px;
	}
	.captcha-question {
		flex: 1 1 calc(100% - 200px);
		font-size: 16px;
	}
	.captcha-refresh {
		flex: 0 0 100%;
		margin-top: 8px;
	}
}
