@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Rajdhani:wght@600;700&display=swap");

:root {
	--npe-green: #00ff00;
	--npe-green-dim: #00dd00;
	--npe-green-neon: #66ff66;
	--npe-green-glow: rgba(0, 255, 0, 0.95);
	--npe-green-soft: rgba(0, 255, 0, 0.14);
	--npe-grey: #a8a8a8;
	--npe-white: #ffffff;
	--npe-black: #030503;
	--npe-glow:
		0 0 4px #00ff00,
		0 0 12px #00ff00,
		0 0 28px rgba(0, 255, 0, 0.95),
		0 0 48px rgba(0, 255, 0, 0.72),
		0 0 72px rgba(0, 255, 0, 0.48),
		0 0 100px rgba(0, 255, 0, 0.28);
	--npe-glow-sm:
		0 0 3px #00ff00,
		0 0 10px rgba(0, 255, 0, 1),
		0 0 22px rgba(0, 255, 0, 0.88),
		0 0 38px rgba(0, 255, 0, 0.58),
		0 0 58px rgba(0, 255, 0, 0.32);
	--npe-line-glow:
		0 0 6px rgba(0, 255, 0, 0.95),
		0 0 16px rgba(0, 255, 0, 0.65);
	--npe-text-neon:
		0 0 10px rgba(0, 255, 0, 1),
		0 0 22px rgba(0, 255, 0, 0.9),
		0 0 40px rgba(0, 255, 0, 0.55);
	--npe-font-display: "Rajdhani", "Source Sans 3", sans-serif;
	--npe-font-body: "Barlow", "Source Sans 3", sans-serif;
	--npe-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
	--npe-clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
	--npe-logo-edge-fade: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0, 0, 0, 0.35) 2%,
		rgba(0, 0, 0, 0.85) 3.5%,
		black 5%,
		black 95%,
		rgba(0, 0, 0, 0.85) 96.5%,
		rgba(0, 0, 0, 0.35) 98%,
		transparent 100%
	);
}

body,
input,
select,
textarea {
	font-family: var(--npe-font-body);
	color: var(--npe-white);
}

body {
	background-color: var(--npe-black);
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 10000;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 3px,
		rgba(0, 0, 0, 0.04) 3px,
		rgba(0, 0, 0, 0.04) 4px
	);
	opacity: 0.55;
}

html,
body {
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#bg:before {
	background-image:
		repeating-linear-gradient(
			-45deg,
			transparent,
			transparent 36px,
			rgba(0, 255, 0, 0.018) 36px,
			rgba(0, 255, 0, 0.018) 37px
		),
		radial-gradient(ellipse at center, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
		linear-gradient(to top, rgba(3, 5, 3, 0.96), rgba(3, 8, 3, 0.88)),
		url("../../images/overlay.png");
}

#header .brand-logo {
	display: block;
	max-width: min(100%, 36rem);
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	margin: 0 auto;
	-webkit-mask-image: var(--npe-logo-edge-fade);
	mask-image: var(--npe-logo-edge-fade);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

#wrapper {
	min-height: 100vh;
	min-height: 100dvh;
	padding: clamp(0.35rem, 0.75vh, 0.65rem) clamp(0.35rem, 0.75vw, 0.65rem);
}

@media screen and (min-width: 737px) and (min-height: 650px) {
	#wrapper {
		height: 100vh;
		height: 100dvh;
		max-height: 100dvh;
		overflow: hidden;
	}
}

#header {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	min-height: 0;
	max-width: 100%;
	width: 100%;
}

#header > * {
	margin-top: 0;
}

#header .content {
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	border: none;
	overflow: hidden;
	padding: clamp(0.35rem, 1vh, 0.85rem) 0;
}

#header .content .inner {
	padding: 0;
	width: 100%;
	height: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#header > *:before {
	display: none;
}

#header nav {
	flex-shrink: 0;
	max-width: 100%;
	margin-top: clamp(1.5rem, 3.5vh, 2.75rem);
	position: relative;
}

#header nav ul {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	flex-wrap: nowrap;
	justify-content: center;
	max-width: 100%;
	border: 2px solid var(--npe-green);
	border-radius: 0;
	box-shadow: var(--npe-glow);
	clip-path: var(--npe-clip-sm);
}

#header nav ul li {
	border-color: var(--npe-green);
	border-width: 2px;
	border-top: 0;
	box-shadow: var(--npe-line-glow);
}

#header nav.use-middle:after {
	display: block;
	background: var(--npe-green);
	box-shadow: var(--npe-glow);
}

#header nav.use-middle ul li.is-middle {
	border-left: 0;
}

@media screen and (max-width: 42rem) {
	#header nav ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#header nav.use-middle:after {
		display: none;
	}

	#header nav.use-middle ul li.is-middle {
		border-left: 2px solid var(--npe-green);
	}

	#header nav ul li {
		border-top: 2px solid var(--npe-green);
	}

	#header nav ul li:nth-child(-n+3) {
		border-top: 0;
	}

	#header nav ul li:nth-child(3n+1) {
		border-left: 0;
	}
}

#header nav ul li a {
	min-width: 5.25rem;
	padding: 0 0.85rem;
	font-family: var(--npe-font-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.2rem;
	color: var(--npe-white);
	text-align: center;
	text-transform: uppercase;
	transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease, text-shadow 0.12s ease;
}

#header nav ul li a:hover {
	background-color: var(--npe-green-soft);
	color: var(--npe-green);
	box-shadow: inset 0 0 18px rgba(0, 255, 0, 0.28);
	text-shadow: var(--npe-glow-sm);
}

#footer {
	flex-shrink: 0;
	margin-top: clamp(1rem, 2.5vh, 2rem);
	color: var(--npe-grey);
}

#footer .icons {
	margin-bottom: 0.5rem;
}

#footer .visitor-counter {
	display: inline-block;
	margin: 0 0 0.65rem;
	padding: 0.5rem 1.15rem;
	font-family: var(--npe-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--npe-green);
	border: 2px solid var(--npe-green);
	border-radius: 0;
	background: rgba(0, 255, 0, 0.06);
	box-shadow: var(--npe-glow);
	clip-path: var(--npe-clip-sm);
}

#footer .visitor-counter #visitor-count {
	color: var(--npe-white);
	font-weight: 700;
}

#footer .icons a {
	color: var(--npe-green);
	border-radius: 0;
	box-shadow: inset 0 0 0 2px var(--npe-green), var(--npe-glow);
	clip-path: var(--npe-clip-sm);
}

#footer .icons a:hover {
	color: var(--npe-white);
	background-color: var(--npe-green-soft);
	box-shadow: inset 0 0 0 2px var(--npe-green), var(--npe-glow);
}

#footer .footer-email,
#footer .footer-phone {
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--npe-grey);
}

#footer .footer-email a,
#footer .footer-phone a {
	border-bottom: 0;
	color: var(--npe-white);
}

#footer .footer-email a:hover,
#footer .footer-phone a:hover {
	color: var(--npe-green);
	text-shadow: var(--npe-glow-sm);
}

#footer .copyright {
	color: var(--npe-grey);
	font-family: var(--npe-font-display);
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

#main article {
	text-align: left;
	border: 2px solid var(--npe-green);
	border-radius: 0 !important;
	box-shadow: var(--npe-glow);
	background-color: rgba(4, 8, 4, 0.94) !important;
	clip-path: var(--npe-clip);
}

#main article h2.major,
#main article h3.major {
	text-align: center;
	border-bottom: 0;
	font-family: var(--npe-font-display);
	font-weight: 700;
	color: var(--npe-green);
	text-shadow: var(--npe-text-neon);
	letter-spacing: 0.32rem;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 0.85rem;
	margin-bottom: 1.75rem;
}

#main article h2.major::after,
#main article h3.major::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 3.5rem;
	height: 3px;
	background: var(--npe-green);
	box-shadow: var(--npe-glow);
	transform: translateX(-50%) skewX(-28deg);
}

#main article .close:before {
	border-radius: 0 !important;
	border: 2px solid var(--npe-green);
	background-color: rgba(0, 0, 0, 0.65) !important;
	clip-path: var(--npe-clip-sm);
	box-shadow: var(--npe-glow-sm);
}

#main article .close:hover:before {
	background-color: var(--npe-green-soft) !important;
	box-shadow: inset 0 0 18px rgba(0, 255, 0, 0.28), var(--npe-glow-sm);
}

#main article .close:active:before {
	background-color: var(--npe-green-soft) !important;
}

#main article p {
	line-height: 1.75;
	overflow-wrap: break-word;
	word-wrap: break-word;
	color: rgba(255, 255, 255, 0.92);
}

#about {
	padding: 3rem 1.75rem 1.25rem !important;
	max-height: calc(100dvh - 1rem);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#about h2.major {
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
}

#about p {
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 0 0 0.85rem;
}

#about p:last-child {
	margin-bottom: 0;
}

@media screen and (max-height: 780px) {
	#about {
		padding: 2.65rem 1.35rem 0.85rem !important;
	}

	#about h2.major {
		margin-bottom: 0.65rem;
		padding-bottom: 0.5rem;
		letter-spacing: 0.22rem;
	}

	#about p {
		font-size: 0.82rem;
		line-height: 1.45;
		margin-bottom: 0.65rem;
	}
}

#qualifications {
	text-align: center;
}

#qualifications h2.major {
	margin-left: auto;
	margin-right: auto;
}

#main article .qual-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	max-width: 36rem;
	margin: 0 auto;
	text-align: left;
}

#main article .qual-card {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	border: 2px solid var(--npe-green);
	border-radius: 0;
	clip-path: var(--npe-clip-sm);
	color: var(--npe-white);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	box-shadow: var(--npe-glow);
	transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

#main article .qual-card:hover {
	background-color: var(--npe-green-soft);
	color: var(--npe-green);
	box-shadow: var(--npe-glow-sm);
}

#main article .qual-card:hover .icon {
	color: var(--npe-green);
	text-shadow: var(--npe-glow-sm);
}

#main article .qual-card .icon {
	flex-shrink: 0;
	color: var(--npe-green);
	font-size: 1.05rem;
	text-shadow: var(--npe-glow-sm);
}

#main article .qual-card-centered {
	grid-column: 1 / -1;
	max-width: calc(50% - 0.375rem);
	justify-self: center;
	width: 100%;
}

#main article .qual-card-wide {
	grid-column: 1 / -1;
}

#services {
	text-align: center;
	padding: 3rem 1.75rem 1.25rem !important;
	max-height: calc(100dvh - 1rem);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#services h2.major {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
}

#services .service-grid {
	gap: 0.55rem;
}

#services .service-card {
	padding: 0.8rem 0.95rem;
}

#services .service-card .icon {
	margin-bottom: 0.45rem;
	font-size: 1.15rem;
}

#services .service-card h3 {
	margin-bottom: 0.35rem;
	font-size: 0.84rem;
}

#services .service-card p {
	font-size: 0.8rem;
	line-height: 1.4;
}

#services .service-sub-list {
	padding-top: 0.35rem;
}

#services .service-sub-list li {
	padding: 0.2rem 0 0.2rem 0.85rem;
	font-size: 0.78rem;
	line-height: 1.35;
}

@media screen and (min-width: 737px) {
	#main article#services .service-grid {
		grid-template-columns: repeat(4, 1fr);
		max-width: 38rem;
	}
}

@media screen and (max-height: 780px) {
	#services {
		padding: 2.65rem 1.35rem 0.85rem !important;
	}

	#services h2.major {
		margin-bottom: 0.65rem;
		padding-bottom: 0.5rem;
		letter-spacing: 0.22rem;
	}

	#services .service-grid {
		gap: 0.45rem;
	}

	#services .service-card {
		padding: 0.6rem 0.75rem;
	}

	#services .service-card .icon {
		font-size: 1rem;
		margin-bottom: 0.3rem;
	}

	#services .service-card h3 {
		font-size: 0.74rem;
		margin-bottom: 0.25rem;
	}

	#services .service-card p {
		font-size: 0.72rem;
		line-height: 1.32;
	}

	#services .service-sub-list li {
		font-size: 0.7rem;
		padding: 0.12rem 0 0.12rem 0.75rem;
	}
}

body.is-article-visible #wrapper:has(#services.active, #about.active) {
	height: 100dvh;
	max-height: 100dvh;
	overflow: hidden;
}

body.is-article-visible #main:has(#services.active, #about.active) {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: 0.5rem;
}

#main article .service-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	max-width: 36rem;
	margin: 0 auto;
	text-align: left;
}

#main article .service-card {
	padding: 1.25rem 1.35rem;
	border: 2px solid var(--npe-green);
	border-radius: 0;
	clip-path: var(--npe-clip-sm);
	background: rgba(0, 255, 0, 0.03);
	box-shadow: var(--npe-glow);
	transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

#main article .service-card:hover {
	background-color: var(--npe-green-soft);
	box-shadow: var(--npe-glow);
}

#main article .service-card .icon {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--npe-green);
	font-size: 1.35rem;
	text-shadow: var(--npe-glow-sm);
}

#main article .service-card h3 {
	margin: 0 0 0.5rem;
	font-family: var(--npe-font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--npe-green);
	text-shadow: var(--npe-glow-sm);
}

#main article .service-card:hover h3,
#main article .service-card:hover .icon {
	color: var(--npe-green);
	text-shadow: var(--npe-glow-sm);
}

#main article .service-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.88rem;
	line-height: 1.55;
}

#main article .service-card:hover p,
#main article .service-card:hover .service-sub-list li {
	color: var(--npe-green);
}

#main article .service-sub-list {
	list-style: none;
	padding: 0.5rem 0 0;
	margin: 0;
}

#main article .service-sub-list li {
	padding: 0.3rem 0 0.3rem 1rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.5;
	border-left: 3px solid var(--npe-green);
	box-shadow: var(--npe-line-glow);
	transition: color 0.12s ease, border-color 0.12s ease;
}

#main article .service-card-wide {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

#main article .service-card-wide .service-sub-list {
	display: inline-block;
	text-align: center;
	padding-top: 0.35rem;
}

#main article .service-card-wide .service-sub-list li {
	padding-left: 0;
	border-left: 0;
}

#main article .cert-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	margin-top: 2rem;
	padding-top: 0;
	border-top: 0;
}

#main article .cert-badges img {
	width: auto;
	max-height: 3.25rem;
	opacity: 0.95;
}

#main article .cert-badges a {
	border-bottom: 0;
	line-height: 0;
	transition: opacity 0.2s ease;
}

#main article .cert-badges a:hover {
	opacity: 0.85;
}

#main article .coming-soon-card {
	max-width: 22rem;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.02);
	border: 2px dashed rgba(0, 255, 0, 0.35);
	border-radius: 0;
	clip-path: var(--npe-clip-sm);
}

#main article .coming-soon-card img {
	width: min(10rem, 50vw);
	height: auto;
	margin: 0 auto 1.25rem;
	opacity: 0.85;
}

#main article .coming-soon-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.95rem;
	line-height: 1.65;
}

#gallery,
#testimonials {
	text-align: center;
}

#gallery h2.major,
#testimonials h2.major {
	margin-left: auto;
	margin-right: auto;
}

#main article .section-intro {
	margin: 0 auto 1.75rem;
	max-width: 32rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.95rem;
	line-height: 1.65;
}

#main article .gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem;
	max-width: 36rem;
	margin: 0 auto;
	text-align: center;
}

#main article .gallery-grid:has(> :only-child) {
	grid-template-columns: 1fr;
	max-width: 18rem;
}

#main article .gallery-card {
	border: 2px solid var(--npe-green);
	border-radius: 0;
	overflow: hidden;
	background: rgba(0, 255, 0, 0.03);
	box-shadow: var(--npe-glow);
	clip-path: var(--npe-clip-sm);
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

#main article .gallery-card:hover {
	background-color: var(--npe-green-soft);
	box-shadow: var(--npe-glow);
}

#main article .gallery-card-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 6.5rem;
	background: rgba(0, 0, 0, 0.45);
	border-bottom: 2px solid var(--npe-green);
	box-shadow: 0 4px 18px rgba(0, 255, 0, 0.45);
}

#main article .gallery-card-media .icon {
	color: var(--npe-green);
	font-size: 2rem;
	opacity: 1;
	text-shadow: var(--npe-glow);
}

#main article .gallery-badge {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	padding: 0.25rem 0.6rem;
	border: 2px solid var(--npe-green);
	border-radius: 0;
	font-family: var(--npe-font-display);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--npe-green);
	background: rgba(0, 0, 0, 0.65);
	clip-path: var(--npe-clip-sm);
	box-shadow: var(--npe-glow-sm);
}

#main article .gallery-card-body {
	padding: 0.9rem 1rem 1rem;
	text-align: center;
}

#main article .gallery-card-body h3 {
	margin: 0 0 0.35rem;
	font-family: var(--npe-font-display);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--npe-green);
	text-shadow: var(--npe-glow-sm);
}

#main article .gallery-card-body p {
	margin: 0;
	color: var(--npe-grey);
	font-size: 0.86rem;
	line-height: 1.5;
}

#main article .gallery-note {
	margin: 1.75rem auto 0;
	max-width: 32rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9rem;
	line-height: 1.6;
}

#main article .gallery-note a {
	border-bottom: 0;
	color: var(--npe-grey);
}

#main article .gallery-note a:hover {
	color: var(--npe-green);
}

#contact h2.major {
	border-bottom: 0;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
	border-color: var(--npe-green);
	border-width: 2px;
	border-radius: 0;
	box-shadow: var(--npe-line-glow);
}

#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact textarea:focus {
	border-color: var(--npe-green);
	box-shadow: 0 0 0 1px var(--npe-green), var(--npe-glow-sm);
	background: rgba(0, 255, 0, 0.08);
}

#contact input[type="submit"],
#contact input[type="reset"] {
	font-family: var(--npe-font-display);
	border-radius: 0;
	box-shadow: inset 0 0 0 2px var(--npe-green), var(--npe-glow);
	color: var(--npe-white) !important;
	background-color: transparent;
	font-size: 0.82rem;
	letter-spacing: 0.18rem;
	font-weight: 700;
	text-transform: uppercase;
	clip-path: var(--npe-clip-sm);
	transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

#contact input[type="submit"]:hover,
#contact input[type="reset"]:hover {
	background-color: var(--npe-green-soft);
	color: var(--npe-green) !important;
	box-shadow: inset 0 0 0 2px var(--npe-green), var(--npe-glow);
}

#contact input[type="submit"].primary,
#contact input[type="submit"].primary:hover {
	background-color: transparent;
	color: var(--npe-white) !important;
	box-shadow: inset 0 0 0 2px var(--npe-green), var(--npe-glow-sm);
	font-weight: 700;
}

#contact input[type="submit"].primary:hover {
	background-color: var(--npe-green-soft);
	color: var(--npe-green) !important;
	box-shadow: inset 0 0 0 2px var(--npe-green), var(--npe-glow);
}

#contact label {
	font-family: var(--npe-font-display);
	color: var(--npe-green);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

@media screen and (max-height: 800px) {
	#wrapper {
		padding: 0.5rem 0.65rem;
	}

	#header .brand-logo {
		max-width: min(100%, 32rem);
		max-height: min(100%, calc(100dvh - 18rem));
	}

	#header nav {
		margin-top: clamp(1.25rem, 2.5vh, 2rem);
	}

	#header nav ul li a {
		height: 2.35rem;
		line-height: 2.35rem;
		min-width: 4.85rem;
		font-size: 0.68rem;
		padding: 0 0.55rem;
	}

	#footer .footer-email,
	#footer .footer-phone {
		font-size: 0.8rem;
	}
}

@media screen and (max-width: 736px) {
	#wrapper {
		min-height: 100vh;
		min-height: 100dvh;
		height: auto;
		max-height: none;
		overflow: visible;
		padding: 0.85rem 0.65rem;
	}

	#header {
		justify-content: space-between;
	}

	#header .brand-logo {
		max-width: min(92vw, 30rem);
		max-height: min(calc(100dvh - 20rem), calc(100vh - 20rem));
	}

	#header > * {
		margin-top: 0;
	}

	#header .content .inner {
		padding: 0;
	}

	#header nav {
		margin-top: clamp(1.5rem, 3vh, 2.25rem);
	}

	#header nav ul {
		width: 100%;
	}

	#header nav ul li a {
		min-height: 3rem;
		min-width: 5rem;
		padding: 0 0.65rem;
		font-size: 0.8rem;
		letter-spacing: 0.1rem;
	}

	#footer .footer-email a,
	#footer .footer-phone a {
		word-break: break-word;
	}

	body.is-article-visible #wrapper {
		height: 100vh;
		height: 100dvh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		justify-content: flex-start;
		padding: 0.5rem;
	}

	body.is-article-visible #main {
		width: 100%;
		padding: 0.5rem 0 1.5rem;
	}

	body.is-article-visible #services,
	body.is-article-visible #about {
		max-height: calc(100dvh - 1rem);
		margin: 0 auto;
	}

	#main article {
		width: 100%;
		max-width: 100%;
	}

	#main article .qual-grid {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	#main article .service-grid {
		grid-template-columns: repeat(2, 1fr);
		max-width: 100%;
	}

	#main article#services .service-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	#main article .service-card-wide {
		grid-column: auto;
	}

	#main article .qual-card {
		font-size: 0.82rem;
		padding: 0.75rem 0.85rem;
	}

	#main article .qual-card-wide,
	#main article .qual-card-centered {
		grid-column: auto;
		max-width: none;
		justify-self: stretch;
	}

	#main article .coming-soon-card {
		max-width: 100%;
		padding: 1.5rem 1rem;
	}

	#main article .gallery-grid {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	#main article .gallery-card-media {
		min-height: 5.5rem;
	}

	#main article .cert-badges {
		gap: 1rem;
	}

	#main article .cert-badges img {
		max-height: 2.75rem;
	}

	input,
	select,
	textarea {
		font-size: 16px;
	}
}

@media screen and (max-width: 480px) {
	#header nav ul {
		grid-template-columns: 1fr;
	}

	#header nav ul li {
		border-left: 0;
		border-top: 2px solid var(--npe-green);
	}

	#header nav ul li:first-child {
		border-top: 0;
	}

	#header {
		padding: 0;
	}

	#header .content .inner {
		padding: 0 !important;
	}

	#header .brand-logo {
		max-width: min(94vw, 26rem);
		max-height: min(calc(100dvh - 22rem), calc(100vh - 22rem));
	}

	#header nav ul li a {
		min-height: 3rem;
		font-size: 0.78rem;
	}

	#wrapper {
		padding: 0.65rem 0.5rem;
	}

	#main article {
		padding: 3rem 1.15rem 1.25rem;
	}

	#main article h2.major {
		font-size: 1.05rem;
		letter-spacing: 0.15rem;
	}
}

@media (hover: none) and (pointer: coarse) {
	#header nav ul li a:active,
	#main article .qual-card:active,
	#main article .service-card:active,
	#footer .icons a:active {
		background-color: var(--npe-green-soft);
		box-shadow: var(--npe-glow-sm);
	}

	#header nav ul li a:active {
		color: var(--npe-green);
	}

	#main article .qual-card:active,
	#main article .service-card:active {
		color: var(--npe-green);
	}

	#main article .gallery-card:active {
		background-color: var(--npe-green-soft);
	}
}
