/*
Theme Name: YingPlants
Theme URI: https://yingplants.com/
Author: YingPlants
Author URI: https://yingplants.com/
Description: Lightweight Gutenberg block theme for a global B2B artificial plant manufacturer.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 8.3
Version: 0.7.14
Text Domain: yingplants
*/

:root {
	--brand-primary: #354139;
	--brand-secondary: #4a4d49;
	--brand-accent: #82a64a;
	--color-background: #f3f1ea;
	--color-surface: #fffefb;
	--color-text: #253029;
	--color-text-muted: #68716b;
	--color-border: #d9ddd8;
	--color-focus: #66853a;
	--color-danger: #a33b36;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-lg: clamp(1.125rem, 1.5vw, 1.375rem);
	--font-size-xl: clamp(1.75rem, 3vw, 2.75rem);
	--font-size-display: clamp(2.5rem, 5.8vw, 5.5rem);
	--space-2xs: 0.5rem;
	--space-xs: 0.75rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.25rem;
	--space-xl: 3.5rem;
	--space-2xl: 5.5rem;

	/* Backward-compatible component aliases. */
	--yp-forest: var(--brand-primary);
	--yp-forest-deep: var(--color-text);
	--yp-moss: var(--brand-secondary);
	--yp-sage: var(--brand-accent);
	--yp-sand: var(--color-border);
	--yp-porcelain: var(--color-background);
	--yp-paper: var(--color-surface);
	--yp-ink: var(--color-text);
	--yp-muted: var(--color-text-muted);
	--yp-line: var(--color-border);
	--yp-white: var(--color-surface);
	--yp-font-sans: var(--font-body);
	--yp-font-serif: var(--font-heading);
	--yp-container: 75rem;
	--yp-container-narrow: 47.5rem;
	--yp-gutter: clamp(1.25rem, 4vw, 3rem);
	--yp-section-space: clamp(4.5rem, 9vw, 8rem);
	--yp-radius-small: 0.25rem;
	--yp-radius-medium: 0.5rem;
	--yp-shadow-small: 0 0.5rem 1.5rem rgba(16, 42, 30, 0.07);
}

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

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

body {
	margin: 0;
	background: var(--yp-paper);
	color: var(--yp-ink);
	font-family: var(--yp-font-sans);
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: clip;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--yp-forest);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--yp-moss);
}

:focus-visible {
	outline: 0.2rem solid #bb7f32;
	outline-offset: 0.2rem;
}

::selection {
	background: var(--yp-sage);
	color: var(--yp-forest-deep);
}

h1,
h2,
h3,
h4 {
	margin-block: 0 0.75em;
	font-family: var(--yp-font-serif);
	font-weight: 500;
	line-height: 1.08;
	text-wrap: balance;
}

p {
	margin-block: 0 1.25rem;
}

.yp-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	transform: translateY(-180%);
	background: var(--yp-paper);
	color: var(--yp-ink);
	padding: 0.75rem 1rem;
	border: 1px solid var(--yp-ink);
}

.yp-skip-link:focus {
	transform: translateY(0);
}

.yp-container,
.yp-header__inner,
.yp-footer__inner {
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container));
	margin-inline: auto;
}

.yp-container--narrow {
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container-narrow));
	margin-inline: auto;
}

.yp-section {
	padding-block: var(--yp-section-space);
}

.yp-section--soft {
	background: var(--yp-porcelain);
}

.yp-section--sand {
	background: var(--yp-sand);
}

.yp-section--dark {
	background: var(--yp-forest-deep);
	color: var(--yp-paper);
}

.yp-section--dark a {
	color: var(--yp-paper);
}

.yp-section__intro {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.yp-section__intro h2,
.yp-section-heading h2 {
	font-size: clamp(2.25rem, 5vw, 4.25rem);
}

.yp-section__intro p,
.yp-section-heading p {
	max-width: 39rem;
	color: var(--yp-muted);
	font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.yp-section--dark .yp-section__intro p,
.yp-section--dark .yp-section-heading p {
	color: rgba(255, 254, 250, 0.68);
}

.yp-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

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

.yp-kicker,
.yp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.25rem;
	color: var(--yp-moss);
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.yp-kicker::before,
.yp-eyebrow::before {
	width: 2rem;
	height: 1px;
	background: currentColor;
	content: "";
}

.yp-section--dark .yp-kicker {
	color: var(--yp-sage);
}

.yp-button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	min-height: 3.25rem;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.35rem;
	border: 1px solid var(--yp-forest);
	border-radius: 0;
	background: var(--yp-forest);
	color: var(--yp-paper);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.yp-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	border-color: var(--yp-forest-deep);
	background: var(--yp-forest-deep);
	color: var(--yp-paper);
}

.yp-button--secondary,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--yp-forest);
}

.yp-button--secondary:hover,
.is-style-outline > .wp-block-button__link:hover {
	background: var(--yp-forest);
	color: var(--yp-paper);
}

.yp-button--light {
	border-color: var(--yp-paper);
	background: var(--yp-paper);
	color: var(--yp-forest-deep);
}

.yp-button--light:hover {
	border-color: var(--yp-sand);
	background: var(--yp-sand);
	color: var(--yp-forest-deep);
}

.yp-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.yp-text-link::after {
	content: "\2192";
	transition: transform 160ms ease;
}

.yp-text-link:hover::after {
	transform: translateX(0.25rem);
}

/* Header */
.yp-site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid rgba(23, 32, 25, 0.12);
	background: rgba(255, 254, 250, 0.96);
}

.yp-header__inner {
	display: flex;
	min-height: 5rem;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 2.5vw, 2rem);
}

.yp-brand,
.yp-header__brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.7rem;
	color: var(--yp-forest-deep);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.yp-brand__mark {
	display: grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border: 1px solid var(--yp-forest);
	border-radius: 50%;
	font-family: var(--yp-font-serif);
	font-size: 1.1rem;
}

.yp-site-header .wp-block-site-title {
	margin: 0;
}

.yp-site-header .wp-block-site-title a {
	color: var(--yp-forest-deep);
	text-decoration: none;
}

.yp-site-header .wp-block-navigation,
.yp-preview-nav {
	margin-left: auto;
}

.yp-site-header .wp-block-navigation__container {
	gap: clamp(0.65rem, 1.25vw, 1.1rem);
}

.yp-preview-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(0.8rem, 1.8vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.yp-preview-nav a,
.yp-site-header .wp-block-navigation-item__content {
	color: var(--yp-ink);
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.025em;
	text-decoration: none;
}

.yp-preview-nav a:hover,
.yp-site-header .wp-block-navigation-item__content:hover {
	color: var(--yp-moss);
}

.yp-header__cta {
	flex: 0 0 auto;
}

.yp-mobile-menu-label {
	display: none;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Hero */
.yp-hero {
	position: relative;
	display: grid;
	min-height: clamp(40rem, 75vh, 50rem);
	align-items: center;
	isolation: isolate;
	background-color: #d8cdbb;
	background-image: url("assets/images/hero-v1.webp");
	background-position: center;
	background-size: cover;
}

.yp-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(246, 243, 236, 0.08);
	content: "";
}

.yp-hero__inner {
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container));
	margin-inline: auto;
	padding-block: clamp(4rem, 9vw, 7rem);
}

.yp-hero__content {
	max-width: 42rem;
	padding: clamp(1.5rem, 4vw, 3.25rem);
	border-left: 0.25rem solid var(--yp-forest);
	background: rgba(246, 243, 236, 0.9);
}

.yp-hero h1 {
	max-width: 11ch;
	margin-bottom: 1.25rem;
	font-size: clamp(3rem, 7vw, 6.25rem);
	letter-spacing: -0.035em;
}

.yp-hero__lead {
	max-width: 36rem;
	margin-bottom: 2rem;
	color: #39443c;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.yp-hero__actions,
.yp-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.yp-hero__note {
	margin: 1.5rem 0 0;
	color: var(--yp-muted);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Trust strip */
.yp-trust-strip {
	border-block: 1px solid var(--yp-line);
	background: var(--yp-paper);
}

.yp-trust-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container));
	margin-inline: auto;
}

.yp-trust-item {
	min-width: 0;
	padding: 1.75rem 1.25rem;
	border-right: 1px solid var(--yp-line);
	text-align: center;
}

.yp-trust-item:first-child {
	border-left: 1px solid var(--yp-line);
}

.yp-trust-item strong {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--yp-forest-deep);
	font-family: var(--yp-font-serif);
	font-size: 1.15rem;
	font-weight: 600;
}

.yp-trust-item span {
	color: var(--yp-muted);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Grids and cards */
.yp-grid {
	display: grid;
	gap: clamp(1rem, 2.25vw, 2rem);
}

.yp-grid--five {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

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

.yp-category-card,
.yp-product-card,
.yp-solution-card,
.yp-resource-card {
	min-width: 0;
}

.yp-category-card {
	display: flex;
	min-height: 28rem;
	flex-direction: column;
	justify-content: end;
	overflow: hidden;
	border: 1px solid var(--yp-line);
	background: var(--yp-porcelain);
	color: var(--yp-ink);
	text-decoration: none;
}

.yp-category-card__visual {
	position: relative;
	min-height: 20rem;
	background-color: var(--yp-sand);
	background-image: url("assets/images/hero-v1.webp");
	background-repeat: no-repeat;
	background-size: 220%;
	transition: transform 300ms ease;
}

.yp-media-placeholder {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.38rem 0.55rem;
	border: 1px solid rgba(255, 254, 250, 0.7);
	background: rgba(16, 42, 30, 0.76);
	color: var(--yp-paper);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.yp-category-card:hover .yp-category-card__visual {
	transform: scale(1.025);
}

.yp-category-card--trees .yp-category-card__visual { background-position: 88% 28%; }
.yp-category-card--plants .yp-category-card__visual { background-position: 82% 82%; }
.yp-category-card--flowers .yp-category-card__visual { background-position: 52% 68%; }
.yp-category-card--branches .yp-category-card__visual { background-position: 74% 14%; }
.yp-category-card--custom .yp-category-card__visual { background-position: 98% 56%; }

.yp-category-card__body,
.yp-product-card__body,
.yp-resource-card__body {
	position: relative;
	z-index: 1;
	padding: 1.5rem;
	background: var(--yp-paper);
}

.yp-category-card h3,
.yp-product-card h3,
.yp-solution-card h3,
.yp-resource-card h3 {
	margin-bottom: 0.55rem;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.yp-card-meta {
	margin: 0;
	color: var(--yp-muted);
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.yp-product-card {
	border: 1px solid var(--yp-line);
	background: var(--yp-paper);
}

.yp-product-card__visual {
	position: relative;
	min-height: 22rem;
	overflow: hidden;
	background-color: #d9d1c3;
	background-image: url("assets/images/hero-v1.webp");
	background-repeat: no-repeat;
	background-size: 190%;
}

.yp-product-card:nth-child(1) .yp-product-card__visual { background-position: 88% 20%; }
.yp-product-card:nth-child(2) .yp-product-card__visual { background-position: 82% 74%; }
.yp-product-card:nth-child(3) .yp-product-card__visual { background-position: 94% 48%; }

.yp-product-card__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.45rem 0.65rem;
	background: rgba(255, 254, 250, 0.94);
	color: var(--yp-forest-deep);
	font-size: 0.65rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.yp-product-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.yp-product-card__specs li,
.yp-chip {
	padding: 0.35rem 0.55rem;
	border: 1px solid var(--yp-line);
	color: var(--yp-muted);
	font-size: 0.7rem;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

/* Why, solutions, and capabilities */
.yp-proof-grid {
	display: grid;
	grid-template-columns: 1.05fr 1.95fr;
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: start;
}

.yp-proof-grid__sticky {
	position: sticky;
	top: 2rem;
}

.yp-proof-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--yp-line);
	list-style: none;
}

.yp-proof-list li {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1.25rem;
	padding-block: 1.75rem;
	border-bottom: 1px solid var(--yp-line);
}

.yp-proof-list__index {
	color: var(--yp-moss);
	font-family: var(--yp-font-serif);
	font-size: 1.35rem;
}

.yp-proof-list h3 {
	margin-bottom: 0.45rem;
	font-size: 1.55rem;
}

.yp-proof-list p {
	margin: 0;
	color: var(--yp-muted);
}

.yp-solution-card {
	min-height: 15rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 1px solid rgba(255, 254, 250, 0.25);
	background: rgba(255, 254, 250, 0.035);
}

.yp-solution-card p {
	margin-bottom: 0;
	color: rgba(255, 254, 250, 0.68);
}

.yp-customization-layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.yp-customization-panel {
	padding: clamp(2rem, 5vw, 4rem);
	background: var(--yp-forest);
	color: var(--yp-paper);
}

.yp-customization-panel h2 {
	font-size: clamp(2.5rem, 5vw, 4.75rem);
}

.yp-customization-panel p {
	color: rgba(255, 254, 250, 0.72);
}

.yp-chip-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.yp-customization-panel .yp-chip {
	display: flex;
	min-height: 4rem;
	align-items: center;
	justify-content: space-between;
	border-color: rgba(255, 254, 250, 0.25);
	color: var(--yp-paper);
}

.yp-customization-panel .yp-chip::after {
	color: var(--yp-sage);
	content: "+";
	font-size: 1.1rem;
}

.yp-customization-note {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--yp-line);
}

.yp-customization-note h3 {
	font-size: clamp(1.75rem, 3vw, 2.75rem);
}

/* Process */
.yp-process-list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-block: 1px solid var(--yp-line);
	list-style: none;
}

.yp-process-list li {
	position: relative;
	min-height: 13rem;
	padding: 1.5rem 1rem;
	border-right: 1px solid var(--yp-line);
}

.yp-process-list li:first-child {
	border-left: 1px solid var(--yp-line);
}

.yp-process-list span {
	display: block;
	margin-bottom: 3rem;
	color: var(--yp-moss);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.yp-process-list strong {
	display: block;
	font-family: var(--yp-font-serif);
	font-size: 1.25rem;
	font-weight: 600;
}

/* Projects and quality */
.yp-project-feature {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	min-height: 34rem;
	background: #d7cbb9;
}

.yp-project-feature__visual {
	position: relative;
	min-height: 28rem;
	background-image: url("assets/images/hero-v1.webp");
	background-position: 78% center;
	background-size: cover;
}

.yp-project-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4rem);
	background: var(--yp-sand);
}

.yp-project-feature__body h3 {
	font-size: clamp(2rem, 4vw, 3.75rem);
}

.yp-quality-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 7vw, 7rem);
}

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

.yp-check-list li {
	display: grid;
	grid-template-columns: 1.5rem 1fr;
	gap: 0.9rem;
	padding-block: 1rem;
	border-bottom: 1px solid rgba(255, 254, 250, 0.18);
}

.yp-check-list li::before {
	color: var(--yp-sage);
	content: "\2713";
	font-weight: 800;
}

.yp-quality-disclaimer {
	align-self: end;
	padding: 1.5rem;
	border: 1px solid rgba(255, 254, 250, 0.2);
	color: rgba(255, 254, 250, 0.68);
	font-size: 0.88rem;
}

.yp-evidence-label {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.45rem 0.65rem;
	border: 1px solid #c4b28f;
	background: #f7f0df;
	color: #5b4b2f;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Resources */
.yp-resource-card {
	display: flex;
	min-height: 19rem;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 0.2rem solid var(--yp-forest);
	background: var(--yp-porcelain);
}

.yp-resource-card__type {
	color: var(--yp-moss);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.yp-resource-card p {
	color: var(--yp-muted);
}

/* CTA */
.yp-final-cta {
	padding-block: clamp(4rem, 9vw, 7.5rem);
	background: var(--yp-sand);
}

.yp-cta__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	align-items: end;
}

.yp-cta__inner h2 {
	max-width: 12ch;
	margin-bottom: 0.75rem;
	font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.yp-cta__inner p {
	max-width: 38rem;
	margin: 0;
	color: #465148;
}

/* Footer */
.yp-site-footer {
	padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
	background: var(--yp-forest-deep);
	color: var(--yp-paper);
}

.yp-footer__top {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	padding-bottom: 4rem;
}

.yp-footer__brand p {
	max-width: 20rem;
	color: rgba(255, 254, 250, 0.65);
}

.yp-footer__column h3 {
	margin-bottom: 1rem;
	font-family: var(--yp-font-sans);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

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

.yp-footer__column li + li {
	margin-top: 0.55rem;
}

.yp-footer__column a {
	color: rgba(255, 254, 250, 0.72);
	font-size: 0.88rem;
	text-decoration: none;
}

.yp-footer__column a:hover {
	color: var(--yp-paper);
}

.yp-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 254, 250, 0.16);
	color: rgba(255, 254, 250, 0.5);
	font-size: 0.75rem;
}

/* Generic WordPress templates */
.yp-content-header {
	padding-block: clamp(4rem, 8vw, 7rem);
	background: var(--yp-porcelain);
}

.yp-content-header h1 {
	font-size: clamp(2.75rem, 6vw, 5.25rem);
}

.yp-breadcrumb-wrap {
	padding-block: 1rem;
	border-bottom: 1px solid var(--yp-line);
	background: var(--yp-paper);
}

.yp-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	color: var(--yp-muted);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.045em;
	list-style: none;
	text-transform: uppercase;
}

.yp-breadcrumbs li:not(:last-child)::after {
	margin-left: 0.4rem;
	color: #a0aaa3;
	content: "/";
}

.yp-breadcrumbs a {
	color: var(--yp-forest);
	text-decoration: none;
}

.yp-page-lead {
	padding-block: clamp(2.75rem, 6vw, 5rem) 1rem;
}

.yp-page-lead__text {
	max-width: 55rem;
	margin: 0;
	color: #34483d;
	font-family: var(--yp-font-serif);
	font-size: clamp(1.35rem, 2.6vw, 2.2rem);
	line-height: 1.35;
}

.yp-page-sections {
	display: grid;
	gap: 1rem;
	padding-block: 1rem clamp(4rem, 8vw, 7rem);
}

.yp-page-section {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--yp-line);
	background: var(--yp-paper);
}

.yp-page-section h2 {
	font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.yp-content-placeholder {
	padding: 1rem 1.1rem;
	border-left: 0.2rem solid #b98a49;
	background: #faf5e9;
	color: #574a37;
	font-size: 0.9rem;
}

.yp-entry-content,
.yp-query-content {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.yp-entry-content > :where(:not(.alignwide):not(.alignfull)),
.yp-query-content > :where(:not(.alignwide):not(.alignfull)) {
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container-narrow));
	margin-inline: auto;
}

/* Product catalogue and detail */
.yp-content-header--catalogue p {
	max-width: 48rem;
	color: var(--yp-muted);
}

.yp-product-query {
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container));
	margin-inline: auto;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.yp-product-query__grid.wp-block-post-template {
	padding: 0;
}

.yp-product-query__grid.wp-block-post-template > li {
	padding: 0;
	border: 0;
}

.yp-catalogue-card {
	height: 100%;
	padding: 1rem;
	border: 1px solid var(--yp-line);
	background: var(--yp-paper);
}

.yp-catalogue-card .wp-block-post-featured-image {
	margin: -1rem -1rem 1.25rem;
	background: var(--yp-porcelain);
}

.yp-catalogue-card .wp-block-post-title {
	font-size: clamp(1.4rem, 2vw, 2rem);
}

.yp-catalogue-card .wp-block-post-title a {
	color: var(--yp-ink);
	text-decoration: none;
}

.yp-empty-state {
	padding: clamp(2rem, 6vw, 5rem);
	border: 1px solid var(--yp-line);
	background: var(--yp-porcelain);
	text-align: center;
}

.yp-empty-state h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.yp-empty-state p:not(.yp-kicker) {
	max-width: 42rem;
	margin-inline: auto;
}

.yp-empty-state .yp-button {
	margin-top: 1rem;
}

.yp-product-detail__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
	gap: clamp(2rem, 7vw, 6rem);
	align-items: center;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.yp-product-detail__hero > .wp-block-post-featured-image {
	margin: 0;
	background: var(--yp-porcelain);
}

.yp-product-detail__summary h1 {
	font-size: clamp(2.5rem, 5vw, 4.75rem);
}

.yp-product-specs {
	margin-top: 3rem;
}

.yp-product-specs dl {
	margin: 1.5rem 0 0;
	border-top: 1px solid var(--yp-line);
}

.yp-spec-row {
	display: grid;
	grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 1fr);
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--yp-line);
}

.yp-spec-row dt {
	font-weight: 700;
}

.yp-spec-row dd {
	margin: 0;
	color: var(--yp-muted);
}

.yp-product-cta {
	display: grid;
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container));
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: center;
	margin: 0 auto clamp(4rem, 8vw, 7rem);
	padding: clamp(2rem, 5vw, 4rem);
	background: var(--yp-forest-deep);
	color: var(--yp-paper);
}

.yp-product-cta h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
}

.yp-product-cta p {
	max-width: 42rem;
	color: rgba(255, 254, 250, 0.75);
}

/* RFQ framework */
.yp-rfq {
	width: min(100% - (2 * var(--yp-gutter)), var(--yp-container));
	margin-inline: auto;
	padding-block: 1rem clamp(4rem, 8vw, 7rem);
}

.yp-rfq__intro {
	max-width: 50rem;
	margin-bottom: 2rem;
}

.yp-rfq__intro h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.yp-form-status {
	margin-bottom: 1.5rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--yp-line);
}

.yp-form-status--staging {
	border-color: #c4b28f;
	background: #faf5e9;
	color: #574a37;
}

.yp-form-status--success {
	border-color: #8fb29a;
	background: #eff7f1;
}

.yp-form-status--error {
	border-color: #c7938c;
	background: #fbefed;
}

.yp-rfq-form {
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid var(--yp-line);
	background: var(--yp-porcelain);
}

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

.yp-form-grid label,
.yp-form-consent {
	display: grid;
	gap: 0.45rem;
	font-size: 0.86rem;
	font-weight: 650;
}

.yp-form-grid input,
.yp-form-grid select,
.yp-form-grid textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 0.85rem;
	border: 1px solid #bdc6bf;
	border-radius: 0;
	background: var(--yp-paper);
	color: var(--yp-ink);
}

.yp-form-grid textarea {
	resize: vertical;
}

.yp-form-grid input:focus,
.yp-form-grid select:focus,
.yp-form-grid textarea:focus {
	border-color: var(--yp-forest);
	outline: 0.18rem solid rgba(82, 112, 90, 0.2);
}

.yp-form-grid input:disabled {
	background: #e5e6e2;
	cursor: not-allowed;
}

.yp-form-grid small {
	color: var(--yp-muted);
	font-weight: 400;
}

.yp-form-field--full {
	grid-column: 1 / -1;
}

.yp-form-consent {
	display: flex;
	align-items: flex-start;
	margin: 1.5rem 0;
	font-weight: 450;
}

.yp-form-consent input {
	flex: 0 0 auto;
	margin-top: 0.35rem;
}

.yp-rfq-form button:disabled {
	border-color: #89928c;
	background: #89928c;
	cursor: not-allowed;
	opacity: 0.72;
}

.yp-honeypot {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	padding: 0;
	list-style: none;
}

.wp-block-post-template > li {
	padding: 1.5rem;
	border: 1px solid var(--yp-line);
}

.yp-not-found {
	display: grid;
	min-height: 60vh;
	place-items: center;
	padding: var(--yp-gutter);
	text-align: center;
}

.yp-not-found h1 {
	font-size: clamp(4rem, 14vw, 10rem);
}

@media (max-width: 70rem) {
	.yp-header__cta {
		display: none !important;
	}

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

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

	.yp-process-list li:nth-child(3n + 1) {
		border-left: 1px solid var(--yp-line);
	}

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

@media (max-width: 60rem) {
	.yp-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.yp-site-header .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.yp-preview-nav {
		display: none;
	}

	.yp-mobile-menu-label {
		display: inline-flex;
	}

	.yp-header__cta {
		display: none !important;
	}

	.yp-hero {
		min-height: 43rem;
		background-position: 66% center;
	}

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

	.yp-proof-grid,
	.yp-customization-layout,
	.yp-project-feature,
	.yp-quality-layout {
		grid-template-columns: 1fr;
	}

	.yp-product-detail__hero,
	.yp-product-cta {
		grid-template-columns: 1fr;
	}

	.yp-proof-grid__sticky {
		position: static;
	}

	.yp-project-feature__visual {
		min-height: 25rem;
	}

	.yp-cta__inner {
		grid-template-columns: 1fr;
		align-items: start;
	}

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

	.yp-footer__brand {
		grid-column: 1 / -1;
	}

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

@media (max-width: 48.875rem) {
	.yp-section-heading {
		display: block;
	}

	.yp-section-heading p {
		margin-top: 1rem;
	}

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

	.yp-trust-item,
	.yp-trust-item:first-child {
		border: 0;
		border-bottom: 1px solid var(--yp-line);
	}

	.yp-trust-item:nth-child(odd) {
		border-right: 1px solid var(--yp-line);
	}

	.yp-trust-item:last-child {
		grid-column: 1 / -1;
	}

	.yp-grid--five,
	.yp-grid--four,
	.yp-grid--three,
	.yp-grid--two {
		grid-template-columns: 1fr;
	}

	.yp-form-grid {
		grid-template-columns: 1fr;
	}

	.yp-form-field--full {
		grid-column: auto;
	}

	.yp-category-card {
		min-height: 24rem;
	}

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

	.yp-process-list li,
	.yp-process-list li:nth-child(3n + 1) {
		min-height: 10rem;
		border-left: 0;
	}

	.yp-process-list li:nth-child(odd) {
		border-left: 1px solid var(--yp-line);
	}

	.yp-chip-grid {
		grid-template-columns: 1fr;
	}

	.yp-footer__bottom {
		flex-direction: column;
	}
}

@media (max-width: 37.5rem) {
	.yp-header__inner {
		min-height: 4.5rem;
	}

	.yp-brand,
	.yp-header__brand {
		font-size: 0.9rem;
	}

	.yp-brand__mark {
		width: 1.75rem;
		height: 1.75rem;
	}

	.yp-hero {
		min-height: 42rem;
		align-items: end;
		background-position: 64% center;
	}

	.yp-hero__inner {
		width: 100%;
		padding: 12rem 0 0;
	}

	.yp-hero__content {
		max-width: none;
		padding: 1.75rem var(--yp-gutter) 2.5rem;
		border-left: 0;
		border-top: 0.2rem solid var(--yp-forest);
		background: rgba(246, 243, 236, 0.96);
	}

	.yp-hero h1 {
		font-size: clamp(2.75rem, 13vw, 4.25rem);
	}

	.yp-hero__actions,
	.yp-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.yp-button,
	.wp-element-button,
	.wp-block-button__link {
		width: 100%;
	}

	.yp-trust-item {
		padding: 1.25rem 0.75rem;
	}

	.yp-process-list {
		grid-template-columns: 1fr;
	}

	.yp-process-list li,
	.yp-process-list li:nth-child(odd),
	.yp-process-list li:nth-child(3n + 1) {
		min-height: auto;
		border-inline: 1px solid var(--yp-line);
	}

	.yp-process-list span {
		margin-bottom: 1.5rem;
	}

	.yp-footer__top {
		grid-template-columns: 1fr;
	}

	.yp-footer__brand {
		grid-column: auto;
	}

	.wp-block-post-template {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.yp-site-header,
	.yp-site-footer,
	.yp-hero__actions,
	.yp-cta__actions {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}

/* ================================================================
   Phase 5 — Homepage V3
   Editorial B2B presentation layered over the existing CMS model.
   ================================================================ */

.yp-homepage--v3 {
	background: var(--color-background);
}

.yp-homepage--v3 .yp-hero {
	position: relative;
	min-height: 0;
	overflow: hidden;
	padding-block: clamp(4rem, 7vw, 7rem) 0;
	background:
		radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--brand-accent) 10%, transparent), transparent 26rem),
		linear-gradient(112deg, var(--color-background) 0 62%, color-mix(in srgb, var(--brand-primary) 5%, var(--color-surface)) 62% 100%);
}

.yp-homepage--v3 .yp-hero::before {
	inset: auto auto 7rem 52%;
	width: 22rem;
	height: 22rem;
	border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, transparent);
	border-radius: 50%;
	background: transparent;
	opacity: 0.7;
	transform: translateX(-50%);
}

.yp-homepage--v3 .yp-hero__grid {
	grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 0.88fr);
	align-items: stretch;
	gap: clamp(3rem, 7vw, 7.5rem);
}

.yp-homepage--v3 .yp-hero__content {
	display: flex;
	max-width: 43rem;
	align-self: center;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem);
	border-left: 2px solid var(--brand-primary);
	background: transparent;
}

.yp-homepage--v3 .yp-hero h1 {
	max-width: 10.5ch;
	margin-bottom: clamp(1.25rem, 2vw, 2.5rem);
	font-size: clamp(3.25rem, 6.7vw, 6.65rem);
	letter-spacing: -0.045em;
	line-height: 0.96;
}

.yp-homepage--v3 .yp-hero__lead {
	max-width: 36rem;
	margin-bottom: 0;
	font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.yp-homepage--v3 .yp-hero__actions {
	margin-block: clamp(1.75rem, 3vw, 2.5rem) 0;
}

.yp-homepage--v3 .yp-hero__media {
	position: relative;
	z-index: 1;
	min-height: clamp(33rem, 48vw, 43rem);
	margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.yp-homepage--v3 .yp-hero__media::before {
	position: absolute;
	top: -1.25rem;
	right: -1.25rem;
	z-index: -1;
	width: 42%;
	height: 48%;
	border-top: 1px solid var(--brand-accent);
	border-right: 1px solid var(--brand-accent);
	content: "";
}

.yp-homepage--v3 .yp-hero__image {
	width: 100%;
	height: 100%;
	min-height: inherit;
	border-radius: 0;
	aspect-ratio: 5 / 6;
	object-fit: contain;
	background: #f0f1ef;
}

.yp-homepage--v3 .yp-hero__media .yp-media-placeholder {
	border-color: color-mix(in srgb, var(--brand-primary) 45%, transparent);
	background:
		linear-gradient(color-mix(in srgb, var(--color-surface) 88%, transparent), color-mix(in srgb, var(--color-surface) 88%, transparent)),
		repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 1.1rem, var(--color-background) 1.1rem, var(--color-background) 2.2rem);
}

.yp-homepage--v3 .yp-proof-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid color-mix(in srgb, var(--brand-primary) 24%, transparent);
	color: var(--color-text);
}

.yp-homepage--v3 .yp-proof-points li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1.35rem clamp(0.75rem, 2vw, 1.5rem);
	border-right: 1px solid color-mix(in srgb, var(--brand-primary) 18%, transparent);
	font-size: clamp(0.76rem, 1vw, 0.9rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.yp-homepage--v3 .yp-proof-points li:first-child {
	padding-left: 0;
}

.yp-homepage--v3 .yp-proof-points li:last-child {
	border-right: 0;
}

.yp-homepage--v3 .yp-proof-points li::before {
	display: none;
}

.yp-homepage--v3 .yp-proof-points span {
	color: var(--brand-accent);
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: 0;
}

.yp-homepage--v3 .yp-home-section {
	position: relative;
	padding-block: clamp(5rem, 8.5vw, 8.5rem);
}

.yp-homepage--v3 .yp-home-section + .yp-home-section {
	border-top: 1px solid color-mix(in srgb, var(--color-border) 66%, transparent);
}

.yp-homepage--v3 .yp-section-heading {
	grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.6fr);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

.yp-homepage--v3 .yp-section-heading h2,
.yp-homepage--v3 .yp-home-section--customization h2,
.yp-homepage--v3 .yp-home-section--factory h2 {
	max-width: 16ch;
	font-size: clamp(2.5rem, 4.6vw, 4.75rem);
	letter-spacing: -0.035em;
}

.yp-homepage--v3 .yp-grid--categories {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.yp-homepage--v3 .yp-grid--categories > .yp-category-card {
	grid-column: span 4;
}

.yp-homepage--v3 .yp-grid--categories > .yp-category-card:nth-child(-n + 2) {
	grid-column: span 6;
}

.yp-homepage--v3 .yp-category-card,
.yp-homepage--v3 .yp-card {
	border-radius: var(--yp-radius-small);
	box-shadow: none;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.yp-homepage--v3 .yp-category-card:hover,
.yp-homepage--v3 .yp-card:hover {
	transform: translateY(-0.25rem);
	border-color: color-mix(in srgb, var(--brand-primary) 44%, var(--color-border));
	box-shadow: 0 1.25rem 3rem rgba(37, 48, 41, 0.08);
}

.yp-homepage--v3 .yp-category-card__image {
	aspect-ratio: 16 / 10;
	object-fit: contain;
	background: #f0f1ef;
}

.yp-homepage--v3 .yp-category-card > span,
.yp-homepage--v3 .yp-card__body {
	padding: clamp(1.15rem, 2vw, 1.6rem);
}

.yp-homepage--v3 .yp-category-card strong {
	font-size: clamp(1.3rem, 1.7vw, 1.65rem);
}

.yp-homepage--v3 .yp-home-section--products {
	background: var(--color-surface);
}

.yp-homepage--v3 .yp-home-section--products .yp-card {
	border-color: color-mix(in srgb, var(--color-border) 68%, transparent);
}

.yp-homepage--v3 .yp-home-section--products .yp-card__image {
	aspect-ratio: 4 / 5;
}

.yp-homepage--v3 .yp-home-section--solutions {
	background: color-mix(in srgb, var(--brand-accent) 5%, var(--color-background));
}

.yp-homepage--v3 .yp-home-section--solutions .yp-card {
	background: color-mix(in srgb, var(--color-surface) 92%, transparent);
}

.yp-homepage--v3 .yp-home-section--customization {
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 23rem),
		var(--brand-primary);
}

.yp-homepage--v3 .yp-home-section--customization .yp-split {
	grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 0.78fr);
}

.yp-homepage--v3 .yp-home-section--customization h2 {
	color: var(--color-surface);
}

.yp-homepage--v3 .yp-capability-list {
	gap: 0;
	border-top: 1px solid color-mix(in srgb, var(--color-surface) 24%, transparent);
	border-left: 1px solid color-mix(in srgb, var(--color-surface) 24%, transparent);
}

.yp-homepage--v3 .yp-capability-list li {
	min-height: 7rem;
	padding: 1.5rem 1.5rem 1.5rem 2.75rem;
	border-right: 1px solid color-mix(in srgb, var(--color-surface) 24%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-surface) 24%, transparent);
	color: var(--color-surface);
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: 0.035em;
}

.yp-homepage--v3 .yp-capability-list li::before {
	left: 1.5rem;
	background: var(--brand-accent);
}

.yp-homepage--v3 .yp-home-section--factory {
	background: var(--color-background);
}

.yp-homepage--v3 .yp-factory-teaser {
	grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.7fr);
	align-items: center;
}

.yp-homepage--v3 .yp-factory-teaser__image {
	border-radius: 0;
	aspect-ratio: 4 / 3;
}

.yp-homepage--v3 .yp-factory-teaser > :last-child {
	padding-right: clamp(0rem, 3vw, 2rem);
}

.yp-homepage--v3 .yp-home-section--projects {
	background: var(--color-surface);
}

.yp-homepage--v3 .yp-home-section--projects .yp-card__image {
	aspect-ratio: 16 / 10;
}

.yp-homepage--v3 .yp-home-section--resources {
	background: var(--color-background);
}

.yp-homepage--v3 + .yp-final-cta,
.yp-homepage--v3 .yp-final-cta {
	border-top: 1px solid color-mix(in srgb, var(--brand-accent) 38%, transparent);
	background: var(--color-text);
}

@media (max-width: 1080px) {
	.yp-homepage--v3 .yp-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
		gap: clamp(2rem, 5vw, 4rem);
	}

	.yp-homepage--v3 .yp-hero h1 {
		font-size: clamp(3.15rem, 7.4vw, 5.75rem);
	}

	.yp-homepage--v3 .yp-grid--categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yp-homepage--v3 .yp-grid--categories > .yp-category-card,
	.yp-homepage--v3 .yp-grid--categories > .yp-category-card:nth-child(-n + 2) {
		grid-column: auto;
	}
}

@media (max-width: 782px) {
	.yp-homepage--v3 .yp-hero {
		padding-top: clamp(3rem, 8vw, 4.5rem);
		background: var(--color-background);
	}

	.yp-homepage--v3 .yp-hero::before {
		display: none;
	}

	.yp-homepage--v3 .yp-hero__grid,
	.yp-homepage--v3 .yp-home-section--customization .yp-split,
	.yp-homepage--v3 .yp-factory-teaser {
		grid-template-columns: minmax(0, 1fr);
	}

	.yp-homepage--v3 .yp-hero__content {
		order: 0;
		max-width: 39rem;
	}

	.yp-homepage--v3 .yp-hero__media {
		order: 1;
		min-height: 0;
		margin-bottom: 2.5rem;
	}

	.yp-homepage--v3 .yp-hero__image {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.yp-homepage--v3 .yp-hero__media .yp-media-placeholder {
		min-height: clamp(20rem, 105vw, 29rem);
	}

	.yp-homepage--v3 .yp-proof-points {
		grid-template-columns: 1fr;
	}

	.yp-homepage--v3 .yp-proof-points li,
	.yp-homepage--v3 .yp-proof-points li:first-child {
		padding: 0.9rem 0;
		border-right: 0;
		border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 14%, transparent);
	}

	.yp-homepage--v3 .yp-proof-points li:last-child {
		border-bottom: 0;
	}

	.yp-homepage--v3 .yp-section-heading {
		grid-template-columns: minmax(0, 1fr);
	}

	.yp-homepage--v3 .yp-home-section--factory .yp-factory-teaser > :last-child {
		padding-right: 0;
	}
}

@media (max-width: 600px) {
	.yp-homepage--v3 .yp-hero h1 {
		font-size: clamp(2.85rem, 14vw, 4rem);
		line-height: 1;
	}

	.yp-homepage--v3 .yp-hero__content {
		padding-left: 1.25rem;
	}

	.yp-homepage--v3 .yp-grid--categories {
		grid-template-columns: minmax(0, 1fr);
	}

	.yp-homepage--v3 .yp-category-card {
		grid-template-columns: 8rem minmax(0, 1fr);
	}

	.yp-homepage--v3 .yp-category-card__image {
		height: 100%;
		aspect-ratio: auto;
	}

	.yp-homepage--v3 .yp-home-section {
		padding-block: clamp(4rem, 16vw, 5.5rem);
	}

	.yp-homepage--v3 .yp-capability-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.yp-homepage--v3 .yp-category-card,
	.yp-homepage--v3 .yp-card {
		transition: none;
	}
}

/* ================================================================
   Phase 4 CMS templates and approved brand integration
   ================================================================ */

body {
	background: var(--color-background);
	color: var(--color-text);
}

a {
	color: var(--brand-primary);
}

a:hover {
	color: var(--brand-secondary);
}

:focus-visible {
	outline-color: var(--color-focus);
}

.yp-logo-link,
.yp-logo,
.yp-logo img {
	display: block;
}

.yp-logo--header,
.yp-logo--footer {
	width: clamp(10.5rem, 15vw, 14.25rem);
}

.yp-logo--primary {
	width: min(100%, 32rem);
}

.yp-logo--symbol {
	width: 3rem;
}

.yp-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
	background: color-mix(in srgb, var(--color-surface) 94%, transparent);
	backdrop-filter: blur(0.85rem);
}

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

.yp-header__inner {
	min-height: 5.25rem;
	gap: clamp(1rem, 2vw, 2rem);
}

.yp-primary-navigation {
	margin-left: auto;
}

.yp-primary-navigation a {
	color: var(--color-text);
}

.yp-primary-navigation a:hover {
	color: var(--brand-accent);
}

.yp-button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.3rem;
	border: 1px solid var(--brand-primary);
	border-radius: var(--yp-radius-small);
	background: var(--brand-primary);
	color: var(--color-surface);
	font-size: var(--font-size-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.yp-button:hover,
.wp-element-button:hover {
	border-color: var(--brand-secondary);
	background: var(--brand-secondary);
	color: var(--color-surface);
}

.yp-button--secondary {
	background: transparent;
	color: var(--brand-primary);
}

.yp-button--light {
	border-color: var(--color-surface);
	background: var(--color-surface);
	color: var(--brand-primary);
}

.yp-text-link,
.yp-download-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	text-decoration: none;
}

.yp-text-link::after,
.yp-download-link::after {
	content: "\2192";
}

.yp-kicker,
.yp-eyebrow,
.yp-card-meta {
	color: var(--brand-secondary);
	font-size: var(--font-size-xs);
	font-weight: 750;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.yp-lead,
.yp-hero__lead {
	max-width: 43rem;
	color: var(--color-text-muted);
	font-size: var(--font-size-lg);
	line-height: 1.65;
}

.yp-hero {
	padding-block: clamp(3.5rem, 7vw, 7.5rem);
	background: var(--color-background);
}

.yp-hero__grid,
.yp-detail-hero__grid,
.yp-factory-teaser,
.yp-split {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
	align-items: center;
	gap: clamp(2.5rem, 7vw, 7rem);
}

.yp-hero h1 {
	max-width: 12ch;
	font-size: var(--font-size-display);
	letter-spacing: -0.035em;
}

.yp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: 2rem 1.5rem;
}

.yp-proof-points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.4rem;
	margin: 0;
	padding: 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
	list-style: none;
}

.yp-proof-points li::before {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	margin-right: 0.5rem;
	border-radius: 50%;
	background: var(--brand-accent);
}

.yp-hero__media,
.yp-catalogue-header__grid > :last-child,
.yp-detail-hero__grid > :last-child {
	min-width: 0;
}

.yp-hero__image,
.yp-catalogue-header__image,
.yp-detail-hero__image,
.yp-factory-teaser__image,
.yp-process-module__image,
.yp-article__image {
	width: 100%;
	border-radius: var(--yp-radius-medium);
	object-fit: cover;
}

.yp-hero__image {
	aspect-ratio: 8 / 5;
}

.yp-media-placeholder {
	position: relative;
	right: auto;
	bottom: auto;
	display: grid;
	place-content: center;
	min-height: 18rem;
	padding: 1.5rem;
	border: 1px dashed var(--color-text-muted);
	border-radius: var(--yp-radius-medium);
	background: repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 1.1rem, var(--color-background) 1.1rem, var(--color-background) 2.2rem);
	color: var(--brand-secondary);
	text-align: center;
}

.yp-media-placeholder span {
	font-size: var(--font-size-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
}

.yp-media-placeholder small {
	display: block;
	margin-top: 0.5rem;
}

.yp-section {
	padding-block: clamp(4rem, 7vw, 7rem);
}

.yp-section--surface {
	background: var(--color-surface);
}

.yp-section--brand {
	background: var(--brand-primary);
	color: var(--color-surface);
}

.yp-section--brand .yp-kicker,
.yp-section--brand p {
	color: color-mix(in srgb, var(--color-surface) 78%, transparent);
}

.yp-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
	align-items: end;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.yp-section-heading h2,
.yp-content-section h2,
.yp-final-cta h2 {
	font-size: var(--font-size-xl);
}

.yp-section-heading > p {
	margin: 0;
	color: var(--color-text-muted);
}

.yp-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.yp-grid--categories {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

.yp-category-card,
.yp-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--yp-radius-medium);
	background: var(--color-surface);
	color: var(--color-text);
	text-decoration: none;
}

.yp-category-card {
	display: grid;
}

.yp-category-card__image,
.yp-card__image {
	width: 100%;
	object-fit: cover;
}

.yp-category-card__image {
	aspect-ratio: 4 / 3;
	min-height: 0;
	border: 0;
	border-radius: 0;
}

.yp-card__image {
	aspect-ratio: 4 / 5;
	min-height: 0;
	border: 0;
	border-radius: 0;
	background: #f0f1ef;
	object-fit: contain;
}

.yp-solution-card .yp-card__image,
.yp-project-card .yp-card__image,
.yp-resource-card .yp-card__image {
	aspect-ratio: 4 / 3;
}

.yp-category-card > span,
.yp-card__body {
	display: block;
	padding: 1.25rem;
}

.yp-category-card strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.25rem;
}

.yp-category-card small {
	color: var(--color-text-muted);
}

.yp-card h3 {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.yp-card h3 a {
	color: inherit;
	text-decoration: none;
}

.yp-card__body > p:not(.yp-card-meta) {
	display: -webkit-box;
	overflow: hidden;
	color: var(--color-text-muted);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.yp-placeholder-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.45rem 0.6rem;
	border-radius: 99rem;
	background: var(--color-surface);
	color: var(--color-danger);
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.yp-product-summary > .yp-placeholder-badge,
.yp-detail-hero .yp-placeholder-badge,
.yp-article__header .yp-placeholder-badge {
	position: static;
	display: inline-flex;
	margin-bottom: 1rem;
}

.yp-capability-list,
.yp-check-list {
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.yp-capability-list li,
.yp-check-list li {
	position: relative;
	padding-left: 1.4rem;
}

.yp-capability-list li::before,
.yp-check-list li::before {
	content: "";
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--brand-accent);
}

.yp-factory-teaser__image {
	aspect-ratio: 3 / 2;
}

.yp-final-cta {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	background: var(--brand-primary);
	color: var(--color-surface);
}

.yp-final-cta .yp-kicker,
.yp-final-cta p {
	color: color-mix(in srgb, var(--color-surface) 78%, transparent);
}

.yp-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.yp-final-cta .yp-button {
	border-color: var(--color-surface);
	background: var(--color-surface);
	color: var(--brand-primary);
	white-space: nowrap;
}

.yp-breadcrumb-wrap {
	padding-block: 1.25rem;
}

.yp-content-header,
.yp-catalogue-header,
.yp-detail-hero,
.yp-article__header {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.yp-content-header h1,
.yp-catalogue-header h1,
.yp-detail-hero h1,
.yp-article__header h1 {
	max-width: 15ch;
	font-size: clamp(2.5rem, 5vw, 4.8rem);
	letter-spacing: -0.03em;
}

.yp-catalogue-header__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}

.yp-catalogue-header__image {
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #fff;
}

.yp-catalogue-filters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
	align-items: end;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
	padding: 1rem;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
}

.yp-catalogue-filters label {
	display: grid;
	gap: 0.35rem;
	font-size: var(--font-size-sm);
	font-weight: 700;
}

.yp-catalogue-filters select {
	min-height: 3rem;
	padding-inline: 0.8rem;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
}

.yp-filter-reset {
	padding: 0.8rem;
	font-weight: 700;
}

.yp-product-grid {
	margin-bottom: 3rem;
}

.yp-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-block: 3rem;
}

.yp-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.5rem;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	text-decoration: none;
}

.yp-pagination .current {
	border-color: var(--brand-primary);
	background: var(--brand-primary);
	color: var(--color-surface);
}

.yp-category-seo,
.yp-related-categories,
.yp-content-section {
	margin-block: clamp(3.5rem, 7vw, 6rem);
	padding-top: clamp(2rem, 4vw, 3.5rem);
	border-top: 1px solid var(--color-border);
}

.yp-chip-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-block: 0 2.25rem;
}

.yp-chip-links a {
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--color-border);
	border-radius: 99rem;
	background: var(--color-surface);
	font-size: var(--font-size-sm);
	text-decoration: none;
}

.yp-empty-state,
.yp-content-placeholder {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px dashed var(--color-text-muted);
	background: var(--color-surface);
	color: var(--color-text-muted);
}

.yp-product-detail__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
	align-items: start;
	gap: clamp(2.5rem, 6vw, 6rem);
	padding-block: clamp(2rem, 5vw, 5rem);
}

.yp-product-gallery__image {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--yp-radius-medium);
	object-fit: contain;
}

.yp-product-gallery__thumbs,
.yp-process-module__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.yp-product-gallery__thumb,
.yp-process-module__thumb {
	width: 5rem;
	height: 5rem;
	border: 1px solid var(--color-border);
	object-fit: cover;
}

.yp-product-gallery__thumb {
	object-fit: contain;
	background: #fff;
}

.yp-product-summary {
	position: sticky;
	top: 7.5rem;
}

.yp-product-summary h1 {
	font-size: clamp(2.4rem, 4.6vw, 4.6rem);
}

.yp-product-specs {
	margin-block: 2rem;
}

.yp-key-specs {
	margin-block: 2rem;
	padding: 1.25rem 1.4rem;
	border: 1px solid var(--color-border);
	border-radius: var(--yp-radius-small);
	background: var(--color-surface);
}

.yp-key-specs h2 {
	margin: 0 0 0.8rem;
	font-family: var(--font-body);
	font-size: var(--font-size-xs);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.yp-key-specs dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.25rem;
	margin: 0;
}

.yp-key-specs dl > div {
	display: grid;
	gap: 0.18rem;
}

.yp-key-specs dt {
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
}

.yp-key-specs dd {
	margin: 0;
	font-weight: 700;
}

.yp-product-specs h2 {
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.yp-product-specs dl {
	margin: 0;
	border-top: 1px solid var(--color-border);
}

.yp-spec-row,
.yp-project-facts > div {
	display: grid;
	grid-template-columns: minmax(7rem, 0.65fr) minmax(0, 1.35fr);
	gap: 1rem;
	padding-block: 0.7rem;
	border-bottom: 1px solid var(--color-border);
}

.yp-spec-row dt,
.yp-project-facts dt {
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
}

.yp-spec-row dd,
.yp-project-facts dd {
	margin: 0;
	font-weight: 650;
}

.yp-product-summary__cta {
	display: grid;
	justify-items: start;
	gap: 0.65rem;
	margin-top: 2rem;
}

.yp-product-summary__cta small {
	color: var(--color-text-muted);
}

.yp-product-body,
.yp-detail-body {
	max-width: 66rem;
	padding-bottom: clamp(3rem, 6vw, 6rem);
}

.yp-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.yp-gallery-grid__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.yp-detail-hero__image {
	aspect-ratio: 3 / 2;
}

.yp-project-facts {
	margin-block: 2rem;
}

.yp-process-modules {
	padding-bottom: clamp(3.5rem, 7vw, 7rem);
}

.yp-process-module {
	display: grid;
	grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5.5rem);
	padding-block: clamp(2.5rem, 5vw, 5rem);
	border-top: 1px solid var(--color-border);
}

.yp-process-module:nth-child(even) .yp-process-module__media {
	order: 2;
}

.yp-process-module__image {
	aspect-ratio: 3 / 2;
}

.yp-article__featured {
	margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.yp-article__image {
	aspect-ratio: 16 / 9;
}

.yp-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
	gap: clamp(2rem, 5vw, 5rem);
	padding-bottom: var(--yp-section-space);
}

.yp-contact-list,
.yp-social-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yp-contact-list {
	display: grid;
	gap: 1rem;
}

.yp-contact-list li {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr);
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-border);
}

.yp-contact-list span {
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
}

.yp-contact-list address {
	font-style: normal;
}

.yp-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.yp-site-footer {
	padding-block: clamp(3.5rem, 6vw, 5rem) 1.5rem;
	border-top: 1px solid var(--color-border);
	background: var(--color-surface);
	color: var(--color-text);
}

.yp-footer__top {
	display: grid;
	grid-template-columns: minmax(14rem, 1.45fr) repeat(4, minmax(8rem, 0.65fr));
	gap: clamp(1.5rem, 3vw, 3rem);
}

.yp-footer__brand > p {
	max-width: 28rem;
	margin-top: 1.25rem;
	color: var(--color-text-muted);
}

.yp-footer__column h3 {
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.yp-footer__column ul {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yp-footer__column a {
	color: var(--color-text-muted);
	text-decoration: none;
}

.yp-site-footer > .yp-footer__inner > .yp-contact-list {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}

.yp-site-footer > .yp-footer__inner > .yp-contact-list li {
	display: block;
	border: 0;
}

.yp-site-footer > .yp-footer__inner > .yp-contact-list span {
	display: block;
	margin-bottom: 0.35rem;
}

.yp-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
}

@media (max-width: 1080px) {
	.yp-header__cta {
		display: none;
	}

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

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

	.yp-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.admin-bar .yp-site-header {
		top: 46px;
	}

	.yp-hero__grid,
	.yp-detail-hero__grid,
	.yp-factory-teaser,
	.yp-split,
	.yp-catalogue-header__grid,
	.yp-product-detail__hero,
	.yp-process-module,
	.yp-contact-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.yp-hero__media {
		order: -1;
	}

	.yp-section-heading {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

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

	.yp-catalogue-filters {
		grid-template-columns: 1fr 1fr;
	}

	.yp-product-summary {
		position: static;
	}

	.yp-process-module:nth-child(even) .yp-process-module__media {
		order: 0;
	}

	.yp-site-footer > .yp-footer__inner > .yp-contact-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.yp-header__inner {
		min-height: 4.5rem;
	}

	.yp-logo--header {
		width: 10.75rem;
	}

	.yp-grid--categories,
	.yp-grid--three,
	.yp-grid--two,
	.yp-gallery-grid,
	.yp-capability-list,
	.yp-catalogue-filters,
	.yp-footer__top,
	.yp-site-footer > .yp-footer__inner > .yp-contact-list {
		grid-template-columns: 1fr;
	}

	.yp-key-specs dl {
		grid-template-columns: 1fr;
	}

	.yp-category-card {
		grid-template-columns: 7.5rem minmax(0, 1fr);
	}

	.yp-category-card__image {
		height: 100%;
	}

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

	.yp-spec-row,
	.yp-project-facts > div,
	.yp-contact-list li {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}
}

@media print {
	.yp-site-header,
	.yp-site-footer,
	.yp-hero__actions,
	.yp-final-cta,
	.yp-catalogue-filters {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}

/* Disclosure accompanies owner-selected AI promotional photography. */
.yp-ai-visual { position: relative; margin: 0; min-width: 0; height: 100%; }
.yp-ai-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 10px; font-size: 11px; line-height: 1.5; color: #526052; background: rgba(247, 247, 243, .94); font-weight: 400; letter-spacing: normal; text-transform: none; }

/* Product sizing and interactive gallery. */
.yp-product-summary h1,.yp-v1 .yp-product-summary h1{font-size:clamp(28px,2.8vw,40px);line-height:1.18;overflow-wrap:anywhere}
.yp-key-specs h2,.yp-v1 .yp-key-specs h2,.yp-product-specs h2,.yp-v1 .yp-product-specs h2{font-family:var(--font-body,Arial,sans-serif);font-size:20px;line-height:1.4;text-transform:none;letter-spacing:0;font-weight:600;margin:0 0 18px}
.yp-key-specs dt{font-size:13px}.yp-key-specs dd{font-size:16px;line-height:1.55}
.yp-product-sku{font-size:13px;letter-spacing:.04em;color:#62685f;margin:14px 0}
.yp-dimension-note,.yp-height-filter-note{font-size:12px;line-height:1.7;color:#62685f;margin:16px 0 24px}
.yp-product-gallery__main{position:relative;touch-action:pan-y}
.yp-gallery-slide[hidden]{display:none!important}
.yp-product-gallery__main .yp-gallery-slide img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;cursor:zoom-in}
.yp-gallery-arrow,.yp-gallery-zoom,.yp-gallery-close{position:absolute;border:1px solid #d8dad2;background:rgba(255,255,255,.95);color:#354139;cursor:pointer;z-index:2}
.yp-gallery-arrow{top:50%;transform:translateY(-50%);width:44px;height:44px;font-size:30px;line-height:1;border-radius:50%}
.yp-gallery-arrow--prev{left:12px}.yp-gallery-arrow--next{right:12px}
.yp-gallery-zoom{right:12px;bottom:12px;padding:10px 14px;font-size:12px;min-height:44px}
.yp-gallery-status{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;font-size:11px;line-height:1.6;color:#62685f;padding:10px 0}
.yp-gallery-status [data-gallery-count]{white-space:nowrap}
.yp-product-gallery__thumbs{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px}
.yp-gallery-thumb{display:block;flex:0 0 76px;width:76px;padding:0;border:2px solid transparent;background:#efeee8;cursor:pointer;min-height:76px}
.yp-gallery-thumb[aria-pressed="true"]{border-color:#354139}
.yp-gallery-thumb img{display:block;width:100%;height:88px;object-fit:contain}
[data-product-gallery] button:focus-visible{outline:3px solid #7e9173;outline-offset:3px}
.yp-gallery-dialog{width:min(94vw,1100px);max-width:1100px;height:94dvh;max-height:94dvh;box-sizing:border-box;padding:50px 20px 14px;border:0;background:#f8f8f4;color:#354139}
.yp-gallery-dialog::backdrop{background:rgba(20,25,20,.78)}
.yp-gallery-dialog [data-gallery-large]{display:block;width:100%;height:calc(100% - 70px);object-fit:contain;touch-action:pan-y}
.yp-gallery-close{top:8px;right:12px;font-size:28px;width:44px;height:44px}
.yp-gallery-dialog__footer{display:flex;align-items:center;justify-content:center;gap:18px;font-size:12px;min-height:60px}
.yp-gallery-dialog__footer p{margin:0;text-align:center}
.yp-gallery-dialog__footer button{border:1px solid #d8dad2;background:white;font-size:28px;min-width:44px;min-height:44px;cursor:pointer}
.yp-catalogue-filters{flex-wrap:wrap}.yp-catalogue-filters label{min-width:150px}
@media(max-width:600px){.yp-product-summary h1,.yp-v1 .yp-product-summary h1{font-size:30px}.yp-key-specs h2,.yp-v1 .yp-key-specs h2{font-size:18px}.yp-gallery-thumb{flex-basis:64px;width:64px}.yp-gallery-thumb img{height:74px}.yp-gallery-dialog{padding-inline:8px}}
@media(min-width:900px){.yp-catalogue-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto auto}}
.yp-product-gallery__thumbs{flex-wrap:nowrap}
@media(max-width:768px){.yp-v1 .yp-product-detail__hero{grid-template-columns:1fr;gap:28px}.yp-v1 .yp-product-summary{padding-top:0}.yp-catalogue-filters,.yp-v1 .yp-catalogue-filters{grid-template-columns:1fr}.yp-product-gallery__thumbs{max-width:100%}}
.yp-product-gallery{min-width:0}

.yp-gallery-disclosure{font-size:12px;line-height:1.6;color:#647064;text-align:center;margin:8px 16px 16px}
