/* Natpak theme. Every length is in rem. */

@property --np-rz {
	syntax: "<angle>";
	inherits: true;
	initial-value: -38deg;
}

:root {
	--np-ink: #1b1b19;
	--np-muted: #5b5b55;
	--np-paper: #ffffff;
	--np-cream: #fffbe7;
	--np-stone: #f4f3ee;
	--np-line: #e6e4da;
	--np-green: #0f7a3a;
	--np-green-dark: #0a5c2b;
	--np-green-soft: #e4f2e8;
	--np-error: #a4261c;
	--np-radius: 1.25rem;
	--np-radius-sm: 0.75rem;
	--np-inset: clamp(1.25rem, 4vw, 2.5rem);
	--np-gap: 1rem;
	--np-section: 3rem;
	--np-pad: clamp(1.5rem, 5vw, 4rem);
	--np-display: "Josefin Sans", "Century Gothic", "Avenir Next", sans-serif;
	--np-body: Lato, "Helvetica Neue", Arial, sans-serif;
	--np-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--layout-density: spacious;
}

@view-transition {
	navigation: auto;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--np-paper);
	color: var(--np-ink);
	font-family: var(--np-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

[hidden] {
	display: none !important;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

fieldset {
	border: 0;
	min-width: 0;
}

h1,
h2,
h3 {
	font-family: var(--np-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 5.2vw, 4.25rem);
	line-height: 1.02;
}

h2 {
	font-size: clamp(1.875rem, 3.2vw, 2.75rem);
}

h3 {
	font-size: 1.3125rem;
	letter-spacing: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 0.0625rem;
	text-underline-offset: 0.2em;
}

:focus-visible {
	outline: 0.1875rem solid var(--np-green);
	outline-offset: 0.1875rem;
	border-radius: 0.25rem;
}

.np-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}

.skip-link,
.skip-link.screen-reader-text {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 50;
	display: inline-flex;
	align-items: center;
	width: auto;
	height: auto;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.5rem 1.25rem;
	clip: auto;
	clip-path: none;
	overflow: visible;
	background: var(--np-ink);
	color: var(--np-paper);
	border-radius: 62rem;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform 0.2s var(--np-ease);
}

.skip-link:focus {
	transform: none;
}

/* ---------- Layout ---------- */

.np-wrap {
	width: 100%;
	max-width: 85rem;
	margin-inline: auto;
	padding-inline: var(--np-inset);
}

.wp-block-post-content,
.np-stack {
	display: flex;
	flex-direction: column;
	row-gap: var(--np-section);
	padding-block: 1.5rem var(--np-section);
}

.np-section {
	padding-block: 1.5rem;
}

.np-band {
	width: calc(100% - var(--np-inset) * 2);
	max-width: 80rem;
	margin-inline: auto;
	padding-block: var(--np-pad);
	border-radius: 2rem;
}

.np-band > .np-wrap {
	padding-inline: var(--np-pad);
}

.np-band--cream {
	background: var(--np-cream);
}

.np-band--stone {
	background: var(--np-stone);
}

.np-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.np-section__intro {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
	max-width: 44rem;
}

.np-eyebrow {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--np-green);
}

.np-eyebrow a {
	text-decoration: none;
}

.np-lead {
	font-size: 1.1875rem;
	line-height: 1.55;
	color: var(--np-muted);
	max-width: 36rem;
	text-wrap: pretty;
}

.np-note {
	font-size: 0.875rem;
	color: var(--np-muted);
}

.np-link,
.np-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 700;
	font-size: 1rem;
	color: var(--np-green);
	text-decoration: none;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

.np-link .np-icon {
	transition: transform 0.2s var(--np-ease);
}

.np-more {
	margin-top: 2rem;
}

/* ---------- Buttons ---------- */

.np-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.625rem 1.375rem;
	border: 0.0625rem solid transparent;
	border-radius: 62rem;
	font-family: var(--np-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s var(--np-ease);
}

.np-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--np-green);
	color: #ffffff;
}

.np-btn--ghost,
.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--np-ink);
	color: var(--np-ink);
}

.np-btn--lg {
	min-height: 3.5rem;
	padding-inline: 1.75rem;
	font-size: 1.0625rem;
}

.np-btn:active,
.wp-block-button__link:active {
	transform: scale(0.98);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.np-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 0.0625rem solid var(--np-line);
	background: var(--np-paper);
	color: var(--np-ink);
	cursor: pointer;
}

/* ---------- Header ---------- */

.np-header {
	position: relative;
	z-index: 20;
	background: var(--np-paper);
	border-bottom: 0.0625rem solid var(--np-line);
}

.np-header__bar {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: 4.5rem;
}

.np-logo {
	display: inline-flex;
	flex: none;
}

.np-logo img {
	width: 7.35rem;
	height: 1.875rem;
}

.np-nav {
	margin-right: auto;
}

.np-nav__list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.np-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	height: 2.5rem;
	padding: 0 0.875rem;
	border: 0;
	border-radius: 62rem;
	background: transparent;
	color: var(--np-ink);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s;
}

.np-nav__link.is-current,
.np-nav__link[aria-expanded="true"] {
	background: var(--np-stone);
}

.np-nav__chev {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s var(--np-ease);
}

.np-nav__link[aria-expanded="true"] .np-nav__chev {
	transform: rotate(180deg);
}

.np-header__menu {
	display: none;
	margin-left: auto;
}

.np-header__menu-close,
.np-header__menu[aria-expanded="true"] .np-header__menu-open {
	display: none;
}

.np-header__menu[aria-expanded="true"] .np-header__menu-close {
	display: block;
}

.np-mega,
.np-mobile {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--np-paper);
	border-bottom: 0.0625rem solid var(--np-line);
	box-shadow: 0 1.5rem 2.5rem -1.5rem rgb(27 27 25 / 0.25);
	transition: opacity 0.2s, transform 0.25s var(--np-ease), display 0.25s allow-discrete;
}

.np-mega[hidden],
.np-mobile[hidden] {
	display: none;
	opacity: 0;
	transform: translateY(-0.5rem);
}

@starting-style {
	.np-mega:not([hidden]),
	.np-mobile:not([hidden]) {
		opacity: 0;
		transform: translateY(-0.5rem);
	}
}

.np-mega__inner {
	padding-block: 1.5rem 2rem;
	display: grid;
	gap: 1.5rem;
}

.np-mega__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--np-gap);
}

.np-mega__item {
	display: grid;
	gap: 0.125rem;
	text-decoration: none;
}

.np-mega__thumb {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: var(--np-radius-sm);
	overflow: hidden;
	margin-bottom: 0.625rem;
}

.np-mega__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--np-ease);
}

.np-mega__name {
	font-weight: 700;
}

.np-mega__count {
	font-size: 0.875rem;
	color: var(--np-muted);
	font-variant-numeric: tabular-nums;
}

.np-mobile__inner {
	padding-block: 1.25rem 1.75rem;
	display: grid;
	gap: 0.5rem;
}

.np-mobile__label {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--np-muted);
	margin-top: 0.5rem;
}

.np-mobile__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 3rem;
	border-bottom: 0.0625rem solid var(--np-line);
	font-size: 1.125rem;
	font-weight: 700;
	text-decoration: none;
}

.np-mobile__list span {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--np-muted);
	font-variant-numeric: tabular-nums;
}

.np-mobile__cta {
	margin-top: 1rem;
}

/* ---------- Tones (each matches the background of its photo) ---------- */

.np-tone--blush { background: #fcd5c9; }
.np-tone--grey { background: #efefef; }
.np-tone--pink { background: #f7a4ae; }
.np-tone--sage { background: #c9dbd0; }
.np-tone--yellow { background: #ffde59; }
.np-tone--cream { background: var(--np-cream); }

/* ---------- Hero ---------- */

.np-hero {
	padding-block: clamp(0.5rem, 2vw, 2rem) 1.5rem;
}

.np-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.np-hero__copy {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.np-hero__copy .wp-block-buttons {
	margin-top: 0.5rem;
}

.np-hero__img img {
	width: 100%;
	aspect-ratio: 6 / 5;
	object-fit: cover;
	border-radius: 1.75rem;
}

.np-hero--page .np-hero__img img {
	aspect-ratio: 4 / 3;
}

.np-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 0.75rem;
	padding-top: 1.25rem;
	border-top: 0.0625rem solid var(--np-line);
	width: 100%;
	font-size: 0.875rem;
	color: var(--np-muted);
}

.np-facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.np-facts li::before {
	content: "";
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background: var(--np-green);
}

/* ---------- Category tiles ---------- */

.np-cats__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--np-gap);
}

.np-tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--np-radius);
	overflow: hidden;
	text-decoration: none;
	box-shadow: inset 0 0 0 0.0625rem rgb(27 27 25 / 0.1);
	transition: transform 0.3s var(--np-ease);
}

.np-tile__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

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

.np-tile__media--packshot img {
	object-fit: contain;
	padding: 12%;
	mix-blend-mode: multiply;
}

.np-tile__body {
	display: grid;
	gap: 0.125rem;
	padding: 1.25rem 1.5rem 1.5rem;
}

.np-tile__name {
	font-family: var(--np-display);
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.15;
}

.np-tile__count {
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

/* ---------- Eco Crush Box ---------- */

.np-crush__layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.np-crush__copy {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.np-box {
	display: grid;
	gap: 1rem;
	justify-items: center;
}

.np-box__stage {
	width: 100%;
	height: 24rem;
	display: grid;
	place-items: center;
	perspective: 70rem;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.np-box__stage.is-dragging {
	cursor: grabbing;
}

.np-box__scene {
	--s: 9.5rem;
	--np-rx: 58deg;
	position: relative;
	width: var(--s);
	height: var(--s);
	transform-style: preserve-3d;
	transform: rotateX(var(--np-rx)) rotateZ(var(--np-rz));
	translate: 0 3.5rem;
	transition: scale 0.9s var(--np-ease), translate 0.9s var(--np-ease);
	animation: np-turn 9s ease-in-out infinite alternate;
}

.np-box.is-open .np-box__scene {
	scale: 0.6;
	translate: 0 2.5rem;
}

@keyframes np-turn {
	from { --np-rz: -44deg; }
	to { --np-rz: -26deg; }
}

.np-box__face {
	position: absolute;
	width: var(--s);
	height: var(--s);
	transform-style: preserve-3d;
	transition: transform 0.9s var(--np-ease);
	display: grid;
	place-items: center;
	font-family: var(--np-display);
	font-weight: 700;
	line-height: 0.9;
	text-align: center;
	outline: 0.0625rem solid rgb(27 27 25 / 0.12);
	outline-offset: -0.0625rem;
}

.np-box__base {
	inset: 0;
	background: #8fa99b;
	box-shadow: 0 0 2.5rem 0.75rem rgb(27 27 25 / 0.14);
}

.np-box__side--n {
	bottom: 100%;
	left: 0;
	background: #a9c5b6;
	transform-origin: bottom center;
	transform: rotateX(-90deg);
}

.np-box__side--s {
	top: 100%;
	left: 0;
	background: #a9c5b6;
	transform-origin: top center;
	transform: rotateX(90deg);
	color: #ffffff;
	font-size: 1.25rem;
	letter-spacing: 0.04em;
}

.np-box__side--e {
	left: 100%;
	top: 0;
	background: #92b0a1;
	transform-origin: left center;
	transform: rotateY(-90deg);
}

.np-box__side--w {
	right: 100%;
	top: 0;
	background: #92b0a1;
	transform-origin: right center;
	transform: rotateY(90deg);
}

.np-box__lid {
	bottom: 100%;
	left: 0;
	background: #9fc7de;
	transform-origin: bottom center;
	transform: rotateX(-90deg);
	color: #ffffff;
	font-size: 2.75rem;
}

.np-box__lid::after {
	content: "Eco\A box";
	white-space: pre;
	transform: scaleY(-1);
	transition: transform 0.9s var(--np-ease);
}

.np-box.is-open .np-box__lid::after {
	transform: none;
}

.np-box.is-open .np-box__side,
.np-box.is-open .np-box__lid {
	transform: none;
}

.np-box__controls {
	display: grid;
	gap: 0.625rem;
	justify-items: center;
	text-align: center;
}

.np-box__note {
	font-size: 0.875rem;
	color: var(--np-muted);
}

/* ---------- Sustainable line ---------- */

.np-lines__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--np-gap);
}

.np-line img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--np-radius);
	background: var(--np-stone);
}

.np-line figcaption {
	margin-top: 0.875rem;
	line-height: 1.4;
	color: var(--np-muted);
}

.np-line figcaption strong {
	color: var(--np-ink);
}

/* ---------- Impact ---------- */

.np-impact {
	background: var(--np-ink);
	color: var(--np-cream);
}

.np-impact > .np-wrap {
	display: grid;
	gap: 2.5rem;
}

.np-impact :focus-visible {
	outline-color: var(--np-cream);
}

.np-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--np-gap);
	border-top: 0.0625rem solid rgb(255 251 231 / 0.25);
	padding-top: 2rem;
}

.np-stat {
	color: rgb(255 251 231 / 0.78);
	font-size: 1rem;
	line-height: 1.4;
}

.np-stat strong {
	display: inline-block;
	margin-bottom: 0.375rem;
	font-family: var(--np-display);
	font-size: clamp(1.875rem, 3.4vw, 2.875rem);
	font-weight: 600;
	line-height: 1;
	color: var(--np-cream);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.np-impact .np-note {
	color: rgb(255 251 231 / 0.7);
}

/* ---------- Product cards ---------- */

.np-grid {
	display: grid;
	gap: 2rem var(--np-gap);
}

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

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

.np-card[hidden] {
	display: none;
}

.np-card__link {
	display: grid;
	gap: 0.875rem;
	text-decoration: none;
}

.np-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: var(--np-radius);
	background: var(--np-stone);
	overflow: hidden;
	box-shadow: inset 0 0 0 0.0625rem rgb(27 27 25 / 0.1);
	transition: background-color 0.2s;
}

.np-card__media img {
	position: absolute;
	inset: 9%;
	width: 82%;
	height: 82%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.4s var(--np-ease);
}

.np-card__body {
	display: grid;
	gap: 0.125rem;
}

.np-card__type {
	font-size: 0.875rem;
	color: var(--np-muted);
}

.np-card__name {
	font-family: var(--np-body);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.np-card__meta {
	font-size: 0.875rem;
	color: var(--np-muted);
	font-variant-numeric: tabular-nums;
}

/* ---------- Process ---------- */

.np-process__layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.np-process__copy {
	display: grid;
	gap: 2rem;
}

.np-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem var(--np-gap);
	counter-reset: step;
}

.np-step {
	display: grid;
	gap: 0.5rem;
	align-content: start;
	counter-increment: step;
}

.np-step::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--np-green);
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.np-step p {
	color: var(--np-muted);
	font-size: 1rem;
}

.np-process__img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 1.75rem;
}

/* ---------- Certifications, shows, partners, plants ---------- */

.np-certs {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
}

.np-certs .np-more {
	margin-top: 0;
}

.np-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.np-chips li {
	padding: 0.5rem 1rem;
	border: 0.0625rem solid var(--np-line);
	border-radius: 62rem;
	background: var(--np-stone);
	font-size: 0.9375rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.np-certs--full {
	scroll-margin-top: 2rem;
}

.np-certs--full h3 {
	margin-top: 1rem;
}

.np-certlist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--np-gap);
	width: 100%;
}

.np-certlist li {
	padding: 0.875rem 0;
	border-top: 0.0625rem solid var(--np-line);
	font-size: 1rem;
}

.np-shows {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2rem clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.np-shows__list {
	display: grid;
}

.np-show {
	padding: 1.125rem 0;
	border-top: 0.0625rem solid var(--np-line);
	color: var(--np-muted);
}

.np-show:last-child {
	border-bottom: 0.0625rem solid var(--np-line);
}

.np-show strong {
	color: var(--np-ink);
	font-size: 1.125rem;
}

.np-plants,
.np-partners {
	display: grid;
	gap: 2rem;
}

.np-plants__grid,
.np-partners__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--np-gap);
}

.np-plant {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

.np-plant__img {
	margin-bottom: 0.625rem;
}

.np-plant__img img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--np-radius);
}

.np-plant p,
.np-partner p {
	color: var(--np-muted);
}

.np-partner {
	display: grid;
	gap: 0.625rem;
	align-content: start;
	padding: 1.5rem;
	border-radius: var(--np-radius);
	background: var(--np-stone);
	box-shadow: inset 0 0 0 0.0625rem rgb(27 27 25 / 0.1);
}

.np-prose {
	display: grid;
	gap: 1.25rem;
	max-width: 52rem;
}

.np-prose p {
	font-size: 1.125rem;
	max-width: 42rem;
}

/* ---------- Footer ---------- */

.np-footer {
	background: var(--np-stone);
	padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.np-footer__close {
	display: grid;
	grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
	align-items: center;
	justify-items: start;
	gap: 2rem var(--np-gap);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
	border-bottom: 0.0625rem solid var(--np-line);
}

.np-footer__line {
	font-family: var(--np-display);
	font-size: clamp(1.5rem, 2.8vw, 2.25rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	max-width: 42rem;
	text-wrap: balance;
}

.np-footer__line span {
	color: var(--np-muted);
}

.np-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
	gap: 2rem var(--np-gap);
}

.np-footer__brand {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
	align-content: start;
}

.np-footer__address {
	font-style: normal;
	font-size: 0.9375rem;
	color: var(--np-muted);
	max-width: 22rem;
}

.np-footer__title {
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.np-footer__nav ul {
	display: grid;
	gap: 0.5rem;
}

.np-footer__nav a,
.np-footer__address a {
	color: var(--np-muted);
	text-decoration: none;
	transition: color 0.15s;
}

.np-footer__nav a {
	font-size: 0.9375rem;
	display: inline-block;
	padding-block: 0.125rem;
}

.np-footer__legal {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 1.5rem;
	border-top: 0.0625rem solid var(--np-line);
	font-size: 0.875rem;
	color: var(--np-muted);
}

/* ---------- Catalog ---------- */

.np-crumbs {
	padding-block: 1.5rem 0;
	font-size: 0.875rem;
	color: var(--np-muted);
}

.np-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.np-crumbs li + li::before {
	content: "/";
	margin-right: 0.375rem;
	color: var(--np-line);
}

.np-crumbs a {
	text-decoration: none;
}

.np-crumbs [aria-current] {
	color: var(--np-ink);
}

.np-catalog,
.np-product {
	display: flex;
	flex-direction: column;
	row-gap: var(--np-section);
	padding-bottom: calc(var(--np-section) * 2);
}

.np-catalog__top {
	display: grid;
	gap: 2rem;
}

.np-catalog__head {
	display: grid;
	gap: 1rem;
}

.np-tabs {
	position: relative;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	justify-self: start;
	padding: 0.25rem;
	border-radius: 1.5rem;
	background: var(--np-stone);
}

.np-tabs__tab {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	height: 2.5rem;
	padding: 0 1rem;
	border-radius: 62rem;
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	color: var(--np-muted);
	transition: color 0.2s;
}

.np-tabs__tab.is-current {
	color: var(--np-ink);
}

.np-tabs__indicator {
	position: absolute;
	top: 0;
	left: 0;
	height: 2.5rem;
	width: 0;
	border-radius: 62rem;
	background: var(--np-paper);
	box-shadow: inset 0 0 0 0.0625rem rgb(27 27 25 / 0.1);
	transform: translate(var(--np-tab-x, 0), var(--np-tab-y, 0));
}

.np-tabs.is-ready .np-tabs__indicator {
	transition: transform 0.35s var(--np-ease), width 0.35s var(--np-ease);
}

.np-catalog__layout {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.np-filters__toggle {
	display: none;
}

.np-filters__panel {
	display: grid;
	gap: 1.75rem;
}

.np-field {
	display: grid;
	gap: 0.375rem;
}

.np-field label,
.np-fieldset legend {
	font-size: 0.9375rem;
	font-weight: 700;
}

.np-fieldset {
	display: grid;
	gap: 0.125rem;
}

.np-fieldset legend {
	margin-bottom: 0.5rem;
}

.np-search {
	position: relative;
}

.np-search .np-icon {
	position: absolute;
	left: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--np-muted);
	pointer-events: none;
}

.np-search input[type="search"] {
	padding-inline: 2.75rem;
}

input[type="text"],
input[type="email"],
input[type="search"],
textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.625rem 0.875rem;
	border: 0.0625rem solid #b9b6a8;
	border-radius: var(--np-radius-sm);
	background: var(--np-paper);
	color: var(--np-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}

input::placeholder {
	color: #77766f;
}

input:focus-visible,
textarea:focus-visible {
	outline: 0;
	border-color: var(--np-green);
	box-shadow: 0 0 0 0.1875rem rgb(15 122 58 / 0.25);
	border-radius: var(--np-radius-sm);
}

textarea {
	resize: vertical;
}

@supports (field-sizing: content) {
	textarea {
		field-sizing: content;
		min-height: 8rem;
		max-height: 20lh;
	}
}

.np-check {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 2.75rem;
	font-size: 1rem;
}

.np-check input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.np-check__box {
	display: grid;
	place-items: center;
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 0.0625rem solid #8d8a7c;
	border-radius: 0.375rem;
	background: var(--np-paper);
	color: transparent;
	transition: background-color 0.15s, border-color 0.15s;
}

.np-check__box .np-icon {
	width: 0.875rem;
	height: 0.875rem;
	stroke-width: 3;
}

.np-check input:checked + .np-check__box {
	background: var(--np-green);
	border-color: var(--np-green);
	color: #ffffff;
}

.np-check input:focus-visible + .np-check__box {
	outline: 0.1875rem solid var(--np-green);
	outline-offset: 0.1875rem;
}

.np-check__count {
	margin-left: auto;
	font-size: 0.875rem;
	color: var(--np-muted);
	font-variant-numeric: tabular-nums;
}

.np-filters__clear {
	justify-self: start;
}

.np-count {
	font-size: 0.9375rem;
	color: var(--np-muted);
	font-variant-numeric: tabular-nums;
	margin-bottom: 1.25rem;
}

.np-empty {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding: 2rem;
	border-radius: var(--np-radius);
	background: var(--np-stone);
}

.np-empty[hidden] {
	display: none;
}

.np-catalog__end {
	margin-top: 3rem;
}

.np-callout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem;
	border-radius: var(--np-radius);
	background: var(--np-cream);
	box-shadow: inset 0 0 0 0.0625rem rgb(27 27 25 / 0.1);
}

.np-callout__text {
	max-width: 34rem;
}

/* ---------- Product page ---------- */

.np-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	margin-top: 2rem;
}

.np-gallery {
	display: grid;
	gap: 1rem;
}

.np-gallery__stage {
	position: relative;
	aspect-ratio: 1;
	border-radius: 1.75rem;
	background: var(--np-stone);
	overflow: hidden;
}

.np-gallery__view {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transition: opacity 0.3s, transform 0.4s var(--np-ease), display 0.4s allow-discrete;
}

.np-gallery__view[hidden] {
	display: none;
	opacity: 0;
	transform: scale(0.97);
}

@starting-style {
	.np-gallery__view:not([hidden]) {
		opacity: 0;
		transform: scale(0.97);
	}
}

.np-gallery__view img {
	position: absolute;
	inset: 11%;
	width: 78%;
	height: 78%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.np-gallery__view--drawing {
	background: var(--np-paper);
	box-shadow: inset 0 0 0 0.0625rem var(--np-line);
	border-radius: 1.75rem;
}

.np-gallery__thumbs {
	display: flex;
	gap: 0.75rem;
}

.np-gallery__thumb {
	display: grid;
	gap: 0.375rem;
	justify-items: center;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.875rem;
	color: var(--np-muted);
	cursor: pointer;
}

.np-gallery__thumb img {
	width: 5rem;
	height: 5rem;
	padding: 0.5rem;
	object-fit: contain;
	border-radius: var(--np-radius-sm);
	background: var(--np-stone);
	box-shadow: inset 0 0 0 0.0625rem var(--np-line);
	transition: box-shadow 0.2s;
}

.np-gallery__thumb.is-active {
	color: var(--np-ink);
	font-weight: 700;
}

.np-gallery__thumb.is-active img {
	box-shadow: inset 0 0 0 0.125rem var(--np-green);
}

.np-product__info {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.np-product__info h1 {
	font-size: clamp(2rem, 3.6vw, 3rem);
	overflow-wrap: anywhere;
}

.np-specs {
	display: grid;
	border-top: 0.0625rem solid var(--np-line);
	margin-top: 0.5rem;
}

.np-specs__row {
	display: grid;
	grid-template-columns: 10rem minmax(0, 1fr);
	gap: 1rem;
	padding: 0.875rem 0;
	border-bottom: 0.0625rem solid var(--np-line);
}

.np-specs dt {
	color: var(--np-muted);
}

.np-specs dd {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.np-product__actions {
	display: grid;
	gap: 0.75rem;
	justify-items: start;
	margin-top: 0.75rem;
}

.np-product__hint {
	font-size: 0.9375rem;
	color: var(--np-muted);
}

.np-related {
	padding-block: 0;
}

/* ---------- Contact and the quote form ---------- */

.np-contact {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	padding-block: clamp(1rem, 3vw, 2.5rem) var(--np-section);
}

.np-contact__main {
	display: grid;
	gap: 2rem;
}

.np-contact__head {
	display: grid;
	gap: 1rem;
}

.np-contact__aside {
	display: grid;
	gap: 0.75rem;
	padding: 1.5rem;
	border-radius: var(--np-radius);
	background: var(--np-stone);
	box-shadow: inset 0 0 0 0.0625rem rgb(27 27 25 / 0.1);
}

.np-contact__aside h2 {
	font-size: 1.3125rem;
	letter-spacing: 0;
}

.np-contact__aside h2:not(:first-child) {
	margin-top: 1rem;
}

.np-contact__aside p {
	color: var(--np-muted);
}

.np-form {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.np-form > * {
	width: 100%;
}

.np-form > .np-btn {
	width: auto;
}

.np-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem var(--np-gap);
}

.np-form__trap {
	display: none;
}

.np-field__optional {
	font-weight: 400;
	color: var(--np-muted);
}

.np-field__error {
	font-size: 0.9375rem;
	color: var(--np-error);
}

.np-field input[aria-invalid="true"],
.np-field textarea[aria-invalid="true"] {
	border-color: var(--np-error);
}

.np-form__status {
	padding: 1rem 1.25rem;
	border-radius: var(--np-radius-sm);
	background: var(--np-green-soft);
	font-weight: 700;
}

.np-form__status.is-error {
	background: #fbe9e7;
	color: var(--np-error);
}

.np-notfound {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

/* ---------- Motion ---------- */

.np-js .np-reveal {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity 0.6s var(--np-ease), transform 0.7s var(--np-ease);
}

.np-js .np-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (hover: hover) and (pointer: fine) {
	.np-btn--primary:hover,
	.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
		background: var(--np-green-dark);
	}
	.np-btn--ghost:hover,
	.is-style-outline .wp-block-button__link:hover {
		background: var(--np-ink);
		color: var(--np-paper);
	}
	.np-nav__link:hover,
	.np-iconbtn:hover {
		background: var(--np-stone);
	}
	.np-link:hover .np-icon {
		transform: translateX(0.25rem);
	}
	.np-more a:hover,
	.np-crumbs a:hover {
		text-decoration: underline;
	}
	.np-tile:hover .np-tile__media img,
	.np-mega__item:hover .np-mega__thumb img {
		transform: scale(1.05);
	}
	.np-card__link:hover .np-card__media {
		background: #ebe9e1;
	}
	.np-card__link:hover .np-card__media img {
		transform: scale(1.06);
	}
	.np-footer__nav a:hover,
	.np-footer__address a:hover,
	.np-tabs__tab:hover {
		color: var(--np-ink);
	}
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
	.np-js .np-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Narrow screens ---------- */

@media (max-width: 68rem) {
	.np-cats__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.np-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.np-catalog__layout {
		grid-template-columns: 13rem minmax(0, 1fr);
	}
	.np-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 56rem) {
	.np-nav,
	.np-header__cta,
	.np-mega {
		display: none;
	}
	.np-header__menu {
		display: inline-grid;
	}
	.np-header__bar {
		height: 4rem;
	}
	.np-hero__layout,
	.np-crush__layout,
	.np-process__layout,
	.np-product__layout,
	.np-contact,
	.np-shows {
		grid-template-columns: minmax(0, 1fr);
	}
	.np-lines__grid,
	.np-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.np-stats {
		gap: 2rem var(--np-gap);
	}
	.np-process__img img {
		aspect-ratio: 3 / 2;
	}
	.np-catalog__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}
	.np-filters {
		position: relative;
	}
	.np-filters__toggle {
		display: inline-flex;
	}
	.np-js .np-filters__panel {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 0;
		right: 0;
		z-index: 10;
		padding: 1.25rem;
		border-radius: var(--np-radius);
		background: var(--np-paper);
		box-shadow: 0 0 0 0.0625rem var(--np-line), 0 1.5rem 2.5rem -1rem rgb(27 27 25 / 0.3);
	}
	.np-js .np-filters__panel[hidden] {
		display: none;
	}
	.np-footer__close {
		grid-template-columns: minmax(0, 1fr);
	}
	.np-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.np-footer__brand {
		grid-column: 1 / -1;
	}
	.np-certlist {
		grid-template-columns: minmax(0, 1fr);
	}
	.np-box__stage {
		height: 20rem;
	}
	.np-box__scene {
		--s: 7.5rem;
	}
}

@media (max-width: 40rem) {
	.np-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}
	.np-section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
	.np-cats__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.np-cats__list li:first-child {
		grid-column: 1 / -1;
	}
	.np-cats__list li:first-child .np-tile__media {
		aspect-ratio: 16 / 10;
	}
	.np-grid--4,
	.np-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.np-facts {
		flex-direction: column;
		gap: 0.375rem;
	}
	.np-steps,
	.np-plants__grid,
	.np-partners__grid,
	.np-form__row {
		grid-template-columns: minmax(0, 1fr);
	}
	.np-callout {
		flex-direction: column;
		align-items: flex-start;
	}
	.np-specs__row {
		grid-template-columns: 8rem minmax(0, 1fr);
	}
	.np-hero__copy .wp-block-buttons,
	.np-hero__copy .wp-block-button,
	.np-hero__copy .wp-block-button__link {
		width: 100%;
	}
	.np-product__actions .np-btn,
	.np-form > .np-btn {
		width: 100%;
	}
}
