/**
 * Theme Name:        Nu-Tech Precision
 * Description:       Custom WordPress theme for Nu-Tech Precision Co. LLC, rebuilt from the company profile with grouped pages and automatic navigation setup.
 * Version:           1.6.3
 * Author:            Nu-Tech Precision
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       nutech-precision
 */

:root {
	--nt-blue: #06468d;
	--nt-blue-bright: #0f5db4;
	--nt-navy: #032c54;
	--nt-ink: #101b2b;
	--nt-muted: #627184;
	--nt-yellow: #ffdc3d;
	--nt-paper: #ffffff;
	--nt-soft: #eef2f5;
	--nt-line: #d8e0e8;
	--nt-shadow: 0 24px 70px rgba(17, 39, 61, .14);
	--nt-content: 1180px;
	--nt-reading: 720px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--nt-ink);
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

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

a { color: var(--nt-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--nt-blue-bright); }

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--nt-yellow);
	outline-offset: 3px;
}

h1, h2, h3, h4 {
	margin: 0 0 .65em;
	line-height: 1.12;
	letter-spacing: -.025em;
}

p { margin: 0 0 1.2em; }
figure { margin: 0; }

.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 {
	top: 8px;
	left: 8px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	color: #fff;
	background: var(--nt-blue);
}

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

/* Header and navigation */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	color: #fff;
	background: rgba(3, 44, 84, .98);
	border-bottom: 1px solid rgba(255,255,255,.12);
	box-shadow: 0 8px 28px rgba(4, 25, 44, .17);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	display: flex;
	align-items: stretch;
	width: min(1440px, calc(100% - 28px));
	min-height: 78px;
	margin-inline: auto;
}

.site-brand {
	display: flex;
	flex: 0 0 210px;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
}

.site-brand > img,
.site-brand .custom-logo {
	width: 58px;
	height: 48px;
	object-fit: contain;
	background: #fff;
	border-radius: 5px;
}

.site-brand__text { display: grid; gap: 1px; }
.site-brand__text strong { font-size: 13px; letter-spacing: .01em; }
.site-brand__text small { color: #b5c3d1; font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }

.site-navigation {
	display: flex;
	flex: 1;
	align-items: stretch;
	justify-content: flex-end;
}

.primary-menu {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu > li { display: flex; align-items: stretch; }

.primary-menu a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 10px 8px;
	color: #e7edf4;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.primary-menu a::after {
	content: "";
	position: absolute;
	right: 8px;
	bottom: 0;
	left: 8px;
	height: 3px;
	background: var(--nt-yellow);
	transform: scaleX(0);
	transition: transform .18s ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: #fff;
	background: rgba(255,255,255,.07);
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-self: center;
	margin-left: auto;
	place-items: center;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 8px;
	cursor: pointer;
}

.nav-toggle__bars { display: grid; gap: 5px; }
.nav-toggle__bars i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }

/* Front page */
.nutech-hero {
	position: relative;
	display: grid;
	height: 680px;
	min-height: 0;
	overflow: hidden;
	background: #fff;
	grid-template-columns: 54% 46%;
	grid-template-rows: 560px 120px;
}

.nutech-hero__copy {
	position: relative;
	z-index: 3;
	display: flex;
	grid-column: 1;
	grid-row: 1;
	flex-direction: column;
	justify-content: flex-start;
	max-width: none;
	padding: 42px 7% 28px max(36px, calc((100vw - var(--nt-content)) / 2));
}

.nutech-hero__copy::after {
	content: "";
	position: absolute;
	top: -10%;
	right: -30%;
	z-index: -1;
	width: 72%;
	height: 120%;
	background: #fff;
	clip-path: polygon(0 0, 58% 0, 15% 100%, 0 100%);
}

.nutech-hero__logo {
	width: 150px;
	max-height: 92px;
	margin-bottom: 16px;
	object-fit: contain;
	object-position: left;
}

.eyebrow {
	margin: 0 0 10px;
	color: var(--nt-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.nutech-hero h1 {
	margin: 0;
	font-size: clamp(44px, 4.6vw, 68px);
	line-height: .94;
	letter-spacing: -.055em;
}

.nutech-hero h1 span {
	display: block;
	white-space: nowrap;
}

.nutech-hero h1 .nutech-hero__name {
	color: var(--nt-ink);
}

.nutech-hero h1 .nutech-hero__company {
	margin-top: 6px;
	color: var(--nt-blue);
	font-size: .78em;
	letter-spacing: -.04em;
}

.nutech-hero__tagline {
	margin: 14px 0 0;
	color: #536274;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.nutech-hero__copy > .eyebrow,
.nutech-hero__copy > .nutech-hero__tagline { max-width: var(--nt-reading); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 2px solid var(--nt-blue);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--nt-blue); }
.button--primary:hover { color: #fff; background: var(--nt-blue-bright); }
.button--outline { color: var(--nt-blue); background: transparent; }
.button--outline:hover { color: #fff; background: var(--nt-blue); }

.hero-strengths {
	display: grid;
	margin: 22px 0 0;
	padding: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
	list-style: none;
}

.hero-strengths li {
	display: grid;
	grid-template-columns: 38px 1fr;
	grid-template-rows: auto auto;
	column-gap: 10px;
}

.hero-strengths li > span {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	grid-row: 1 / 3;
	color: var(--nt-blue);
	border: 1px solid #9caab7;
	border-radius: 5px;
	font-weight: 800;
}

.hero-strengths strong { color: #193149; font-size: 12px; text-transform: uppercase; }
.hero-strengths small { color: var(--nt-muted); font-size: 10px; line-height: 1.3; }

.nutech-hero__machine {
	position: relative;
	grid-column: 2;
	grid-row: 1 / 3;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: #aeb7c0;
	clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.nutech-hero__machine img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 44%;
}

.hero-certifications {
	position: relative;
	z-index: 5;
	display: flex;
	width: 100%;
	min-height: 120px;
	align-items: center;
	justify-content: center;
	grid-column: 1;
	grid-row: 2;
	margin: 0;
	padding: 0 24px max(0px, env(safe-area-inset-bottom));
	overflow: hidden;
	background: #fff;
	border-top: 1px solid var(--nt-line);
}

.hero-certifications__art {
	position: relative;
	width: min(320px, 70%);
	flex: 0 0 auto;
}

.hero-certifications img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.hero-certifications__iso-number {
	position: absolute;
	top: 79.5%;
	left: 35.5%;
	color: #101010;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(10px, .8vw, 14px);
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	transform: translate(-50%, -50%);
}

.hero-services {
	position: relative;
	z-index: 6;
	display: grid;
	width: 107%;
	min-height: 120px;
	margin-left: -7%;
	padding: 16px 3% 16px 9%;
	color: #fff;
	background: var(--nt-blue);
	clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
	grid-column: 2;
	grid-row: 2;
	grid-template-columns: repeat(4, 1fr);
}

.hero-services span {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 8px;
	padding-inline: 8px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
}

.hero-services b {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.75);
	border-radius: 50%;
	font-size: 18px;
}

.home-contact-strip {
	display: grid;
	align-items: center;
	min-height: 116px;
	padding: 24px max(36px, calc((100vw - var(--nt-content)) / 2));
	color: #fff;
	background: var(--nt-navy);
	grid-template-columns: 1fr auto auto;
	gap: 28px;
}

.home-contact-strip div { display: grid; }
.home-contact-strip span { color: var(--nt-yellow); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.home-contact-strip strong { font-size: clamp(18px, 2vw, 26px); }
.home-contact-strip a { color: #fff; font-size: 14px; font-weight: 700; }
.home-contact-strip--compact {
	min-height: 76px;
	justify-content: center;
	grid-template-columns: repeat(2, max-content);
	gap: clamp(30px, 7vw, 90px);
}
.home-contact-strip--compact a { display: inline-flex; min-height: 44px; align-items: center; }
.optional-home-content { padding-block: 72px; }

/* Page frame */
.page-banner {
	position: relative;
	overflow: hidden;
	padding: 68px 0 62px;
	color: #fff;
	background: var(--nt-blue);
}

.page-banner::before {
	content: "";
	position: absolute;
	top: -120px;
	right: 8%;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 50%;
	box-shadow: 0 0 0 50px rgba(255,255,255,.03), 0 0 0 100px rgba(255,255,255,.025);
}

.page-banner p {
	margin: 0 0 8px;
	color: var(--nt-yellow);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.page-banner h1 { max-width: 900px; margin: 0; font-size: clamp(40px, 5.3vw, 68px); }

.profile-content { padding-block: clamp(58px, 7vw, 96px); }
.profile-content > *:first-child { margin-top: 0; }
.profile-content > *:last-child { margin-bottom: 0; }

.profile-section { margin-block: 0 100px; scroll-margin-top: 110px; }
.profile-section:last-child { margin-bottom: 0; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading > p,
.services-feature__copy > p,
.material-panel > p,
.contact-card > p {
	margin: 0 0 9px;
	color: var(--nt-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.section-heading h2,
.services-feature h2,
.material-panel h2,
.contact-card h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 48px); }
.section-heading > span { display: block; color: var(--nt-muted); font-size: 17px; }
.content-lead { font-size: clamp(20px, 2.5vw, 29px); font-weight: 700; line-height: 1.4; }

/* Company overview */
.split-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: clamp(38px, 6vw, 84px);
}

.fact-list {
	display: grid;
	margin: 28px 0 0;
	padding: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
}

.fact-list li {
	display: grid;
	min-height: 104px;
	align-content: center;
	padding: 18px;
	background: var(--nt-soft);
	border-left: 4px solid var(--nt-blue);
}

.fact-list strong { color: var(--nt-blue); font-size: 22px; line-height: 1.1; }
.fact-list span { margin-top: 5px; color: #3f4e5e; font-size: 13px; line-height: 1.35; }

.feature-image {
	position: relative;
	overflow: hidden;
	background: var(--nt-soft);
	box-shadow: var(--nt-shadow);
}

.feature-image img { width: 100%; min-height: 440px; object-fit: cover; }
.feature-image figcaption { padding: 12px 16px; color: var(--nt-muted); background: #fff; font-size: 12px; }
.feature-image--wide img { min-height: 0; aspect-ratio: 16 / 8; }

/* Mission and vision */
.statement-grid {
	display: grid;
	margin-top: 34px;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.statement-card {
	position: relative;
	min-height: 270px;
	padding: 38px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--nt-line);
	box-shadow: 0 16px 42px rgba(17,39,61,.08);
}

.statement-card::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 82px;
	height: 82px;
	background: linear-gradient(145deg, transparent 0 48%, var(--nt-blue) 48% 72%, #7d8fa8 72%);
}

.statement-card > span { color: var(--nt-yellow); font-size: 45px; font-weight: 900; line-height: 1; -webkit-text-stroke: 1px var(--nt-blue); }
.statement-card h2 { margin-top: 20px; color: var(--nt-blue); font-size: 30px; }
.statement-card p { max-width: 430px; margin: 0; color: #455466; font-size: 17px; }

.policy-panel {
	margin-top: 28px;
	padding: 34px 40px;
	background: var(--nt-navy);
	border-top: 6px solid var(--nt-yellow);
	color: #fff;
}

.policy-panel h2 { color: #fff; font-size: 30px; }

.check-list {
	display: grid;
	margin: 18px 0 0;
	padding: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 30px;
	list-style: none;
}

.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--nt-yellow); font-weight: 900; }

/* Capabilities */
.section-jump-links {
	position: sticky;
	top: 78px;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: -36px auto 74px;
	padding: 13px;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(17,39,61,.11);
}

.section-jump-links a {
	padding: 8px 13px;
	color: var(--nt-blue);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.section-jump-links a:hover { color: #fff; background: var(--nt-blue); }

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

.machine-grid article {
	position: relative;
	min-height: 230px;
	padding: 28px 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-top: 6px solid var(--nt-blue);
}

.machine-grid article::after {
	content: "";
	position: absolute;
	right: -28px;
	bottom: -28px;
	width: 78px;
	height: 78px;
	background: var(--nt-yellow);
	transform: rotate(45deg);
}

.machine-grid article > strong { display: block; color: var(--nt-blue); font-size: 46px; line-height: 1; }
.machine-grid h3 { margin: 18px 0 9px; font-size: 19px; }
.machine-grid p { margin: 0; color: var(--nt-muted); font-size: 13px; line-height: 1.45; }

.photo-gallery {
	display: grid;
	gap: 22px;
}

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

.photo-gallery figure {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--nt-line);
	box-shadow: 0 14px 34px rgba(17,39,61,.08);
}

.photo-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.photo-gallery figure:hover img { transform: scale(1.025); }
.photo-gallery figcaption { padding: 13px 16px; color: var(--nt-muted); font-size: 12px; }

.software-layout {
	display: grid;
	grid-template-columns: .62fr 1.38fr;
	align-items: center;
	gap: 46px;
}

.software-list {
	margin: 0;
	padding: 10px 0 10px 22px;
	background: transparent;
	border: 0;
	font-size: 17px;
	font-weight: 700;
}

.logo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px 40px;
}

.logo-grid figure {
	display: grid;
	min-height: 130px;
	padding: 8px;
	place-items: center;
	background: transparent;
	border: 0;
}

.logo-grid img { max-width: 86%; max-height: 120px; object-fit: contain; }

/* Hide legacy Software content immediately on sites that still hold older page markup. */
.software-section,
.section-jump-links a[href="#software"] { display: none !important; }

/* Products and services */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 270px;
	gap: 18px;
}

.product-grid figure {
	display: grid;
	padding: 16px;
	place-items: center;
	overflow: hidden;
	background: #fff;
	border: 1px solid #77a1d1;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(17,39,61,.06);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-grid figure:hover { border-color: var(--nt-blue); box-shadow: 0 14px 35px rgba(13,65,116,.12); transform: translateY(-3px); }
.product-grid img { width: 100%; height: 100%; object-fit: contain; }
.product-grid .product-card--wide { grid-column: span 2; }
.product-grid .product-card--tall { grid-row: span 2; }

.services-feature {
	display: grid;
	min-height: 560px;
	overflow: hidden;
	color: #fff;
	background: var(--nt-navy);
	grid-template-columns: 1fr 1fr;
}

.services-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 74px); }
.services-feature__copy > p { color: var(--nt-yellow); }
.services-feature h2 { color: #fff; }
.services-feature .check-list { grid-template-columns: 1fr; }
.services-feature figure { min-height: 440px; }
.services-feature figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }

/* Materials */
.materials-layout {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	align-items: center;
	gap: clamp(38px, 6vw, 76px);
}

.material-panel {
	padding: clamp(34px, 5vw, 58px);
	background: var(--nt-soft);
	border-left: 8px solid var(--nt-yellow);
}

.material-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0; }
.material-tags span { padding: 8px 13px; color: #fff; background: var(--nt-blue); border-radius: 5px; font-size: 13px; font-weight: 800; }
.material-panel > strong { display: block; color: #29394b; font-size: 16px; }
.materials-layout .feature-image img { min-height: 0; aspect-ratio: 1.25; object-fit: contain; background: #fff; }

/* Quality control */
.quality-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.quality-grid figure {
	display: grid;
	min-height: 340px;
	padding: 18px;
	grid-template-rows: 1fr auto;
	background: #fff;
	border: 1px solid var(--nt-line);
}

.quality-grid img { width: 100%; height: 260px; object-fit: contain; }
.quality-grid figcaption { padding-top: 14px; color: var(--nt-blue); font-size: 12px; font-weight: 800; text-align: center; }

.certification-section { padding: clamp(38px, 5vw, 66px); background: var(--nt-soft); }

.certification-grid {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	align-items: stretch;
	gap: 24px;
}

.certification-grid figure { display: grid; padding: 22px; grid-template-rows: 1fr auto; background: #fff; }
.certification-grid img { width: 100%; height: 460px; object-fit: contain; }
.certification-grid figure:last-child img { height: 300px; }
.certification-grid figcaption { padding-top: 14px; color: var(--nt-blue); font-size: 13px; font-weight: 800; text-align: center; }

/* Customers */
.customer-section { max-width: 1080px; margin-inline: auto; }

.market-layout {
	display: grid;
	grid-template-columns: 1fr .85fr;
	align-items: center;
	gap: clamp(36px, 6vw, 80px);
}

.market-chart { display: grid; place-items: center; }
.market-chart__pie {
	position: relative;
	width: min(450px, 90%);
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(#4b7ff0 0 30%, #9d7de8 30% 55%, #f0b55c 55% 75%, #ffdf62 75% 100%);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 0 22px 58px rgba(17,39,61,.13);
}

.market-chart__label {
	position: absolute;
	z-index: 2;
	color: #fff;
	font-size: clamp(18px, 2.4vw, 30px);
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 2px 8px rgba(3,44,84,.42);
	transform: translate(-50%, -50%);
}

.market-chart__label--hartwell { top: 32%; left: 75%; }
.market-chart__label--design { top: 78%; left: 64%; }
.market-chart__label--dzyne { top: 68%; left: 25%; }
.market-chart__label--other { top: 28%; left: 28%; color: #23364a; text-shadow: 0 1px 4px rgba(255,255,255,.65); }

.market-legend { display: grid; gap: 11px; margin: 0; }
.market-legend > div { display: grid; padding: 15px 17px; grid-template-columns: 1fr auto; align-items: center; gap: 16px; background: var(--nt-soft); }
.market-legend dt { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.market-legend dd { margin: 0; color: var(--nt-blue); font-size: 22px; font-weight: 900; }
.market-color { display: inline-block; width: 13px; height: 13px; border-radius: 50%; }
.market-color--hartwell { background: #4b7ff0; }
.market-color--design { background: #9d7de8; }
.market-color--dzyne { background: #f0b55c; }
.market-color--other { background: #ffdf62; }

.customer-logo-grid { display: grid; margin-top: 38px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.customer-logo-grid figure { display: grid; min-height: 120px; padding: 8px; place-items: center; background: transparent; border: 0; }
.customer-logo-grid img { max-width: 84%; max-height: 120px; object-fit: contain; }

/* Hide the retired customer-logo row until the stored page content is refreshed. */
.customer-logo-grid { display: none !important; }

/* Contact */
.contact-intro > .content-lead { max-width: 850px; margin-bottom: 30px; }

.contact-layout {
	position: relative;
	display: grid;
	min-height: 600px;
	overflow: hidden;
	background: var(--nt-navy);
	border: 1px solid rgba(3,44,84,.12);
	border-radius: 18px;
	box-shadow: 0 28px 70px rgba(17,39,61,.18);
	grid-template-columns: 1.08fr .92fr;
	isolation: isolate;
}

.contact-map {
	position: relative;
	min-height: 600px;
	overflow: hidden;
	background: #dfe7ee;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 600px;
	border: 0;
}

.contact-map__caption {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 14px 13px 17px;
	color: #fff;
	background: rgba(3,44,84,.94);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(3,27,50,.24);
	backdrop-filter: blur(8px);
}

.contact-map__caption span { font-size: 12px; font-weight: 700; line-height: 1.35; }
.contact-map__caption a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	color: var(--nt-navy);
	background: var(--nt-yellow);
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}
.contact-map__caption a:hover { color: #fff; background: var(--nt-blue-bright); }

.contact-card {
	position: relative;
	display: flex;
	min-height: 600px;
	flex-direction: column;
	justify-content: center;
	padding: clamp(36px, 5vw, 64px);
	color: #fff;
	background: linear-gradient(145deg, #032c54 0%, #06468d 100%);
	border-left: 7px solid var(--nt-yellow);
}

.contact-card > p { color: var(--nt-yellow); }
.contact-card h2 {
	color: #fff;
	font-size: clamp(20px, 2.4vw, 32px);
	letter-spacing: -.025em;
	line-height: 1.1;
	white-space: nowrap;
}

.contact-card address { display: grid; gap: 13px; margin-top: 20px; font-style: normal; }
.contact-card address > * { display: grid; grid-template-columns: 78px 1fr; color: #fff; font-size: 14px; text-decoration: none; }
.contact-card address b { color: #adc3d9; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.contact-card__marks { display: flex; align-items: end; gap: 14px; margin-top: 28px; }
.contact-card__marks img:first-child { width: 150px; background: #fff; }
.contact-card__marks img:last-child { width: 76px; border: 4px solid #fff; }

/* Posts, errors, and footer */
.post-list { display: grid; gap: 20px; }
.post-card { padding: 30px; border: 1px solid var(--nt-line); }
.empty-state { min-height: 360px; text-align: center; }

.site-footer { padding: 62px max(30px, calc((100vw - var(--nt-content)) / 2)) 22px; color: #dce6f0; background: #021d38; }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	align-items: start;
}

.site-footer__grid p { max-width: 460px; margin: 18px 0 0; color: #9fb0c0; }
.site-footer__brand { color: #fff; font-size: 24px; line-height: 1; }
.site-footer__brand span { color: #70a8e6; }
.site-footer address { display: grid; gap: 8px; font-style: normal; }
.site-footer address strong { margin-bottom: 7px; color: var(--nt-yellow); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer address a { color: #dce6f0; font-size: 13px; }
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 48px;
	padding-top: 20px;
	color: #8498aa;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: 11px;
}

.alignwide { width: min(var(--nt-content), calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1240px) {
	.site-header__inner { position: relative; min-height: 70px; }
	.site-brand { flex-basis: auto; }
	.nav-toggle { display: grid; }

	.site-navigation {
		position: absolute;
		top: calc(100% + 1px);
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - 88px);
		overflow: auto;
		background: var(--nt-navy);
		box-shadow: 0 22px 42px rgba(3,26,48,.23);
	}

	.menu-open .site-navigation { display: block; }
	.primary-menu { display: grid; justify-content: stretch; padding: 10px; }
	.primary-menu > li { display: block; }
	.primary-menu a { min-height: 48px; justify-content: flex-start; padding: 12px 16px; font-size: 13px; text-align: left; }
	.primary-menu a::after { top: 8px; right: auto; bottom: 8px; left: 0; width: 3px; height: auto; transform: scaleY(0); }
	.primary-menu a:hover::after,
	.primary-menu a:focus-visible::after,
	.primary-menu .current-menu-item > a::after,
	.primary-menu .current_page_item > a::after { transform: scaleY(1); }

	.menu-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.menu-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
	.menu-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1080px) {

	.nutech-hero {
		height: 660px;
		min-height: 0;
		grid-template-columns: 54% 46%;
		grid-template-rows: 540px 120px;
	}
	.nutech-hero__copy { padding: 36px 6% 24px 32px; }
	.nutech-hero__machine { height: 100%; min-height: 0; }
	.hero-certifications,
	.hero-services { min-height: 120px; }

	.machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quality-grid img { height: 300px; }
}

@media (max-width: 820px) {
	body.admin-bar .site-header { top: 46px; }
	.content-shell { width: min(var(--nt-content), calc(100% - 30px)); }

	.nutech-hero { display: flex; height: auto; min-height: 0; flex-direction: column; }
	.nutech-hero__copy { max-width: none; padding: 40px 24px 42px; }
	.nutech-hero__copy::after { display: none; }
	.nutech-hero__logo { width: 140px; }
	.nutech-hero h1 { font-size: clamp(44px, 10vw, 62px); }
	.hero-strengths { max-width: 670px; }

	.nutech-hero__machine { height: clamp(320px, 55vw, 440px); min-height: 0; clip-path: none; }
	.hero-certifications {
		position: relative;
		width: 100%;
		min-height: clamp(120px, 20vw, 150px);
		justify-content: center;
		padding: 0 18px;
		border-bottom: 1px solid var(--nt-line);
	}
	.hero-certifications__art { width: min(400px, 86%); }
	.hero-services { position: relative; width: 100%; min-height: 0; margin-left: 0; padding: 20px; clip-path: none; }

	.home-contact-strip { padding: 28px 22px; grid-template-columns: 1fr; gap: 12px; }
	.home-contact-strip--compact { min-height: 72px; padding-block: 14px; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 24px; }
	.page-banner { padding: 52px 0 48px; }
	.profile-content { padding-block: 58px; }
	.profile-section { margin-bottom: 72px; }

	.split-grid,
	.software-layout,
	.materials-layout,
	.market-layout,
	.contact-layout,
	.services-feature { grid-template-columns: 1fr; }

	.split-grid { align-items: start; }
	.split-grid .feature-image { order: -1; }
	.feature-image img { min-height: 0; }
	.feature-image--wide img { aspect-ratio: 4 / 2.5; }
	.statement-card { min-height: 240px; padding: 30px; }
	.section-jump-links {
		top: 72px;
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-bottom: 56px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scrollbar-width: thin;
	}
	.section-jump-links a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; }
	.software-list { padding-block: 10px; }
	.services-feature__copy { order: 2; }
	.services-feature figure { min-height: 440px; }
	.materials-layout .feature-image { order: 0; }
	.certification-grid { grid-template-columns: 1fr; }
	.certification-grid img,
	.certification-grid figure:last-child img { height: 420px; }
	.contact-map,
	.contact-map iframe { min-height: 380px; }
	.contact-card { min-height: 480px; border-top: 7px solid var(--nt-yellow); border-left: 0; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
}

@media (max-width: 620px) {
	.site-header__inner { width: calc(100% - 20px); }
	.site-brand > img,
	.site-brand .custom-logo { width: 50px; height: 43px; }
	.site-brand__text strong { font-size: 12px; }
	.site-brand__text small { display: none; }

	.nutech-hero__copy { padding: 32px 20px 36px; }
	.nutech-hero__logo { width: 120px; margin-bottom: 14px; }
	.nutech-hero h1 { font-size: clamp(36px, 11vw, 46px); }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-strengths { grid-template-columns: 1fr; }
	.nutech-hero__machine { height: clamp(280px, 70vw, 380px); min-height: 0; }
	.hero-certifications { min-height: 130px; padding-inline: 10px; }
	.hero-services { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; }

	.page-banner h1 { font-size: 38px; }
	.profile-content { padding-block: 46px; }
	.profile-section { margin-bottom: 58px; }
	.content-lead { font-size: 20px; }
	.section-heading h2,
	.services-feature h2,
	.material-panel h2,
	.contact-card h2 { font-size: clamp(18px, 6.1vw, 26px); }

	.fact-list,
	.statement-grid,
	.photo-gallery--two,
	.check-list,
	.machine-grid,
	.logo-grid,
	.quality-grid,
	.customer-logo-grid { grid-template-columns: 1fr; }

	.fact-list li { min-height: 90px; }
	.statement-card { min-height: 0; }
	.policy-panel { padding: 28px 24px; }
	.section-jump-links { margin-top: -24px; }
	.machine-grid article { min-height: 190px; }
	.photo-gallery img { aspect-ratio: 4 / 3; }
	.logo-grid figure { min-height: 110px; }

	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 12px; }
	.product-grid figure { padding: 10px; }
	.product-grid .product-card--wide { grid-column: span 2; }
	.product-grid .product-card--tall { grid-row: auto; }
	.services-feature figure { min-height: 360px; }
	.services-feature__copy { padding: 38px 24px; }
	.material-panel { padding: 34px 24px; }
	.quality-grid figure { min-height: 320px; }
	.quality-grid img { height: 250px; }
	.certification-section { padding: 30px 18px; }
	.certification-grid img,
	.certification-grid figure:last-child img { height: 340px; }
	.market-chart__pie { width: 86%; }
	.market-legend > div { grid-template-columns: 1fr auto; }
	.customer-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.customer-logo-grid figure { min-height: 105px; padding: 10px; }
	.customer-logo-grid img { max-width: 96%; max-height: 72px; }

	.contact-card { min-height: 0; padding: 38px 24px; }
	.contact-card address > * { grid-template-columns: 1fr; gap: 2px; overflow-wrap: anywhere; }
	.contact-card__marks img:first-child { width: 128px; }
	.contact-map,
	.contact-map iframe { min-height: 330px; }
	.contact-map__caption { right: 12px; bottom: 12px; left: 12px; flex-direction: column; align-items: stretch; gap: 10px; }
	.contact-map__caption a { width: 100%; }

	.site-footer { padding-inline: 22px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.site-footer__bottom { flex-direction: column; }
	.home-contact-strip--compact { grid-template-columns: 1fr; gap: 4px; text-align: center; }
	.home-contact-strip--compact a { justify-content: center; }
}

@media (max-width: 430px) {
	.content-shell { width: calc(100% - 24px); }
	.hero-services { padding-inline: 12px; }
	.hero-services span { padding-inline: 2px; font-size: 9px; }
	.page-banner h1 { font-size: 34px; overflow-wrap: anywhere; }
	.product-grid { grid-auto-rows: 165px; }
	.product-grid .product-card--wide { grid-column: span 2; }
	.home-contact-strip a { overflow-wrap: anywhere; }
}

@media print {
	.site-header,
	.site-footer,
	.section-jump-links { display: none !important; }
	.page-banner { padding: 28px 0; color: #000; background: #fff; border-bottom: 4px solid var(--nt-blue); }
	.page-banner p { color: #000; }
	.profile-content { padding-block: 30px; }
	.profile-section { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
