/* ==========================================================================
   ENEOCT — front-end and editor styles
   Global tokens come from theme.json (var(--wp--preset--*)).
   ========================================================================== */

:root {
	--e-ease: var(--wp--custom--motion--ease, cubic-bezier(.22, 1, .36, 1));
	--e-dur: var(--wp--custom--motion--duration, 700ms);
	--e-dur-fast: var(--wp--custom--motion--duration-fast, 260ms);
	--e-accent: var(--wp--preset--color--solar);
	--e-muted: var(--wp--preset--color--ash);
	--e-line: color-mix(in srgb, currentColor 16%, transparent);
	--e-line-strong: color-mix(in srgb, currentColor 32%, transparent);
	--e-surface: var(--wp--preset--color--carbon);
	--e-header-h: 76px;
	--e-gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
	--e-radius: var(--wp--custom--radius--small, 6px);
	--e-fg: var(--wp--preset--color--ivory);
}
.has-ivory-color { --e-fg: var(--wp--preset--color--ivory); }
.has-ink-color { --e-fg: var(--wp--preset--color--ink); }

/* Light surfaces switch the accent to the AA-safe ember and the muted tone to stone. */
.has-ivory-background-color,
.has-paper-background-color,
.is-light-surface {
	--e-accent: var(--wp--preset--color--ember);
	--e-muted: var(--wp--preset--color--stone);
	--e-surface: var(--wp--preset--color--paper);
}

html {
	scroll-padding-top: calc(var(--e-header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

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

/* Links: inherit colour, accent underline */
a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	text-decoration-color: var(--e-accent);
	transition: color var(--e-dur-fast) ease, text-decoration-color var(--e-dur-fast) ease;
}
a:hover { color: var(--e-accent); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--e-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Accent words: italic inside headings becomes the serif accent */
:where(h1, h2, h3, h4, .wp-block-heading, .wp-block-post-title) em,
.e-accent {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--e-accent);
}

p { text-wrap: pretty; }

.wp-site-blocks > * + * { margin-block-start: 0; }

/* Skip link (core adds it automatically to block themes) */
.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--solar);
	color: var(--wp--preset--color--void);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Labels / eyebrows
   -------------------------------------------------------------------------- */
.is-style-eyebrow,
.e-eyebrow {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
}
.is-style-eyebrow::before,
.e-eyebrow::before {
	content: "";
	inline-size: 0.5em;
	block-size: 0.5em;
	border-radius: 50%;
	background: var(--e-accent);
	box-shadow: 0 0 0 0.28em color-mix(in srgb, var(--e-accent) 22%, transparent);
	flex: none;
}
.has-text-align-center.is-style-eyebrow { justify-content: center; }

.e-muted, .e-muted a { color: var(--e-muted); }
.e-meta { font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.06em; text-transform: uppercase; color: var(--e-muted); }
.e-num { font-variant-numeric: tabular-nums lining-nums; }
.e-balance { text-wrap: balance; }
.e-maxw-28 { max-width: 28ch; }
.e-maxw-40 { max-width: 40ch; }
.e-maxw-56 { max-width: 56ch; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.wp-site-blocks > header.wp-block-template-part,
.e-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
@media (max-width: 600px) {
	/* The admin bar is not fixed on small screens */
	.wp-site-blocks > header.wp-block-template-part { top: 0; }
}
/* The frosted background lives on a pseudo-element: backdrop-filter on the header itself
   would become the containing block of the fixed mobile menu overlay and clip it. */
.e-header {
	position: relative;
	min-height: var(--e-header-h);
}
.e-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-bottom: 1px solid transparent;
	background: transparent;
	transition: background-color var(--e-dur-fast) ease, border-color var(--e-dur-fast) ease;
	pointer-events: none;
}
.is-scrolled .e-header::before,
.e-header:focus-within::before {
	background: color-mix(in srgb, var(--wp--preset--color--void) 82%, transparent);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--ivory) 10%, transparent);
}
.e-header .wp-block-site-logo img { max-height: 44px; width: auto; }
.e-brand { gap: 0.75rem; }
.e-brand .wp-block-site-title a { color: inherit; }
.e-brand__tag {
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--e-muted);
	margin: 0;
	line-height: 1.2;
	padding-left: 0.75rem;
	border-left: 1px solid var(--e-line);
}
@media (max-width: 781px) { .e-brand__tag { display: none; } }

/* Navigation links with animated underline indicator */
.e-header .wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.4em;
}
.e-header .wp-block-navigation:not(.has-modal-open) .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: var(--e-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--e-dur-fast) var(--e-ease);
}
.e-header .wp-block-navigation .wp-block-navigation-item__content:hover::after,
.e-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after,
.e-header .wp-block-navigation [aria-current="page"]::after {
	transform: scaleX(1);
	transform-origin: left;
}
.e-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: inherit; }

/* Submenus */
.e-header .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--carbon) !important;
	color: var(--wp--preset--color--ivory) !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ivory) 12%, transparent) !important;
	border-radius: 10px;
	padding: 0.5rem !important;
	min-width: 280px !important;
	box-shadow: var(--wp--preset--shadow--soft);
}
.e-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 0.75rem !important; border-radius: 6px; }
.e-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.e-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: color-mix(in srgb, var(--wp--preset--color--ivory) 7%, transparent); }

/* Mobile overlay menu */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--void) !important;
	color: var(--wp--preset--color--ivory) !important;
	padding: calc(var(--e-gutter) + 0.5rem) var(--e-gutter) !important;
	animation: e-overlay-in 420ms var(--e-ease) both;
}
.wp-block-navigation__responsive-container.is-menu-open::before {
	content: "";
	position: absolute;
	inset: auto -20% -40% -20%;
	height: 70%;
	background: radial-gradient(60% 60% at 50% 100%, rgba(245, 165, 36, .28), transparent 70%);
	pointer-events: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start !important;
	padding-top: 3.5rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.15em !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
	letter-spacing: -0.03em;
	font-weight: 500;
	line-height: 1.15;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding: 0.25rem 0 0.75rem 0.25rem !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1.0625rem !important;
	color: var(--wp--preset--color--ash);
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid var(--e-line) !important;
}
@keyframes e-overlay-in {
	from { opacity: 0; clip-path: inset(0 0 100% 0); }
	to { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* Header CTA hides on small screens (it lives in the overlay menu instead) */
@media (max-width: 599px) {
	.e-header__cta { display: none !important; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	min-height: 44px;
	transition: background-color var(--e-dur-fast) ease, color var(--e-dur-fast) ease, border-color var(--e-dur-fast) ease, transform var(--e-dur-fast) var(--e-ease);
}
.wp-block-button__link:active { transform: scale(0.98); }

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: currentColor;
	border: 1px solid var(--e-line-strong);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: currentColor;
	border-color: currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover > * ,
.wp-block-button.is-style-outline > .wp-block-button__link:hover { color: var(--wp--preset--color--void); }
.has-ivory-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.has-paper-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
}
/* Primary button on light surfaces uses ink */
.has-ivory-background-color .wp-block-button:not(.is-style-outline):not(.is-style-arrow) > .wp-block-button__link:not(.has-background),
.has-paper-background-color .wp-block-button:not(.is-style-outline):not(.is-style-arrow) > .wp-block-button__link:not(.has-background) {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
}
.has-ivory-background-color .wp-block-button:not(.is-style-outline):not(.is-style-arrow) > .wp-block-button__link:not(.has-background):hover,
.has-paper-background-color .wp-block-button:not(.is-style-outline):not(.is-style-arrow) > .wp-block-button__link:not(.has-background):hover {
	background: var(--wp--preset--color--ember);
	border-color: var(--wp--preset--color--ember);
}

/* Arrow-link button style */
.wp-block-button.is-style-arrow > .wp-block-button__link {
	background: transparent !important;
	color: inherit !important;
	border: 0;
	padding: 0.4em 0;
	border-radius: 0;
	min-height: 44px;
	position: relative;
}
.wp-block-button.is-style-arrow > .wp-block-button__link::after,
.e-has-arrow-btn > .wp-block-button__link::after,
.e-arrow::after {
	content: "";
	inline-size: 1.15em;
	block-size: 1.15em;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--e-dur-fast) var(--e-ease);
}
.wp-block-button.is-style-arrow > .wp-block-button__link::before {
	content: "";
	position: absolute;
	left: 0;
	right: 1.75em;
	bottom: 0.2em;
	height: 1px;
	background: var(--e-accent);
	transform-origin: left;
	transition: transform var(--e-dur-fast) var(--e-ease);
}
.wp-block-button.is-style-arrow > .wp-block-button__link:hover::before { transform: scaleX(0.35); }
.wp-block-button.is-style-arrow > .wp-block-button__link:hover::after,
.e-arrow:hover::after,
.e-has-arrow-btn > .wp-block-button__link:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.e-section { position: relative; }
.e-rule-top { border-top: 1px solid var(--e-line); }
.e-rule-bottom { border-bottom: 1px solid var(--e-line); }
.e-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40);
	align-items: end;
}
@media (min-width: 900px) {
	.e-section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.e-section-head > :last-child { justify-self: end; max-width: 46ch; }
}
.e-section-head > * { margin: 0 !important; }

/* --------------------------------------------------------------------------
   Hero + solar field
   -------------------------------------------------------------------------- */
.is-style-solar-field,
.e-solar {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
/* Static fallback: glow + orbital rings (visible without JS and under reduced motion) */
.is-style-solar-field::before,
.e-solar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(40% 26% at 50% 78%, rgba(255, 196, 92, .30) 0%, rgba(245, 165, 36, .10) 50%, transparent 75%),
		radial-gradient(120% 55% at 50% 118%, rgba(46, 124, 246, .38) 0%, rgba(6, 20, 42, .45) 45%, transparent 78%),
		linear-gradient(180deg, transparent 55%, rgba(6, 20, 42, .55) 100%);
	pointer-events: none;
}
.is-style-solar-field::after,
.e-solar::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -38%;
	width: min(1700px, 170vw);
	aspect-ratio: 2.4 / 1;
	transform: translateX(-50%);
	z-index: -2;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' fill='none' stroke='%23FFD27A'%3E%3Cellipse cx='600' cy='250' rx='560' ry='200' stroke-opacity='.10'/%3E%3Cellipse cx='600' cy='250' rx='440' ry='150' stroke-opacity='.13'/%3E%3Cellipse cx='600' cy='250' rx='320' ry='104' stroke-opacity='.16'/%3E%3Cellipse cx='600' cy='250' rx='200' ry='62' stroke-opacity='.2'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.e-solar-canvas {
	position: absolute;
	inset: 0;
	/* The canvas is injected into a constrained group; escape the layout's max-width and auto margins so it fills the window. */
	max-width: none !important;
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 1200ms ease;
}
.e-solar-canvas.is-ready { opacity: 1; }
.has-solar-canvas::after { opacity: 0.45; }
.has-solar-3d::after { opacity: 0; }
.e-solar-canvas--3d { mix-blend-mode: screen; }
/* Keep hero copy legible over bright particles */
.has-solar-3d .e-hero__lead,
.has-solar-3d .e-hero__index,
.has-solar-3d .e-maxw-56,
.has-solar-3d .e-maxw-40 { text-shadow: 0 1px 18px rgba(11, 10, 8, .9), 0 0 2px rgba(11, 10, 8, .8); }

.e-hero {
	min-height: calc(100svh - var(--e-header-h) - var(--wp-admin--admin-bar--height, 0px));
	display: grid;
	align-content: space-between;
}
.e-hero__title {
	font-size: clamp(2.75rem, 1rem + 6.2vw, 8.25rem) !important;
	line-height: 0.92 !important;
	letter-spacing: -0.045em !important;
	font-weight: 450 !important;
	max-width: 15ch;
}
.e-hero__title em { letter-spacing: -0.02em; }
.e-hero__lead { max-width: 38ch; }
.e-hero__meta { border-top: 1px solid var(--e-line); padding-top: var(--wp--preset--spacing--30); }
.e-hero__index { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; font-size: var(--wp--preset--font-size--small); color: var(--e-muted); counter-reset: hidx; }
.e-hero__index li { display: flex; gap: 0.8rem; counter-increment: hidx; }
.e-hero__index li::before { content: counter(hidx, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--e-accent); font-size: 0.75rem; padding-top: 0.2em; }
.e-scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--e-muted);
}
.e-scroll-cue::after {
	content: "";
	width: 1px;
	height: 40px;
	background: linear-gradient(var(--e-accent), transparent);
	transform-origin: top;
	animation: e-cue 2.4s var(--e-ease) infinite;
}
@keyframes e-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (inner pages) */
.e-page-hero .wp-block-post-title,
.e-page-hero h1 { max-width: 16ch; }

/* Word reveal for headings (JS wraps words; without JS nothing is hidden) */
.e-words .e-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.e-words .e-w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
	.e-words.is-split .e-w > span {
		transform: translateY(105%) rotateX(-75deg);
		opacity: 0;
		animation: e-rise 1100ms var(--e-ease) forwards;
		animation-delay: calc(var(--i, 0) * 55ms + 120ms);
	}
}
@keyframes e-rise { to { transform: translateY(0) rotateX(0); opacity: 1; } }
.e-words .e-w { perspective: 700px; }
.e-words .e-w > span { transform-origin: 50% 100%; }

/* --------------------------------------------------------------------------
   Scroll reveals (only hidden when JS is present and motion is allowed)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.js .e-reveal:not(.is-inview),
	.js .is-style-reveal:not(.is-inview) {
		opacity: 0;
		transform: perspective(1200px) translateY(40px) rotateX(-12deg);
	}
	.js .e-reveal,
	.js .is-style-reveal { transform-origin: 50% 0%; }
	.js .e-reveal,
	.js .is-style-reveal {
		transition: opacity var(--e-dur) var(--e-ease), transform var(--e-dur) var(--e-ease);
		transition-delay: var(--e-delay, 0ms);
	}
	.js .e-stagger > * { --e-delay: calc(min(var(--i, 0), 8) * 70ms); }

	/* Image clip reveal */
	.js .is-style-clip-reveal:not(.is-inview) img,
	.js .e-clip:not(.is-inview) img { clip-path: inset(12% 6% 12% 6% round var(--e-radius)); transform: scale(1.08); }
	.js .is-style-clip-reveal img,
	.js .e-clip img { transition: clip-path 1100ms var(--e-ease), transform 1400ms var(--e-ease); clip-path: inset(0 0 0 0 round var(--e-radius)); }
}

/* --------------------------------------------------------------------------
   Marquee of disciplines
   -------------------------------------------------------------------------- */
.e-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.e-marquee__track {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem) !important;
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem);
	letter-spacing: -0.03em;
	line-height: 1.3;
	font-weight: 400;
	justify-content: center;
}
.e-marquee__track li { display: inline-flex; align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); white-space: nowrap; }
.e-marquee__track li::after { content: "✦"; font-size: 0.4em; color: var(--e-accent); }
.e-marquee.is-running .e-marquee__track { flex-wrap: nowrap; width: max-content; justify-content: flex-start; animation: e-marquee var(--e-marquee-dur, 40s) linear infinite; }
.e-marquee.is-running:hover .e-marquee__track,
.e-marquee.is-running:focus-within .e-marquee__track { animation-play-state: paused; }
@keyframes e-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.e-marquee.is-running .e-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.e-marquee__clone { display: none !important; }
}

/* --------------------------------------------------------------------------
   Capability cards
   -------------------------------------------------------------------------- */
.e-cap-grid {
	perspective: 1600px;
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important;
}
@media (min-width: 1100px) {
	.e-cap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.e-cap-grid > .e-cap-card:first-child { grid-column: span 2; grid-row: span 2; }
	.e-cap-grid > .e-cap-card:first-child .e-cap-card__title { font-size: var(--wp--preset--font-size--xx-large) !important; }
	/* Four cards: lead card 2×2, then two cards, then one wide card */
	.e-cap-grid > .e-cap-card:nth-child(4):last-child { grid-column: span 2; }
	/* Seven cards: the last row is shared by two wide cards so the grid closes cleanly */
	.e-cap-grid > .e-cap-card:nth-child(6):nth-last-child(2),
	.e-cap-grid > .e-cap-card:nth-child(7):last-child { grid-column: span 2; }
}
.e-cap-card {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(320px, 30vw, 420px);
	padding: clamp(1.25rem, 1rem + 1vw, 2rem) !important;
	border-radius: var(--e-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ivory) 10%, transparent);
	background: var(--wp--preset--color--carbon);
	overflow: hidden;
	isolation: isolate;
	gap: 0.6rem !important;
	transition: border-color var(--e-dur-fast) ease, transform var(--e-dur) var(--e-ease);
}
.e-cap-card > * { margin: 0 !important; position: relative; z-index: 1; }
.e-cap-card > .wp-block-image,
.e-cap-card > figure.e-cap-card__media {
	position: absolute !important;
	inset: 0;
	z-index: -1;
	margin: 0 !important;
}
.e-cap-card > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	opacity: 0.62;
	transform: scale(1.04);
	transition: transform 1200ms var(--e-ease), opacity var(--e-dur) var(--e-ease);
}
.e-cap-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(11, 10, 8, 0) 20%, rgba(11, 10, 8, .88) 78%);
	pointer-events: none;
}
.e-cap-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 120%), rgba(245, 165, 36, .18), transparent 60%);
	opacity: 0;
	transition: opacity var(--e-dur-fast) ease;
	pointer-events: none;
}
.e-cap-card:hover,
.e-cap-card:focus-within { border-color: color-mix(in srgb, var(--wp--preset--color--solar) 55%, transparent); }
.e-cap-card:hover::after,
.e-cap-card:focus-within::after { opacity: 1; }
.e-cap-card:hover > .wp-block-image img,
.e-cap-card:focus-within > .wp-block-image img { transform: scale(1.1); opacity: 0.85; }
.e-cap-card__index {
	position: absolute !important;
	top: clamp(1.25rem, 1rem + 1vw, 2rem);
	left: clamp(1.25rem, 1rem + 1vw, 2rem);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--solar);
	font-variant-numeric: tabular-nums;
}
.e-cap-card__title { font-size: var(--wp--preset--font-size--x-large) !important; max-width: 16ch; }
.e-cap-card__title a { text-decoration: none; color: inherit; }
/* Stretched link: the whole card is clickable via the title link */
.e-cap-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.e-cap-card:has(.e-cap-card__title a:focus-visible) { outline: 2px solid var(--wp--preset--color--solar); outline-offset: 3px; }
.e-cap-card__text { color: var(--wp--preset--color--ash); font-size: var(--wp--preset--font-size--small); max-width: 46ch; }
.e-cap-card__more {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wp--preset--color--solar);
}
.e-cap-card__more::after {
	content: "→";
	transition: transform var(--e-dur-fast) var(--e-ease);
}
.e-cap-card:hover .e-cap-card__more::after { transform: translateX(5px); }

/* Light variant (Daylight / light sections) */
.has-ivory-background-color .e-cap-card,
.has-paper-background-color .e-cap-card { border-color: color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent); }

/* --------------------------------------------------------------------------
   Project & insight cards (Query Loop)
   -------------------------------------------------------------------------- */
.e-cards .wp-block-post-template,
.e-cards.wp-block-post-template { gap: clamp(1.75rem, 1rem + 2.5vw, 3rem) clamp(1rem, 0.5rem + 1.5vw, 2rem) !important; }
.e-card { position: relative; display: flex; flex-direction: column; gap: 0.65rem; height: 100%; perspective: 1100px; }
.e-card .wp-block-post-featured-image { will-change: rotate; }
.is-style-clip-reveal, .e-tilt { perspective: 1200px; }
.e-cap-card { will-change: rotate; }
.e-card > * { margin: 0 !important; }
.e-card .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: var(--e-radius);
	background: var(--wp--preset--color--carbon);
	margin-bottom: 0.6rem !important;
}
.e-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 1100ms var(--e-ease), filter var(--e-dur) ease;
	border-radius: 0;
}
.e-card:hover .wp-block-post-featured-image img,
.e-card:focus-within .wp-block-post-featured-image img { transform: scale(1.045); }
.e-card .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large); letter-spacing: -0.02em; line-height: 1.1; }
.e-card .wp-block-post-title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--e-dur) var(--e-ease); }
.e-card:hover .wp-block-post-title a { background-size: 100% 1px; color: inherit; }
.e-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.e-card .wp-block-post-terms a { position: relative; z-index: 2; }
.e-card .wp-block-post-excerpt { color: var(--e-muted); font-size: var(--wp--preset--font-size--small); }
.e-card .wp-block-post-excerpt__more-link { display: none; }
.e-card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; color: var(--e-muted); }
.e-card__meta > * { margin: 0 !important; }
.e-card__meta .wp-block-post-terms { color: var(--e-accent); }

/* Editorial project grid: alternating spans */
@media (min-width: 900px) {
	.e-projects .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
	.e-projects .wp-block-post-template > li { grid-column: span 6; }
	.e-projects .wp-block-post-template > li:nth-child(4n+1) { grid-column: 1 / span 7; }
	.e-projects .wp-block-post-template > li:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: clamp(4rem, 8vw, 9rem); }
	.e-projects .wp-block-post-template > li:nth-child(4n+3) { grid-column: 2 / span 4; }
	.e-projects .wp-block-post-template > li:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: clamp(2rem, 5vw, 6rem); }
	.e-projects .wp-block-post-template.is-layout-grid { align-items: start; }
	.e-projects .wp-block-post-template > li:nth-child(4n+1) .wp-block-post-featured-image img { aspect-ratio: 4 / 3; }
	.e-projects .wp-block-post-template > li:nth-child(4n+2) .wp-block-post-featured-image img,
	.e-projects .wp-block-post-template > li:nth-child(4n+3) .wp-block-post-featured-image img { aspect-ratio: 4 / 5; }
}
.e-projects.is-filtered .wp-block-post-template > li { grid-column: auto !important; margin-top: 0 !important; }
@media (min-width: 900px) {
	.e-projects.is-filtered .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.e-projects.is-filtered .wp-block-post-featured-image img { aspect-ratio: 16 / 10 !important; }
}
.e-projects .wp-block-post-template > li[hidden] { display: none !important; }
.e-projects .wp-block-post-template > li.is-entering { animation: e-fade-up 520ms var(--e-ease) both; }
@keyframes e-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 599px) {
	.e-cards .wp-block-post-template.is-layout-grid,
	.e-projects .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Insight list rows (alternative layout) */
.e-rows .wp-block-post-template > li { border-top: 1px solid var(--e-line); padding-block: var(--wp--preset--spacing--40); }
.e-rows .wp-block-post-template > li:last-child { border-bottom: 1px solid var(--e-line); }

/* --------------------------------------------------------------------------
   Project filter (block: eneoct/project-filter)
   -------------------------------------------------------------------------- */
.e-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.e-filter__label { margin-right: 0.5rem; }
.e-filter a,
.e-filter button {
	appearance: none;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.55rem 1.05rem;
	border-radius: 999px;
	border: 1px solid var(--e-line-strong);
	background: transparent;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--e-dur-fast) ease, color var(--e-dur-fast) ease, border-color var(--e-dur-fast) ease;
}
.e-filter a:hover { border-color: var(--e-accent); color: inherit; }
.e-filter a[aria-current="true"],
.e-filter a[aria-pressed="true"],
.e-filter a.is-active {
	background: var(--wp--preset--color--solar);
	border-color: var(--wp--preset--color--solar);
	color: var(--wp--preset--color--void);
}
.e-filter__count { font-size: 0.75em; opacity: 0.7; font-variant-numeric: tabular-nums; }
.e-filter-status { min-height: 1.4em; }

/* --------------------------------------------------------------------------
   Process (Discover → Optimize)
   -------------------------------------------------------------------------- */
.e-process {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 0;
	counter-reset: step;
	position: relative;
}
.e-process > li {
	counter-increment: step;
	position: relative;
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: 0 1rem;
	padding-block: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--e-line);
}
.e-process > li::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem);
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--e-accent);
	font-variant-numeric: tabular-nums;
	grid-row: span 2;
}
.e-process > li strong {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 0.35rem;
}
.e-process > li { color: var(--e-muted); font-size: var(--wp--preset--font-size--small); }
.e-process > li strong { color: var(--e-fg); }
@media (min-width: 1000px) {
	.e-process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 2rem); padding-top: 3.5rem !important; }
	.e-process > li { grid-template-columns: 1fr; border-top: 0; padding-top: 2.25rem; }
	.e-process > li::before { grid-row: auto; margin-bottom: 1.25rem; }
	/* orbital node on the line */
	.e-process > li::after {
		content: "";
		position: absolute;
		top: -0.45rem;
		left: 0;
		width: 0.9rem;
		height: 0.9rem;
		border-radius: 50%;
		background: var(--wp--preset--color--void);
		border: 1px solid var(--e-accent);
		box-shadow: 0 0 0 6px color-mix(in srgb, var(--e-accent) 12%, transparent);
	}
	.has-ivory-background-color .e-process > li::after,
	.has-paper-background-color .e-process > li::after { background: var(--wp--preset--color--ivory); }
	.e-process::before {
		content: "";
		position: absolute;
		top: 3.5rem;
		left: 0;
		right: 0;
		height: 1px;
		background: linear-gradient(90deg, var(--e-accent), color-mix(in srgb, var(--e-accent) 15%, transparent));
		transform-origin: left;
	}
	@media (prefers-reduced-motion: no-preference) {
		.js .e-process.e-reveal:not(.is-inview)::before { transform: scaleX(0); }
		.js .e-process.e-reveal::before { transition: transform 1600ms var(--e-ease) 200ms; }
		.js .e-process.e-reveal { transform: none !important; }
		.js .e-process.e-reveal > li { transition: opacity 700ms var(--e-ease), transform 700ms var(--e-ease); transition-delay: calc(var(--i, 0) * 160ms + 300ms); }
		.js .e-process.e-reveal:not(.is-inview) > li { opacity: 0; transform: translateY(18px); }
	}
}

/* --------------------------------------------------------------------------
   Statistics (verified figures only)
   -------------------------------------------------------------------------- */
.e-stats { border-top: 1px solid var(--e-line); }
.e-stat__value {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 2rem + 4vw, 6rem) !important;
	line-height: 0.95 !important;
	letter-spacing: -0.05em !important;
	font-weight: 400 !important;
	font-variant-numeric: tabular-nums lining-nums;
}
.e-stat__value em { font-size: 0.6em; }

/* --------------------------------------------------------------------------
   Index lists (hairline numbered lists)
   -------------------------------------------------------------------------- */
.is-style-index,
.e-index { list-style: none; padding: 0 !important; margin: 0; counter-reset: idx; }
.is-style-index > li,
.e-index > li {
	counter-increment: idx;
	position: relative;
	padding: 1rem 0 1rem 3.25rem;
	border-top: 1px solid var(--e-line);
}
.is-style-index > li strong,
.e-index > li strong { margin-right: 0.35em; }
.is-style-index > li:last-child,
.e-index > li:last-child { border-bottom: 1px solid var(--e-line); }
.is-style-index > li::before,
.e-index > li::before {
	content: counter(idx, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1rem;
	color: var(--e-accent);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.1em;
	padding-top: 0.3em;
	font-variant-numeric: tabular-nums;
}
.is-style-check { list-style: none; padding: 0 !important; }
.is-style-check > li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.is-style-check > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 1rem;
	height: 0.55rem;
	border-left: 2px solid var(--e-accent);
	border-bottom: 2px solid var(--e-accent);
	transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Image treatments
   -------------------------------------------------------------------------- */
.e-ratio-4x5 img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.e-ratio-16x10 img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.e-ratio-21x9 img { aspect-ratio: 21 / 9; object-fit: cover; width: 100%; }
@media (max-width: 781px) { .e-ratio-21x9 img { aspect-ratio: 4 / 3; } }
.is-style-frame img,
.e-frame img { border: 1px solid var(--e-line); padding: 0.5rem; border-radius: calc(var(--e-radius) + 4px); }
.wp-block-image figcaption { color: var(--e-muted); margin-top: 0.75rem; }

/* Innovation band */
.e-band { position: relative; overflow: hidden; border-radius: var(--e-radius); isolation: isolate; }
.e-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,10,8,.78) 0%, rgba(11,10,8,.3) 55%, rgba(11,10,8,0) 100%); pointer-events: none; }
@media (max-width: 781px) { .e-band::before { background: linear-gradient(0deg, rgba(11,10,8,.9) 10%, rgba(11,10,8,.45) 100%); } }
.e-band .wp-block-cover__image-background { transform: scale(1.06); transition: transform 2400ms var(--e-ease); }
.e-band.is-inview .wp-block-cover__image-background { transform: scale(1); }
.e-tags { display: flex !important; flex-wrap: wrap; gap: 0.5rem !important; }
.e-tags > p, .e-tag {
	margin: 0 !important;
	padding: 0.45rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ivory) 28%, transparent);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--x-small) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	background: rgba(11, 10, 8, .35);
}

/* Feature columns (hairline) */
.e-features > .wp-block-column { border-top: 1px solid var(--e-line); padding-top: var(--wp--preset--spacing--30); }

/* Testimonials */
.wp-block-quote.e-quote { border: 0; padding-left: 0; margin: 0; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: var(--wp--preset--font-size--medium); line-height: 1.6; }
.e-quote { border-top: 1px solid var(--e-line); padding-top: var(--wp--preset--spacing--40); }
.e-quote p { font-size: var(--wp--preset--font-size--medium); }
.e-quote cite { display: block; margin-top: 1rem; color: var(--e-muted); }

/* Credential chips (training programmes) */
.e-credentials { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 !important; border-top: 1px solid var(--e-line); }
.e-credentials > * { margin: 0 !important; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--e-line); }
.e-credentials strong { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--e-accent); }

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.e-cta__title { font-size: var(--wp--preset--font-size--display) !important; max-width: 14ch; }
.e-cta-mail {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem);
	letter-spacing: -0.03em;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.e-cta-mail::after { content: "↗"; color: var(--e-accent); transition: transform var(--e-dur-fast) var(--e-ease); }
.e-cta-mail:hover::after { transform: translate(4px, -4px); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.e-footer { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--ivory) 10%, transparent); }
.e-footer .wp-block-navigation { gap: 0.45rem; }
.e-footer .wp-block-navigation .wp-block-navigation-item__content { padding: 0.15rem 0; color: var(--wp--preset--color--ivory); }
.e-footer .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--solar); }
.e-footer h2 { font-family: var(--wp--preset--font-family--body); }
.e-footer .wp-block-page-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.e-footer .wp-block-page-list a { text-decoration: none; }
.e-footer .wp-block-page-list a:hover { color: var(--wp--preset--color--solar); }
.e-footer .wp-block-page-list ul { display: none; }
.e-footer .wp-block-social-links .wp-social-link { transition: transform var(--e-dur-fast) var(--e-ease); }
.e-footer .wp-block-social-links .wp-social-link:hover { transform: translateY(-2px); }
.e-footer .wp-block-social-links.is-style-logos-only .wp-social-link a { padding: 0.5rem; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.e-wordmark {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: clamp(4rem, 1rem + 16vw, 17rem) !important;
	line-height: 0.8 !important;
	letter-spacing: -0.06em !important;
	color: transparent;
	-webkit-text-stroke: 1px color-mix(in srgb, var(--wp--preset--color--ivory) 22%, transparent);
	user-select: none;
	white-space: nowrap;
	overflow: hidden;
}
.e-legal-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.e-legal-links a { text-decoration: none; }
.e-legal-links a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Contact form (block: eneoct/contact-form)
   -------------------------------------------------------------------------- */
.e-form { display: grid; gap: 1.25rem; }
.e-form__row { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .e-form__row--2 { grid-template-columns: 1fr 1fr; } }
.e-field { display: grid; gap: 0.45rem; }
.e-field label,
.e-field legend { font-size: var(--wp--preset--font-size--small); font-weight: 600; padding: 0; }
.e-field .e-req { color: var(--e-accent); margin-left: 0.2em; }
.e-field .e-hint { font-size: var(--wp--preset--font-size--x-small); color: var(--e-muted); margin: 0; }
.e-field input[type="text"],
.e-field input[type="email"],
.e-field input[type="tel"],
.e-field select,
.e-field textarea {
	box-sizing: border-box;
	font: inherit;
	color: inherit;
	width: 100%;
	min-height: 52px;
	padding: 0.85rem 1rem;
	background: color-mix(in srgb, currentColor 4%, transparent);
	border: 1px solid var(--e-line-strong);
	border-radius: var(--e-radius);
	transition: border-color var(--e-dur-fast) ease, background-color var(--e-dur-fast) ease;
}
.e-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A39C8E' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.e-field select option { color: #15130F; }
.e-field textarea { min-height: 170px; resize: vertical; }
.e-field input:hover, .e-field select:hover, .e-field textarea:hover { border-color: color-mix(in srgb, currentColor 50%, transparent); }
.e-field input:focus-visible, .e-field select:focus-visible, .e-field textarea:focus-visible { border-color: var(--e-accent); outline-offset: 1px; }
.e-field [aria-invalid="true"] { border-color: #E5484D !important; }
.e-field__error { color: #FF8A8E; font-size: var(--wp--preset--font-size--small); margin: 0; }
.has-ivory-background-color .e-field__error, .has-paper-background-color .e-field__error { color: #B42318; }
.e-check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--wp--preset--font-size--small); }
.e-check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--wp--preset--color--solar); flex: none; }
.e-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.e-notice { padding: 1rem 1.25rem; border-radius: var(--e-radius); border: 1px solid; font-size: var(--wp--preset--font-size--small); }
.e-notice:focus { outline: 2px solid var(--e-accent); outline-offset: 3px; }
.e-notice--success { border-color: color-mix(in srgb, #3DD68C 60%, transparent); background: color-mix(in srgb, #3DD68C 10%, transparent); }
.e-notice--error { border-color: color-mix(in srgb, #E5484D 60%, transparent); background: color-mix(in srgb, #E5484D 10%, transparent); }
.e-notice ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.e-notice a { color: inherit; }
.e-form__submit {
	justify-self: start;
	font: inherit;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	min-height: 52px;
	padding: 0.95em 1.8em;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--solar);
	background: var(--wp--preset--color--solar);
	color: var(--wp--preset--color--void);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	transition: background-color var(--e-dur-fast) ease, border-color var(--e-dur-fast) ease;
}
.e-form__submit:hover { background: var(--wp--preset--color--flare); border-color: var(--wp--preset--color--flare); }
.e-form__submit[disabled] { opacity: 0.6; cursor: progress; }

/* Contact details list */
.e-contact-list { list-style: none; padding: 0 !important; margin: 0; }
.e-contact-list li { padding-block: 1rem; border-top: 1px solid var(--e-line); display: grid; gap: 0.2rem; }
.e-contact-list li:last-child { border-bottom: 1px solid var(--e-line); }
.e-contact-list strong,
.e-facts strong { display: block; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--e-muted); margin-bottom: 0.15rem; }

/* --------------------------------------------------------------------------
   Single post / page content
   -------------------------------------------------------------------------- */
/* Prose rules apply only to plain content placed directly in the page, never to full-width sections. */
.e-prose > :not(.alignfull) + :not(.alignfull) { margin-block-start: 1.25em; }
.e-prose > .alignfull { margin-block: 0 !important; }
.e-prose > :where(h2, h3):not(:first-child) { margin-block-start: 2.2em; }
.e-prose > h2 { font-size: var(--wp--preset--font-size--x-large); }
.e-prose > h3 { font-size: var(--wp--preset--font-size--large); }
.e-prose > :where(ul, ol) { padding-left: 1.25em; }
.e-prose > :where(ul, ol) li + li { margin-top: 0.4em; }
.e-prose > .wp-block-table table { border-collapse: collapse; width: 100%; font-size: var(--wp--preset--font-size--small); }
.e-prose > .wp-block-table :where(td, th) { border: 0; border-bottom: 1px solid var(--e-line); padding: 0.75rem 0.5rem; text-align: left; }
.e-prose > .wp-block-table thead { border-bottom: 1px solid var(--e-line-strong); }
/* Pages built from sections: no gap above the first or below the last section. */
.e-prose:has(> .alignfull:first-child) { padding-top: 0 !important; }
.e-prose:has(> .alignfull:last-child) { padding-bottom: 0 !important; }
.e-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.45; }

/* Project facts sidebar */
.e-facts { display: grid; gap: 0; }
.e-facts > * { margin: 0 !important; padding: 0.9rem 0; border-top: 1px solid var(--e-line); }
.e-facts > *:last-child { border-bottom: 1px solid var(--e-line); }
@media (min-width: 782px) { .e-sticky { position: sticky; top: calc(var(--e-header-h) + var(--wp-admin--admin-bar--height, 0px) + 2rem); } }

/* Demo content flag */
.e-demo-flag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.75rem;
	border: 1px dashed var(--e-accent);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--x-small) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--e-accent);
}

/* Post navigation */
.e-post-nav { border-top: 1px solid var(--e-line); padding-top: var(--wp--preset--spacing--40); }
.e-post-nav a { text-decoration: none; font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--large); letter-spacing: -0.02em; }

/* Pagination */
.wp-block-query-pagination { gap: 0.5rem; }
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers { text-decoration: none; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 0.9rem; border: 1px solid transparent; }
.wp-block-query-pagination a:hover { border-color: var(--e-line-strong); }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--solar); color: var(--wp--preset--color--void); }

/* Search */
.wp-block-search__inside-wrapper { border: 1px solid var(--e-line-strong) !important; border-radius: 999px; padding: 0.3rem !important; background: color-mix(in srgb, currentColor 4%, transparent); }
.wp-block-search__input { background: transparent; border: 0 !important; color: inherit; padding-inline: 1rem !important; min-height: 44px; font: inherit; }
.wp-block-search__input:focus-visible { outline: none; }
.wp-block-search__inside-wrapper:focus-within { border-color: var(--e-accent) !important; }
.wp-block-search__button { border-radius: 999px !important; margin-left: 0.3rem !important; min-height: 44px; }

/* 404 */
.e-404 { font-size: clamp(7rem, 4rem + 18vw, 22rem) !important; line-height: 0.8 !important; letter-spacing: -0.07em !important; font-weight: 300 !important; }

/* Cover overrides */
.wp-block-cover.e-band { min-height: clamp(520px, 70vh, 820px); }
.wp-block-cover .wp-block-cover__inner-container { width: 100%; }

/* Utility: hide visually */
.e-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Editor niceties */
.editor-styles-wrapper .e-reveal,
.editor-styles-wrapper .is-style-reveal { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .e-hero { min-height: 640px; }

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.e-hero { min-height: calc(100svh - var(--e-header-h)); }
	.e-hero__title { max-width: none; }
	.e-hide-mobile { display: none !important; }
	.e-cap-card { min-height: 300px; }
	.wp-block-columns.e-stack-reverse { flex-direction: column-reverse; }
}
@media (min-width: 782px) {
	.e-hide-desktop { display: none !important; }
}
@media (max-width: 380px) {
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Reduced motion: neutralise transitions/animations site-wide
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.e-scroll-cue::after { animation: none; transform: none; }
}

/* Print */
@media print {
	.e-header, .e-footer, .e-solar-canvas, .wp-block-navigation, .e-cta { display: none !important; }
	body { background: #fff !important; color: #000 !important; }
}

/* --------------------------------------------------------------------------
   Two pillars (Consultancy / Training)
   -------------------------------------------------------------------------- */
.e-pillars {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important;
	perspective: 1800px;
}
@media (min-width: 900px) { .e-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-pillar { min-height: clamp(420px, 44vw, 620px) !important; }
.e-pillar .e-cap-card__title { font-size: var(--wp--preset--font-size--display) !important; max-width: none; letter-spacing: -0.045em; }
.e-pillar .e-cap-card__text { font-size: var(--wp--preset--font-size--medium); max-width: 44ch; color: var(--wp--preset--color--ivory); opacity: .82; }

/* --------------------------------------------------------------------------
   Training course cards
   -------------------------------------------------------------------------- */
.e-courses {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important;
	perspective: 1600px;
}
@media (min-width: 900px) { .e-courses--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-course {
	position: relative;
	display: flex !important;
	flex-direction: column;
	gap: 0.65rem !important;
	padding: clamp(1.25rem, 1rem + 1vw, 2rem) !important;
	border-radius: var(--e-radius);
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	background:
		radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--wp--preset--color--tide) 12%, transparent), transparent 60%),
		color-mix(in srgb, currentColor 3%, transparent);
	overflow: hidden;
	isolation: isolate;
	transition: border-color var(--e-dur-fast) ease;
	will-change: rotate;
}
.e-course > * { margin: 0 !important; }
.e-course::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 120%), rgba(245, 165, 36, .16), transparent 60%);
	opacity: 0;
	transition: opacity var(--e-dur-fast) ease;
	pointer-events: none;
}
.e-course:hover,
.e-course:focus-within { border-color: color-mix(in srgb, var(--wp--preset--color--solar) 55%, transparent); }
.e-course:hover::after,
.e-course:focus-within::after { opacity: 1; }
.e-course__code {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem) !important;
	line-height: 1 !important;
	letter-spacing: -0.04em;
	font-weight: 500;
	color: var(--wp--preset--color--solar);
}
.e-course__title { font-size: var(--wp--preset--font-size--large) !important; letter-spacing: -0.015em; line-height: 1.2 !important; }
.e-course__text { color: var(--e-muted); font-size: var(--wp--preset--font-size--small); flex: 1; }
.e-course__actions { margin-top: 0.6rem !important; gap: 0.5rem 1.25rem !important; align-items: center; }
.e-course__actions .wp-block-button:not(.is-style-arrow) > .wp-block-button__link { padding: 0.7em 1.3em; }
.e-course__actions .is-style-arrow > .wp-block-button__link { font-size: var(--wp--preset--font-size--small); }

/* ==========================================================================
   Learn-to-Implement page components
   ========================================================================== */
.e-hairline-card {
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: var(--e-radius);
}

/* Dual outcome */
.e-dual { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 1rem !important; align-items: stretch; }
@media (min-width: 782px) { .e-dual { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; } }
.e-dual__item { padding: clamp(1.25rem, 1rem + 1vw, 2rem) !important; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: var(--e-radius); height: 100%; }
.e-dual__item > * { margin: 0 0 0.4rem !important; }
.e-dual__plus { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.5rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--e-accent); text-align: center; margin: 0 !important; }

/* Training | ENEO | Consulting */
.e-compare { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important; perspective: 1600px; }
@media (min-width: 900px) { .e-compare { grid-template-columns: 1fr 1.25fr 1fr; align-items: stretch; } }
.e-compare__col {
	position: relative;
	padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) !important;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: var(--e-radius);
	display: flex !important;
	flex-direction: column;
	gap: 0.6rem !important;
	will-change: rotate;
}
.e-compare__col > * { margin: 0 !important; }
.e-compare__col.is-featured {
	border-color: color-mix(in srgb, var(--wp--preset--color--solar) 60%, transparent);
	background:
		radial-gradient(120% 90% at 50% 120%, rgba(245, 165, 36, .22), transparent 60%),
		radial-gradient(90% 70% at 100% 0%, rgba(46, 124, 246, .16), transparent 60%),
		color-mix(in srgb, currentColor 3%, transparent);
	box-shadow: 0 30px 80px -40px rgba(245, 165, 36, .45);
}
@media (min-width: 900px) {
	.e-compare__col.is-featured { translate: 0 -1rem; }
	.e-compare__col:not(.is-featured)::after {
		content: "";
		position: absolute;
		top: 50%;
		width: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
		height: 1px;
		background: var(--e-accent);
	}
	.e-compare__col:first-child::after { right: calc(-1 * clamp(0.75rem, 0.5rem + 1vw, 1.25rem)); }
	.e-compare__col:last-child::after { left: calc(-1 * clamp(0.75rem, 0.5rem + 1vw, 1.25rem)); }
}
.e-compare__label { font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--e-muted); }
.is-featured .e-compare__label { color: var(--wp--preset--color--solar); }
.e-compare__note { color: var(--e-muted); font-size: var(--wp--preset--font-size--small); }
.is-featured .e-compare__note { color: var(--wp--preset--color--ivory); }

/* Six stages */
.e-stages { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important; counter-reset: stage; perspective: 1600px; }
.e-stage {
	position: relative;
	display: flex !important;
	flex-direction: column;
	gap: 0.7rem !important;
	padding: clamp(1.5rem, 1rem + 1.2vw, 2.25rem) !important;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--e-radius);
	background: color-mix(in srgb, currentColor 2.5%, transparent);
	overflow: hidden;
	isolation: isolate;
	will-change: rotate;
}
.e-stage > * { margin: 0 !important; }
.e-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 120%), rgba(245, 165, 36, .14), transparent 60%);
	opacity: 0;
	transition: opacity var(--e-dur-fast) ease;
}
.e-stage:hover::after { opacity: 1; }
.e-stage__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 2rem + 3vw, 4.75rem) !important;
	line-height: 0.9 !important;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 1px color-mix(in srgb, var(--wp--preset--color--solar) 80%, transparent);
}
.e-stage__text { color: color-mix(in srgb, currentColor 78%, transparent); font-size: var(--wp--preset--font-size--small); }
.e-stage__text strong { color: var(--e-fg); display: block; margin-bottom: 0.25rem; font-weight: 600; }
.e-stage__list { font-size: var(--wp--preset--font-size--small); color: var(--e-muted); flex: 1; }
.e-stage__list > li { margin-bottom: 0.35rem; }
.e-stage__output {
	font-size: var(--wp--preset--font-size--small);
	padding-top: 0.9rem !important;
	border-top: 1px dashed color-mix(in srgb, var(--wp--preset--color--solar) 45%, transparent);
}
.e-stage__output strong { display: block; font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--solar); margin-bottom: 0.2rem; }

/* Learning loop */
.e-loop { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 0.75rem; counter-reset: loop; position: relative; }
.e-loop > li {
	counter-increment: loop;
	position: relative;
	padding: 1.25rem 1.25rem 1.25rem 4rem;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 999px;
	color: var(--e-muted);
	font-size: var(--wp--preset--font-size--small);
	background: color-mix(in srgb, currentColor 2.5%, transparent);
}
.e-loop > li strong { display: block; color: var(--e-fg); font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: var(--wp--preset--font-size--large); letter-spacing: -0.015em; line-height: 1.2; }
.e-loop > li::before {
	content: counter(loop);
	position: absolute;
	left: 1rem;
	top: 50%;
	translate: 0 -50%;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--wp--preset--color--void);
	background: var(--wp--preset--color--solar);
	box-shadow: 0 0 0 6px rgba(245, 165, 36, .15);
}
@media (min-width: 1000px) {
	.e-loop { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; padding-bottom: 3.5rem !important; }
	.e-loop > li { border-radius: var(--e-radius); padding: 3.75rem 1.25rem 1.25rem; min-height: 190px; }
	.e-loop > li::before { left: 1.25rem; top: 1.25rem; translate: none; }
	.e-loop > li:not(:last-child)::after {
		content: "";
		position: absolute;
		right: -0.95rem;
		top: 2.35rem;
		width: 0.9rem;
		height: 0.9rem;
		background: var(--e-accent);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	/* Return arc: last step loops back to the first */
	.e-loop::after {
		content: "↺  repeat with increasing autonomy";
		position: absolute;
		left: 10%;
		right: 10%;
		bottom: 0;
		height: 2.25rem;
		border: 1px dashed color-mix(in srgb, var(--e-accent) 60%, transparent);
		border-top: 0;
		border-radius: 0 0 24px 24px;
		display: grid;
		place-items: end center;
		padding-bottom: 0.1rem;
		font-size: var(--wp--preset--font-size--x-small);
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--e-accent);
		translate: 0 0.6rem;
	}
}

/* Autonomy transfer bar */
.e-autonomy-wrap > .e-meta { margin-bottom: 0.75rem !important; }
.e-autonomy {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 !important;
	border-radius: 999px;
	overflow: hidden;
	background: linear-gradient(90deg, var(--wp--preset--color--solar) 0%, color-mix(in srgb, var(--wp--preset--color--solar) 45%, #1D58C4) 50%, #1D58C4 100%);
}
.e-autonomy > p {
	margin: 0 !important;
	padding: 0.85rem 1.1rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--void);
	line-height: 1.3;
}
.e-autonomy > p:last-child { text-align: right; color: #fff; }
.e-autonomy > p:nth-child(2) { text-align: center; }
.e-autonomy > p strong { display: block; font-size: var(--wp--preset--font-size--small); }
@media (max-width: 640px) {
	.e-autonomy { grid-template-columns: minmax(0, 1fr); border-radius: var(--e-radius); background: linear-gradient(180deg, var(--wp--preset--color--solar), #1D58C4); }
	.e-autonomy > p, .e-autonomy > p:last-child, .e-autonomy > p:nth-child(2) { text-align: left; }
}

/* Phases (example) */
.e-phases { list-style: none; padding: 0 !important; margin: 0 !important; counter-reset: ph; }
.e-phases > li { counter-increment: ph; position: relative; padding: 1.25rem 0 1.25rem 3.75rem; border-top: 1px solid var(--e-line); color: var(--e-muted); }
.e-phases > li:last-child { border-bottom: 1px solid var(--e-line); }
.e-phases > li strong { display: block; color: var(--e-fg); font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: var(--wp--preset--font-size--large); letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.e-phases > li::before {
	content: counter(ph);
	position: absolute;
	left: 0;
	top: 1.25rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 1px solid var(--e-accent);
	display: grid;
	place-items: center;
	color: var(--e-accent);
	font-weight: 600;
}
.e-callout {
	padding: 1.25rem 1.5rem !important;
	border-left: 3px solid var(--e-accent);
	background: color-mix(in srgb, var(--e-accent) 7%, transparent);
	border-radius: 0 var(--e-radius) var(--e-radius) 0;
	font-size: var(--wp--preset--font-size--medium);
}

/* Timeline (weeks) */
.e-timeline { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 0; }
.e-timeline > li {
	position: relative;
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr);
	gap: 0.25rem 1.25rem;
	padding: 1.1rem 0;
	border-top: 1px solid var(--e-line);
	color: var(--e-muted);
	font-size: var(--wp--preset--font-size--small);
}
.e-timeline > li > strong { grid-row: span 2; color: var(--e-accent); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.e-timeline > li > em { font-style: normal; color: var(--e-fg); font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--large); letter-spacing: -0.015em; }
@media (min-width: 1000px) {
	.e-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; position: relative; padding-top: 1.75rem !important; }
	.e-timeline::before { content: ""; position: absolute; top: 0.45rem; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--wp--preset--color--solar), var(--wp--preset--color--tide)); border-radius: 2px; }
	.e-timeline > li { display: flex; flex-direction: column; gap: 0.35rem; border-top: 0; padding: 0.75rem 1rem 0 0; }
	.e-timeline > li::before { content: ""; position: absolute; top: -1.6rem; left: 0; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--wp--preset--color--void); border: 2px solid var(--wp--preset--color--solar); }
}

/* Time allocation stacked bar */
.e-alloc { display: grid !important; grid-template-columns: 22.5fr 55fr 17.5fr; gap: 3px !important; margin-top: 0.5rem !important; }
.e-alloc__seg {
	margin: 0 !important;
	padding: 1rem 0.9rem;
	min-height: 110px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.3;
	color: var(--wp--preset--color--void);
}
.e-alloc__seg strong { white-space: nowrap; font-family: var(--wp--preset--font-family--display); font-size: clamp(1rem, 0.8rem + 0.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; }
.e-alloc__seg--1 { background: var(--wp--preset--color--flare); border-radius: var(--e-radius) 0 0 var(--e-radius); }
.e-alloc__seg--2 { background: var(--wp--preset--color--solar); }
.e-alloc__seg--3 { background: #1D58C4; color: #fff; border-radius: 0 var(--e-radius) var(--e-radius) 0; }
@media (max-width: 520px) {
	.e-alloc { grid-template-columns: minmax(0, 1fr); }
	.e-alloc__seg { min-height: 0; border-radius: var(--e-radius) !important; }
}

/* What you receive */
.e-receive { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important; }
@media (min-width: 782px) { .e-receive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-receive__card { padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) !important; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: var(--e-radius); background: color-mix(in srgb, #fff 45%, transparent); }
.e-receive__card > * { margin-top: 0 !important; }

/* Metrics table */
.e-metrics table { border-collapse: collapse; width: 100%; font-size: var(--wp--preset--font-size--small); }
.wp-block-table.e-metrics td, .wp-block-table.e-metrics th { border: 0; border-bottom: 1px solid var(--e-line); padding: 1rem 0.75rem 1rem 0; text-align: left; vertical-align: top; }
.wp-block-table.e-metrics thead { border: 0; }
.wp-block-table.e-metrics thead th { font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.14em; text-transform: uppercase; color: var(--e-muted); font-weight: 600; border-bottom-color: var(--e-line-strong); }
.e-metrics td:first-child { width: 28%; font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--large); letter-spacing: -0.015em; color: var(--e-fg); }
.e-metrics td:last-child { color: var(--e-muted); }
.e-metrics tbody tr { transition: background-color var(--e-dur-fast) ease; }
.e-metrics tbody tr:hover { background: color-mix(in srgb, var(--wp--preset--color--solar) 6%, transparent); }
@media (max-width: 600px) {
	.e-metrics td:first-child { width: 40%; font-size: var(--wp--preset--font-size--medium); }
}
.e-callout-box {
	padding: clamp(1.5rem, 1rem + 2vw, 3rem) !important;
	border-radius: var(--e-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--solar) 50%, transparent);
	background: radial-gradient(90% 120% at 0% 100%, rgba(245, 165, 36, .16), transparent 60%), radial-gradient(70% 90% at 100% 0%, rgba(46, 124, 246, .14), transparent 60%);
}
.e-callout-box > * { margin: 0 !important; }
.e-callout__big { font-family: var(--wp--preset--font-family--display); letter-spacing: -0.02em; line-height: 1.15 !important; margin-top: 0.5rem !important; max-width: 30ch; }

/* Service levels */
.e-tiers { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important; perspective: 1600px; align-items: stretch; }
@media (min-width: 1000px) { .e-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.e-tier {
	display: flex !important;
	flex-direction: column;
	gap: 0.75rem !important;
	padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) !important;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: var(--e-radius);
	will-change: rotate;
}
.e-tier > * { margin: 0 !important; }
.e-tier .is-style-check { flex: 1; font-size: var(--wp--preset--font-size--small); }
.e-tier.is-featured {
	border-color: var(--wp--preset--color--solar);
	background: radial-gradient(120% 80% at 50% 0%, rgba(245, 165, 36, .18), transparent 60%), color-mix(in srgb, currentColor 3%, transparent);
	box-shadow: 0 40px 90px -50px rgba(245, 165, 36, .6);
}
.e-tier__kicker { font-size: var(--wp--preset--font-size--x-small) !important; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--e-accent); }
.e-tier__text { color: var(--e-muted); }
.e-tier__best { font-size: var(--wp--preset--font-size--small); padding-top: 0.9rem !important; border-top: 1px solid var(--e-line); }

/* Application areas */
.e-areas { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 !important; border-top: 1px solid var(--e-line); }
@media (min-width: 1100px) { .e-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.e-area { padding: 1.5rem 1.25rem 1.5rem 0 !important; border-bottom: 1px solid var(--e-line); }
.e-area > * { margin: 0 0 0.5rem !important; }

/* Mantra */
.e-lti-mantra {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem) !important;
	color: var(--wp--preset--color--solar);
	letter-spacing: 0;
}

/* ==========================================================================
   Brand logo, awards, clients & partners, mission/vision/values
   ========================================================================== */
/* When a logo is set, it carries the ENEO wordmark — hide the duplicate text title. */
.e-brand:has(.wp-block-site-logo img) .wp-block-site-title { display: none; }
.e-header .wp-block-site-logo img { max-height: 62px; width: auto; }
@media (max-width: 600px) { .e-header .wp-block-site-logo img { max-height: 46px; } }
.e-footer-logo { margin: 0 0 0.5rem !important; }
.e-footer-logo img { height: auto; }
.e-footer .e-demo-flag { margin-top: 0.5rem !important; margin-right: 0.4rem; }

/* Awards strip */
.e-awards { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem !important; padding-top: var(--wp--preset--spacing--30); }
.e-awards > * { margin: 0 !important; }
.e-awards > .e-meta { margin-right: 0.5rem !important; }
.e-award {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 1rem 0.55rem 0.7rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--solar) 55%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--solar) 8%, transparent);
	font-size: var(--wp--preset--font-size--small);
	color: var(--e-muted);
}
.e-award::before {
	content: "";
	width: 1.6rem;
	height: 1.6rem;
	flex: none;
	border-radius: 50%;
	background: var(--wp--preset--color--solar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0A08' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5'/%3E%3Cpath d='M8.5 13.5 7 21l5-2.5 5 2.5-1.5-7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.e-award strong { color: var(--e-fg); font-weight: 600; }
.has-ivory-background-color .e-award { border-color: color-mix(in srgb, var(--wp--preset--color--ember) 50%, transparent); background: color-mix(in srgb, var(--wp--preset--color--ember) 7%, transparent); }
.e-awards--stack { flex-direction: column; align-items: flex-start; }

/* Partners */
.e-partners { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem) !important; }
@media (min-width: 782px) { .e-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.e-partner {
	position: relative;
	padding: clamp(1.25rem, 1rem + 1.2vw, 2rem) !important;
	border-radius: var(--e-radius);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--solar) 40%, transparent);
	background: radial-gradient(120% 90% at 100% 0%, rgba(245, 165, 36, .14), transparent 60%), color-mix(in srgb, currentColor 3%, transparent);
	overflow: hidden;
}
.e-partner > * { margin: 0 !important; }
.e-partner__name { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem) !important; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.e-partner__desc { color: var(--e-muted); font-size: var(--wp--preset--font-size--small); margin-top: 0.5rem !important; }

/* Clients wall */
.e-clients {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 0 !important;
	border-top: 1px solid var(--e-line);
	border-left: 1px solid var(--e-line);
}
.e-client {
	margin: 0 !important;
	min-height: 92px;
	display: flex;
	align-items: center;
	padding: 1.1rem 1.25rem;
	border-right: 1px solid var(--e-line);
	border-bottom: 1px solid var(--e-line);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: color-mix(in srgb, currentColor 82%, transparent);
	transition: color var(--e-dur-fast) ease, background-color var(--e-dur-fast) ease;
}
.e-client:hover { color: var(--wp--preset--color--solar); background: color-mix(in srgb, var(--wp--preset--color--solar) 6%, transparent); }
/* Logo images can replace names: keep them uniform and calm */
.e-clients .wp-block-image { margin: 0 !important; display: flex; align-items: center; justify-content: center; padding: 1.25rem; border-right: 1px solid var(--e-line); border-bottom: 1px solid var(--e-line); min-height: 92px; }
.e-clients .wp-block-image img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .75; transition: filter var(--e-dur-fast) ease, opacity var(--e-dur-fast) ease; }
.e-clients .wp-block-image:hover img { filter: none; opacity: 1; }

/* Mission / vision / values */
.e-mv__text { font-family: var(--wp--preset--font-family--display); letter-spacing: -0.02em; line-height: 1.3 !important; }
.e-values { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 !important; border-top: 1px solid var(--e-line); }
.e-value { padding: 1.5rem 1.25rem 1.5rem 0 !important; border-bottom: 1px solid var(--e-line); }
.e-value > * { margin: 0 0 0.4rem !important; }
@media (min-width: 1000px) { .e-values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .e-courses--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   Alignment fixes — keep every wide element on the same wide column
   ========================================================================== */
/* The hero is a grid; grid items with auto margins shrink to their content and drift to the centre.
   Make every hero row fill the wide column instead. */
.e-hero > * { width: 100%; }
/* Eyebrow labels are inline-flex; as wide blocks they must be block-level to sit on the column. */
.is-style-eyebrow.alignwide,
.e-eyebrow.alignwide { display: flex; }
/* Narrow-measure titles that are also "wide" start on the column's left edge instead of centring. */
.e-page-hero .wp-block-post-title.alignwide,
.e-page-hero h1.alignwide,
.alignwide:is(.e-maxw-28, .e-maxw-40, .e-maxw-56) {
	margin-left: max(0px, (100% - var(--wp--style--global--wide-size, 1320px)) / 2) !important;
	margin-right: auto !important;
}

/* One grid: header, hero, impact band and footer share the 1320 px wide column with every other section.
   (Overrides the 1440 px frame saved in pages created with earlier versions.) */
:is(.e-header, .e-hero, .e-footer, .e-section) > .alignwide {
	max-width: var(--wp--style--global--wide-size) !important;
}
.e-section:has(> .e-band) {
	padding-left: var(--wp--style--root--padding-left) !important;
	padding-right: var(--wp--style--root--padding-right) !important;
}
.e-404-hint { margin-top: var(--wp--preset--spacing--30); padding: 0.9rem 1.1rem; border: 1px solid var(--wp--preset--color--solar); border-radius: var(--e-radius, 6px); font-size: var(--wp--preset--font-size--small); }
.e-404-hint a { color: inherit; }
