/* CORESPEX theme styles. Content/typography tokens live in theme.json; this file holds layout and effects only. */
:root {
	--cx-yellow: var(--wp--preset--color--yellow, #ffdb15);
	--cx-ink: var(--wp--preset--color--ink, #0b0b0a);
	--cx-graphite: var(--wp--preset--color--graphite, #1a1a18);
	--cx-charcoal: var(--wp--preset--color--charcoal, #252523);
	--cx-line: rgba(246, 246, 241, 0.14);
	--cx-header-h: 76px;
	--cx-display: var(--wp--preset--font-family--display, 'Barlow Condensed', sans-serif);
}
html { scroll-padding-top: calc(var(--cx-header-h) + var(--wp-admin--admin-bar--height, 0px) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 600px) { html { scroll-padding-top: calc(var(--cx-header-h) + 8px); } .admin-bar .cx-site-header { top: 0; } }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--cx-yellow); outline-offset: 3px; }

.cx-skip {
	position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--cx-yellow); color: var(--cx-ink);
	padding: 0.75rem 1.25rem; font-weight: 700; text-decoration: none; transition: top 0.15s;
}
.cx-skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.cx-site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; background: none;
	border-bottom: 1px solid var(--cx-line);
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the containing block of the
   position:fixed mobile menu overlay, so the open menu would be clipped to the header once the page is scrolled. */
.cx-site-header::before {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(11, 11, 10, 0.92);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.3s;
}
.cx-site-header.is-scrolled::before { background: rgba(11, 11, 10, 0.97); }
.cx-header-bar { padding: 0.85rem clamp(1.25rem, 4vw, 3rem); gap: 1.5rem; max-width: 100%; min-height: var(--cx-header-h); box-sizing: border-box; }
.cx-logo { margin: 0; flex: 0 0 auto; }
.cx-logo img { display: block; height: auto; max-width: 100%; }
.cx-header-bar .cx-logo img { width: clamp(132px, 14vw, 176px) !important; }
.cx-nav { font-family: var(--cx-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cx-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--white); text-decoration: none; padding: 0.4rem 0; position: relative; }
.cx-nav .wp-block-navigation-item__content::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cx-yellow);
	transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.cx-nav .wp-block-navigation-item__content:hover::after,
.cx-nav .wp-block-navigation-item__content:focus-visible::after,
.cx-nav a[aria-current='location']::after { transform: scaleX(1); }
.cx-header-cta { margin: 0; }
.cx-header-cta .wp-block-button__link { padding: 0.55rem 1.1rem; font-size: 1rem; }
.wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--white); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--cx-ink) !important; color: var(--wp--preset--color--white) !important; position: fixed; inset: 0; z-index: 100000; overflow-y: auto; overscroll-behavior: contain; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.75rem; }
/* Use the burger menu below 1000px (core default is 600px). */
@media (min-width: 600px) and (max-width: 999px) {
	.cx-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.cx-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
@media (max-width: 599px) { .cx-header-bar .cx-header-cta { display: none !important; } .cx-header-bar { gap: 0.75rem; } }
@media (max-width: 999px) { .cx-nav { margin-left: auto; } }

/* ---------- Sections ---------- */
.cx-main { margin: 0; }
.cx-section { padding: var(--wp--preset--spacing--60) clamp(1.25rem, 4vw, 3rem); position: relative; margin-block: 0 !important; box-sizing: border-box; }
.cx-section + .cx-section { border-top: 1px solid var(--cx-line); }
.cx-section :where(h2) { margin-block: 0.5rem 1.5rem; }
.cx-about, .cx-why { background: var(--cx-graphite); }
.cx-eyebrow, .cx-label {
	font-family: var(--cx-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--cx-yellow) !important; margin: 0 0 0.75rem;
}
.cx-eyebrow::before { content: ''; display: inline-block; width: 2.25rem; height: 2px; background: var(--cx-yellow); vertical-align: middle; margin-right: 0.85rem; }
.cx-lead { font-size: var(--wp--preset--font-size--lead); color: var(--wp--preset--color--white) !important; max-width: 40rem; }

/* Buttons */
.wp-block-button__link { transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--white); color: var(--cx-ink); transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--white); border: 2px solid rgba(246, 246, 241, 0.45); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--cx-yellow); color: var(--cx-yellow); transform: translateY(-2px); }
.wp-block-buttons { gap: 1rem; }

/* ---------- Hero ---------- */
.cx-hero {
	display: flex; flex-direction: column; justify-content: center;
	padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); overflow: hidden;
	background:
		radial-gradient(60% 70% at 78% 40%, rgba(255, 219, 21, 0.13), transparent 70%),
		linear-gradient(rgba(246, 246, 241, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
		linear-gradient(90deg, rgba(246, 246, 241, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
		var(--cx-ink);
}
.cx-hero > .cx-hero-cols { width: 100%; max-width: 1380px; margin-inline: auto; gap: clamp(1.5rem, 4vw, 4rem); }
.cx-hero h1 { margin: 0 0 1rem; font-size: clamp(2.75rem, 0.8rem + 4.9vw, 6.25rem); }
.cx-hero-sub { font-size: clamp(1.25rem, 1rem + 1vw, 2rem) !important; font-weight: 600 !important; line-height: 1.1 !important; color: var(--wp--preset--color--steel-light) !important; max-width: 36rem; margin: 0 0 1.5rem !important; }
.cx-hero .wp-block-buttons { margin-top: 2rem; }
.cx-hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; }
.cx-hero-stage::before { content: ''; position: absolute; inset: 6%; border: 1px solid rgba(255, 219, 21, 0.4); border-radius: 50%; }
.cx-hero-stage::after { content: ''; position: absolute; inset: 18%; border: 1px dashed var(--cx-line); border-radius: 50%; }
.cx-stage-img { position: absolute; margin: 0 !important; z-index: 1; }
.cx-stage-img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55)); }
.cx-stage-1 { width: 92%; left: 4%; top: -2%; transform: rotate(14deg); }
.cx-stage-2 { width: 54%; right: -4%; bottom: 2%; z-index: 2; }
.cx-stage-3 { width: 80%; left: -12%; bottom: -8%; transform: rotate(-18deg); z-index: 0; opacity: 0.95; }
@media (prefers-reduced-motion: no-preference) {
	.cx-stage-img img { animation: cx-float 8s ease-in-out infinite; }
	.cx-stage-2 img { animation-duration: 10s; animation-delay: -3s; }
	.cx-stage-3 img { animation-duration: 9s; animation-delay: -5s; }
}
@keyframes cx-float { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
.cx-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); margin: 0; font-family: var(--cx-display); letter-spacing: 0.25em; text-transform: uppercase; font-size: 0.875rem; text-align: center; }
.cx-scroll a { color: var(--wp--preset--color--steel-light); text-decoration: none; display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem; }
.cx-scroll a::after { content: ''; width: 2px; height: 2.25rem; background: linear-gradient(var(--cx-yellow), transparent); display: block; }
@media (prefers-reduced-motion: no-preference) { .cx-scroll a::after { animation: cx-drop 1.8s ease-in-out infinite; transform-origin: top; } }
@keyframes cx-drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 782px) { .cx-hero { min-height: clamp(520px, calc(100svh - var(--cx-header-h) - var(--wp-admin--admin-bar--height, 0px)), 800px); padding-bottom: clamp(4rem, 7vw, 5.5rem); } }
@media (max-width: 781px) { .cx-hero { min-height: 0; } .cx-hero-stage { max-width: 340px; aspect-ratio: 5 / 4; } .cx-scroll { display: none; } .cx-hero h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); } }
/* Desktop only (>=1100px): restores the pre-c112a2b hero proportions (full viewport height minus header, original padding).
   Phones (<=781px) and tablets (782-1099px) keep the rules above untouched. */
@media (min-width: 1100px) { .cx-hero { min-height: calc(100svh - var(--cx-header-h)); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); } }

/* ---------- About ---------- */
.cx-about-cols { gap: clamp(2rem, 5vw, 5rem); }
.cx-pillars { gap: 1rem !important; margin-top: 2rem; }
.cx-pillar { border-top: 2px solid var(--cx-yellow); padding-top: 0.9rem; }
.cx-pillar p { margin: 0; }
.cx-pillar-num { font-family: var(--cx-display); font-weight: 800; font-size: 1.5rem; color: var(--cx-yellow) !important; }
.cx-pillar-title { font-family: var(--cx-display); font-weight: 700; font-size: 1.375rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp--preset--color--white) !important; line-height: 1.1; }
.cx-frame { position: relative; border: 1px solid var(--cx-line); background: radial-gradient(90% 90% at 50% 40%, #33332f 0%, #141413 80%); padding: clamp(1rem, 3vw, 2.5rem); overflow: hidden; }
.cx-frame::before, .cx-frame::after { content: ''; position: absolute; width: 38px; height: 38px; border: 3px solid var(--cx-yellow); pointer-events: none; }
.cx-frame::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.cx-frame::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.cx-frame figure { margin: 0; }
.cx-frame img { display: block; width: 100%; transition: transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.cx-frame:hover img { transform: scale(1.05) rotate(-1.5deg); }

/* ---------- Products ---------- */
.cx-products { background: var(--cx-ink); }
.cx-product { gap: clamp(2rem, 5vw, 5rem); margin-block: clamp(3rem, 6vw, 6rem) 2rem !important; align-items: center; }
.cx-product h3 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); margin: 0 0 1.25rem; }
.cx-spec { margin: 1.75rem 0 !important; }
.cx-spec table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--cx-yellow); }
.cx-spec th { text-align: left; font-family: var(--cx-display); font-size: 0.9375rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--steel); padding: 0.7rem 0.75rem 0.7rem 0; border: 0; border-bottom: 1px solid var(--cx-line); font-weight: 600; }
.cx-spec td { padding: 0.8rem 0.75rem 0.8rem 0; border: 0; border-bottom: 1px solid var(--cx-line); vertical-align: top; }
.cx-spec td:first-child { color: var(--wp--preset--color--steel); width: 48%; }
.cx-spec td:last-child { color: var(--wp--preset--color--white); font-weight: 600; }
.cx-spec tbody tr { transition: background 0.2s; }
.cx-spec tbody tr:hover { background: rgba(255, 219, 21, 0.07); }
.cx-showcase { position: relative; aspect-ratio: 1 / 1; width: 100%; background: radial-gradient(70% 60% at 50% 45%, #34342f 0%, #121211 78%); border: 1px solid var(--cx-line); overflow: hidden; }
.cx-showcase::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(246, 246, 241, 0.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(246, 246, 241, 0.05) 1px, transparent 1px) 0 0 / 40px 40px; }
.cx-showcase figure { position: absolute; margin: 0 !important; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.cx-showcase img { display: block; width: 100%; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.6)); }
/* Calm composition: one dominant photograph plus one smaller, structurally different one. */
.cx-showcase .cx-show-a { width: 74%; left: 4%; top: 2%; }
.cx-showcase .cx-show-b { width: 44%; right: 3%; bottom: 3%; z-index: 2; }
.cx-showcase--pins .cx-show-a { transform: rotate(-6deg); }
.cx-showcase--pins .cx-show-b { transform: rotate(8deg); }
.cx-showcase:hover .cx-show-a { transform: translate(-1%, -1%) scale(1.02); }
.cx-showcase:hover .cx-show-b { transform: translate(1%, 1%) scale(1.03); }
@media (max-width: 781px) {
	/* Stacked columns: normal flow, so photographs can never overlap each other or the gallery that follows. */
	.cx-showcase { aspect-ratio: auto; display: grid; grid-template-columns: 3fr 2fr; gap: 0.75rem; align-items: center; padding: 1rem; }
	.cx-showcase figure, .cx-showcase .cx-show-a, .cx-showcase .cx-show-b { position: relative; inset: auto; width: auto; transform: none !important; }
	.cx-showcase img { max-height: 320px; width: 100%; object-fit: contain; }
}
.cx-range { margin-block: 1rem 3rem; padding-top: 2rem; border-top: 1px solid var(--cx-line); }
.cx-range-title { font-size: 1.5rem !important; letter-spacing: 0.12em !important; color: var(--wp--preset--color--steel-light) !important; margin: 1.5rem 0 1rem !important; }
.cx-note { font-size: 0.9375rem; color: var(--wp--preset--color--steel) !important; max-width: 46rem; }
.cx-tiles { gap: 1rem !important; margin-block: 1rem 2rem; }
.cx-tile { margin: 0 !important; aspect-ratio: 1 / 1; background: radial-gradient(75% 65% at 50% 45%, #2e2e2b 0%, #121211 85%); border: 1px solid var(--cx-line); overflow: hidden; transition: border-color 0.25s, transform 0.25s; }
.cx-tile img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 4%; box-sizing: border-box; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.cx-tile:hover { border-color: var(--cx-yellow); }
.cx-tile:hover img { transform: scale(1.07); }
.cx-tile .lightbox-trigger { background: rgba(11, 11, 10, 0.75); }
@media (max-width: 781px) { .cx-product--bushings { flex-direction: column-reverse; } .cx-range { scroll-margin-top: 1rem; } }
.cx-product, .cx-range, .cx-families-wrap { scroll-margin-top: 0.5rem; }

/* ---------- Engineering ---------- */
.cx-engineering { background: var(--cx-ink); }
.cx-timeline { position: relative; margin-top: 2rem; }
.cx-step { gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--cx-line); margin: 0 !important; }
.cx-step-num { font-family: var(--cx-display); font-weight: 800; font-size: clamp(4rem, 3rem + 5vw, 7rem); line-height: 0.9; color: transparent !important; -webkit-text-stroke: 2px var(--cx-yellow); margin: 0 0 0.5rem; }
.cx-step h3 { margin: 0 0 1rem; }
.cx-step .cx-frame { padding: clamp(0.5rem, 2vw, 1.5rem); }
.cx-step .cx-frame img { max-height: 340px; object-fit: contain; }

/* ---------- Why ---------- */
.cx-cards { gap: 1.25rem !important; margin-top: 2.5rem; }
.cx-card { background: var(--cx-charcoal); border: 1px solid var(--cx-line); padding: 2rem 1.75rem; transition: transform 0.3s, border-color 0.3s, background 0.3s; position: relative; overflow: hidden; }
.cx-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--cx-yellow); transform: scaleX(0.18); transform-origin: left; transition: transform 0.4s; }
.cx-card:hover { transform: translateY(-4px); border-color: rgba(255, 219, 21, 0.6); background: #2b2b28; }
.cx-card:hover::before { transform: scaleX(1); }
.cx-card-num { font-family: var(--cx-display); font-weight: 800; font-size: 2.75rem; line-height: 1; margin: 0 0 1.5rem; color: var(--cx-yellow) !important; }
.cx-card h3 { margin: 0 0 0.75rem; font-size: 1.75rem; }
.cx-card p:last-child { margin: 0; }
@media (min-width: 1000px) {
	.wp-block-group.cx-cards.is-layout-grid { grid-template-columns: repeat(6, 1fr); }
	.cx-cards > .cx-card { grid-column: span 2; }
	.cx-cards > .cx-card:nth-child(n+4) { grid-column: span 3; }
}

/* ---------- Applications ---------- */
.cx-applications { background: var(--cx-graphite); }
.cx-apps { gap: 1.25rem !important; margin-top: 2.5rem; }
@media (min-width: 900px) { .wp-block-group.cx-apps.is-layout-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .wp-block-group.cx-apps.is-layout-grid { grid-template-columns: 1fr; } .cx-app { min-height: 420px !important; } }
.cx-app { background: radial-gradient(80% 60% at 50% 35%, #3a3a35 0%, #121211 80%); border: 1px solid var(--cx-line); overflow: hidden; margin: 0 !important; }
.cx-app::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(11, 11, 10, 0.92) 100%); pointer-events: none; }
.cx-app .wp-block-cover__image-background { transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.cx-app:hover .wp-block-cover__image-background { transform: scale(1.06); }
.cx-app .wp-block-cover__inner-container { padding: 0.5rem 0.75rem 1rem; z-index: 2; }
.cx-app h3 { margin: 0 0 0.5rem; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); }
.cx-app p { color: var(--wp--preset--color--white) !important; margin: 0; }

/* ---------- Statement ---------- */
.cx-statement { background: var(--cx-yellow); overflow: hidden; padding-block: var(--wp--preset--spacing--70); }
.cx-statement :is(h2, p) { color: var(--cx-ink) !important; }
.cx-statement-title { font-size: var(--wp--preset--font-size--statement) !important; line-height: 0.9 !important; margin: 0 0 2rem !important; }
.cx-statement-sub { font-family: var(--cx-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); letter-spacing: 0.06em; margin: 0 0 0.5rem; }
.cx-statement-tag { font-size: var(--wp--preset--font-size--lead); font-weight: 500; margin: 0; }
.cx-statement::before { content: ''; position: absolute; left: 0; top: 0; height: 6px; width: 100%; background: repeating-linear-gradient(90deg, var(--cx-ink) 0 40px, transparent 40px 80px); }
@media (prefers-reduced-motion: no-preference) { .cx-statement::before { animation: cx-slide 6s linear infinite; background-size: 80px 6px; } }
@keyframes cx-slide { to { background-position: 80px 0; } }
.cx-statement + .cx-section { border-top: 0; }

/* ---------- Contact ---------- */
.cx-contact { background: var(--cx-ink); }
.cx-contact .wp-block-columns { gap: clamp(2rem, 5vw, 5rem); }
.cx-mailcard { border: 1px solid var(--cx-line); border-left: 4px solid var(--cx-yellow); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--cx-charcoal); }
.cx-mailcard p { margin: 0; }
.cx-mail { font-family: var(--cx-display); font-weight: 700; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); line-height: 1.1; overflow-wrap: anywhere; }
.cx-mail a { color: var(--wp--preset--color--white); text-decoration: none; background: linear-gradient(var(--cx-yellow), var(--cx-yellow)) 0 100% / 100% 3px no-repeat; transition: background-size 0.25s, color 0.25s; }
.cx-mail a:hover, .cx-mail a:focus-visible { color: var(--cx-yellow); }

/* ---------- Footer ---------- */
.cx-footer-bar { background: var(--cx-graphite); border-top: 1px solid var(--cx-line); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) 2rem; }
.cx-footer-bar .wp-block-columns { gap: 2rem; }
.cx-footer-list { list-style: none; padding: 0; margin: 0; }
.cx-footer-list li { margin: 0 0 0.4rem; }
.cx-footer-list a, .cx-footer-bar a { color: var(--wp--preset--color--steel-light); text-decoration: none; }
.cx-footer-list a:hover, .cx-footer-bar a:hover { color: var(--cx-yellow); }
.cx-footer-note { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--cx-line); font-size: 0.875rem; color: var(--wp--preset--color--steel) !important; font-family: var(--cx-display); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Generic pages ---------- */
.cx-page { padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3rem); }

/* ---------- Reveal on scroll ---------- */
.cx-js-reveal .cx-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.cx-js-reveal .cx-reveal.is-visible { opacity: 1; transform: none; }
.cx-js-reveal .cx-reveal:nth-child(2) { transition-delay: 0.06s; }
.cx-js-reveal .cx-reveal:nth-child(3) { transition-delay: 0.12s; }
.cx-js-reveal .cx-reveal:nth-child(4) { transition-delay: 0.18s; }

/* ---------- Editor ---------- */
.editor-styles-wrapper .cx-hero { min-height: 0; }
.editor-styles-wrapper .cx-scroll { position: static; transform: none; }

@media (max-width: 599px) { .wp-block-group.cx-tiles.is-layout-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem !important; } }

/* Wide-width eyebrow/footer note: plain paragraphs (core paragraph has no "wide" alignment, SER-397), same width as .alignwide. */
.cx-section > .cx-eyebrow, .cx-footer-bar > .cx-footer-note { max-width: 1380px; margin-left: auto; margin-right: auto; }


/* Bushing material families and process routes */
.cx-families { gap: 1rem; margin: 1.25rem 0; }
.cx-family { border: 1px solid var(--cx-line); border-top: 2px solid var(--cx-yellow); padding: 1.1rem 1.2rem 1.25rem; background: rgba(246, 246, 241, 0.03); }
.cx-family h4 { margin: 0 0 0.5rem; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cx-family p { margin: 0; font-size: 0.9375rem; }
.cx-routes-title { margin-top: 4rem; }
/* Desktop only (>=1100px): balanced two-product stage instead of one oversized photograph overlapping a small one. */
@media (min-width: 1100px) {
	.cx-showcase { aspect-ratio: 6 / 5; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2.5rem); align-items: center; justify-items: center; padding: clamp(1.5rem, 3.2vw, 3rem); background: radial-gradient(60% 55% at 50% 48%, rgba(246, 246, 241, 0.13) 0%, rgba(246, 246, 241, 0) 70%), radial-gradient(55% 45% at 50% 110%, rgba(255, 219, 21, 0.16) 0%, rgba(255, 219, 21, 0) 70%), linear-gradient(160deg, #26261f 0%, #121211 70%); }
	.cx-showcase::before { inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--cx-yellow) 0 28%, transparent 28%); }
	.cx-showcase figure, .cx-showcase .cx-show-a, .cx-showcase .cx-show-b { position: relative; inset: auto; width: 100%; max-width: 100%; transform: none; z-index: 1; display: flex; align-items: center; justify-content: center; }
	.cx-showcase img { width: auto; max-width: 100%; height: auto; max-height: min(100%, clamp(220px, 24vw, 360px)); object-fit: contain; }
	.cx-showcase:hover .cx-show-a, .cx-showcase:hover .cx-show-b { transform: translateY(-1.5%); }
}
