/* ==========================================================================
   Mesogeos Corporate — experimental skin (child of Mesogeos Neu)
   White top bar · navy mega-menu bar · alternating white/grey bands ·
   uppercase underlined section titles · numbered blocks · pill buttons.
   ========================================================================== */

:root {
	--navy: #0e2a4b;
	--navy-2: #143a66;
	--navy-3: #0a2039;
	--sky: #1a9bd7;
	--sky-d: #0f7fb8;
	--ink: #1c2633;
	--ink-2: #4a5566;
	--ink-3: #6b7585;
	--grey: #eceef1;
	--grey-2: #f6f7f9;
	--line: #d8dde4;
	--white: #fff;
	--orange: #e07b39;
	--gold: #f0ab17;

	--r-sm: 6px;
	--r: 10px;
	--r-pill: 999px;
	--shadow-sm: 0 1px 3px rgba(14, 42, 75, .12);
	--shadow: 0 6px 18px rgba(14, 42, 75, .10);
	--shadow-lg: 0 18px 44px rgba(14, 42, 75, .16);

	--font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--container: 1200px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--white);
	color: var(--ink);
	font: 400 1rem/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

/* Block-editor paragraphs carry .wp-block-paragraph, which outranks the bare
   p selector. Re-declare the theme rhythm here — before the component rules
   below — so per-component margins still win the cascade. */
.wp-block-paragraph { margin-block-start: 0; margin-block-end: 1em; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 18px; background: var(--navy); color: #fff; font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.icon { flex: none; }
.logo-m { display: block; width: auto; height: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 40px;
	padding: 9px 22px;
	border: 1px solid #d3d8df;
	border-radius: var(--r-pill);
	background: linear-gradient(#fbfbfc, #e4e7eb);
	box-shadow: 0 2px 4px rgba(14, 42, 75, .14);
	color: var(--ink);
	font: 500 .88rem/1 var(--font);
	white-space: nowrap;
	cursor: pointer;
	transition: box-shadow .2s, color .2s, background .2s, transform .2s;
}
.btn .icon { color: var(--sky); }
.btn:hover { color: var(--navy); box-shadow: 0 4px 10px rgba(14, 42, 75, .2); transform: translateY(-1px); }
.btn:active { transform: none; box-shadow: inset 0 2px 4px rgba(14, 42, 75, .18); }
.btn--primary { border-color: var(--sky-d); background: linear-gradient(var(--sky), var(--sky-d)); color: #fff; }
.btn--primary .icon { color: #fff; }
.btn--primary:hover { color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); background: transparent; box-shadow: none; color: #fff; }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.btn--lg { min-height: 50px; padding: 14px 28px; font-size: .95rem; }
.btn--sm { min-height: 36px; padding: 8px 16px; font-size: .82rem; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: -78px; z-index: 100; background: var(--white); box-shadow: var(--shadow-sm); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }

.cbrand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.cbrand__mark { width: 46px; height: 46px; }
.cbrand__text { display: flex; flex-direction: column; line-height: 1; padding-left: 12px; border-left: 2px solid var(--line); }
.cbrand__name { font-size: 1.35rem; font-weight: 500; letter-spacing: .02em; color: var(--navy); }
.cbrand__tag { margin-top: 4px; font-size: .72rem; font-weight: 500; letter-spacing: .08em; color: var(--sky-d); }
.cbrand--light .cbrand__name { color: #fff; }
.cbrand--light .cbrand__tag { color: #9fd3ef; }
.cbrand--light .cbrand__text { border-color: rgba(255, 255, 255, .25); }

.topbar__tools { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.topbar__link { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: var(--navy); font-size: .78rem; font-weight: 500; }
.topbar__link .icon { color: var(--sky); }
.topbar__link:hover { color: var(--sky-d); }
.topbar__search { display: flex; align-items: center; width: 220px; height: 34px; padding: 0 4px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--grey-2); box-shadow: inset 0 1px 2px rgba(14, 42, 75, .08); }
.topbar__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 .85rem var(--font); color: var(--ink); }
.topbar__search input:focus { outline: none; }
.topbar__search:focus-within { border-color: var(--sky); }
.topbar__search button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; }

.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: var(--navy); color: #fff; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

.navbar { background: var(--navy); }
.navbar__inner { position: relative; }

/* Mega menu -------------------------------------------------------------- */
.mega__list { display: flex; align-items: stretch; gap: 4px; }
.mega__item { position: static; }
.mega__top {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	background: transparent;
	color: #fff;
	font: 500 .95rem/1 var(--font);
	white-space: nowrap;
	cursor: pointer;
}
.mega__top::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--sky); transform: scaleX(0); transition: transform .25s var(--ease); }
.mega__top:hover,
.mega__item.is-open > .mega__top,
.mega__item.is-current > .mega__top { color: #8fd0f2; }
.mega__item.is-open > .mega__top::after,
.mega__item.is-current > .mega__top::after { transform: scaleX(1); }
.mega__chev { display: inline-flex; transition: transform .25s var(--ease); }
.mega__item.is-open .mega__chev { transform: rotate(180deg); }

.mega__panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 50;
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 32px;
	padding: 30px 32px;
	border-top: 3px solid var(--sky);
	background: var(--white);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s var(--ease), visibility 0s linear .2s;
}
.mega__item.is-open > .mega__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease), visibility 0s; }
.mega__intro { padding-right: 28px; border-right: 1px solid var(--line); }
.mega__eyebrow { margin: 0 0 6px; color: var(--sky-d); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mega__title { margin: 0 0 10px; color: var(--navy); font-size: 1.4rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.mega__desc { margin-bottom: 18px; color: var(--ink-2); font-size: .9rem; }
.mega__cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px 28px; align-content: start; }
.mega__col--wide { grid-column: 1 / -1; }
.mega__heading { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--navy); font-weight: 700; font-size: .95rem; }
.mega__heading::before { content: "›"; color: var(--sky); font-size: 1.3rem; line-height: 1; }
.mega__heading:hover { color: var(--sky-d); }
.mega__icon { display: none; }
.mega__col-desc { margin: 0 0 0 16px; color: var(--ink-3); font-size: .85rem; }
.mega__links { padding-left: 16px; }
.mega__col--wide .mega__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 20px; }
.mega__links a { display: block; padding: 6px 0; color: var(--ink-2); font-size: .9rem; border-bottom: 1px solid transparent; }
.mega__links a:hover .mega__link-title,
.mega__links a[aria-current] .mega__link-title { color: var(--sky-d); }
.mega__link-title { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.mega__link-title .icon { color: var(--sky); }
.mega__link-desc { display: block; color: var(--ink-3); font-size: .8rem; line-height: 1.35; }

@media (max-width: 1199.98px) {
	.topbar__link { display: none; }
	.nav-toggle { display: inline-grid; }
	.site-header { top: 0; }
	.navbar { display: none; }
	.nav-open .navbar { display: block; max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; }
	.mega__list { flex-direction: column; padding: 8px 0 16px; }
	.mega__top { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.mega__top::after { display: none; }
	.mega__panel {
		position: static;
		display: none;
		grid-template-columns: 1fr;
		gap: 16px;
		margin: 0 0 8px;
		padding: 18px;
		border-top: 0;
		border-radius: 0 0 var(--r) var(--r);
		opacity: 1; visibility: visible; transform: none; transition: none;
		box-shadow: none;
	}
	.mega__item.is-open > .mega__panel { display: grid; }
	.mega__intro { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
	.mega__cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.topbar__search { display: none; }
	.cbrand__name { font-size: 1.1rem; }
	.cbrand__mark { width: 38px; height: 38px; }
}

/* Hero ------------------------------------------------------------------- */
.chero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.chero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chero::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 32, 57, .94) 0%, rgba(14, 42, 75, .82) 42%, rgba(14, 42, 75, .35) 100%);
}
.chero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-block: clamp(56px, 8vw, 104px) clamp(96px, 10vw, 136px); }
.chero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #9fd3ef; font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.chero__eyebrow::before { content: "›"; font-size: 1.4rem; line-height: 1; color: var(--sky); }
.chero__title { max-width: 16ch; margin-bottom: 20px; font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 300; letter-spacing: -.01em; line-height: 1.08; }
.chero__lead { max-width: 56ch; margin-bottom: 30px; color: #d6e3f0; font-size: clamp(1rem, 1.3vw, 1.12rem); }
.chero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chero__visual { display: grid; place-items: center; }

/* Dial (corporate) */
.dial {
	--size: clamp(280px, 32vw, 420px);
	--dial-r: calc(var(--size) / 2 - var(--size) * .1);
	position: relative;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .12);
	color: var(--ink);
}
.dial__ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px solid var(--line); background: var(--grey-2); }
.dial__track {
	position: absolute;
	inset: 20%;
	border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, rgba(14, 42, 75, .35) 0 .6deg, transparent .6deg 7.5deg);
	-webkit-mask: radial-gradient(circle, transparent 64%, #000 65%, #000 70%, transparent 71%);
	mask: radial-gradient(circle, transparent 64%, #000 65%, #000 70%, transparent 71%);
}
.dial__needle { position: absolute; left: 50%; top: 50%; z-index: 1; width: 3px; height: calc(var(--dial-r) - 30px); margin-left: -1.5px; border-radius: 3px; background: linear-gradient(to top, rgba(26, 155, 215, 0), var(--sky)); transform-origin: 50% 0; transform: rotate(180deg); }
.dial__core { position: absolute; inset: 33%; z-index: 2; display: grid; place-content: center; text-align: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dial__core-mark { display: grid; place-items: center; }
.dial__core-mark .logo-m { width: calc(var(--size) * .15); height: calc(var(--size) * .15); }
.dial__core-label { margin-top: 4px; color: var(--navy); font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.dial__node { position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--dial-r) * -1)) rotate(calc(var(--a) * -1)); }
.dial__node-knob { display: grid; place-items: center; width: calc(var(--size) * .12); height: calc(var(--size) * .12); min-width: 42px; min-height: 42px; border-radius: 50%; border: 2px solid var(--sky); background: #fff; color: var(--sky-d); transition: background .3s, color .3s; }
.dial__node.is-active .dial__node-knob { background: var(--sky); color: #fff; }
.dial__node-label { position: absolute; top: 100%; margin-top: 6px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-size: .7rem; font-weight: 500; white-space: nowrap; }
.dial__node.is-active .dial__node-label { background: var(--sky-d); }

/* Key figures ------------------------------------------------------------ */
.cstats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -64px 0 0; background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--r); overflow: hidden; }
.cstat { padding: 24px 26px; border-top: 4px solid var(--sky); }
.cstat + .cstat { border-left: 1px solid var(--line); }
.cstat dt { color: var(--ink-3); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cstat dd { margin: 6px 0 0; color: var(--navy); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }

/* Bands (PDF-style sections) --------------------------------------------- */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band--grey { background: var(--grey); }
.band__split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.band__title { text-align: right; }
.band__title h2 {
	display: inline-block;
	padding-bottom: 14px;
	border-bottom: 3px solid var(--navy);
	color: var(--navy);
	font-size: clamp(1.5rem, 2.6vw, 2.05rem);
	font-weight: 500;
	letter-spacing: .03em;
	text-transform: uppercase;
	min-width: min(100%, 300px);
}
.band__num { margin: 0 0 10px; color: var(--sky); font-size: 2rem; font-weight: 700; line-height: 1; }
.band__lead { margin-bottom: 10px; color: var(--ink); font-size: 1.12rem; line-height: 1.5; }
.band__body > p:not(.band__num):not(.band__lead) { color: var(--ink-2); }
.band__body .btn { margin-top: 8px; }
.band__wide { margin-top: clamp(32px, 4vw, 52px); }

.eyebrow { margin: 0 0 8px; color: var(--sky-d); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-title { color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.section-lead { color: var(--ink-2); }
.list-title { margin: 0 0 12px; color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chips li { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--grey-2); color: var(--ink-2); font-size: .74rem; font-weight: 500; }

.well-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: rgba(26, 155, 215, .1); color: var(--sky-d); }

/* Tones from JSON */
[data-tone="sky"]   { --tone: #1a9bd7; }
[data-tone="teal"]  { --tone: #17a294; }
[data-tone="green"] { --tone: #3a9b4f; }
[data-tone="olive"] { --tone: #77a536; }
[data-tone="slate"] { --tone: #8a929e; }
[data-tone="terra"] { --tone: #d0662a; }
[data-tone="sun"]   { --tone: #e9ad0c; }

/* Shared block head (pages) */
.mg-head { margin-bottom: clamp(24px, 3vw, 36px); }
.mg-head .section-title { display: inline-block; padding-bottom: 12px; border-bottom: 3px solid var(--navy); }
.mg-head .section-lead { max-width: 760px; margin: 14px 0 0; }
.mg-block + .mg-block,
.entry-content > * + .mg-block { margin-top: clamp(48px, 7vw, 80px); }

/* Growth chart ----------------------------------------------------------- */
.mg-chart { margin: 0; }
.mg-chart__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 14px; color: var(--ink-2); font-size: .85rem; font-weight: 500; }
.mg-chart__legend li { display: inline-flex; align-items: center; gap: 8px; }
.mg-chart__unit { margin-left: auto; color: var(--ink-3); }
.mg-swatch { width: 14px; height: 14px; border-radius: 3px; }
.mg-swatch--0 { background: var(--navy-2); }
.mg-swatch--1 { background: var(--orange); }
.mg-swatch--2 { background: #a3abb6; }
.mg-swatch--total { width: 22px; height: 4px; border-radius: 3px; background: var(--gold); }
.mg-chart__well { overflow-x: auto; padding: clamp(14px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.mg-chart__svg { width: 100%; min-width: 720px; height: auto; overflow: visible; }
.mg-chart__grid line { stroke: #e3e7ec; stroke-width: 1; }
.mg-chart__grid text { fill: var(--ink-3); font: 400 12px var(--font); }
.mg-chart__year { fill: var(--navy); font: 700 13px var(--font); }
.mg-chart__bar { transform-box: fill-box; transform-origin: 50% 100%; }
.mg-chart__bar--0 { fill: var(--navy-2); }
.mg-chart__bar--1 { fill: var(--orange); }
.mg-chart__bar--2 { fill: #a3abb6; }
.mg-chart__bar.is-forecast { fill-opacity: .5; }
.mg-chart__line { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.mg-chart__point circle { fill: #fff; stroke: var(--gold); stroke-width: 3; }
.mg-chart__point rect { fill: var(--gold); }
.mg-chart__point text { fill: var(--navy-3); font: 700 12px var(--font); }

/* Strategy compact ------------------------------------------------------- */
.mg-strategy-compact { display: grid; gap: 28px; }
.mg-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.mg-pillar { padding: 28px 26px; counter-increment: pillar; }
.mg-pillars { counter-reset: pillar; }
.mg-pillar + .mg-pillar { border-left: 1px solid var(--line); }
.mg-pillar .well-icon { margin-bottom: 16px; }
.mg-pillar h3 { margin-bottom: 8px; color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.mg-pillar h3::before { content: "0" counter(pillar) " "; color: var(--sky); }
.mg-pillar p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.mg-platform__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mg-platform__list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-left: 4px solid var(--sky); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); }
.mg-platform__list strong { display: block; color: var(--ink); font-size: .93rem; font-weight: 500; line-height: 1.3; }
.mg-platform__list small { display: block; color: var(--ink-3); font-size: .8rem; }
.mg-platform__num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; }

/* Strategy full flow ----------------------------------------------------- */
.mg-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.mg-flow__col { position: relative; display: flex; flex-direction: column; padding: 0 0 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: visible; }
.mg-flow__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; margin-bottom: 18px; padding: 20px 22px; border-radius: var(--r) var(--r) 0 0; background: var(--tone); color: #fff; }
.mg-flow__step { font-size: 1.6rem; font-weight: 700; line-height: 1; opacity: .9; }
.mg-flow__icon { justify-self: end; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.mg-flow__head h3 { grid-column: 1 / -1; font-size: 1.08rem; font-weight: 500; line-height: 1.3; }
.mg-flow__intro { margin: 0 22px 12px; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.mg-flow__items { display: grid; gap: 12px; padding: 0 22px; }
.mg-flow__items li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mg-flow__items li:last-child { border-bottom: 0; padding-bottom: 0; }
.mg-flow__items strong { display: block; color: var(--navy); font-size: .93rem; font-weight: 700; }
.mg-flow__items span { display: block; margin-top: 3px; color: var(--ink-2); font-size: .86rem; line-height: 1.5; }
.mg-flow__items.is-numbered { counter-reset: flow; }
.mg-flow__items.is-numbered li { counter-increment: flow; position: relative; padding-left: 36px; }
.mg-flow__items.is-numbered li::before { content: counter(flow); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tone); color: #fff; font-size: .78rem; font-weight: 700; }
.mg-flow__arrow { position: absolute; right: -30px; top: 50%; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; color: var(--tone); }

/* Group structure --------------------------------------------------------- */
.mg-companies { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.mg-company { position: relative; display: flex; flex-direction: column; padding: 24px 20px 64px; border-top: 4px solid var(--tone); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.mg-company:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.mg-company__sector { margin: 0 0 8px; color: var(--tone); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mg-company__name { margin-bottom: 8px; color: var(--navy); font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.mg-company__role { color: var(--ink-2); font-size: .88rem; }
.mg-company .chips { margin-top: 4px; }
.mg-company__go { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grey); color: var(--sky-d); }
.mg-company__go::after { content: ""; position: absolute; inset: -400px; }
.mg-company:hover .mg-company__go { background: var(--sky); color: #fff; }
.mg-company:has(.mg-company__go:focus-visible) { outline: 3px solid var(--sky); outline-offset: 3px; }
.mg-company__go:focus-visible { outline: none; }

.mg-org { --line-c: #b9c3cf; }
.mg-org__root { display: flex; justify-content: center; position: relative; padding-bottom: 30px; }
.mg-org__root::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 2px; height: 30px; background: var(--line-c); }
.mg-org__branches { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 18px; }
.mg-org__branch { position: relative; padding-top: 28px; }
.mg-org__branch::before { content: ""; position: absolute; top: 0; left: -9px; right: -9px; height: 2px; background: var(--line-c); }
.mg-org__branch:first-child::before { left: 50%; }
.mg-org__branch:last-child::before { right: 50%; }
.mg-org__branch::after { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 28px; background: var(--line-c); }
.mg-org__node { position: relative; padding: 16px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.mg-org__node--branch { background: var(--tone); color: #fff; }
.mg-org__node--branch .mg-org__role { color: rgba(255, 255, 255, .92); }
.mg-org__node--branch .mg-org__name { background: rgba(10, 32, 57, .35); color: #fff; }
.mg-org__node--branch .mg-org__link,
.mg-org__node--branch .mg-org__note { color: #fff; }
.mg-org__node--child { border-left: 4px solid var(--tone); }
.mg-org__node--root { max-width: 420px; padding: 22px 26px; text-align: center; background: var(--navy); color: #fff; }
.mg-org__node--root .mg-org__role { color: #cfe0ef; font-size: .98rem; }
.mg-org__node--root .mg-org__name { background: #fff; color: var(--navy); font-size: 1.02rem; }
.mg-org__logo { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: #fff; }
.mg-org__logo .logo-m { width: 36px; height: 36px; }
.mg-org__node:target { outline: 3px solid var(--sky); outline-offset: 3px; }
.mg-org__role { margin: 0; color: var(--ink-2); font-size: .86rem; line-height: 1.4; }
.mg-org__name { display: inline-block; margin: 10px 0 0; padding: 5px 10px; border-radius: 4px; background: var(--grey); color: var(--navy); font-size: .82rem; font-weight: 700; line-height: 1.25; }
.mg-org__note { margin: 8px 0 0; color: var(--ink-3); font-size: .74rem; }
.mg-org__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--sky-d); font-size: .8rem; font-weight: 700; }
.mg-org__link:hover { text-decoration: underline; }
.mg-org__children { position: relative; display: grid; gap: 12px; margin-top: 14px; padding-left: 16px; }
.mg-org__children::before { content: ""; position: absolute; left: 4px; top: -14px; bottom: 26px; width: 2px; background: var(--line-c); }
.mg-org__children > li { position: relative; }
.mg-org__children > li::before { content: ""; position: absolute; left: -12px; top: 26px; width: 12px; height: 2px; background: var(--line-c); }

/* History ---------------------------------------------------------------- */
.mg-rail { overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x proximity; }
.mg-rail__list { position: relative; display: flex; gap: 20px; width: max-content; padding-top: 30px; }
.mg-rail__list::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--navy); opacity: .25; }
.mg-rail__item { position: relative; width: 260px; scroll-snap-align: start; }
.mg-rail__item .mg-knob { left: 20px; top: -28px; }
.mg-rail__item .mg-card { height: 100%; }

.mg-timeline { position: relative; display: grid; gap: 20px; }
.mg-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--navy); opacity: .2; }
.mg-timeline__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.mg-timeline__item .mg-card { grid-column: 1; }
.mg-timeline__item:nth-child(even) .mg-card { grid-column: 2; }
@media (min-width: 960.02px) { .mg-timeline__item + .mg-timeline__item { margin-top: -56px; } }
.mg-knob { position: absolute; left: 50%; top: 20px; z-index: 1; width: 20px; height: 20px; margin-left: -10px; border: 3px solid #fff; border-radius: 50%; background: var(--ink-3); box-shadow: 0 0 0 2px var(--line); }
.is-key .mg-knob,
.mg-rail__item .mg-knob { background: var(--sky); box-shadow: 0 0 0 2px var(--sky); }
.mg-card { padding: 20px 22px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); }
.is-key .mg-card { border-top: 3px solid var(--sky); }
.mg-date { margin: 0 0 6px; color: var(--sky-d); font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mg-card__text { margin: 0; color: var(--ink); font-size: .95rem; }
.mg-ticks { display: grid; gap: 4px; margin-top: 10px; }
.mg-ticks li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: .9rem; }
.mg-ticks li::before { content: "›"; position: absolute; left: 0; top: -1px; color: var(--sky); font-weight: 700; }

/* Business plan ---------------------------------------------------------- */
.mg-plan__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mg-plan--compact .mg-plan__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mg-plan__lead { display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 28px; border-radius: var(--r); background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); color: #fff; }
.mg-plan__lead .mg-quote { align-self: flex-start; margin-bottom: auto; }
.mg-plan__title { margin-top: 24px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300; }
.mg-plan__sub { margin: 10px 0 0; color: #cfe0ef; }
.mg-quote { margin: 0; padding: 12px 18px; border-left: 4px solid var(--sky); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); }
.mg-quote p { margin: 0; color: var(--navy); font-size: 1rem; font-weight: 700; font-style: italic; }
.mg-quote cite { display: block; margin-top: 2px; color: var(--ink-3); font-size: .8rem; font-style: normal; }
.mg-quote--inline { display: inline-block; margin-top: 8px; }
.mg-sector { padding: 22px; border-top: 4px solid var(--tone); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); }
.band--grey .mg-sector,
.band--grey .mg-company,
.band--grey .mg-card { box-shadow: var(--shadow-sm); }
.mg-sector header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mg-sector__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--tone); color: #fff; }
.mg-sector h3 { color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.25; }
.mg-sector ol { display: grid; gap: 6px; counter-reset: s; }
.mg-sector li { counter-increment: s; position: relative; padding-left: 26px; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.mg-sector li::before { content: counter(s) "."; position: absolute; left: 0; color: var(--tone); font-weight: 700; }
.mg-sector__note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 8px 10px; border-radius: 4px; background: var(--grey-2); color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.mg-sector__note .icon { color: var(--tone); margin-top: 2px; }

/* News + cards ----------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { position: relative; display: flex; flex-direction: column; padding: 24px; border-top: 4px solid var(--sky); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.news-card:hover { box-shadow: var(--shadow-lg); }
.news-card:has(a:focus-visible) { outline: 3px solid var(--sky); outline-offset: 3px; }
.news-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--ink-3); font-size: .8rem; }
.tag { color: var(--sky-d); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news-card__title { margin-bottom: 10px; color: var(--navy); font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__title a:focus-visible { outline: none; }
.news-card p { margin: 0; color: var(--ink-2); font-size: .92rem; }

.mg-children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.biz-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-top: 4px solid var(--sky); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.biz-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.biz-card__top { margin-bottom: 18px; }
.biz-card__title { margin-bottom: 8px; color: var(--navy); font-size: 1.25rem; font-weight: 700; }
.biz-card__title a::after { content: ""; position: absolute; inset: 0; }
.biz-card p { color: var(--ink-2); font-size: .94rem; }
.biz-card__go { margin-top: auto; align-self: flex-end; color: var(--sky-d); }

.prose-card { max-width: 820px; padding: 32px; border-radius: var(--r); background: var(--grey); }

/* Inner pages (parent page.php / index.php markup) ------------------------ */
.page-hero { position: relative; background: var(--navy) linear-gradient(90deg, rgba(10, 32, 57, .96), rgba(14, 42, 75, .78)); color: #fff; }
.page-hero__card { padding-block: clamp(40px, 6vw, 72px); }
.page-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 300; letter-spacing: .01em; }
.page-hero__lead { max-width: 62ch; margin: 14px 0 0; color: #cfe0ef; font-size: 1.08rem; }
.page-hero .eyebrow { color: #9fd3ef; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 18px; color: #9fd3ef; font-size: .82rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: var(--sky); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.crumbs a:hover { color: #9fd3ef; }
.crumbs [aria-current] { color: #9fd3ef; }

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--page { padding-top: clamp(40px, 6vw, 64px); }
.entry-content > :not(.mg-block):not(.alignwide):not(.alignfull):not(.news-grid) { max-width: 820px; }
.entry-content > p, .entry-content > ul, .entry-content > ol { color: var(--ink-2); font-size: 1.04rem; }
.entry-content > .is-lead { padding-left: 18px; border-left: 4px solid var(--sky); color: var(--ink); font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 500; line-height: 1.55; }
.entry-content > h2 { display: inline-block; margin: clamp(48px, 7vw, 80px) 0 14px; padding-bottom: 12px; border-bottom: 3px solid var(--navy); color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; text-transform: uppercase; }
.entry-content > h3 { margin: 28px 0 8px; color: var(--navy); font-size: 1.25rem; }
.entry-content a:not(.btn):not(.mg-org__link):not(.mg-company__go) { color: var(--sky-d); text-decoration: underline; text-underline-offset: 3px; }
.entry-content > ul { list-style: disc; padding-left: 1.3em; }
.entry-content > ol { list-style: decimal; padding-left: 1.3em; }

.pager { margin-top: 36px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.pager .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Footer ----------------------------------------------------------------- */
.logo-band { padding-block: 40px; background: var(--grey); border-top: 1px solid var(--line); }
.logo-band .container { display: flex; justify-content: center; }
.logo-band__mark { display: inline-flex; align-items: center; gap: 16px; }
.logo-band__mark .logo-m { width: 64px; height: 64px; }
.logo-band__text { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--line); line-height: 1.1; }
.logo-band__text span { color: var(--navy); font-size: 1.6rem; font-weight: 500; letter-spacing: .03em; }
.logo-band__text small { color: var(--sky-d); font-size: .78rem; }

.site-footer { padding-block: 52px 26px; background: var(--navy-3); color: #c6d3e1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 2fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-about p { margin: 16px 0 0; max-width: 32ch; font-size: .9rem; }
.footer-about .cbrand__mark { background: #fff; border-radius: 50%; padding: 6px; }
.footer-col__title { margin-bottom: 12px; color: #fff; font-weight: 700; }
.footer-col__title a:hover { color: #9fd3ef; }
.footer-col li { padding-top: 6px; break-inside: avoid; }
.footer-col ul a { font-size: .88rem; }
.footer-col ul a:hover { color: #fff; }
.footer-col--wide ul { columns: 2; column-gap: 24px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; font-size: .8rem; color: #8ea2b8; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: #fff; }

.mg-editor-note { margin: 0 0 12px; padding: 8px 12px; border-radius: 6px; background: #fff8e6; color: #6b5200; font: 600 12px/1.4 var(--font); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	.mg-companies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-plan--compact .mg-plan__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mg-flow__arrow { display: none; }
	.mg-org__branches { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
	.mg-org__branch::before { left: -9px !important; right: -9px !important; }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
	.chero__grid { grid-template-columns: 1fr; }
	.chero__visual { padding-top: 12px; }
	.dial { --size: min(400px, calc(100vw - 120px)); }
	.cstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cstat:nth-child(3) { border-left: 0; }
	.band__split { grid-template-columns: 1fr; gap: 20px; }
	.band__title { text-align: left; }
	.mg-pillars { grid-template-columns: 1fr; }
	.mg-pillar + .mg-pillar { border-left: 0; border-top: 1px solid var(--line); }
	.mg-plan__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mg-plan__lead { grid-column: 1 / -1; min-height: 0; }
	.news-grid, .mg-children { grid-template-columns: 1fr; }

	.mg-timeline::before { left: 10px; }
	.mg-timeline__item { grid-template-columns: 1fr; padding-left: 40px; }
	.mg-timeline__item .mg-card, .mg-timeline__item:nth-child(even) .mg-card { grid-column: 1; }
	.mg-knob { left: 10px; }

	.mg-org__root { justify-content: flex-start; padding-bottom: 0; }
	.mg-org__root::after { display: none; }
	.mg-org__node--root { text-align: left; }
	.mg-org__logo { margin-left: 0; }
	.mg-org__branches { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; padding-left: 22px; }
	.mg-org__branches::before { content: ""; position: absolute; left: 6px; top: -16px; bottom: 40px; width: 2px; background: var(--line-c); }
	.mg-org__branch { padding-top: 0; }
	.mg-org__branch::before { left: -16px !important; right: auto !important; top: 30px; width: 16px; }
	.mg-org__branch::after { display: none; }
}

@media (max-width: 680px) {
	.cstats { grid-template-columns: 1fr; }
	.cstat + .cstat { border-left: 0; border-top: 1px solid var(--line); }
	.cstat { border-top-width: 0; }
	.cstat:first-child { border-top: 4px solid var(--sky); }
	.mg-companies, .mg-plan--compact .mg-plan__grid, .mg-plan__grid { grid-template-columns: 1fr; }
	.mg-flow { grid-template-columns: 1fr; gap: 40px; }
	.mg-flow__arrow { display: grid; right: auto; left: 50%; top: auto; bottom: -34px; margin: 0 0 0 -13px; transform: rotate(90deg); }
	.chero__actions .btn { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-col--wide ul { columns: 1; }
	.logo-band__text span { font-size: 1.2rem; }
	.mg-chart__unit { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 960px) { .chero::before { background: linear-gradient(180deg, rgba(10, 32, 57, .94) 0%, rgba(14, 42, 75, .86) 55%, rgba(14, 42, 75, .7) 100%); } }
/* ==========================================================================
   Route A parity layer
   The content now lives in blocks, so core adds its own wrapper classes and
   layout spacing. These rules keep the original look exactly.
   ========================================================================== */

/* Core's block gap is neutralised in theme.json (blockGap: 0), so our own
   section margins (e.g. .band__wide, .mg-quote--inline) keep working untouched. */

/* Buttons sit in a paragraph wrapper so the inline chevron survives editing. */
.btn-line { display: flex; margin: 0; }
.btn-line .btn { text-decoration: none; }
@media (max-width: 680px) { .btn-line { width: 100%; } }

/* Overview buttons in the mega panels are markup we control: no underline. */
.btn { text-decoration: none; }

/* Core quote: keep the citation left-aligned like the original. */
.mg-quote cite { text-align: left; }
.mg-quote p { margin: 0; }

/* Empty-news notice (editor only). */
.mg-empty { color: var(--ink-3); font-size: .95rem; }
/* The key-figures strip overlaps the hero. Core zeroes the first-child margin of
   flow layouts, which cancels the negative offset � re-assert it. */
.blocks-page .cstats { margin-block-start: -64px; }
/* Compact dropdown — used by the language switcher menu item ------------------ */
.mega__links--flat { padding-left: 0; }
.mega__links--flat li + li { margin-top: 4px; }
.mega__links--flat a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: var(--r-sm);
	color: var(--ink);
	font-weight: 500;
}
.mega__links--flat a:hover,
.mega__links--flat a[aria-current] { box-shadow: var(--inset-sm); color: var(--accent); }
.mega__links--flat img { display: inline-block; width: auto; height: 14px; }

@media (min-width: 1200px) {
	.mega__item--compact { position: relative; }
	.mega__item--compact > .mega__panel {
		left: auto;
		right: 0;
		width: 250px;
		display: block;
		gap: 0;
		padding: 12px;
	}
}