:root {
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--duration-fast: 150ms;
	--duration: 250ms;
	--duration-slow: 500ms;
	--shadow-subtle: 0 1px 2px 0 rgb(0 0 0 / 0.04);
	--shadow-soft: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
	--shadow-lifted: 0 16px 32px -8px rgb(0 0 0 / 0.14), 0 6px 12px -4px rgb(0 0 0 / 0.06);
	--surface-tint: color-mix(in srgb, var(--wp--preset--color--foreground) 4%, transparent);
	--transition-theme: background-color var(--duration) var(--ease-in-out), color var(--duration) var(--ease-in-out), border-color var(--duration) var(--ease-in-out);
}

html[data-theme="dark"] {
	--wp--preset--color--background: #0A0A0A;
	--wp--preset--color--surface: #111113;
	--wp--preset--color--surface-alt: #18181B;
	--wp--preset--color--foreground: #FAFAFA;
	--wp--preset--color--muted: #A1A1AA;
	--wp--preset--color--subtle: #71717A;
	--wp--preset--color--border: #27272A;
	--wp--preset--color--accent: #FAFAFA;
	--wp--preset--color--metallic: #D4D4D8;
	--wp--preset--color--metallic-soft: #3F3F46;
	--shadow-subtle: 0 1px 2px 0 rgb(0 0 0 / 0.4);
	--shadow-soft: 0 4px 12px -2px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.3);
	--shadow-lifted: 0 16px 32px -8px rgb(0 0 0 / 0.7), 0 6px 12px -4px rgb(0 0 0 / 0.4);
}

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

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

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

body {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	font-family: var(--wp--preset--font-family--sans);
	transition: var(--transition-theme);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
}

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

a {
	transition: color var(--duration-fast) var(--ease-out);
}

hr {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	margin: 0;
}

.wp-site-header {
	position: sticky;
	top: 0;
	z-index: 100000;
	background-color: color-mix(in srgb, var(--wp--preset--color--background) 85%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 60%, transparent);
	transition: var(--transition-theme);
}

.pe-header-actions {
	margin-left: auto !important;
}

.pe-header-actions > * {
	margin-left: auto !important;
}

.wp-container-core-group-is-layout-62b04a7c,
.wp-container-core-group-is-layout-ff4093dd {
	justify-content: flex-start !important;
}

.wp-site-header.is-scrolled {
	box-shadow: var(--shadow-subtle);
}

.theme-toggle {
	appearance: none;
	background: transparent;
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--foreground);
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 9999px;
	padding: 0;
	transition: var(--transition-theme);
}

.theme-toggle:hover {
	background: var(--wp--preset--color--surface-alt);
	border-color: var(--wp--preset--color--foreground);
}

.theme-toggle svg {
	width: 18px;
	height: 18px;
}

html[data-theme="light"] .theme-toggle .icon-moon,
html:not([data-theme]) .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

.wp-block-button__link,
.wp-block-navigation a,
button,
input,
textarea,
select {
	transition: var(--transition-theme);
}

.wp-block-button__link {
	text-transform: none;
	border-radius: 0;
	letter-spacing: -0.01em;
}

.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--foreground) !important;
	border: 1px solid var(--wp--preset--color--foreground);
}

.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--foreground) !important;
	color: var(--wp--preset--color--background) !important;
}

/* Outline button on a dark (foreground-colored) section — only the CTA at
   the bottom of the homepage uses the .pe-cta-outline class. */
.pe-cta-outline.wp-block-button .wp-block-button__link,
.pe-cta-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--background) !important;
	border: 1px solid var(--wp--preset--color--background) !important;
}

.pe-cta-outline.wp-block-button .wp-block-button__link:hover,
.pe-cta-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--background) !important;
	color: var(--wp--preset--color--foreground) !important;
	border-color: var(--wp--preset--color--background) !important;
}

.is-style-ghost .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--foreground) !important;
	border: 1px solid var(--wp--preset--color--border);
}

.is-style-ghost .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--foreground) !important;
}

.is-style-arrow .wp-block-button__link,
.wp-block-button.is-style-arrow .wp-block-button__link {
	position: relative;
	padding-right: 3rem;
}

.is-style-arrow .wp-block-button__link::after {
	content: "\2192";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	transition: transform var(--duration) var(--ease-out);
}

.is-style-arrow .wp-block-button__link:hover::after {
	transform: translateY(-50%) translateX(4px);
}

.pe-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.pe-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--wp--preset--color--metallic);
	display: inline-block;
}

.pe-section {
	padding-top: clamp(4rem, 8vw, 8rem);
	padding-bottom: clamp(4rem, 8vw, 8rem);
}

.pe-section--tight {
	padding-top: clamp(3rem, 5vw, 5rem);
	padding-bottom: clamp(3rem, 5vw, 5rem);
}

.pe-rule {
	height: 1px;
	background: var(--wp--preset--color--border);
	border: 0;
	margin: 0;
}

.pe-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	padding: 2rem;
	transition: transform var(--duration) var(--ease-out), border-color var(--duration) var(--ease-in-out), box-shadow var(--duration) var(--ease-out);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.pe-card:hover {
	border-color: var(--wp--preset--color--foreground);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lifted);
}

.pe-card__icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--wp--preset--color--border);
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--foreground);
}

.pe-stat {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: 1.5rem;
}

.pe-stat__number {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 4vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-feature-settings: "tnum";
	font-variant-numeric: tabular-nums;
}

.pe-stat__label {
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-top: 0.625rem;
}

.pe-grid {
	display: grid;
	gap: 1.5rem;
}

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

/* Industry cards (2-col grid on the homepage). */
.pe-industry-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2rem;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--background);
	transition: border-color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.pe-industry-card:hover {
	border-color: var(--wp--preset--color--foreground);
	transform: translateY(-2px);
}

.pe-industry-card__num {
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--subtle);
	font-weight: 500;
}

.pe-industry-card__title {
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--wp--preset--color--foreground);
}

.pe-industry-card__desc {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

@media (max-width: 1024px) {
	.pe-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	.pe-grid--2,
	.pe-grid--3,
	.pe-grid--4 { grid-template-columns: 1fr; }
}

.pe-marquee {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.pe-marquee__track {
	display: flex;
	gap: 4rem;
	animation: pe-marquee 40s linear infinite;
	width: max-content;
	align-items: center;
}

.pe-marquee__item {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	white-space: nowrap;
	opacity: 0.7;
	transition: opacity var(--duration) var(--ease-in-out);
}

.pe-marquee__item:hover {
	opacity: 1;
}

@keyframes pe-marquee {
	to { transform: translateX(-50%); }
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

.wp-block-navigation a {
	position: relative;
}

.wp-block-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width var(--duration) var(--ease-out);
}

.wp-block-navigation a:hover::after,
.wp-block-navigation a[aria-current="page"]::after {
	width: 100%;
}

.wp-site-footer {
	background: var(--wp--preset--color--surface-alt);
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: clamp(4rem, 6vw, 6rem);
	padding-bottom: 2rem;
	margin-top: clamp(4rem, 8vw, 8rem);
	color: var(--wp--preset--color--foreground);
}

.pe-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
	flex-shrink: 0;
}

.pe-logo img {
	display: block;
	height: auto;
	max-height: 38px;
	width: auto;
	transition: opacity var(--duration) var(--ease-in-out);
}

.pe-logo__dark { display: none; }
html[data-theme="dark"] .pe-logo__light { display: none; }
html[data-theme="dark"] .pe-logo__dark { display: block; }

.wp-block-site-logo img {
	display: block;
	height: auto;
	max-height: 38px;
	width: auto;
	transition: filter var(--duration) var(--ease-in-out);
}

html[data-theme="dark"] .wp-block-site-logo img {
	filter: invert(1) hue-rotate(180deg);
}

.pe-footer-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0 0;
}

.pe-footer-list li {
	padding: 0.375rem 0;
}

.pe-footer-list a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	transition: color var(--duration-fast) var(--ease-out);
}

.pe-footer-list a:hover {
	color: var(--wp--preset--color--foreground);
}

input:not([type="submit"]),
textarea,
select {
	font: inherit;
	color: inherit;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 1rem;
	width: 100%;
	border-radius: 0;
	transition: border-color var(--duration-fast) var(--ease-out);
}

input:not([type="submit"]):focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--wp--preset--color--foreground);
}

.wp-block-cover,
.wp-block-cover-image {
	background-color: var(--wp--preset--color--surface-alt);
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--border);
}

.wp-block-quote {
	border-left: 2px solid var(--wp--preset--color--foreground);
	padding-left: 1.5rem;
	font-style: normal;
}

.wp-block-table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 1rem;
	text-align: left;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* HERO IMAGE                                                          */
/* ------------------------------------------------------------------ */

.pe-hero {
	position: relative;
}

.pe-hero__media {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--surface-alt);
}

.pe-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 60%, rgb(0 0 0 / 0.18));
	pointer-events: none;
}

.pe-hero-image,
.pe-hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	aspect-ratio: 1 / 1;
}

.pe-hero-image img {
	transition: transform 600ms var(--ease-out), filter 250ms var(--ease-in-out);
}

.pe-hero__media:hover .pe-hero-image img {
	transform: scale(1.03);
}

html[data-theme="dark"] .pe-hero-image img {
	filter: brightness(0.92) contrast(1.04);
}

.pe-hero__badge {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
	padding: 1rem 1.25rem;
	background: rgb(255 255 255 / 0.92);
	backdrop-filter: blur(8px);
	border: 1px solid var(--wp--preset--color--border);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

html[data-theme="dark"] .pe-hero__badge {
	background: rgb(10 10 10 / 0.85);
}

.pe-hero__badge-label {
	color: var(--wp--preset--color--muted);
}

.pe-hero__badge-value {
	color: var(--wp--preset--color--foreground);
}

/* ------------------------------------------------------------------ */
/* WHATSAPP BUBBLE                                                     */
/* ------------------------------------------------------------------ */

.pe-whatsapp-bubble {
	position: absolute;
	bottom: 2rem;
	right: 1.5rem;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: #25D366;
	color: #fff;
	padding: 0.625rem 1.125rem;
	border-radius: 9999px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.pe-whatsapp-bubble:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.pe-whatsapp-bubble__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.pe-whatsapp-bubble__icon svg {
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	.pe-whatsapp-bubble {
		bottom: 0;
		right: 1rem;
		padding: 0.5rem 0.875rem;
		font-size: 0.75rem;
		gap: 0.5rem;
	}
	.pe-whatsapp-bubble__icon {
		width: 18px;
		height: 18px;
	}
}

/* ------------------------------------------------------------------ */
/* ABOUT HERO IMAGE                                                    */
/* ------------------------------------------------------------------ */

.pe-about-hero {
	margin: 0 0 3rem 0;
}

.pe-about-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* CONTACT FORM                                                        */
/* ------------------------------------------------------------------ */

.pe-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 0.5rem;
}

.pe-form-row {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.pe-form-row--2col {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.25rem;
	}
}

.pe-form-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pe-form-field label {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.pe-req {
	color: var(--wp--preset--color--foreground);
	margin-left: 0.125rem;
}

.pe-contact-form input[type="text"],
.pe-contact-form input[type="email"],
.pe-contact-form input[type="tel"],
.pe-contact-form textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	font: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--foreground);
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	outline: none;
	transition: border-color var(--duration) var(--ease-out), background-color var(--duration) var(--ease-out);
	-webkit-appearance: none;
	appearance: none;
}

.pe-contact-form textarea {
	resize: vertical;
	min-height: 9rem;
	font-family: inherit;
}

.pe-contact-form input:focus,
.pe-contact-form textarea:focus {
	border-color: var(--wp--preset--color--foreground);
	background: var(--wp--preset--color--surface);
}

.pe-contact-form input::placeholder,
.pe-contact-form textarea::placeholder {
	color: var(--wp--preset--color--subtle);
}

.pe-form-honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pe-form-submit {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	padding: 0.875rem 1.75rem;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--background);
	background: var(--wp--preset--color--foreground);
	border: 1px solid var(--wp--preset--color--foreground);
	border-radius: 0;
	cursor: pointer;
	transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.pe-form-submit:hover {
	opacity: 0.88;
}

.pe-form-submit:active {
	transform: translateY(1px);
}

.pe-form-submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.pe-form-notice {
	padding: 0.875rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	font-size: 0.875rem;
	color: var(--wp--preset--color--foreground);
}

.pe-form-notice--error {
	border-color: color-mix(in srgb, var(--wp--preset--color--foreground) 30%, var(--wp--preset--color--border));
}

.pe-form-notice a {
	color: inherit;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* ACCESSIBILITY                                                       */
/* ------------------------------------------------------------------ */

/* Skip-to-content link: hidden by default, visible when focused. */
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	padding: 0.75rem 1.25rem;
	background: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	z-index: 9999;
	transform: translateY(-100%);
	transition: transform 200ms var(--ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
	top: 0;
	transform: translateY(0);
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* Screen-reader-only utility (for content that should be read by AT
   but is visually hidden). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--wp--preset--color--foreground);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: var(--wp--preset--color--background);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1.25rem;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

/* Keyboard focus: visible on every focusable element when navigating
   with the keyboard. We use :focus-visible to avoid the focus ring
   appearing on mouse clicks. */
:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

a:focus-visible,
.wp-block-button__link:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* Honour user's reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
	.skip-link { transition: none; }
}


/* ---- Footer: 'Crafted with care by Riz' credit link ---- */
.pe-credit {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 9999px;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
	background: transparent;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}
.pe-credit:hover,
.pe-credit:focus-visible {
	border-color: #61ab45;
	color: var(--wp--preset--color--foreground);
	background: color-mix(in srgb, #61ab45 8%, transparent);
}
.pe-credit__icon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}
.pe-credit__name {
	color: #61ab45;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.pe-credit:hover .pe-credit__name,
.pe-credit:focus-visible .pe-credit__name {
	color: #61ab45;
}

html[data-theme='dark'] .pe-credit {
	background: transparent;
}
html[data-theme='dark'] .pe-credit:hover,
html[data-theme='dark'] .pe-credit:focus-visible {
	background: color-mix(in srgb, #61ab45 12%, transparent);
}



/* Services figure — full-bleed image below the 4 service cards */
.pe-services-figure {
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
	border-radius: 0;
	overflow: hidden;
	position: relative;
	background: var(--wp--preset--color--background);
	max-height: clamp(280px, 38vw, 540px);
	/* Crop top + bottom: aspect is WIDER than the image (1600/575 = 2.78:1) so
	   object-fit: cover scales the image to fill the height and clips the sides
	   horizontally — the figure is intentionally extra-wide to push the
	   viewer's eye to the middle band of the banner. */
	aspect-ratio: 16 / 4.5;
	box-shadow:
		0 1px 0 color-mix(in srgb, var(--wp--preset--color--foreground) 6%, transparent) inset,
		0 30px 60px -30px color-mix(in srgb, #000 50%, transparent);
}
.pe-services-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.pe-services-figure:hover img {
	transform: scale(1.02);
}

/* Reveal animation delay (extend the existing stagger) */
.pe-services-figure.reveal {
	transition-delay: 360ms;
}

@media (max-width: 1024px) {
	.pe-services-figure {
		aspect-ratio: 16 / 5;
		max-height: 48vw;
	}
}
@media (max-width: 768px) {
	.pe-services-figure {
		aspect-ratio: 16 / 5.5;
		max-height: 60vw;
	}
}
@media (max-width: 480px) {
	.pe-services-figure {
		/* On phones, give the banner a bit more vertical presence */
		aspect-ratio: 16 / 6;
		max-height: none;
		margin-top: 1.75rem;
	}
}

@media (max-width: 768px) {
	.pe-header-main .pe-header-actions {
		padding-right: 0.5rem;
	}
	.pe-header-actions .wp-block-navigation__responsive-container-open svg {
		width: 30px;
		height: 30px;
	}
	.pe-header-actions .wp-block-navigation__responsive-container-open svg path {
		fill: none;
		stroke: currentColor;
		stroke-width: 2.5;
		stroke-linecap: round;
	}
	.pe-header-actions .wp-block-navigation__responsive-container-open {
		padding: 0;
	}
	.pe-header-main .pe-header-cta {
		display: none;
	}
	.wp-block-navigation__responsive-container-content .pe-nav-cta {
		margin-top: auto;
		padding-top: 2rem;
	}
	.wp-block-navigation__responsive-container-content .pe-nav-cta .wp-block-button {
		width: 100%;
	}
	.wp-block-navigation__responsive-container-content .pe-nav-cta .wp-block-button__link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* Mobile nav overlay — fullscreen, items centred */
@media (max-width: 781px) {
	.wp-block-navigation__responsive-container.is-menu-open {
		padding: 1.5rem !important;
		z-index: 100001 !important;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
		height: 100%;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
		display: flex;
		flex-direction: column;
		height: 100%;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		flex: 1;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		padding-top: 3rem !important;
		overflow-y: auto;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		align-items: center !important;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		text-align: center;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
		font-size: 1.25rem;
		padding: 0.5rem 0;
	}
	.wp-block-navigation__responsive-container-close {
		z-index: 10;
		padding: 0.5rem !important;
	}
	.wp-block-navigation__responsive-container-content .pe-nav-cta {
		margin-top: auto;
		padding-top: 1.5rem;
		padding-bottom: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pe-services-figure img { transition: none; }
	.pe-services-figure:hover img { transform: none; }
}
