/* Meitar Oceania "Future" design (December 2026): the hand-written layer.
   Loads after site-future.css (the original styles with dark colours, generated by
   tools/build-future-css.mjs), wordpress.css and readability.css. Only loaded when
   Appearance -> Customize -> Site design is "Future".

   1  Tokens            7  Product photo displays
   2  Page              8  Cards and panels
   3  Header and menus  9  Heroes and call-to-action bands
   4  Labels            10 Forms
   5  Headings          11 Footer, toast, articles
   6  Buttons, links    12 Motion (scroll reveal, pointer glow; off for reduced motion) */

/* ------------------------------------------------------------------ 1 Tokens */
:root {
	color-scheme: dark;
	--fx-void: #03060b;
	--fx-base: #060b14;
	--fx-surface: #0f1a28;
	--fx-raised: #142236;
	--fx-line: rgba(122, 176, 255, .14);
	--fx-line-strong: rgba(110, 200, 255, .38);
	--fx-text: #eef4fb;
	--fx-muted: #a7b8cb;
	--fx-cyan: #5ae4ff;
	--fx-blue: #3d9bff;
	--fx-violet: #7d74ff;
	--fx-grad: linear-gradient(115deg, #66e8ff 0%, #3fa2ff 52%, #7b7dff 100%);
	--fx-grad-text: linear-gradient(100deg, #ffffff 0%, #d4f1ff 40%, #7fdcff 75%, #8d9bff 100%);
	--fx-glow: 0 0 0 1px rgba(102, 232, 255, .28), 0 10px 34px -10px rgba(63, 162, 255, .75);
	--fx-glow-strong: 0 0 0 1px rgba(102, 232, 255, .5), 0 14px 44px -8px rgba(63, 162, 255, .9);
	--fx-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
	--fx-ease: cubic-bezier(.22, .8, .24, 1);
	--fx-grid: linear-gradient(rgba(120, 180, 255, .055) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(120, 180, 255, .055) 1px, transparent 1px) 0 0 / 56px 56px;
	--fx-band: radial-gradient(55% 75% at 88% 0%, rgba(63, 162, 255, .24), transparent 62%),
		radial-gradient(45% 65% at 0% 100%, rgba(102, 232, 255, .13), transparent 62%),
		linear-gradient(rgba(120, 180, 255, .05) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(120, 180, 255, .05) 1px, transparent 1px) 0 0 / 56px 56px,
		var(--fx-base);
}

/* ------------------------------------------------------------------ 2 Page */
html {
	background: var(--fx-base);
	scroll-padding-top: 112px;
	scrollbar-color: #2a3c55 var(--fx-void);
}
body {
	background: var(--fx-base);
	color: var(--fx-text);
}
::selection {
	background: rgba(63, 162, 255, .85);
	color: #fff;
}
:focus-visible {
	outline: 2px solid var(--fx-cyan);
	outline-offset: 3px;
}
.skip-link:focus {
	background: var(--fx-cyan);
	color: #03101d;
}

/* ------------------------------------------------------------------ 3 Header and menus */
.region-bar {
	background: var(--fx-void);
	border-bottom: 1px solid var(--fx-line);
	color: #8ea6bf;
}
@media (min-width: 900px) {
	.region-bar {
		font-family: var(--fx-mono);
		letter-spacing: .06em;
	}
}
.region-bar svg {
	color: var(--fx-cyan);
}
.site-header {
	position: sticky;
	top: 0;
	background: rgba(6, 11, 20, .74);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	border-bottom: 1px solid var(--fx-line);
}
.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent 5%, rgba(102, 232, 255, .75) 35%, rgba(123, 125, 255, .65) 65%, transparent 95%);
	pointer-events: none;
}
body.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* Header and footer use the light logo (meitar-oceania-logo-light, see mo_brand()). A logo placed
   inside page content still points at the navy-on-white file: invert it, turn it back to blue and
   screen it onto the dark panel behind it. */
main .brand-corporate .brand-logo {
	filter: invert(1) hue-rotate(180deg) brightness(1.12) saturate(1.35);
	mix-blend-mode: screen;
}
.r-corporate-footer .brand.brand-corporate,
.mf-meitar-brand .brand.brand-corporate {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.site-header .nav > a,
.site-header .nav-menu-heading > a {
	color: #b8c8da;
	transition: color .2s;
}
.site-header .nav > a:hover,
.site-header .nav-menu-heading > a:hover,
.site-header .nav a.active {
	color: #fff;
}
.site-header .nav a::after {
	background: var(--fx-grad);
	box-shadow: 0 0 10px rgba(102, 232, 255, .8);
}
.site-header .nav-menu-toggle {
	color: #8ea6bf;
}
.site-header .nav-submenu {
	background: rgba(9, 16, 28, .96);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid var(--fx-line);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(102, 232, 255, .06);
}
.site-header .nav-submenu > a {
	color: #c2d1e1;
}
.site-header .nav-submenu > a:hover {
	color: #fff;
	background: rgba(102, 232, 255, .08);
}
.site-header .nav.open {
	background: rgba(6, 11, 20, .97);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--fx-line);
}
.site-header .icon-button {
	color: #cfe0f1;
	border-radius: 10px;
	transition: background .2s, color .2s;
}
.site-header .icon-button:hover {
	color: #fff;
	background: rgba(102, 232, 255, .08);
}
.site-header .basket-count {
	background: var(--fx-cyan);
	color: #03101d;
	box-shadow: 0 0 10px rgba(102, 232, 255, .8);
}
:is(.nav-coming-badge, .r-coming-badge, .mfg-coming-badge, .footer-coming-badge, .mf-badge) {
	font-family: var(--fx-mono);
	color: var(--fx-cyan);
	background: rgba(102, 232, 255, .07);
	border-color: rgba(102, 232, 255, .4);
	border-radius: 4px;
	letter-spacing: .08em;
}

/* ------------------------------------------------------------------ 4 Labels */
:is(.eyebrow, .section-label, .o-kicker, .mf-next-kicker) {
	font-family: var(--fx-mono);
	font-weight: 500;
	letter-spacing: .14em;
	color: #79dcff;
}
:is(.status-dot, .o-kicker > span) {
	background: var(--fx-cyan);
	box-shadow: 0 0 0 3px rgba(102, 232, 255, .14), 0 0 12px rgba(102, 232, 255, .9);
}

.mf-partner-tag {
	color: #9cc6e6;
}

/* ------------------------------------------------------------------ 5 Headings */
main :is(h1, h2, h3) {
	letter-spacing: -.02em;
}
main h2 {
	color: #f1f7fd;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	main h1 {
		background: var(--fx-grad-text);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: transparent;
		padding-bottom: .06em; /* room for descenders inside the clipped background */
	}
	main h1 > span {
		-webkit-text-fill-color: transparent;
	}
}

/* ------------------------------------------------------------------ 6 Buttons and links */
.button {
	border-radius: 8px;
	transition: transform .25s var(--fx-ease), box-shadow .25s var(--fx-ease), background-color .25s, border-color .25s, color .25s, filter .25s;
}

/* Filled buttons: the bright gradient with dark text (contrast above 8:1). */
:is(.button-dark, .button-lime, .o-button-white, .mf-button-white, .technical-button,
	.industry-refinement-cta .button, .bov-focus-strip .button, .bov-final-cta .button, .service-refinement-cta .technical-button, .header-cta) {
	background: var(--fx-grad);
	background-size: 140% 100%;
	background-position: 0 0;
	color: #03101d;
	border-color: transparent;
	box-shadow: var(--fx-glow);
	font-weight: 700;
}
:is(.button-dark, .button-lime, .o-button-white, .mf-button-white, .technical-button,
	.industry-refinement-cta .button, .bov-focus-strip .button, .bov-final-cta .button, .service-refinement-cta .technical-button, .header-cta):hover {
	background: var(--fx-grad);
	background-size: 140% 100%;
	background-position: 100% 0;
	color: #03101d;
	box-shadow: var(--fx-glow-strong);
	transform: translateY(-2px);
}

/* Outline buttons: glass with a bright edge. */
:is(.button-outline, .o-button-glass, .mf-button-outline) {
	background: rgba(120, 180, 255, .06);
	border-color: var(--fx-line-strong);
	color: var(--fx-text);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
:is(.button-outline, .o-button-glass, .mf-button-outline):hover {
	background: rgba(102, 232, 255, .1);
	border-color: var(--fx-cyan);
	color: #fff;
	box-shadow: 0 0 24px -6px rgba(102, 232, 255, .6);
	transform: translateY(-2px);
}
.button:active {
	transform: translateY(0);
}

.text-link {
	transition: color .2s, gap .25s var(--fx-ease);
}
.text-link:hover {
	color: #fff;
}
.text-link svg {
	transition: transform .25s var(--fx-ease);
}
.text-link:hover svg {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ 7 Product photo displays
   The machine photos are cut-outs on white, blended into their background (multiply). Their
   wells get a lit, light "display" surface so the machines read clearly on the dark page. */
:is(.c-equipment-image, .r-category-image, .collection-img, .product-image-link, .gallery-main,
	.equipment-detail .gallery-main, .basket-image,
	.product-profile .premium-equipment-gallery .gallery-main) {
	background: radial-gradient(120% 90% at 50% 12%, #fbfdff 0%, #e7eef5 52%, #cbd8e4 100%);
	box-shadow: inset 0 -1px 0 rgba(102, 232, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .5);
}

/* Labels on the photo displays: a small dark HUD chip, readable on light and photo wells. */
:is(.c-equipment-image > span, .r-category-index, .product-image-link > .product-category) {
	font-family: var(--fx-mono);
	color: #9fe9ff;
	background: rgba(4, 9, 17, .78);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(102, 232, 255, .25);
	border-radius: 4px;
	padding: 5px 8px;
}

/* ------------------------------------------------------------------ 8 Cards and panels */
.c-equipment-grid > article {
	border: 1px solid var(--fx-line);
	border-bottom: 2px solid rgba(102, 232, 255, .35);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .35s var(--fx-ease), box-shadow .35s var(--fx-ease), border-color .35s;
}
@media (hover: hover) {
	.c-equipment-grid > article:hover {
		transform: translateY(-4px);
		border-color: rgba(102, 232, 255, .45);
		box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 44px -14px rgba(63, 162, 255, .45);
	}
}
/* The industries grid is drawn with shared lines; keep its square cells and light them on hover. */
.c-industry-card {
	border-radius: 0;
}
.c-industry-card > svg:first-child {
	color: var(--fx-cyan);
	filter: drop-shadow(0 0 8px rgba(102, 232, 255, .45));
}
@media (hover: hover) {
	.c-industry-card:hover {
		transform: none;
		background-color: rgba(102, 232, 255, .05);
		box-shadow: inset 0 0 0 1px rgba(102, 232, 255, .35);
	}
}
:is(.product-card, .home-insight-card, .industry-refinement-card, .bov-benefit-card,
	.insight-card, .product-profile-reference-card) {
	border-color: var(--fx-line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .35s var(--fx-ease), box-shadow .35s var(--fx-ease), border-color .35s;
}
@media (hover: hover) {
	:is(.product-card, .home-insight-card, .industry-refinement-card, .insight-card):hover {
		transform: translateY(-4px);
		border-color: rgba(102, 232, 255, .45);
		box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(102, 232, 255, .2), 0 0 44px -14px rgba(63, 162, 255, .45);
	}
}

/* ------------------------------------------------------------------ 9 Heroes and call-to-action bands */

/* Home: the factory photo, cooled and darkened, behind a HUD-style grid. */
.o-hero,
.c-industrial-hero {
	background: var(--fx-void);
}
.o-hero-art {
	filter: saturate(.55) brightness(.75) contrast(1.12) hue-rotate(-8deg);
}
.c-industrial-hero .o-hero-shade,
.o-hero-shade {
	background:
		linear-gradient(90deg, rgba(3, 6, 11, .96) 0%, rgba(3, 6, 11, .86) 32%, rgba(4, 10, 20, .5) 62%, rgba(6, 14, 28, .2) 100%),
		radial-gradient(60% 70% at 80% 30%, rgba(63, 162, 255, .22), transparent 70%);
}
.o-hero-shade::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--fx-grid);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
	opacity: .9;
}
.o-hero-foot {
	border-top-color: var(--fx-line);
}
.o-hero-foot > span {
	font-family: var(--fx-mono);
}

/* Section heroes on the inner pages and the closing bands: deep base, two soft glows, grid. */
:is(.r-equipment-hero, .technical-hero, .industry-refinement-hero, .about-refinement-hero, .mf-hero,
	.premium-profile-band, .page-intro, .insights-intro,
	.c-final-cta, .project-cta, .industry-refinement-cta, .bov-final-cta, .service-refinement-cta) {
	background: var(--fx-band);
	border-color: var(--fx-line);
}
.services-hero,
:is(.o-regional, .mf-strategy, .catalogue-page .equipment-intro, .equipment-detail .equipment-technical-intro,
	.about-refinement-closing, .local-support-closing) {
	background: var(--fx-band);
	border-color: var(--fx-line);
}

/* Brand-blue strips and highlight cards: a deep blue-to-violet gradient with a fine grid. */
:is(.corporate-home .bov-focus-strip, .technical-compare-grid .compare-bov-card) {
	background:
		linear-gradient(rgba(160, 210, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(160, 210, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(110deg, #08214a 0%, #0f3d8f 48%, #2b2f8f 100%);
	border-color: rgba(102, 232, 255, .3);
}
.r-equipment-hero,
.premium-profile-band,
.page-intro {
	border-bottom: 1px solid var(--fx-line);
}

/* ------------------------------------------------------------------ 10 Forms */
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]), select, textarea) {
	background-color: #0a1420;
	border-color: rgba(130, 180, 255, .24);
	color: var(--fx-text);
	border-radius: 8px;
	transition: border-color .2s, box-shadow .2s;
}
:is(input, select, textarea)::placeholder {
	color: #7f93a8;
}
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea):focus {
	border-color: var(--fx-cyan);
	box-shadow: 0 0 0 3px rgba(102, 232, 255, .18);
	outline: none;
}
input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--fx-blue);
}

/* ------------------------------------------------------------------ 11 Footer, toast, articles */
.site-footer {
	background: var(--fx-band);
	border-top: 1px solid var(--fx-line);
	position: relative;
}
.site-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent 5%, rgba(102, 232, 255, .7) 40%, rgba(123, 125, 255, .6) 60%, transparent 95%);
}

.mo-toast {
	background: var(--fx-raised);
	color: var(--fx-text);
	border-color: var(--fx-line-strong);
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 30px -10px rgba(63, 162, 255, .5);
}
.mo-toast span {
	color: var(--fx-muted);
}
.mo-toast svg {
	color: #4ce39a;
}

.insight-article-body .mo-article-content :is(ul, ol) {
	color: var(--fx-muted);
}
.insight-article-body .mo-article-content li strong {
	color: var(--fx-text);
}
.insight-article-body .mo-article-content a {
	color: #7fd0ff;
}

/* ------------------------------------------------------------------ 12 Motion
   site.js adds .fx-reveal to section content as it comes into view (only when the visitor has not
   asked for reduced motion), and sets --fx-x / --fx-y on cards under the pointer. */
@media (prefers-reduced-motion: no-preference) {
	.fx-reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity .8s var(--fx-ease), transform .8s var(--fx-ease);
		transition-delay: var(--fx-delay, 0s);
	}
	.fx-reveal.fx-in {
		opacity: 1;
		transform: none;
	}
	:is(.status-dot, .o-kicker > span) {
		animation: fx-pulse 2.6s ease-in-out infinite;
	}
	.site-header::after {
		background-size: 200% 100%;
		animation: fx-sweep 9s linear infinite;
	}
}
@keyframes fx-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(102, 232, 255, .14), 0 0 12px rgba(102, 232, 255, .9); }
	50% { box-shadow: 0 0 0 6px rgba(102, 232, 255, .04), 0 0 18px rgba(102, 232, 255, 1); }
}
@keyframes fx-sweep {
	from { background-position: 0 0; }
	to { background-position: 200% 0; }
}

@media print {
	.fx-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Pointer glow on cards (desktop pointers only). The cards' own rules reset background-image, so
   this one needs !important; their background colour stays underneath. */
@media (hover: hover) and (pointer: fine) {
	.fx-glow {
		background-image: radial-gradient(420px circle at var(--fx-x, -999px) var(--fx-y, -999px), rgba(102, 232, 255, .1), transparent 45%) !important;
	}
}
