/* ==========================================================================
   Edman Investments Limited — Rufous Child
   Light, editorial, institutional.
   --------------------------------------------------------------------------
   01 Tokens        06 Header & navigation   11 Cards & grids
   02 Base          07 Mobile drawer         12 Editorial blocks
   03 Elementor     08 Hero slider           13 Contact & map
   04 Layout        09 Page hero             14 Footer
   05 Buttons       10 Section headings      15 Utilities, motion, responsive
   ========================================================================== */

/* 01 Tokens ---------------------------------------------------------------- */
:root {
	color-scheme: light;

	--edm-ink: #0b1b34;
	--edm-ink-2: #22324b;
	--edm-body: #46566f;
	--edm-muted: #66758b;
	--edm-line: #e5e9ef;
	--edm-line-2: #d5dde8;

	--edm-white: #ffffff;
	--edm-paper: #faf8f4;
	--edm-paper-2: #f3f0e9;
	--edm-mist: #f1f6fc;
	--edm-mist-2: #e2ecf8;

	--edm-blue: #1360d6;
	--edm-blue-600: #0f4fb8;
	--edm-blue-700: #0b3f94;
	--edm-cyan: #16b2e6;
	--edm-grad: linear-gradient(118deg, #0f4fb8 0%, #1468dd 46%, #16b2e6 100%);
	--edm-grad-soft: linear-gradient(118deg, rgba(15, 79, 184, .08), rgba(22, 178, 230, .08));

	--edm-serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
	--edm-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--edm-radius-sm: 12px;
	--edm-radius: 18px;
	--edm-radius-lg: 28px;

	--edm-shadow-sm: 0 1px 2px rgba(11, 27, 52, .05), 0 4px 14px rgba(11, 27, 52, .04);
	--edm-shadow: 0 24px 60px -28px rgba(11, 27, 52, .22);
	--edm-shadow-lg: 0 50px 100px -40px rgba(11, 27, 52, .32);

	--edm-wrap: 1240px;
	--edm-gutter: clamp(16px, 4vw, 40px);
	--edm-section: clamp(72px, 9vw, 132px);
	--edm-topbar-h: 40px;
	--edm-bar-h: 84px;
	--edm-ease: cubic-bezier(.2, .7, .2, 1);
	--edm-admin: var(--wp-admin--admin-bar--height, 0px);
}

/* 02 Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.edm {
	margin: 0;
	background: var(--edm-white);
	color: var(--edm-body);
	font-family: var(--edm-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
.edm *, .edm *::before, .edm *::after { box-sizing: border-box; }
.edm img { max-width: 100%; height: auto; }
.edm a { color: var(--edm-blue); text-decoration: none; transition: color .2s ease; }
.edm a:hover { color: var(--edm-blue-700); }
.edm :focus-visible { outline: 2px solid var(--edm-blue); outline-offset: 3px; border-radius: 4px; }
.edm ::selection { background: rgba(19, 96, 214, .16); color: var(--edm-ink); }

.edm h1, .edm h2, .edm h3, .edm h4, .edm h5, .edm h6 {
	margin: 0;
	color: var(--edm-ink);
	font-family: var(--edm-serif);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.005em;
}
.edm p { margin: 0 0 1em; }
.edm p:last-child { margin-bottom: 0; }

/* No numbered lists anywhere: ordered lists take the same refined marker as bullets. */
.edm ol { list-style: none; counter-reset: none; }
.edm ol > li::marker { content: none; }

.edm-icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.edm-skip {
	position: fixed; left: 16px; top: -60px; z-index: 1000;
	padding: 12px 18px; border-radius: 10px; background: var(--edm-ink); color: #fff !important;
	font-weight: 700; transition: top .2s ease;
}
.edm-skip:focus { top: calc(16px + var(--edm-admin)); }
.edm-main:focus { outline: none; }

/* 03 Elementor normalisation ---------------------------------------------- */
/* Widgets inherit the design system from the class on their wrapper. */
.edm .elementor-widget-heading .elementor-heading-title {
	font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; margin: 0;
}
.edm .elementor-widget-text-editor { color: inherit; font: inherit; }
.edm .elementor-widget-image img { display: block; width: 100%; }
.edm .elementor-widget-image a { display: block; }
.edm .elementor-widget:not(:last-child) { margin-block-end: 0; }
.edm .elementor-widget-html, .edm .elementor-widget-shortcode { width: 100%; }

.edm .e-con.edm-x,
.edm .e-con[class*="edm-"] {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--padding-block-start: 0px; --padding-block-end: 0px; --padding-inline-start: 0px; --padding-inline-end: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--width: 100%;
	padding: 0;
	gap: 0;
}

/* 04 Layout ---------------------------------------------------------------- */
.edm-wrap,
.edm .e-con.edm-wrap {
	width: min(calc(100% - var(--edm-gutter) * 2), var(--edm-wrap));
	max-width: none;
	margin-inline: auto;
}
.edm-wrap--narrow, .edm .e-con.edm-wrap--narrow { --edm-wrap: 860px; }

.edm-section, .edm .e-con.edm-section {
	position: relative;
	padding: var(--edm-section) 0;
	background: var(--edm-white);
}
.edm .e-con.edm-section--paper, .edm-section--paper { background: var(--edm-paper); }
.edm .e-con.edm-section--mist, .edm-section--mist { background: var(--edm-mist); }
.edm .e-con.edm-section--tight, .edm-section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.edm .e-con.edm-section--flush-top { padding-top: 0; }
/* A CTA band directly after a white section doesn't need its own top padding. */
.edm .e-con.edm-section:not(.edm-section--paper):not(.edm-section--mist) + .e-con.edm-section--cta { padding-top: 0; }
.edm .e-con.edm-section--cta { padding-bottom: clamp(64px, 8vw, 112px); }
.edm .e-con.edm-section--grid::before,
.edm-section--grid::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(11, 27, 52, .045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(11, 27, 52, .045) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 65%);
	mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 65%);
}
.edm .e-con.edm-section > .e-con, .edm-section > * { position: relative; }

.edm .e-con.edm-stack { display: flex; flex-direction: column; gap: 22px; }
.edm .e-con.edm-stack--lg { gap: 32px; }
.edm .e-con.edm-row { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: center; }

/* 05 Buttons --------------------------------------------------------------- */
.edm .edm-btn,
.edm .edm-ebtn .elementor-button {
	--h: 54px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--h); padding: 0 28px;
	border: 1px solid transparent; border-radius: 999px;
	font-family: var(--edm-sans); font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform .25s var(--edm-ease), box-shadow .25s var(--edm-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}
.edm .edm-btn .edm-icon, .edm .edm-ebtn .elementor-button .edm-icon { width: 18px; height: 18px; transition: transform .3s var(--edm-ease); }
.edm .edm-btn:hover .edm-icon--arrow-right { transform: translateX(4px); }
.edm .edm-btn--sm { --h: 46px; padding: 0 22px; font-size: .9rem; }

.edm .edm-btn--primary,
.edm .edm-ebtn--primary .elementor-button {
	color: #fff; background: var(--edm-grad); background-size: 140% 100%; background-position: 0 0;
	box-shadow: 0 10px 24px -12px rgba(19, 96, 214, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.edm .edm-btn--primary:hover,
.edm .edm-ebtn--primary .elementor-button:hover {
	color: #fff; background-position: 100% 0; transform: translateY(-2px);
	box-shadow: 0 18px 34px -14px rgba(19, 96, 214, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.edm .edm-btn--ghost,
.edm .edm-ebtn--ghost .elementor-button {
	color: var(--edm-ink); background: rgba(255, 255, 255, .6); border-color: var(--edm-line-2);
}
.edm .edm-btn--ghost:hover,
.edm .edm-ebtn--ghost .elementor-button:hover { color: var(--edm-blue); border-color: var(--edm-blue); background: #fff; }
.edm .edm-btn--white, .edm .edm-ebtn--white .elementor-button { color: var(--edm-ink); background: #fff; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45); }
.edm .edm-btn--white:hover, .edm .edm-ebtn--white .elementor-button:hover { color: var(--edm-blue); transform: translateY(-2px); }
.edm .edm-btn--outline-white, .edm .edm-ebtn--outline-white .elementor-button { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .5); }
.edm .edm-btn--outline-white:hover, .edm .edm-ebtn--outline-white .elementor-button:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.edm .edm-btn--link {
	--h: 54px; padding: 0 4px; color: var(--edm-ink); background: none; border-radius: 0;
	background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 calc(50% + 14px);
}
.edm .edm-btn--link:hover { color: var(--edm-blue); background-size: 40% 1px; }
.edm .edm-ebtn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }

.edm-textbtn {
	appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer;
	font: 600 .85rem/1 var(--edm-sans); color: var(--edm-blue);
	text-decoration: underline; text-decoration-color: rgba(19, 96, 214, .3); text-underline-offset: 4px;
}
.edm-textbtn:hover { text-decoration-color: currentColor; }

.edm-arrowlink,
.edm .edm-arrowlink a {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: .92rem; color: var(--edm-ink);
}
.edm-arrowlink .edm-icon { width: 18px; transition: transform .3s var(--edm-ease); color: var(--edm-blue); }
.edm-arrowlink:hover .edm-icon { transform: translateX(4px); }

/* Arrow glyph drawn in CSS so editors can manage links as plain text in Elementor */
.edm-more, .edm .edm-more {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: .92rem; color: var(--edm-ink);
}
.edm-more::after,
.edm .edm-ebtn--primary .elementor-button-content-wrapper::after,
.edm .edm-ebtn--white .elementor-button-content-wrapper::after {
	content: ""; width: 18px; height: 18px; 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='%23000' stroke-width='1.8' 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='%23000' stroke-width='1.8' 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 .3s var(--edm-ease);
}
.edm-more::after { color: var(--edm-blue); background: var(--edm-blue); }
.edm-more:hover::after, .edm .e-con.edm-svc:hover .edm-more::after,
.edm .edm-ebtn .elementor-button:hover .elementor-button-content-wrapper::after { transform: translateX(4px); }
.edm .e-con.edm-svc:hover .edm-more { color: var(--edm-blue); }

/* 06 Header & navigation --------------------------------------------------- */
.edm-header {
	position: sticky;
	top: calc(var(--edm-admin) - var(--edm-topbar-h));
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: box-shadow .3s ease;
}
.edm-header.is-scrolled { box-shadow: 0 1px 0 var(--edm-line), 0 16px 40px -28px rgba(11, 27, 52, .3); }

.edm-topbar { height: var(--edm-topbar-h); background: var(--edm-paper-2); border-bottom: 1px solid rgba(11, 27, 52, .06); font-size: .8rem; color: var(--edm-muted); }
.edm-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.edm-topbar__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.edm-topbar__list li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.edm-topbar__list .edm-icon { width: 15px; height: 15px; color: var(--edm-blue); }
.edm-topbar a { color: var(--edm-ink-2); }
.edm-topbar a:hover { color: var(--edm-blue); }
.edm-topbar__since { margin: 0; display: inline-flex; align-items: center; gap: 10px; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; font-weight: 700; color: var(--edm-ink-2); }
.edm-topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--edm-grad); box-shadow: 0 0 0 4px rgba(22, 178, 230, .15); }

.edm-header__main { border-bottom: 1px solid var(--edm-line); }
.edm-header__bar { height: var(--edm-bar-h); display: flex; align-items: center; gap: 28px; }

.edm-logo { display: inline-flex; flex: none; }
.edm-logo img { display: block; width: auto; height: 56px; }
.edm-logo--footer img { height: 62px; }
.edm-logo--drawer img { height: 46px; }

.edm-nav { margin-inline: auto; }
.edm-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.edm-nav__item { position: relative; display: flex; align-items: center; }
.edm-nav__link {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border: 0; background: none; cursor: pointer;
	font: 600 .93rem/1 var(--edm-sans); color: var(--edm-ink-2) !important; letter-spacing: .005em;
}
.edm-nav__link::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%;
	background: var(--edm-grad); transform: translate(-50%, 6px) scale(0); transition: transform .3s var(--edm-ease);
}
.edm-nav__item:hover > .edm-nav__link, .edm-nav__link:focus-visible { color: var(--edm-blue) !important; }
.edm-nav__item.is-current > .edm-nav__link::after,
.edm-nav__item:hover > .edm-nav__link::after { transform: translate(-50%, 0) scale(1); }
.edm-nav__chev { width: 15px; height: 15px; transition: transform .3s var(--edm-ease); }
.edm-nav__subtoggle { display: none; }
.edm-nav__item.has-sub:hover .edm-nav__chev,
.edm-nav__item.is-open .edm-nav__chev { transform: rotate(180deg); }

.edm-sub {
	position: absolute; top: calc(100% + 14px); left: 50%; z-index: 20;
	min-width: 330px; padding: 10px;
	background: #fff; border: 1px solid var(--edm-line); border-radius: 18px; box-shadow: var(--edm-shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .25s ease, transform .3s var(--edm-ease), visibility .25s;
}
.edm-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.edm-nav__item.has-sub:hover > .edm-sub,
.edm-nav__item.has-sub:focus-within > .edm-sub,
.edm-nav__item.is-open > .edm-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.edm-sub__list { margin: 0; padding: 0; list-style: none; }
.edm-sub .edm-nav__item { display: block; }
.edm-sub .edm-nav__link {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%;
	padding: 14px 16px; border-radius: 12px; line-height: 1.3;
}
.edm-sub .edm-nav__link::after { display: none; }
.edm-sub .edm-nav__link:hover { background: var(--edm-mist); }
.edm-sub__title { font-weight: 700; color: var(--edm-ink); font-size: .95rem; }
.edm-sub__desc { font-weight: 500; font-size: .82rem; color: var(--edm-muted); }

.edm-header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.edm-header__portal { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--edm-ink-2) !important; }
.edm-header__portal .edm-icon { width: 17px; height: 17px; color: var(--edm-blue); }
.edm-header__portal:hover { color: var(--edm-blue) !important; }

.edm-burger {
	display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--edm-line-2);
	background: #fff; color: var(--edm-ink); cursor: pointer; align-items: center; justify-content: center;
}
.edm-burger .edm-icon { width: 24px; height: 24px; }

/* 07 Mobile drawer --------------------------------------------------------- */
.edm-drawer { position: fixed; inset: 0; z-index: 200; }
.edm-drawer[hidden] { display: none; }
.edm-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 27, 52, .42); opacity: 0; transition: opacity .3s ease; }
.edm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
	display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
	padding: calc(20px + var(--edm-admin)) 24px 32px; background: #fff;
	transform: translateX(100%); transition: transform .4s var(--edm-ease);
}
.edm-drawer.is-open .edm-drawer__backdrop { opacity: 1; }
.edm-drawer.is-open .edm-drawer__panel { transform: none; }
.edm-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.edm-drawer__close { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--edm-line-2); background: #fff; color: var(--edm-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.edm-mnav { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--edm-line); }
.edm-mnav > .edm-nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--edm-line); }
.edm-mnav .edm-nav__link { flex: 1; padding: 18px 0; font-family: var(--edm-serif); font-size: 1.45rem; font-weight: 600; color: var(--edm-ink) !important; justify-content: space-between; text-align: left; }
.edm-mnav .edm-nav__link::after { display: none; }
.edm-mnav .edm-nav__subtoggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: var(--edm-mist); border-radius: 12px; color: var(--edm-ink); cursor: pointer; }
.edm-mnav .edm-sub {
	position: static; flex-basis: 100%; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0;
	opacity: 1; visibility: visible; transform: none; display: none;
}
.edm-mnav .edm-sub::before { display: none; }
.edm-mnav .is-open > .edm-sub { display: block; }
.edm-mnav .edm-sub .edm-nav__link { font-family: var(--edm-sans); font-size: 1rem; padding: 12px 14px; }
.edm-mnav .is-open > .edm-nav__subtoggle .edm-icon,
.edm-mnav .is-open > .edm-nav__toggle .edm-nav__chev { transform: rotate(180deg); }
.edm-drawer__actions { display: grid; gap: 12px; }
.edm-drawer__contact { display: grid; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--edm-line); }
.edm-drawer__contact a { display: inline-flex; align-items: center; gap: 12px; color: var(--edm-ink-2); font-weight: 600; }
.edm-drawer__contact .edm-icon { color: var(--edm-blue); }
body.edm-drawer-open { overflow: hidden; }

/* 08 Hero slider ----------------------------------------------------------- */
.edm-hero {
	--interval: 7000ms;
	position: relative; isolation: isolate; overflow: hidden;
	height: clamp(620px, calc(100svh - var(--edm-topbar-h) - var(--edm-bar-h) - var(--edm-admin)), 880px);
	background: var(--edm-paper);
}
.edm-hero__track { position: absolute; inset: 0; }
/* The incoming slide fades in on top; the outgoing one stays opaque underneath until covered,
   so the crossfade never washes out to the background colour. */
.edm-hero__slide { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; transition: opacity 0s linear 1.2s, visibility 0s linear 1.2s; }
.edm-hero__slide.is-leaving { z-index: 1; opacity: 1; visibility: visible; transition: none; }
.edm-hero__slide.is-active { z-index: 2; opacity: 1; visibility: visible; transition: opacity 1.1s var(--edm-ease), visibility 0s; }
.edm-hero__media { position: absolute; inset: 0; overflow: hidden; }
.edm-hero__img {
	position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important;
	object-fit: cover; transform: scale(1.08); transform-origin: 70% 50%;
	transition: transform 9s cubic-bezier(.25, .1, .25, 1);
}
.edm-hero__slide.is-active .edm-hero__img { transform: scale(1); }

/* Centred editorial copy over a soft central veil */
.edm-hero__veil {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 62% 72% at 50% 46%, rgba(250, 248, 244, .94) 0%, rgba(250, 248, 244, .82) 42%, rgba(250, 248, 244, .38) 72%, rgba(250, 248, 244, .12) 100%),
		linear-gradient(0deg, rgba(250, 248, 244, .7) 0%, rgba(250, 248, 244, 0) 24%);
}
.edm-hero__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 clamp(56px, 8vw, 120px) 96px; }
.edm-hero__content { max-width: 860px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.edm-hero__eyebrow {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 22px;
	font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--edm-blue);
}
.edm-hero__eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--edm-grad); transform: scaleX(-1); }
.edm-hero__rule { width: 44px; height: 1px; background: var(--edm-grad); }
.edm-hero__title {
	font-size: clamp(2.7rem, 5.4vw, 4.85rem) !important; line-height: 1.02 !important; letter-spacing: -.015em !important;
	color: var(--edm-ink); margin: 0 0 24px !important;
}
.edm-hero__title em, .edm-display em, .edm-title em, .edm-footer__quote em, .edm-404__title em, .edm-statement__text em {
	font-style: italic; font-weight: 600;
	background: var(--edm-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	padding-right: .04em;
}
.edm-hero__text { max-width: 600px; margin: 0 auto 34px; font-size: 1.12rem; line-height: 1.7; color: var(--edm-ink-2); }
.edm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }

/* Navigation: edge arrows + centred capsule pager ------------------------ */
.edm-hero__arrow {
	position: absolute; top: 50%; z-index: 6; width: 58px; height: 58px; margin-top: -48px;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); color: var(--edm-ink);
	background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: 0 18px 40px -22px rgba(11, 27, 52, .5);
	transition: background-color .3s ease, color .3s ease, transform .4s var(--edm-ease), box-shadow .3s ease;
}
.edm-hero__arrow--prev { left: clamp(14px, 2.4vw, 36px); }
.edm-hero__arrow--next { right: clamp(14px, 2.4vw, 36px); }
.edm-hero__arrow .edm-icon { width: 22px; height: 22px; transition: transform .4s var(--edm-ease); }
.edm-hero__arrow:hover { background: #fff; color: var(--edm-blue); box-shadow: 0 22px 44px -20px rgba(19, 96, 214, .45); }
.edm-hero__arrow--prev:hover .edm-icon { transform: translateX(-3px); }
.edm-hero__arrow--next:hover .edm-icon { transform: translateX(3px); }

.edm-hero__dock { position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vw, 36px); z-index: 6; display: flex; justify-content: center; pointer-events: none; }
.edm-hero__pager {
	pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 5px 5px 10px;
	border-radius: 999px; border: 1px solid rgba(255, 255, 255, .85);
	background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
	box-shadow: 0 24px 50px -28px rgba(11, 27, 52, .5);
}
.edm-hero__chapters { display: inline-flex; align-items: center; gap: 2px; }
.edm-hero__chapter {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	height: 40px; min-width: 30px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
	transition: padding .5s var(--edm-ease), background-color .4s ease, box-shadow .4s ease;
}
.edm-hero__chapter::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(11, 27, 52, .28);
	transition: transform .3s var(--edm-ease), background-color .3s ease, width .3s ease, opacity .2s ease;
}
.edm-hero__chapter:hover::before { background: var(--edm-blue); transform: scale(1.35); }
.edm-hero__chapter.is-done::before { background: rgba(19, 96, 214, .55); }
.edm-hero__chapter-label {
	max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
	font: 800 .7rem/1 var(--edm-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--edm-ink);
	transition: max-width .5s var(--edm-ease), opacity .3s ease;
}
.edm-hero__chapter.is-active { padding: 0 22px; background: #fff; box-shadow: 0 6px 18px -8px rgba(11, 27, 52, .3); }
.edm-hero__chapter.is-active::before { width: 0; opacity: 0; }
.edm-hero__chapter.is-active .edm-hero__chapter-label { max-width: 220px; opacity: 1; transition-delay: .1s; }
.edm-hero__chapter-bar { position: absolute; left: 22px; right: 22px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--edm-line); overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.edm-hero__chapter.is-active .edm-hero__chapter-bar { opacity: 1; }
.edm-hero__chapter-bar > span { position: absolute; inset: 0; background: var(--edm-grad); transform: scaleX(0); transform-origin: left center; }
.edm-hero.is-running .edm-hero__chapter.is-active .edm-hero__chapter-bar > span { animation: edm-progress var(--interval) linear forwards; }
.edm-hero:not(.is-running) .edm-hero__chapter.is-active .edm-hero__chapter-bar > span { transform: scaleX(1); }
.edm-hero.is-paused .edm-hero__chapter.is-active .edm-hero__chapter-bar > span { animation-play-state: paused; }

.edm-hero__toggle {
	width: 40px; height: 40px; margin-left: 6px; flex: none; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: var(--edm-ink); color: #fff; cursor: pointer; transition: background-color .3s ease;
}
.edm-hero__toggle:hover { background: var(--edm-blue); }
.edm-hero__toggle .edm-icon { width: 16px; height: 16px; }
.edm-hero__ico-pause, .edm-hero__ico-play { display: inline-flex; }
.edm-hero__ico-play { display: none; }
.edm-hero.is-stopped .edm-hero__ico-play { display: inline-flex; }
.edm-hero.is-stopped .edm-hero__ico-pause { display: none; }

/* Staggered content entrance on the active slide */
.edm-hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--edm-ease), transform .9s var(--edm-ease); }
.edm-hero__slide.is-active .edm-hero__content > * { opacity: 1; transform: none; }
.edm-hero__slide.is-active .edm-hero__content > :nth-child(1) { transition-delay: .25s; }
.edm-hero__slide.is-active .edm-hero__content > :nth-child(2) { transition-delay: .38s; }
.edm-hero__slide.is-active .edm-hero__content > :nth-child(3) { transition-delay: .52s; }
.edm-hero__slide.is-active .edm-hero__content > :nth-child(4) { transition-delay: .66s; }


@keyframes edm-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes edm-ring { from { stroke-dashoffset: 138.3; } to { stroke-dashoffset: 0; } }

/* 09 Page hero (inner pages) ----------------------------------------------- */
.edm-phero, .edm .e-con.edm-phero {
	position: relative; overflow: hidden;
	padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
	background: var(--edm-paper);
	border-bottom: 1px solid var(--edm-line);
}
.edm-phero::before, .edm .e-con.edm-phero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(11, 27, 52, .05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(11, 27, 52, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 85% 10%, #000, transparent 60%);
	mask-image: radial-gradient(ellipse at 85% 10%, #000, transparent 60%);
}
.edm-phero::after, .edm .e-con.edm-phero::after {
	content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(22, 178, 230, .16), rgba(19, 96, 214, .06) 45%, transparent 70%);
}
.edm-phero__inner, .edm .e-con.edm-phero__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center;
}
.edm-phero--plain .edm-phero__inner { grid-template-columns: 1fr; }
.edm .e-con.edm-phero__text { display: flex; flex-direction: column; gap: 0; }
.edm-phero__title, .edm .edm-phero__title { font-family: var(--edm-serif); font-size: clamp(2.5rem, 4.8vw, 4.2rem); line-height: 1.04; font-weight: 600; color: var(--edm-ink); letter-spacing: -.015em; margin: 14px 0 0; }
.edm-phero__lead, .edm .edm-phero__lead { margin-top: 22px; max-width: 600px; font-size: 1.18rem; line-height: 1.65; color: var(--edm-ink-2); }
.edm .edm-phero__media img, .edm-phero__media img {
	width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
	border-radius: 999px 999px var(--edm-radius-lg) var(--edm-radius-lg);
	box-shadow: var(--edm-shadow-lg);
}
.edm .e-con.edm-phero__media { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.edm .e-con.edm-phero__media::before {
	/* Explicit box: Elementor sizes container pseudo-elements itself, which would override inset. */
	content: ""; position: absolute; top: -14px; left: -14px; right: auto; bottom: auto;
	width: calc(100% + 28px); height: calc(100% + 28px);
	border: 1px solid rgba(19, 96, 214, .22); background: none; opacity: 1;
	border-radius: 999px 999px 34px 34px; pointer-events: none;
}
.edm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .82rem; font-weight: 600; color: var(--edm-muted); }
.edm-crumbs a { color: var(--edm-ink-2); }
.edm-crumbs a:hover { color: var(--edm-blue); }
.edm-crumbs__sep { color: var(--edm-line-2); }
.edm-crumbs [aria-current] { color: var(--edm-blue); }

/* 10 Section headings ------------------------------------------------------ */
.edm-eyebrow, .edm .edm-eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0;
	font-family: var(--edm-sans); font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
	color: var(--edm-blue);
}
.edm-eyebrow::before, .edm .edm-eyebrow .elementor-heading-title::before {
	content: ""; display: inline-block; width: 32px; height: 1px; background: var(--edm-grad); vertical-align: middle; margin-right: 12px;
}
.edm-eyebrow::before { margin-right: 0; }
.edm .edm-eyebrow.elementor-widget::before { content: none; }

.edm-title, .edm .edm-title { font-family: var(--edm-serif); font-size: clamp(2.15rem, 3.7vw, 3.35rem); line-height: 1.08; font-weight: 600; color: var(--edm-ink); letter-spacing: -.01em; }
.edm-display, .edm .edm-display { font-family: var(--edm-serif); font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1.04; font-weight: 600; color: var(--edm-ink); letter-spacing: -.015em; }
.edm-lead, .edm .edm-lead { font-size: 1.15rem; line-height: 1.7; color: var(--edm-ink-2); }
.edm .edm-muted { color: var(--edm-muted); }

.edm .e-con.edm-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.edm .e-con.edm-head--center { margin-inline: auto; text-align: center; align-items: center; }
.edm .e-con.edm-head--split {
	max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end;
}
.edm .e-con.edm-head--split > .e-con { display: flex; flex-direction: column; gap: 18px; }

/* 11 Cards & grids --------------------------------------------------------- */
.edm .e-con.edm-grid-2, .edm .e-con.edm-grid-3, .edm .e-con.edm-grid-4, .edm .e-con.edm-grid-5 { display: grid; gap: clamp(16px, 2vw, 24px); }
.edm .e-con.edm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edm .e-con.edm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edm .e-con.edm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.edm .e-con.edm-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.edm .e-con.edm-grid-5 > .e-con { grid-column: span 2; }
.edm .e-con.edm-grid-5 > .e-con:nth-child(4) { grid-column: 2 / span 2; }
.edm .e-con[class*="edm-grid-"] > .e-con { width: auto; max-width: none; --width: auto; }

.edm .e-con.edm-card {
	position: relative; display: flex; flex-direction: column; gap: 14px;
	padding: clamp(26px, 3vw, 38px);
	background: #fff; border: 1px solid var(--edm-line); border-radius: var(--edm-radius);
	transition: transform .4s var(--edm-ease), box-shadow .4s var(--edm-ease), border-color .3s ease;
}
.edm .e-con.edm-card::before {
	content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; border-radius: 2px;
	background: var(--edm-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--edm-ease);
}
.edm .e-con.edm-card:hover { transform: translateY(-4px); box-shadow: var(--edm-shadow); border-color: transparent; }
.edm .e-con.edm-card:hover::before { transform: scaleX(1); }
.edm .e-con.edm-card--paper { background: var(--edm-paper); }
.edm .e-con.edm-card--wide { grid-column: 1 / -1; }

.edm-ico {
	display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px;
	background: var(--edm-mist); color: var(--edm-blue); margin-bottom: 8px;
	box-shadow: inset 0 0 0 1px rgba(19, 96, 214, .08);
}
.edm-ico .edm-icon { width: 26px; height: 26px; }
.edm-section--mist .edm-ico { background: #fff; }
.edm-card__title, .edm .edm-card__title { font-family: var(--edm-serif); font-size: 1.6rem; line-height: 1.15; font-weight: 600; color: var(--edm-ink); }
.edm-card__text, .edm .edm-card__text { font-size: 1rem; line-height: 1.7; color: var(--edm-body); }
.edm .edm-card__kicker { font: 800 .7rem/1.3 var(--edm-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--edm-muted); }

/* Service cards with imagery */
.edm .e-con.edm-svc {
	position: relative; display: flex; flex-direction: column; gap: 0; overflow: hidden;
	background: #fff; border: 1px solid var(--edm-line); border-radius: var(--edm-radius-lg);
	transition: transform .45s var(--edm-ease), box-shadow .45s var(--edm-ease);
}
.edm .e-con.edm-svc:hover { transform: translateY(-6px); box-shadow: var(--edm-shadow-lg); }
.edm .edm-svc__media { overflow: hidden; }
.edm .edm-svc__media img { aspect-ratio: 4 / 3.3; object-fit: cover; transition: transform 1.2s var(--edm-ease); }
.edm .e-con.edm-svc:hover .edm-svc__media img { transform: scale(1.06); }
.edm .e-con.edm-svc__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; flex: 1; }
.edm .e-con.edm-svc__body > .elementor-widget:last-child { margin-top: auto; padding-top: 8px; }
.edm .edm-svc__title { font-family: var(--edm-serif); font-size: 1.7rem; line-height: 1.12; font-weight: 600; color: var(--edm-ink); }
.edm .edm-svc__title a { color: inherit; }
.edm .edm-svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Facts band */
.edm .e-con.edm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--edm-line); border-bottom: 1px solid var(--edm-line); }
.edm .e-con.edm-fact { display: flex; flex-direction: column; gap: 6px; padding: 34px clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--edm-line); }
.edm .e-con.edm-fact:first-child { border-left: 0; padding-left: 0; }
.edm .edm-fact__value { font-family: var(--edm-serif); font-size: clamp(2.3rem, 3.4vw, 3.1rem); line-height: 1; font-weight: 600; color: var(--edm-ink); }
.edm .edm-fact__value em { font-style: normal; background: var(--edm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.edm .edm-fact__label { font-size: .9rem; line-height: 1.5; color: var(--edm-muted); font-weight: 600; }

/* 12 Editorial blocks ------------------------------------------------------ */
/* Split media + copy */
.edm .e-con.edm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.edm .e-con.edm-split--rev { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.edm .e-con.edm-split--rev > .edm-split__media { order: 2; }
.edm .e-con.edm-split__media { position: relative; }
.edm .edm-split__media img { aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: var(--edm-radius-lg); box-shadow: var(--edm-shadow-lg); }
.edm .edm-split__media--landscape img { aspect-ratio: 5 / 4; }
.edm .e-con.edm-split__media::before {
	content: ""; position: absolute; z-index: 0; inset: 28px -28px -28px 28px; border-radius: var(--edm-radius-lg);
	background: var(--edm-grad-soft); border: 1px solid rgba(19, 96, 214, .12);
}
.edm .e-con.edm-split--rev > .edm-split__media::before { inset: 28px 28px -28px -28px; }
.edm .e-con.edm-split__media > * { position: relative; z-index: 1; }
.edm .e-con.edm-split__media > .elementor-widget-html,
.edm .e-con.edm-feature-media > .elementor-widget-html { position: static; }
.edm .e-con.edm-split__body { display: flex; flex-direction: column; gap: 22px; }

.edm-badge {
	position: absolute; left: -28px; bottom: 42px; z-index: 2;
	display: flex; align-items: center; gap: 16px; padding: 18px 22px 18px 18px;
	background: #fff; border-radius: 18px; box-shadow: var(--edm-shadow-lg); border: 1px solid var(--edm-line);
}
.edm-badge__mark { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--edm-grad); color: #fff; }
.edm-badge__value { display: block; font: 600 2rem/1 var(--edm-serif); color: var(--edm-ink); }
.edm-badge__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--edm-muted); margin-top: 4px; }
.edm-badge--right { left: auto; right: -28px; }
.edm-badge--top { bottom: auto; top: 42px; }

/* Lists inside rich text */
.edm .elementor-widget-text-editor ul, .edm-prose ul, .edm-prose ol, .edm .elementor-widget-text-editor ol {
	list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 12px;
}
.edm .elementor-widget-text-editor li, .edm-prose li { position: relative; padding-left: 26px; }
.edm .elementor-widget-text-editor li::before, .edm-prose li::before {
	content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; transform: rotate(45deg);
	background: var(--edm-grad); border-radius: 2px;
}
.edm .elementor-widget-text-editor li strong { color: var(--edm-ink); }

/* Chips */
.edm .edm-chips ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.edm .edm-chips li {
	padding: 10px 16px 10px 40px; border-radius: 999px; border: 1px solid var(--edm-line-2); background: #fff;
	font-weight: 700; font-size: .9rem; color: var(--edm-ink-2); line-height: 1.3;
}
.edm .edm-chips li::before {
	left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230f4fb8'/%3E%3Cstop offset='1' stop-color='%2316b2e6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='12' fill='url(%23g)'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Reason list (left sticky heading + rows) */
.edm .e-con.edm-aside-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.edm .e-con.edm-aside-layout > .e-con:first-child { position: sticky; top: calc(var(--edm-bar-h) + var(--edm-admin) + 32px); display: flex; flex-direction: column; gap: 22px; }
.edm .e-con.edm-reasons { display: flex; flex-direction: column; border-top: 1px solid var(--edm-line); }
.edm .e-con.edm-reason {
	position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 8px 24px; align-items: start;
	padding: 32px 0; border-bottom: 1px solid var(--edm-line);
}
.edm .e-con.edm-reason::before {
	content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
	background: var(--edm-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--edm-ease);
}
.edm .e-con.edm-reason:hover::before { transform: scaleX(1); }
.edm .e-con.edm-reason > .elementor-widget-html { grid-row: span 2; }
.edm .e-con.edm-reason .edm-ico { margin: 0; }
.edm .edm-reason__title { font-family: var(--edm-serif); font-size: 1.7rem; line-height: 1.15; font-weight: 600; color: var(--edm-ink); }

/* Ledger: two-column reasons with hairlines */
.edm .e-con.edm-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.edm .e-con.edm-ledger > .e-con {
	display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px 22px; align-content: start;
	padding: 36px 0; border-top: 1px solid var(--edm-line); width: auto; --width: auto;
}
.edm .e-con.edm-ledger > .e-con > .elementor-widget-html { grid-row: span 2; }
.edm .e-con.edm-ledger .edm-ico { margin: 0; }

/* Vertical process rail (no numerals) */
.edm .e-con.edm-rail { position: relative; display: flex; flex-direction: column; gap: 0; }
.edm .e-con.edm-rail::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(var(--edm-blue), var(--edm-cyan) 70%, transparent); opacity: .35; }
.edm .e-con.edm-rail > .e-con { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 28px; padding: 0 0 40px; width: auto; }
.edm .e-con.edm-rail > .e-con:last-child { padding-bottom: 0; }
.edm .e-con.edm-rail > .e-con > .elementor-widget-html { grid-row: span 2; }
.edm .e-con.edm-rail .edm-ico { width: 56px; height: 56px; margin: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--edm-white), inset 0 0 0 1px var(--edm-line-2); }
.edm-section--paper .e-con.edm-rail .edm-ico { box-shadow: 0 0 0 6px var(--edm-paper), inset 0 0 0 1px var(--edm-line-2); }
.edm-section--mist .e-con.edm-rail .edm-ico { box-shadow: 0 0 0 6px var(--edm-mist), inset 0 0 0 1px var(--edm-line-2); }
.edm .edm-rail__title { font-family: var(--edm-serif); font-size: 1.6rem; line-height: 1.2; font-weight: 600; color: var(--edm-ink); padding-top: 10px; }

/* Asset class columns */
.edm .e-con.edm-asset { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--edm-line); border-radius: var(--edm-radius-lg); overflow: hidden; }
.edm .e-con.edm-asset__head { display: flex; flex-direction: column; gap: 12px; padding: 34px 32px 28px; background: linear-gradient(180deg, var(--edm-mist), #fff); border-bottom: 1px solid var(--edm-line); }
.edm .e-con.edm-asset__item { display: flex; flex-direction: column; gap: 6px; padding: 22px 32px; border-bottom: 1px solid var(--edm-line); }
.edm .e-con.edm-asset__item:last-child { border-bottom: 0; padding-bottom: 32px; }
.edm .edm-asset__name { font: 700 1rem/1.4 var(--edm-sans); color: var(--edm-ink); }
.edm .edm-asset__text { font-size: .96rem; line-height: 1.65; }

/* Statement */
.edm .e-con.edm-statement { max-width: 960px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.edm .edm-statement__mark { font: italic 600 6rem/0.6 var(--edm-serif); color: var(--edm-cyan); opacity: .55; height: 44px; }
.edm .edm-statement__text { font-family: var(--edm-serif); font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.22; font-weight: 500; color: var(--edm-ink); letter-spacing: -.005em; }

/* AI feature block */
.edm .e-con.edm-feature-media { position: relative; }
.edm .edm-feature-media img { border-radius: var(--edm-radius-lg); aspect-ratio: 16 / 11; object-fit: cover; box-shadow: var(--edm-shadow); }
.edm-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
	background: #fff; border: 1px solid var(--edm-line); box-shadow: var(--edm-shadow-sm);
	font-size: .82rem; font-weight: 700; color: var(--edm-ink);
}
.edm-pill .edm-icon { color: var(--edm-blue); width: 18px; height: 18px; }
.edm-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #1ab66e; box-shadow: 0 0 0 4px rgba(26, 182, 110, .15); }
.edm .edm-float-pill { position: absolute; right: 20px; bottom: -22px; z-index: 2; }

/* CTA band */
.edm .e-con.edm-cta {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 32px clamp(32px, 6vw, 80px);
	padding: clamp(40px, 6vw, 80px);
	border-radius: var(--edm-radius-lg); color: #fff;
	background: var(--edm-grad);
	box-shadow: 0 40px 80px -40px rgba(15, 79, 184, .6);
}
.edm .edm-cta__bg { position: absolute !important; inset: 0; z-index: -1; pointer-events: none; }
.edm .edm-cta__bg img { width: 100%; height: 100% !important; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.edm .e-con.edm-cta::after {
	content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 60px rgba(255, 255, 255, .04), 0 0 0 120px rgba(255, 255, 255, .03);
}
.edm .e-con.edm-cta > .e-con { display: flex; flex-direction: column; gap: 16px; }
.edm .edm-cta .edm-eyebrow { color: rgba(255, 255, 255, .85); }
.edm .edm-cta .edm-eyebrow .elementor-heading-title::before { background: rgba(255, 255, 255, .7); }
.edm .edm-cta__title { font-family: var(--edm-serif); font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1.08; font-weight: 600; color: #fff; }
.edm .edm-cta__text { color: rgba(255, 255, 255, .88); font-size: 1.06rem; max-width: 640px; }
.edm .e-con.edm-cta__actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Rich text prose (legal pages, posts) */
.edm-prose, .edm .edm-prose { color: var(--edm-body); }
.edm-prose h2, .edm .edm-prose h2 { font-size: 2rem; margin: 1.8em 0 .5em; }
.edm-prose h3, .edm .edm-prose h3 { font-size: 1.55rem; margin: 1.6em 0 .4em; }
.edm-prose h4, .edm .edm-prose h4 { font-family: var(--edm-sans); font-size: 1.05rem; font-weight: 700; margin: 1.4em 0 .4em; }
.edm-prose > :first-child, .edm .edm-prose > :first-child { margin-top: 0; }
.edm-prose a { text-decoration: underline; text-underline-offset: 3px; }

.edm .e-con.edm-legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.edm .e-con.edm-legal > .e-con:first-child { position: sticky; top: calc(var(--edm-bar-h) + var(--edm-admin) + 32px); display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--edm-radius); background: var(--edm-paper); border: 1px solid var(--edm-line); }
.edm .e-con.edm-clauses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.edm .e-con.edm-clause { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--edm-line); border-radius: var(--edm-radius); background: #fff; width: auto; }
.edm .edm-clause__title { font: 700 1.02rem/1.35 var(--edm-sans); color: var(--edm-ink); display: flex; align-items: center; gap: 12px; }
.edm .edm-clause__title .elementor-heading-title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; transform: rotate(45deg) translateY(-2px); background: var(--edm-grad); border-radius: 2px; }
.edm .edm-clause .elementor-widget-text-editor { font-size: .98rem; }

/* 13 Contact & map --------------------------------------------------------- */
.edm .e-con.edm-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.edm .e-con.edm-contact__intro { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--edm-bar-h) + var(--edm-admin) + 32px); }
.edm .e-con.edm-contact__panel {
	display: flex; flex-direction: column; gap: 14px;
	padding: clamp(28px, 4vw, 56px); background: #fff; border-radius: var(--edm-radius-lg);
	border: 1px solid var(--edm-line); box-shadow: var(--edm-shadow-lg);
}
.edm-rotator { display: inline-grid; vertical-align: bottom; }
.edm-rotator > span { grid-area: 1 / 1; font-style: italic; background: var(--edm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(40%); transition: opacity .6s var(--edm-ease), transform .7s var(--edm-ease); padding-right: .06em; }
.edm-rotator > span.is-on { opacity: 1; transform: none; }
.edm-rotator > span.is-off { opacity: 0; transform: translateY(-40%); }

.edm-channels { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--edm-line); }
.edm-channel { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--edm-line); }
.edm .elementor-widget-shortcode .edm-channel::before, .edm-channel::before { content: none; }
.edm-channel__icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--edm-mist); color: var(--edm-blue); }
.edm-channel__icon .edm-icon { width: 24px; height: 24px; }
.edm-channel__label { margin: 0 0 4px !important; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--edm-muted); }
.edm-channel__value { margin: 0 0 8px !important; font-size: 1.06rem; font-weight: 600; color: var(--edm-ink); line-height: 1.5; }
.edm-channel__link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; }
.edm-channel__link .edm-icon { width: 15px; height: 15px; transition: transform .3s var(--edm-ease); }
.edm-channel__link:hover .edm-icon { transform: translate(2px, -2px); }

.edm-map { position: relative; height: clamp(360px, 42vw, 520px); border-radius: var(--edm-radius-lg); overflow: hidden; border: 1px solid var(--edm-line); background: var(--edm-mist); box-shadow: var(--edm-shadow); }
.edm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02) saturate(.9); }
.edm-map__card {
	position: absolute; left: 24px; bottom: 24px; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 48px);
	padding: 16px 22px 16px 16px; background: #fff; border-radius: 18px; box-shadow: var(--edm-shadow-lg);
}
.edm-map__pin { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--edm-grad); color: #fff; flex: none; }
.edm-map__title { margin: 0 !important; font-weight: 700; color: var(--edm-ink); font-size: .98rem; }
.edm-map__text { margin: 0 !important; font-size: .88rem; color: var(--edm-muted); }

/* 14 Footer ---------------------------------------------------------------- */
.edm-footer { position: relative; background: var(--edm-paper-2); color: var(--edm-body); font-size: .96rem; border-top: 1px solid rgba(11, 27, 52, .06); }
.edm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--edm-grad); }
.edm-footer__statement {
	display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center;
	padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 5vw, 64px); border-bottom: 1px solid rgba(11, 27, 52, .1);
}
.edm-footer__quote { margin: 0 !important; font-family: var(--edm-serif); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; font-weight: 600; color: var(--edm-ink); max-width: 720px; }
.edm-footer__reach { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.edm-footer__reach a {
	display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 16px;
	background: rgba(255, 255, 255, .7); border: 1px solid rgba(11, 27, 52, .08);
	color: var(--edm-ink) !important; font-weight: 700; font-size: 1rem; transition: background .2s ease, border-color .2s ease, transform .3s var(--edm-ease);
}
.edm-footer__reach a:hover { background: #fff; border-color: var(--edm-blue); transform: translateX(4px); }
.edm-footer__reach-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--edm-grad); color: #fff; flex: none; }
.edm-footer__reach-icon .edm-icon { width: 19px; height: 19px; }
.edm-footer__reach small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--edm-muted); margin-bottom: 2px; }
.edm-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 40px; padding: clamp(48px, 6vw, 72px) 0; }
.edm-footer__brand p { margin-top: 20px; max-width: 360px; }
.edm-footer__title { margin: 0 0 18px !important; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--edm-ink); }
.edm-footer__links, .edm-footer__info, .edm-footer__legal { margin: 0; padding: 0; list-style: none; }
.edm-footer__links { display: grid; gap: 12px; }
.edm-footer__links a { color: var(--edm-body); font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s ease, background-size .3s var(--edm-ease); }
.edm-footer__links a:hover { color: var(--edm-blue); background-size: 100% 1px; }
.edm-footer__info { display: grid; gap: 16px; }
.edm-footer__info li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.55; }
.edm-footer__info .edm-icon { width: 19px; height: 19px; color: var(--edm-blue); margin-top: 2px; }
.edm-footer__info a { color: var(--edm-ink-2); font-weight: 600; }
.edm-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 0 32px; border-top: 1px solid rgba(11, 27, 52, .1); font-size: .86rem; }
.edm-footer__copy { margin: 0 !important; color: var(--edm-muted); }
.edm-footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.edm-footer__legal a { color: var(--edm-ink-2); font-weight: 600; }
.edm-totop { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--edm-ink) !important; }
.edm-totop .edm-icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; border: 1px solid var(--edm-line-2); transform: rotate(-45deg); transition: background .2s ease, color .2s ease; }
.edm-totop:hover .edm-icon { background: var(--edm-ink); color: #fff; border-color: var(--edm-ink); }

/* Fallback templates */
.edm-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.edm-post-card { border: 1px solid var(--edm-line); border-radius: var(--edm-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.edm-post-card__media img { display: block; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.edm-post-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.edm-post-card__title { font-size: 1.6rem; }
.edm-post-card__title a { color: var(--edm-ink); }
.edm-single__media img { border-radius: var(--edm-radius-lg); margin-bottom: 40px; }
.edm-postnav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--edm-line); font-weight: 700; }
.edm-pagination { margin-top: 48px; }
.edm-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.edm-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--edm-line-2); border-radius: 12px; color: var(--edm-ink); padding: 0 12px; }
.edm-pagination .page-numbers.current { background: var(--edm-ink); color: #fff; border-color: var(--edm-ink); }
.edm-404 { padding: clamp(96px, 14vw, 180px) 0; background: var(--edm-paper); text-align: center; }
.edm-404__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.edm-404__title { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; }
.edm-404__text { max-width: 520px; }
.edm-404__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* 15 Motion & responsive --------------------------------------------------- */
.edm-js .edm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--edm-ease), transform 1s var(--edm-ease); }
.edm-js .edm-reveal.is-in { opacity: 1; transform: none; }
.elementor-editor-active .edm-reveal, .elementor-editor-preview .edm-reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.edm *, .edm *::before, .edm *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.edm-js .edm-reveal { opacity: 1; transform: none; }
	.edm-hero__img { transform: none !important; }
}

@media (max-width: 1280px) {
	.edm-header__portal span { display: none; }
	.edm-nav__link { padding: 10px 11px; }
}

@media (max-width: 1199px) {
	.edm-nav { display: none; }
	.edm-burger { display: inline-flex; }
	.edm-header__actions { margin-left: auto; }
	.edm-topbar__list li:first-child { display: none; }
	.edm .e-con.edm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edm-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.edm-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
	:root { --edm-bar-h: 76px; }
	.edm .e-con.edm-split, .edm .e-con.edm-split--rev,
	.edm .e-con.edm-aside-layout, .edm .e-con.edm-contact, .edm .e-con.edm-legal,
	.edm .e-con.edm-head--split { grid-template-columns: minmax(0, 1fr); }
	.edm .e-con.edm-split--rev > .edm-split__media { order: 0; }
	.edm .e-con.edm-split__media { max-width: 620px; }
	.edm .e-con.edm-aside-layout > .e-con:first-child,
	.edm .e-con.edm-contact__intro,
	.edm .e-con.edm-legal > .e-con:first-child { position: static; }
	.edm .e-con.edm-grid-3, .edm .e-con.edm-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edm .e-con.edm-grid-5 > .e-con, .edm .e-con.edm-grid-5 > .e-con:nth-child(4) { grid-column: auto; }
	.edm .e-con.edm-grid-5 > .e-con:last-child { grid-column: 1 / -1; }
	.edm .e-con.edm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edm .e-con.edm-fact:nth-child(3) { border-left: 0; padding-left: 0; }
	.edm .e-con.edm-fact:nth-child(n+3) { border-top: 1px solid var(--edm-line); }
	.edm .e-con.edm-cta { grid-template-columns: minmax(0, 1fr); }
	.edm .e-con.edm-cta__actions { justify-content: flex-start; }
	.edm-footer__statement { grid-template-columns: minmax(0, 1fr); }
	.edm-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.edm-phero__inner, .edm .e-con.edm-phero__inner { grid-template-columns: minmax(0, 1fr); }
	.edm .e-con.edm-phero__media { justify-self: start; max-width: 360px; display: none; }

	.edm-hero { height: clamp(640px, calc(100svh - var(--edm-bar-h) - var(--edm-admin)), 820px); }
	.edm-hero__veil {
		background:
			radial-gradient(ellipse 85% 70% at 50% 50%, rgba(250, 248, 244, .95) 0%, rgba(250, 248, 244, .84) 50%, rgba(250, 248, 244, .5) 100%),
			linear-gradient(0deg, rgba(250, 248, 244, .7) 0%, rgba(250, 248, 244, 0) 24%);
	}
	.edm-hero__arrow { width: 50px; height: 50px; }

}

@media (max-width: 860px) {
	.edm-topbar { display: none; }
	.edm-header { top: var(--edm-admin); }
}

@media (max-width: 767px) {
	body.edm { font-size: 1rem; }
	.edm-logo img { height: 46px; }
	.edm-header__actions .edm-btn { display: none; }
	.edm .e-con.edm-grid-2, .edm .e-con.edm-grid-3, .edm .e-con.edm-grid-4, .edm .e-con.edm-grid-5,
	.edm .e-con.edm-ledger, .edm .e-con.edm-clauses { grid-template-columns: minmax(0, 1fr); }
	.edm .e-con.edm-grid-5 > .e-con:last-child { grid-column: auto; }
	.edm .e-con.edm-split__media::before { inset: 16px -12px -16px 16px; }
	.edm .e-con.edm-split--rev > .edm-split__media::before { inset: 16px 16px -16px -12px; }
	.edm-badge, .edm-badge--right { left: 12px; right: auto; bottom: 16px; padding: 14px 18px 14px 14px; }
	.edm-badge--top { top: auto; }
	.edm .e-con.edm-reason { grid-template-columns: 1fr; }
	.edm .e-con.edm-reason > .elementor-widget-html { grid-row: auto; }
	.edm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.edm-footer__contact { grid-column: 1 / -1; }
	.edm-footer__base { flex-direction: column; align-items: flex-start; }
	.edm-posts { grid-template-columns: minmax(0, 1fr); }
	.edm .edm-float-pill { right: 12px; }
	.edm-map__card { left: 12px; right: 12px; bottom: 12px; max-width: none; }

	/* Hero: arrows give way to swipe; the pager carries navigation */
	.edm-hero__arrow { display: none; }
	.edm-hero__inner { padding: 0 4px 88px; }
	.edm-hero__title { font-size: clamp(2.3rem, 9vw, 3rem) !important; }
	.edm-hero__text { font-size: 1rem; margin-bottom: 26px; }
	.edm-hero__eyebrow { margin-bottom: 16px; font-size: .68rem; gap: 10px; }
	.edm-hero__eyebrow::after, .edm-hero__rule { width: 24px; }
	.edm-hero__chapter.is-active { padding: 0 16px; }
	.edm-hero__chapter-bar { left: 16px; right: 16px; }

}

@media (max-width: 480px) {
	.edm .e-con.edm-facts { grid-template-columns: minmax(0, 1fr); }
	.edm .e-con.edm-fact { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--edm-line); }
	.edm .e-con.edm-fact:first-child { border-top: 0; }
	.edm-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.edm .edm-btn { padding: 0 22px; }
}
