/* ==========================================================================
   AK & J Golden Chemicals — Bright Corporate & Industrial B2B Design System
   Light-first: white / pale sage canvas, deep emerald brand, metallic gold accent.
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   Top utility bar (slim emerald strip) & floating glass header
   -------------------------------------------------------------------------- */
.is-style-top-utility-bar {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.02em;
	line-height: 1.45;
	border-bottom: 2px solid var(--wp--preset--color--gold);
}

.is-style-top-utility-bar a {
	color: var(--wp--preset--color--gold-light);
	text-decoration: none;
	font-weight: 600;
}

.is-style-top-utility-bar a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Let the sticky pill stick against the whole page, not just the header wrapper. */
header.wp-block-template-part {
	display: contents;
}

.is-style-sticky-glass-header {
	position: sticky;
	top: 12px;
	z-index: 900;
	margin-top: 14px !important;
	background-color: var(--wp--custom--glass--tint-light);
	backdrop-filter: blur(var(--wp--custom--glass--blur)) saturate(160%);
	-webkit-backdrop-filter: blur(var(--wp--custom--glass--blur)) saturate(160%);
	border: 1px solid var(--wp--custom--glass--border-light);
	border-radius: 9999px;
	box-shadow: 0 12px 32px -12px rgba(20, 69, 47, 0.14);
	transition: box-shadow 240ms ease, background-color 240ms ease;
}

.is-style-sticky-glass-header.is-scrolled {
	box-shadow: 0 18px 40px -14px rgba(20, 69, 47, 0.22);
	background-color: rgba(255, 255, 255, 0.94);
}

.is-style-sticky-glass-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.4rem 0.75rem;
	border-radius: 9999px;
	color: var(--wp--preset--color--contrast);
	transition: background-color 180ms ease, color 180ms ease;
}

.is-style-sticky-glass-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--surface-alt);
	color: var(--wp--preset--color--forest);
	text-decoration: none;
}

.akj-header-logo img {
	display: block;
	width: 40px;
	height: auto;
}

@media (max-width: 781px) {
	.is-style-sticky-glass-header {
		top: 8px;
		border-radius: 20px;
	}
}

/* --------------------------------------------------------------------------
   Geometric triangle watermarks (echo the AK&J triangle brand motif)
   -------------------------------------------------------------------------- */
.akj-has-watermark {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.akj-has-watermark > *:not(.akj-tri-watermark) {
	position: relative;
	z-index: 1;
}

.akj-tri-watermark {
	position: absolute !important;
	top: -48px;
	bottom: -48px;
	left: 0;
	right: 0;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
	z-index: 0 !important;
	opacity: 0.055;
	background-repeat: no-repeat;
	background-position: right -40px top 20px, left -60px bottom 10px;
	background-size: 560px auto, 420px auto;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 360' fill='none' stroke='%2314452F' stroke-width='1.4'%3E%3Cpath d='M200 12 388 340H12Z'/%3E%3Cpath d='M200 64 336 316H64Z'/%3E%3Cpath d='M200 116 284 292H116Z'/%3E%3Cpath d='M200 12V340M12 340 294 176M388 340 106 176'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 360' fill='none' stroke='%23C59B27' stroke-width='1.6'%3E%3Cpath d='M200 12 388 340H12Z'/%3E%3Cpath d='M200 88 322 304H78Z'/%3E%3Cpath d='M12 340 200 176 388 340'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Container styles (selectable from the block sidebar)
   -------------------------------------------------------------------------- */
.is-style-inset-frame {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--surface-alt);
	border-radius: var(--wp--custom--radius--xl);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: var(--wp--preset--shadow--card);
}

.is-style-gold-rule-card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-top: 3px solid var(--wp--preset--color--gold) !important;
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--preset--shadow--card);
}

.is-style-elevated-card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--card);
}

.is-style-bordered-surface {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
}

.is-style-forest-panel {
	background-color: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--on-dark);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--elevated);
}

.is-style-glass-card {
	background: var(--wp--custom--glass--tint-dark);
	backdrop-filter: blur(var(--wp--custom--glass--blur)) saturate(150%);
	-webkit-backdrop-filter: blur(var(--wp--custom--glass--blur)) saturate(150%);
	border: 1px solid var(--wp--custom--glass--border-dark);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--glass);
}

.is-style-hover-lift {
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-style-hover-lift:hover {
	transform: translateY(-5px);
	box-shadow: var(--wp--preset--shadow--elevated);
	border-color: var(--wp--preset--color--gold);
}

/* --------------------------------------------------------------------------
   Images: framed visual and circular gold / emerald rings
   -------------------------------------------------------------------------- */
.is-style-framed-visual {
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: var(--wp--preset--shadow--card);
}

.is-style-framed-visual img {
	display: block;
	width: 100%;
	height: auto;
}

.is-style-circle-ring-gold,
.is-style-circle-ring-forest {
	width: 200px;
	height: 200px;
	margin-left: auto !important;
	margin-right: auto !important;
	border-radius: 9999px;
	padding: 7px;
	background-color: var(--wp--preset--color--surface);
	overflow: hidden;
}

.is-style-circle-ring-gold {
	border: 2px solid var(--wp--preset--color--gold);
	box-shadow: 0 0 0 5px rgba(197, 155, 39, 0.12), var(--wp--preset--shadow--card);
}

.is-style-circle-ring-forest {
	border: 2px solid var(--wp--preset--color--forest);
	box-shadow: 0 0 0 5px rgba(20, 69, 47, 0.1), var(--wp--preset--shadow--card);
}

.is-style-circle-ring-gold img,
.is-style-circle-ring-forest img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 9999px;
	display: block;
}

/* --------------------------------------------------------------------------
   Typography styles
   -------------------------------------------------------------------------- */
.is-style-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.38rem 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--forest);
	border-radius: 9999px;
	border: 1.5px solid var(--wp--preset--color--gold);
	background-color: rgba(197, 155, 39, 0.07);
	width: fit-content;
}

.is-style-step-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.28rem 0.85rem;
	border-radius: 9999px;
	background-color: var(--wp--preset--color--forest);
	color: #FFFFFF !important;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	width: fit-content;
}

.is-style-formula-tag {
	display: inline-block;
	padding: 0.24rem 0.68rem;
	border-radius: 8px;
	background-color: var(--wp--preset--color--surface-alt);
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--forest);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	width: fit-content;
}

.is-style-kpi-metric {
	font-family: var(--wp--preset--font-family--geometric);
	font-size: clamp(1.9rem, 1.55rem + 1.5vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.is-style-gold-underline {
	position: relative;
	padding-bottom: 0.8rem;
}

.is-style-gold-underline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	border-radius: 2px;
	background-color: var(--wp--preset--color--gold);
}

.akj-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-hover);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wp-block-button .wp-block-button__link {
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wp-block-button .wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-gold-solid .wp-block-button__link {
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--contrast);
	box-shadow: var(--wp--preset--shadow--gold-glow);
}

.wp-block-button.is-style-gold-solid .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--gold-light);
}

.wp-block-button.is-style-glass-outline .wp-block-button__link {
	background-color: rgba(255, 255, 255, 0.7);
	color: var(--wp--preset--color--forest);
	border: 1.5px solid var(--wp--preset--color--forest);
	box-shadow: none;
}

.wp-block-button.is-style-glass-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--forest);
	color: #FFFFFF;
}

.wp-block-button.is-style-ghost-arrow .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--forest);
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	border-radius: 10px;
}

.wp-block-button.is-style-ghost-arrow .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--surface-alt);
}

.wp-block-button.is-style-soft-surface .wp-block-button__link {
	background-color: var(--wp--preset--color--surface-alt);
	color: var(--wp--preset--color--forest);
	border: 1px solid var(--wp--preset--color--border);
}

.wp-block-button.is-style-soft-surface .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--gold);
}

/* --------------------------------------------------------------------------
   Hero: bright split layout, blended photo scrims, lighter frosted ledger & B2B micro-interactions
   -------------------------------------------------------------------------- */
.akj-hero-section,
.wp-block-cover:has(.akj-hero-visual),
.wp-block-group:has(.akj-hero-visual) {
	position: relative;
}

.akj-hero-has-photo,
.wp-block-cover:has(.akj-hero-visual),
.wp-block-group[style*="background-image"]:has(.akj-hero-visual),
.akj-has-watermark[style*="background-image"]:has(.akj-hero-visual) {
	position: relative;
	isolation: isolate;
}

.akj-hero-has-photo::before,
.wp-block-cover:has(.akj-hero-visual)::before,
.wp-block-group[style*="background-image"]:has(.akj-hero-visual)::before,
.akj-has-watermark[style*="background-image"]:has(.akj-hero-visual)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(100deg, rgba(11, 31, 21, 0.72) 0%, rgba(14, 40, 27, 0.48) 38%, rgba(14, 40, 27, 0.14) 60%, rgba(14, 40, 27, 0) 76%),
		linear-gradient(0deg, rgba(10, 28, 19, 0.68) 0%, rgba(10, 28, 19, 0.22) 20%, rgba(10, 28, 19, 0) 40%);
}

.akj-hero-has-photo > :not(.akj-tri-watermark):not(.wp-block-cover__image-background):not(.wp-block-cover__background),
.wp-block-cover:has(.akj-hero-visual) > .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

/* Blended high-contrast typography on photo-backed hero */
.akj-hero-has-photo .akj-hero-copy > .is-style-pill-badge,
.akj-hero-has-photo .wp-block-columns:has(.akj-hero-visual) > .wp-block-column:first-child > .is-style-pill-badge,
.wp-block-cover:has(.akj-hero-visual) .wp-block-column:first-child > .is-style-pill-badge {
	background-color: rgba(255, 255, 255, 0.94);
	border-color: var(--wp--preset--color--gold);
	box-shadow: 0 6px 20px -6px rgba(10, 28, 19, 0.35);
}

.akj-hero-has-photo .akj-hero-copy > h1,
.akj-hero-has-photo .akj-hero-copy > .wp-block-heading,
.akj-hero-has-photo .wp-block-columns:has(.akj-hero-visual) > .wp-block-column:first-child > h1,
.akj-hero-has-photo .wp-block-columns:has(.akj-hero-visual) > .wp-block-column:first-child > .wp-block-heading,
.wp-block-cover:has(.akj-hero-visual) .wp-block-column:first-child > h1,
.wp-block-cover:has(.akj-hero-visual) .wp-block-column:first-child > .wp-block-heading {
	background: linear-gradient(90deg, rgba(12, 36, 24, 0.56) 0%, rgba(12, 36, 24, 0.28) 78%, rgba(12, 36, 24, 0) 100%) !important;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: 0.5rem 0.9rem;
	border-left: 3px solid var(--wp--preset--color--gold);
	border-radius: 10px;
	color: #FFFFFF !important;
	text-shadow: 0 2px 12px rgba(8, 22, 15, 0.65);
}

.akj-hero-has-photo .akj-hero-copy > p.has-lg-font-size,
.akj-hero-has-photo .akj-hero-copy > p:not(.is-style-pill-badge):not(.akj-hero-trust):not(.has-xs-font-size),
.akj-hero-has-photo .wp-block-columns:has(.akj-hero-visual) > .wp-block-column:first-child > p.has-lg-font-size,
.wp-block-cover:has(.akj-hero-visual) .wp-block-column:first-child > p.has-lg-font-size {
	background: linear-gradient(135deg, rgba(11, 32, 22, 0.62) 0%, rgba(11, 32, 22, 0.42) 100%) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	padding: 1.05rem 1.25rem;
	color: #F8FAF9 !important;
	text-shadow: 0 1px 6px rgba(8, 22, 15, 0.55);
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.32);
}

.akj-hero-has-photo .akj-hero-copy > .akj-hero-trust,
.akj-hero-has-photo .akj-hero-copy > p.has-xs-font-size:last-child,
.akj-hero-has-photo .wp-block-columns:has(.akj-hero-visual) > .wp-block-column:first-child > p:last-child,
.wp-block-cover:has(.akj-hero-visual) .wp-block-column:first-child > p:last-child {
	color: #F8FAF9 !important;
	font-weight: 600;
	text-shadow: 0 1px 6px rgba(8, 22, 15, 0.85);
	background: rgba(11, 32, 22, 0.44) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	padding: 0.45rem 0.9rem;
	border-radius: 9999px;
	width: fit-content;
}

.akj-hero-has-photo .akj-hero-photos p,
.wp-block-cover:has(.akj-hero-visual) .akj-hero-photos p {
	color: #F8FAF9 !important;
	font-weight: 600;
	text-shadow: 0 1px 6px rgba(8, 22, 15, 0.85);
	background: rgba(11, 32, 22, 0.44);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 0.45rem 0.85rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.akj-hero-visual {
	position: relative;
	padding: 1.5rem 0 0;
}

/* Lighter translucent frosted-glass ledger so worker in background stays visible */
.akj-hero-visual .akj-ledger,
.akj-hero-visual .akj-ledger.is-style-glass-card {
	position: relative;
	z-index: 2;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.46) 0%, rgba(246, 250, 248, 0.34) 100%) !important;
	backdrop-filter: blur(5px) saturate(120%) !important;
	-webkit-backdrop-filter: blur(5px) saturate(120%) !important;
	border: 1px solid rgba(255, 255, 255, 0.62);
	box-shadow: 0 18px 40px -14px rgba(15, 46, 30, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
	transition: border-color 260ms ease, box-shadow 260ms ease;
}

.akj-hero-visual .akj-ledger:hover {
	border-color: rgba(197, 155, 39, 0.55);
	box-shadow: 0 22px 46px -14px rgba(15, 46, 30, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.akj-ledger .akj-eyebrow {
	color: #8F6A10;
	text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9), 0 0 1px rgba(255, 255, 255, 0.95);
}

.akj-ledger h3,
.akj-ledger .wp-block-heading,
.akj-ledger-row p {
	text-shadow: 0 1px 6px rgba(255, 255, 255, 0.88), 0 0 1px rgba(255, 255, 255, 0.95);
}

.akj-ledger .is-style-formula-tag {
	background-color: rgba(255, 255, 255, 0.78);
	border-color: rgba(20, 69, 47, 0.18);
	color: #113C28;
	transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.akj-ledger-row {
	border-top: 1px solid rgba(20, 69, 47, 0.14);
	padding: 0.78rem 0.72rem;
	margin: 0.4rem -0.72rem 0;
	border-radius: 12px;
	transition:
		background-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 240ms ease,
		border-color 240ms ease;
}

.akj-ledger-row:hover,
.akj-ledger-row:focus-within {
	background-color: rgba(255, 255, 255, 0.46);
	border-top-color: transparent;
	transform: translateX(4px);
	box-shadow: 0 6px 18px -6px rgba(20, 69, 47, 0.14), inset 3px 0 0 var(--wp--preset--color--gold);
}

.akj-ledger-row:hover .is-style-formula-tag,
.akj-ledger-row:focus-within .is-style-formula-tag {
	border-color: var(--wp--preset--color--gold);
	background-color: rgba(255, 255, 255, 0.94);
}

.akj-ledger-row p {
	margin: 0;
}

/* Inline status indicator with pulsing halo */
.akj-ledger-row .akj-stock-status,
.akj-ledger-row .has-success-color {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #0F6A30 !important;
	white-space: nowrap;
}

.akj-status-dot {
	position: relative;
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background-color: var(--wp--preset--color--success, #16803C);
	flex-shrink: 0;
}

.akj-status-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background-color: rgba(22, 128, 60, 0.48);
	animation: akjStockPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.akj-ledger-row:nth-of-type(2) .akj-status-dot::after {
	animation-delay: 0.45s;
}

.akj-ledger-row:nth-of-type(3) .akj-status-dot::after {
	animation-delay: 0.9s;
}

.akj-hero-visual .akj-float-badge,
.akj-hero-visual .akj-float-badge.is-style-glass-card {
	position: absolute;
	top: -6px;
	right: -14px;
	z-index: 4;
	margin: 0 !important;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(246, 250, 248, 0.44) 100%) !important;
	backdrop-filter: blur(5px) saturate(120%) !important;
	-webkit-backdrop-filter: blur(5px) saturate(120%) !important;
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 12px 28px -10px rgba(15, 46, 30, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: border-color 220ms ease, box-shadow 220ms ease;
}

.akj-hero-visual .akj-float-badge:hover {
	border-color: rgba(197, 155, 39, 0.72);
	box-shadow: 0 16px 34px -10px rgba(15, 46, 30, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.akj-float-badge p {
	text-shadow: 0 1px 4px rgba(255, 255, 255, 0.88);
}

.akj-hero-photos .akj-gold-circle {
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.akj-hero-photos .akj-gold-circle:hover {
	transform: scale(1.05);
}

.akj-float-photo {
	position: absolute !important;
	z-index: 3;
	margin: 0 !important;
}

.is-style-circle-ring-gold.akj-float-photo,
.is-style-circle-ring-forest.akj-float-photo {
	width: 132px;
	height: 132px;
	padding: 5px;
}

.akj-float-photo--a {
	left: -34px;
	bottom: -6px;
}

.akj-float-photo--b {
	right: 18px;
	bottom: -22px;
	width: 108px !important;
	height: 108px !important;
}

@media (max-width: 781px) {
	.akj-hero-has-photo::before,
	.wp-block-cover:has(.akj-hero-visual)::before,
	.wp-block-group[style*="background-image"]:has(.akj-hero-visual)::before,
	.akj-has-watermark[style*="background-image"]:has(.akj-hero-visual)::before {
		background: linear-gradient(180deg, rgba(11, 31, 21, 0.78) 0%, rgba(14, 40, 27, 0.56) 55%, rgba(11, 31, 21, 0.72) 100%);
	}

	.akj-float-badge {
		position: static;
		margin-top: 1rem !important;
	}

	.akj-float-photo {
		display: none !important;
	}

	.akj-hero-visual {
		padding-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   Interactive product portfolio carousel & 4-layout card system
   -------------------------------------------------------------------------- */
.akj-catalog-header-scrim {
	background: linear-gradient(135deg, rgba(11, 35, 24, 0.86) 0%, rgba(17, 50, 34, 0.72) 60%, rgba(17, 50, 34, 0.44) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(197, 155, 39, 0.32);
	border-radius: 20px;
	box-shadow: 0 18px 36px -14px rgba(10, 28, 19, 0.25);
	padding: 1.75rem 2rem;
}

.akj-catalog-header-scrim .wp-block-heading {
	color: #FFFFFF !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.akj-catalog-header-scrim p:not(.is-style-pill-badge) {
	color: #E2ECE6 !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.akj-catalog-header-scrim .is-style-pill-badge {
	color: #F3D16B !important;
	background-color: rgba(10, 28, 19, 0.65);
	border-color: rgba(212, 175, 55, 0.68);
}

.akj-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding: 0.85rem 1.1rem;
	border-radius: 18px;
	background-color: rgba(11, 35, 24, 0.52);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: 0 12px 28px -10px rgba(10, 28, 19, 0.22);
}

.akj-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.akj-filter-btn {
	appearance: none;
	border: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	padding: 0.6rem 1.1rem;
	border-radius: 9999px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(10, 28, 19, 0.08);
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.akj-filter-btn:hover {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest);
	transform: translateY(-1px);
}

.akj-filter-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.akj-filter-btn.is-active {
	background-color: var(--wp--preset--color--forest);
	border-color: var(--wp--preset--color--gold);
	color: #FFFFFF;
}

.akj-filter-count {
	display: inline-flex;
	align-items: center;
	padding: 0.46rem 1rem;
	border-radius: 9999px;
	background-color: rgba(11, 35, 24, 0.9);
	border: 1px solid rgba(212, 175, 55, 0.55);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	color: #F8FAF9;
	box-shadow: 0 6px 16px rgba(10, 28, 19, 0.2);
}

.akj-catalog-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem !important;
	align-items: stretch;
}

/* Horizontal Carousel Shell & Viewport (enabled by JS on frontend) */
.akj-carousel-shell {
	position: relative;
	width: 100%;
}

.akj-carousel-viewport {
	overflow: hidden;
	padding: 1rem 0.35rem 1.75rem;
	margin: -1rem -0.35rem -0.5rem;
	touch-action: pan-y;
}

.akj-catalog-grid.is-carousel {
	--akj-visible: 3;
	--akj-gap: 1.35rem;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: var(--akj-gap) !important;
	align-items: stretch;
	transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	cursor: grab;
	user-select: none;
}

body.akj-card-layout-horizontal-split .akj-catalog-grid.is-carousel {
	--akj-visible: 2;
}

.akj-catalog-grid.is-carousel.is-dragging {
	transition: none !important;
	cursor: grabbing;
}

.akj-catalog-grid.is-carousel > .akj-product-card {
	flex: 0 0 calc((100% - (var(--akj-visible) - 1) * var(--akj-gap)) / var(--akj-visible));
	min-width: 0;
}

/* Base Uniform Card with Crisp Surface & Hover Elevation */
.akj-product-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 410px;
	height: 100%;
	margin: 0 !important;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 12px 28px -8px rgba(10, 28, 19, 0.16);
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.akj-product-card.akj-has-media,
.akj-product-card:has(> .akj-product-media) {
	padding: 0 !important;
}

.akj-product-card.akj-has-media > .akj-product-body,
.akj-product-card:has(> .akj-product-media) > .akj-product-body {
	padding: 1.3rem 1.4rem 1.4rem;
}

.akj-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
	border-color: var(--wp--preset--color--gold) !important;
}

.akj-product-card.is-hidden {
	display: none !important;
}

/* Top Product Thumbnail Image Container (Layout 1 Default: 16:9 Image Above Text) */
.akj-product-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	flex: 0 0 auto;
	overflow: hidden;
	margin: 0 !important;
	background-color: var(--wp--preset--color--surface-alt);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.akj-product-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.akj-product-card:hover .akj-product-media img {
	transform: scale(1.07);
}

.akj-product-body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.55rem;
	height: 100%;
}

.akj-product-body > h3 {
	margin-top: 0.1rem;
	margin-bottom: 0;
}

/* Graceful 3-line truncation for varying description lengths */
.akj-product-body > p:not(.is-style-formula-tag):not(.akj-quick-quote) {
	margin-top: 0;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Sharp Contrast Formula Badges */
.akj-product-card .is-style-formula-tag {
	background-color: #EDF3EF;
	border: 1px solid #B7C9BE;
	color: #14452F;
	font-weight: 700;
}

/* Interactive Packaging / Volume Selector Pills */
.akj-pack-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.4rem;
	margin-bottom: 0.2rem;
}

body.akj-hide-pack-options .akj-pack-options {
	display: none !important;
}

.akj-pack-pill {
	appearance: none;
	border: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--surface-alt);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.28rem 0.62rem;
	border-radius: 9999px;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.akj-pack-pill:hover {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--forest);
}

.akj-pack-pill.is-selected {
	background-color: var(--wp--preset--color--forest);
	border-color: var(--wp--preset--color--forest);
	color: #FFFFFF;
	box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.32);
}

.akj-quick-quote {
	margin-top: auto !important;
	padding-top: 0.55rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
}

.akj-quick-quote a {
	color: var(--wp--preset--color--forest);
	text-decoration: none;
}

.akj-quick-quote a::after {
	content: " \2192";
	color: var(--wp--preset--color--gold);
}

.akj-quick-quote a:hover {
	color: var(--wp--preset--color--gold-hover);
}

/* --------------------------------------------------------------------------
   Layout 2: Text on Top of Image (Overlaid) + Dynamic Opacity Scrim
   -------------------------------------------------------------------------- */
body.akj-card-layout-text-overlay .akj-product-card,
.akj-product-card.is-style-card-overlay,
.akj-product-card[style*="background-image"]:not(.akj-has-media) {
	min-height: 360px;
	background-color: #0D261A !important;
}

body.akj-card-layout-text-overlay .akj-product-card > .akj-product-media,
.akj-product-card.is-style-card-overlay > .akj-product-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border: 0;
	z-index: 0;
}

body.akj-card-layout-text-overlay .akj-product-card::before,
.akj-product-card.is-style-card-overlay::before,
.akj-product-card[style*="background-image"]:not(.akj-has-media)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(6, 18, 12, calc(var(--akj-overlay-opacity, 0.5) * 0.65)) 0%,
		rgba(6, 18, 12, var(--akj-overlay-opacity, 0.5)) 55%,
		rgba(6, 18, 12, min(0.95, calc(var(--akj-overlay-opacity, 0.5) * 1.25))) 100%
	);
}

body.akj-card-layout-text-overlay .akj-product-card > *:not(.akj-product-media),
.akj-product-card.is-style-card-overlay > *:not(.akj-product-media),
.akj-product-card[style*="background-image"]:not(.akj-has-media) > *:not(.akj-product-media) {
	position: relative;
	z-index: 2;
}

body.akj-card-layout-text-overlay .akj-product-card h3,
.akj-product-card.is-style-card-overlay h3,
.akj-product-card[style*="background-image"]:not(.akj-has-media) h3 {
	color: #FFFFFF !important;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85);
}

body.akj-card-layout-text-overlay .akj-product-card p:not(.is-style-formula-tag):not(.akj-quick-quote),
.akj-product-card.is-style-card-overlay p:not(.is-style-formula-tag):not(.akj-quick-quote),
.akj-product-card[style*="background-image"]:not(.akj-has-media) p:not(.is-style-formula-tag):not(.akj-quick-quote) {
	color: #F0F5F2 !important;
	font-weight: 600;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85);
}

body.akj-card-layout-text-overlay .akj-product-card .is-style-formula-tag,
.akj-product-card.is-style-card-overlay .is-style-formula-tag,
.akj-product-card[style*="background-image"]:not(.akj-has-media) .is-style-formula-tag {
	background-color: #103222;
	border: 1.5px solid #D4AF37;
	color: #F5D469;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.akj-card-layout-text-overlay .akj-product-card .akj-pack-pill,
.akj-product-card.is-style-card-overlay .akj-pack-pill,
.akj-product-card[style*="background-image"]:not(.akj-has-media) .akj-pack-pill {
	background-color: rgba(12, 34, 23, 0.76);
	border-color: rgba(255, 255, 255, 0.35);
	color: #F8FAF9;
}

body.akj-card-layout-text-overlay .akj-product-card .akj-pack-pill.is-selected,
.akj-product-card.is-style-card-overlay .akj-pack-pill.is-selected,
.akj-product-card[style*="background-image"]:not(.akj-has-media) .akj-pack-pill.is-selected {
	background-color: #D4AF37;
	border-color: #F5D469;
	color: #10241A;
}

body.akj-card-layout-text-overlay .akj-product-card .akj-quick-quote a,
.akj-product-card.is-style-card-overlay .akj-quick-quote a,
.akj-product-card[style*="background-image"]:not(.akj-has-media) .akj-quick-quote a {
	color: #F5D469 !important;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85);
}

body.akj-card-layout-text-overlay .akj-product-card .akj-quick-quote a::after,
.akj-product-card.is-style-card-overlay .akj-quick-quote a::after,
.akj-product-card[style*="background-image"]:not(.akj-has-media) .akj-quick-quote a::after {
	color: #FFFFFF;
}

/* Alternate Overlay Style: Dark Frosted Blur */
body.akj-overlay-frosted-dark.akj-card-layout-text-overlay .akj-product-card::before,
body.akj-overlay-frosted-dark .akj-product-card.is-style-card-overlay::before,
body.akj-overlay-frosted-dark .akj-product-card[style*="background-image"]:not(.akj-has-media)::before {
	background: rgba(10, 28, 19, var(--akj-overlay-opacity, 0.5));
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

/* Alternate Overlay Style: White-Tinted Frosted Glass Card */
body.akj-overlay-frosted-light.akj-card-layout-text-overlay .akj-product-card::before,
body.akj-overlay-frosted-light .akj-product-card.is-style-card-overlay::before,
body.akj-overlay-frosted-light .akj-product-card[style*="background-image"]:not(.akj-has-media)::before {
	background: rgba(255, 255, 255, var(--akj-overlay-opacity, 0.78));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

body.akj-overlay-frosted-light.akj-card-layout-text-overlay .akj-product-card h3,
body.akj-overlay-frosted-light .akj-product-card.is-style-card-overlay h3,
body.akj-overlay-frosted-light .akj-product-card[style*="background-image"]:not(.akj-has-media) h3 {
	color: #14452F !important;
	text-shadow: none;
}

body.akj-overlay-frosted-light.akj-card-layout-text-overlay .akj-product-card p:not(.is-style-formula-tag):not(.akj-quick-quote),
body.akj-overlay-frosted-light .akj-product-card.is-style-card-overlay p:not(.is-style-formula-tag):not(.akj-quick-quote),
body.akj-overlay-frosted-light .akj-product-card[style*="background-image"]:not(.akj-has-media) p:not(.is-style-formula-tag):not(.akj-quick-quote) {
	color: #1A202C !important;
	text-shadow: none;
}

body.akj-overlay-frosted-light.akj-card-layout-text-overlay .akj-product-card .akj-quick-quote a,
body.akj-overlay-frosted-light .akj-product-card.is-style-card-overlay .akj-quick-quote a,
body.akj-overlay-frosted-light .akj-product-card[style*="background-image"]:not(.akj-has-media) .akj-quick-quote a {
	color: #14452F !important;
	text-shadow: none;
}

/* --------------------------------------------------------------------------
   Layout 3: Text Above, Image Below (Image Docked at Bottom)
   -------------------------------------------------------------------------- */
body.akj-card-layout-image-bottom .akj-product-card,
.akj-product-card.is-style-card-image-bottom {
	flex-direction: column;
	justify-content: space-between;
}

body.akj-card-layout-image-bottom .akj-product-card > .akj-product-body,
.akj-product-card.is-style-card-image-bottom > .akj-product-body {
	order: 1;
	flex: 1 1 auto;
}

body.akj-card-layout-image-bottom .akj-product-card > .akj-product-media,
.akj-product-card.is-style-card-image-bottom > .akj-product-media {
	order: 2;
	flex: 0 0 auto;
	aspect-ratio: 16 / 9;
	border-bottom: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-radius: 0 0 11px 11px;
}

/* --------------------------------------------------------------------------
   Layout 4: Text Beside Image (50/50 Horizontal Split)
   -------------------------------------------------------------------------- */
body.akj-card-layout-horizontal-split .akj-product-card,
.akj-product-card.is-style-card-horizontal {
	flex-direction: row;
	min-height: 290px;
}

body.akj-card-layout-horizontal-split .akj-product-card > .akj-product-media,
.akj-product-card.is-style-card-horizontal > .akj-product-media {
	flex: 0 0 46%;
	width: 46%;
	aspect-ratio: auto;
	height: auto;
	border-bottom: 0;
	border-right: 1px solid var(--wp--preset--color--border);
}

body.akj-card-layout-horizontal-split .akj-product-card > .akj-product-body,
.akj-product-card.is-style-card-horizontal > .akj-product-body {
	flex: 1 1 54%;
}

/* Carousel Controls: Prev/Next Arrows & Pagination Dots */
.akj-carousel-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.5rem;
}

.akj-carousel-arrows {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.akj-carousel-arrow {
	appearance: none;
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	border: 1.5px solid var(--wp--preset--color--border);
	background-color: rgba(255, 255, 255, 0.94);
	color: var(--wp--preset--color--forest);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(20, 69, 47, 0.12);
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.akj-carousel-arrow:hover:not(:disabled) {
	background-color: var(--wp--preset--color--forest);
	border-color: var(--wp--preset--color--gold);
	color: #FFFFFF;
	transform: translateY(-1px);
}

.akj-carousel-arrow:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.akj-carousel-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.4rem 0.75rem;
	border-radius: 9999px;
	background-color: rgba(11, 35, 24, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.akj-carousel-dot {
	appearance: none;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.42);
	cursor: pointer;
	transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}

.akj-carousel-dot.is-active {
	width: 26px;
	background-color: var(--wp--preset--color--gold-light);
}

.akj-quote-form.is-highlighted {
	box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.45), var(--wp--preset--shadow--elevated);
}

/* Keep every product card visible in a clean grid inside the Block Editor. */
body.wp-admin .akj-product-card.is-hidden,
body.block-editor-page .akj-product-card.is-hidden,
.editor-styles-wrapper .akj-product-card.is-hidden {
	display: flex !important;
}

body.wp-admin .akj-catalog-grid,
body.block-editor-page .akj-catalog-grid,
.editor-styles-wrapper .akj-catalog-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.akj-card-layout-horizontal-split.wp-admin .akj-catalog-grid,
body.akj-card-layout-horizontal-split .editor-styles-wrapper .akj-catalog-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

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

	.akj-catalog-grid.is-carousel {
		--akj-visible: 2;
	}

	body.akj-card-layout-horizontal-split .akj-catalog-grid.is-carousel {
		--akj-visible: 1;
	}
}

@media (max-width: 640px) {
	.akj-catalog-grid {
		grid-template-columns: 1fr;
	}

	.akj-catalog-grid.is-carousel {
		--akj-visible: 1;
	}

	.akj-catalog-header-scrim {
		padding: 1.35rem 1.25rem;
	}

	body.akj-card-layout-horizontal-split .akj-product-card,
	.akj-product-card.is-style-card-horizontal {
		flex-direction: column;
	}

	body.akj-card-layout-horizontal-split .akj-product-card > .akj-product-media,
	.akj-product-card.is-style-card-horizontal > .akj-product-media {
		flex: 0 0 auto;
		width: 100%;
		aspect-ratio: 16 / 9;
		border-right: 0;
		border-bottom: 1px solid var(--wp--preset--color--border);
	}
}

/* Industry icon tiles */
.akj-industry-icon {
	margin: 0 0 0.9rem !important;
}

.akj-industry-icon img {
	width: 52px;
	height: 52px;
	display: block;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.wp-block-details.is-style-akj-accordion {
	transition: border-color 200ms ease, box-shadow 200ms ease;
	margin-bottom: 0.85rem;
	box-shadow: var(--wp--preset--shadow--subtle);
}

.wp-block-details.is-style-akj-accordion:hover {
	border-color: var(--wp--preset--color--gold);
}

.wp-block-details.is-style-akj-accordion > summary {
	list-style: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--forest);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.wp-block-details.is-style-akj-accordion > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-akj-accordion > summary::after {
	content: "+";
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 500;
	background-color: var(--wp--preset--color--surface-alt);
	color: var(--wp--preset--color--forest);
	transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.wp-block-details.is-style-akj-accordion[open] > summary::after {
	transform: rotate(45deg);
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--contrast);
}

.wp-block-details.is-style-akj-accordion > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 4px;
	border-radius: 6px;
}

.wp-block-details.is-style-akj-accordion[open] > *:not(summary) {
	margin-top: 0.85rem;
	color: var(--wp--preset--color--contrast-muted);
}

/* --------------------------------------------------------------------------
   Bulk quote form (light)
   -------------------------------------------------------------------------- */
.akj-quote-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-top: 3px solid var(--wp--preset--color--gold);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--card);
	padding: 1.75rem;
}

.akj-quote-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.akj-quote-field--full {
	grid-column: 1 / -1;
}

.akj-quote-label {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--wp--preset--color--forest);
}

.akj-quote-input,
.akj-quote-select,
.akj-quote-textarea {
	width: 100%;
	padding: 0.75rem 0.95rem;
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--surface-tint);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--sm);
	transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.akj-quote-input:focus,
.akj-quote-select:focus,
.akj-quote-textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--gold);
	background-color: #FFFFFF;
	box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.16);
}

.akj-quote-submit {
	grid-column: 1 / -1;
	appearance: none;
	border: 0;
	border-radius: 9999px;
	padding: 0.9rem 1.5rem;
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--wp--preset--shadow--gold-glow);
	transition: background-color 180ms ease, transform 180ms ease;
}

.akj-quote-submit:hover {
	background-color: var(--wp--preset--color--gold-light);
	transform: translateY(-1px);
}

.akj-quote-status {
	grid-column: 1 / -1;
	display: none;
	padding: 0.8rem 1rem;
	border-radius: 12px;
	background-color: rgba(22, 128, 60, 0.08);
	border: 1px solid rgba(22, 128, 60, 0.3);
	color: var(--wp--preset--color--success);
	font-size: var(--wp--preset--font-size--xs);
}

.akj-quote-status.is-visible {
	display: block;
}

@media (max-width: 640px) {
	.akj-quote-form {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Footer & post cards
   -------------------------------------------------------------------------- */
.akj-footer a {
	color: var(--wp--preset--color--contrast-muted);
	text-decoration: none;
}

.akj-footer a:hover {
	color: var(--wp--preset--color--forest);
}

.akj-footer .wp-block-navigation-item__content {
	color: var(--wp--preset--color--contrast-muted);
}

.akj-post-card .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 12px;
}

.akj-post-card .wp-block-post-featured-image img {
	transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.akj-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   Fixes: top bar link spacing, hero photo circles beside the card
   -------------------------------------------------------------------------- */
.akj-topbar-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.akj-topbar-sep {
	color: var(--wp--preset--color--gold-light);
	opacity: 0.8;
	line-height: 1;
}

.akj-hero-photos {
	margin-top: 1.5rem;
	gap: 1rem;
}

.akj-hero-photos .akj-gold-circle {
	flex: 0 0 auto;
	width: 96px;
	margin: 0;
}

.akj-hero-photos .akj-gold-circle img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 9999px;
	border: 2px solid var(--wp--preset--color--gold);
	padding: 4px;
	background-color: var(--wp--preset--color--surface);
	box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.12), var(--wp--preset--shadow--card);
}

.akj-hero-photos p {
	margin: 0;
	max-width: 14rem;
}

@media (max-width: 781px) {
	.akj-hero-photos {
		flex-wrap: wrap;
	}
}

/* --------------------------------------------------------------------------
   Corporate Credentials & Metrics Strip: Smooth Hover Zoom Animation
   -------------------------------------------------------------------------- */
.akj-metrics-strip,
.akj-metrics-strip .wp-block-columns,
.wp-block-columns:has(.is-style-kpi-metric) {
	overflow: visible;
}

.akj-stat-card,
.wp-block-column:has(.is-style-kpi-metric) {
	position: relative;
	z-index: 1;
	transform: translate3d(0, 0, 0) scale(1);
	transform-origin: center center;
	transition:
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.akj-stat-card:hover,
.akj-stat-card:focus-within,
.wp-block-columns .wp-block-column.akj-stat-card.akj-will-animate.is-visible:hover,
.wp-block-columns .wp-block-column.akj-stat-card.akj-will-animate.is-visible:focus-within,
.wp-block-column:has(.is-style-kpi-metric):hover,
.wp-block-column:has(.is-style-kpi-metric):focus-within,
.wp-block-columns .wp-block-column:has(.is-style-kpi-metric).akj-will-animate.is-visible:hover,
.wp-block-columns .wp-block-column:has(.is-style-kpi-metric).akj-will-animate.is-visible:focus-within {
	z-index: 10;
	transform: translate3d(0, 0, 0) scale(1.045);
	transition-delay: 0ms !important;
	box-shadow:
		0 18px 40px -10px rgba(15, 46, 30, 0.18),
		0 8px 18px -6px rgba(197, 155, 39, 0.14);
}
