/*
 * SB Construction: global styles, header and footer.
 * Colours and type follow the approved design (Concept B, 21/10/2026).
 * Page sections are built in Elementor. This file sets defaults so
 * Elementor widgets left on "Default" match the design.
 */

/* ---------- Tokens ---------- */
:root {
	--sb-purple: #443C8E;       /* primary: buttons, links, active menu */
	--sb-purple-dark: #2E2766;  /* hero bands, hover */
	--sb-navy: #1E1B3A;         /* footer */
	--sb-sky: #51AFD5;          /* accent: underlines, labels on dark */
	--sb-teal: #2F7FA3;         /* accent text on light (passes AA) */
	--sb-ink: #2B2B33;          /* main text */
	--sb-body: #4A4860;         /* secondary text */
	--sb-muted: #5C5A70;        /* small print (passes AA on white) */
	--sb-mist: #F4F3F9;         /* light panels */
	--sb-line: #E6E5EE;         /* borders */

	--sb-font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--sb-font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--sb-width: 1240px;
	--sb-gutter: 20px;
	--sb-radius: 18px;
	--sb-header-top: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Base ---------- */
body {
	margin: 0;
	background: #FFFFFF;
	color: var(--sb-ink);
	font-family: var(--sb-font-body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sb-font-head);
	color: inherit;
	line-height: 1.15;
	margin-top: 0;
}
h1, h2 { font-weight: 800; }
h3, h4, h5, h6 { font-weight: 700; }

a { color: var(--sb-purple); }
a:hover { color: var(--sb-purple-dark); }

img { max-width: 100%; height: auto; }

:focus-visible {
	outline: 3px solid var(--sb-sky);
	outline-offset: 2px;
}

.sb-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sb-width);
	margin-inline: auto;
	padding-inline: var(--sb-gutter);
}

/* Skip link: hidden until focused (keyboard users) */
.skip-link.screen-reader-text:focus {
	position: fixed;
	top: calc(var(--sb-header-top) + 8px);
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 12px 18px;
	background: #FFFFFF;
	color: var(--sb-purple);
	font-family: var(--sb-font-head);
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(30, 27, 58, .25);
}

/* ---------- Buttons (also usable in Elementor via CSS class) ---------- */
.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	border: 2px solid var(--sb-purple);
	font-family: var(--sb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.sb-btn--primary { background: var(--sb-purple); color: #FFFFFF; }
.sb-btn--primary:hover { background: var(--sb-purple-dark); border-color: var(--sb-purple-dark); color: #FFFFFF; }
.sb-btn--outline { background: #FFFFFF; color: var(--sb-purple); }
.sb-btn--outline:hover { background: var(--sb-mist); color: var(--sb-purple-dark); }
.sb-btn--block { display: flex; width: 100%; min-height: 52px; }

/* ---------- Header ---------- */
.sb-header {
	position: sticky;
	top: var(--sb-header-top);
	z-index: 50;
	background: #FFFFFF;
	border-bottom: 1px solid var(--sb-line);
	font-family: var(--sb-font-head);
}

.sb-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 10px;
}

.sb-header__logo { display: flex; align-items: center; flex: none; }
.sb-header__logo img { display: block; width: auto; height: 44px; }

.sb-nav { display: flex; align-items: center; gap: 22px; }

.sb-nav__list {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-nav__list a {
	display: inline-block;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	color: var(--sb-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.sb-nav__list a:hover { color: var(--sb-purple); }
.sb-nav__list .current-menu-item > a,
.sb-nav__list .current_page_item > a,
.sb-nav__list .current-menu-ancestor > a,
.sb-nav__list .current_page_parent > a {
	color: var(--sb-purple);
	border-bottom-color: var(--sb-sky);
}

/* Menu button: hidden on desktop */
.sb-burger {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--sb-purple);
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--sb-purple);
	font-family: var(--sb-font-head);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.sb-burger:hover { background: var(--sb-mist); }
.sb-burger__close { display: none; }
.sb-burger[aria-expanded="true"] .sb-burger__open { display: none; }
.sb-burger[aria-expanded="true"] .sb-burger__close { display: block; }

/* Mobile menu panel */
.sb-mobile {
	border-top: 1px solid var(--sb-line);
	background: #FFFFFF;
	padding: 8px 0 20px;
	max-height: calc(100vh - 66px - var(--sb-header-top));
	overflow-y: auto;
}
.sb-mobile[hidden] { display: none; }
.sb-mobile__list { margin: 0 0 16px; padding: 0; list-style: none; }
.sb-mobile__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	border-bottom: 1px solid #EEEDF6;
	color: var(--sb-ink);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}
.sb-mobile__list a::after { content: "\2192"; color: var(--sb-sky); }
.sb-mobile__list .current-menu-item > a,
.sb-mobile__list .current_page_item > a { color: var(--sb-purple); }
.sb-mobile .sb-btn + .sb-btn { margin-top: 10px; }

@media (max-width: 1140px) {
	.sb-nav { display: none; }
	.sb-burger { display: inline-flex; }
}
@media (min-width: 1141px) {
	.sb-mobile { display: none !important; }
}
@media (max-width: 420px) {
	.sb-header__logo img { height: 38px; }
}

/* ---------- Footer ---------- */
.sb-footer {
	background: var(--sb-navy);
	color: #C9C6E0;
	font-family: var(--sb-font-body);
	font-size: 15px;
	line-height: 1.6;
}
.sb-footer a { color: #E4E2F3; text-decoration: none; }
.sb-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.sb-footer p { margin: 0; }

.sb-footer__main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 36px 56px;
	padding-block: 56px 28px;
}
.sb-footer__about { flex: 2 1 320px; display: flex; flex-direction: column; gap: 10px; }
.sb-footer__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.sb-footer__col { flex: 1 1 180px; }

.sb-footer__heading {
	margin: 0 0 8px;
	color: #FFFFFF;
	font-family: var(--sb-font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.sb-footer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }

.sb-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-block: 20px;
	border-top: 1px solid #34305A;
	font-size: 14px;
}
.sb-footer__legal strong { color: #FFFFFF; }

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

/* =====================================================================
 * Page components (v1.1.1)
 * Elementor containers and widgets carry these classes (Advanced > CSS
 * Classes). Layout spacing is set here so every page stays consistent;
 * text, images and links stay editable in Elementor.
 * ===================================================================== */

/* Every SB container starts with no Elementor default padding or gap */
body .e-con.e-con.sb {
	--padding-top: 0px !important; --padding-right: 0px !important; --padding-bottom: 0px !important; --padding-left: 0px !important;
	--gap: 0px !important; --row-gap: 0px !important; --column-gap: 0px !important;
	--margin-top: 0px !important; --margin-bottom: 0px !important;
	--display: flex !important; --flex-direction: column !important; --flex-wrap: nowrap !important;
	--justify-content: flex-start !important; --align-items: stretch !important;
	min-height: 0;
}
body .e-con.e-con.sb .elementor-widget { margin-bottom: 0; }
body .e-con.e-con.sb .elementor-widget:not(:last-child) { margin-block-end: 0; }

/* Page section and inner wrapper */
body .e-con.e-con.sb-sec { width: 100%; --width: 100% !important; }
body .e-con.e-con.sb-wrap {
	--width: 100% !important;
	width: 100%;
	max-width: var(--sb-width);
	margin-inline: auto;
	--padding-left: var(--sb-gutter) !important; --padding-right: var(--sb-gutter) !important;
	--padding-top: 88px !important; --padding-bottom: 88px !important;
	--gap: 32px !important; --row-gap: 32px !important; --column-gap: 32px !important;
}
body .e-con.e-con.sb-wrap--tight { --padding-top: 64px !important; --padding-bottom: 64px !important; --gap: 24px !important; --row-gap: 24px !important; }
body .e-con.e-con.sb-wrap--short { --padding-top: 28px !important; --padding-bottom: 0px !important; }
body .sb-sec--mist { background: var(--sb-mist); }
body .sb-sec--dark { background: var(--sb-purple-dark); color: #FFFFFF; }
body .sb-sec--line { border-bottom: 1px solid var(--sb-line); }

/* Rows and grids */
body .e-con.e-con.sb-row { --flex-direction: row !important; --flex-wrap: wrap !important; --gap: 32px 48px !important; --row-gap: 32px !important; --column-gap: 48px !important; --align-items: flex-start !important; }
body .e-con.e-con.sb-row--between { --justify-content: space-between !important; --align-items: flex-end !important; --row-gap: 12px !important; }
body .e-con.e-con.sb-row--center { --align-items: center !important; }
body .e-con.e-con.sb-row > .e-con.e-con.sb-col { flex: 1 1 340px; --width: auto !important; width: auto; }
body .e-con.e-con.sb-row > .e-con.e-con.sb-col--wide { flex: 1.4 1 480px; }

body .e-con.e-con.sb-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
body .e-con.e-con.sb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
body .e-con.e-con.sb-grid--cards { gap: 24px; }
body .e-con.e-con.sb-grid--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body .e-con.e-con.sb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1024px) {
body .e-con.e-con.sb-grid, body .e-con.e-con.sb-grid--4, body .e-con.e-con.sb-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .e-con.e-con.sb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
body .e-con.e-con.sb-grid, body .e-con.e-con.sb-grid--4, body .e-con.e-con.sb-grid--tiles { grid-template-columns: 1fr; }
body .e-con.e-con.sb-wrap { --padding-top: 56px !important; --padding-bottom: 56px !important; }
body .e-con.e-con.sb-wrap--short { --padding-top: 24px !important; --padding-bottom: 0px !important; }
}
body .e-con.e-con.sb-grid > .e-con { --width: auto !important; width: auto; }

/* Type helpers (on Heading / Text Editor widgets) */
body .sb-h1 .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: clamp(36px, 5.4vw, 70px); line-height: 1.06; letter-spacing: -0.02em; max-width: 16ch; color: inherit; }
body .sb-h2 .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; color: inherit; }
body .sb-h2--sm .elementor-heading-title { font-size: clamp(26px, 3vw, 34px); }
body .sb-h3 .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 700; font-size: 20px; line-height: 1.3; color: inherit; }
body .sb-eyebrow .elementor-heading-title { font-family: var(--sb-font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sb-teal); }
body .sb-sec--dark .sb-eyebrow .elementor-heading-title, body .sb-mission .sb-eyebrow .elementor-heading-title { color: var(--sb-sky); letter-spacing: 0.16em; }
body .sb-num .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: 14px; color: var(--sb-teal); }
body .sb-lead { font-size: clamp(18px, 2vw, 21px); max-width: 56ch; }
body .sb-lead p, body .sb-text p { margin: 0 0 14px; }
body .sb-lead p:last-child, body .sb-text p:last-child { margin-bottom: 0; }
body .sb-text { color: var(--sb-body); }
body .sb-text--sm { font-size: 16px; }
body .sb-sec--dark .sb-text { color: #D6D3EE; }
body .sb-hero .sb-lead { color: #E4E2F3; }
body .sb-link .elementor-heading-title, body .sb-link .elementor-heading-title a { font-family: var(--sb-font-body); font-size: 16px; font-weight: 700; color: var(--sb-purple); }
body .sb-link .elementor-heading-title a:hover { color: var(--sb-purple-dark); }
body .sb-muted .elementor-heading-title { font-family: var(--sb-font-body); font-size: 15px; font-weight: 600; color: var(--sb-muted); }

/* Buttons (Button widget) */
body .sb-button .elementor-button {
	display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
	border-radius: 999px; border: 2px solid var(--sb-purple);
	background: var(--sb-purple); color: #FFFFFF;
	font-family: var(--sb-font-head); font-size: 16px; font-weight: 700; line-height: 1.2;
	box-shadow: none; transition: background-color .2s ease, color .2s ease;
}
body .sb-button .elementor-button:hover, body .sb-button .elementor-button:focus { background: var(--sb-purple-dark); border-color: var(--sb-purple-dark); color: #FFFFFF; }
body .sb-button--white .elementor-button { background: #FFFFFF; border-color: #FFFFFF; color: var(--sb-purple); }
body .sb-button--white .elementor-button:hover { background: var(--sb-mist); border-color: var(--sb-mist); color: var(--sb-purple-dark); }
body .sb-button--ghost .elementor-button { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
body .sb-button--ghost .elementor-button:hover { background: rgba(255,255,255,.12); border-color: #FFFFFF; color: #FFFFFF; }
body .e-con.e-con.sb-buttons { --flex-direction: row !important; --flex-wrap: wrap !important; --gap: 14px !important; --row-gap: 14px !important; --column-gap: 14px !important; }

/* Hero */
body .e-con.e-con.sb-hero { position: relative; overflow: hidden; background-color: var(--sb-purple-dark); color: #FFFFFF; }
body .e-con.e-con.sb-hero > .e-con.e-con.sb-wrap { --padding-top: 140px !important; --padding-bottom: 110px !important; --gap: 24px !important; --row-gap: 24px !important; position: relative; z-index: 2; }
body .sb-hero .elementor-background-overlay, body .e-con.e-con.sb-hero::before {
	background: linear-gradient(90deg, rgba(30,25,70,.9) 0%, rgba(30,25,70,.65) 55%, rgba(30,25,70,.35) 100%) !important;
	opacity: 1 !important;
}
body .sb-badge .elementor-heading-title {
	display: inline-flex; padding: 6px 14px; border-radius: 999px;
	background: var(--sb-sky); color: #12122A;
	font-family: var(--sb-font-body); font-size: 14px; font-weight: 700;
}
@media (max-width: 700px) {
body .e-con.e-con.sb-hero > .e-con.e-con.sb-wrap { --padding-top: 84px !important; --padding-bottom: 64px !important; }
}

/* Logo strip (Image Carousel widget) */
body .sb-logos .swiper-slide { display: flex; align-items: center; justify-content: center; height: 86px; }
body .sb-logos .swiper-slide-image { max-height: 54px; width: auto; max-width: 160px; object-fit: contain; }


/* Key facts */
body .e-con.e-con.sb-fact { border-top: 3px solid var(--sb-purple); padding-top: 16px; --gap: 6px !important; --row-gap: 6px !important; }
body .sb-fact__num .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: 42px; line-height: 1.1; color: var(--sb-purple); }
body .sb-fact .sb-text { color: var(--sb-body); }

/* Mission panel */
body .e-con.e-con.sb-mission { padding: 36px 32px; border-radius: 22px; background: var(--sb-purple-dark); color: #FFFFFF; --gap: 12px !important; --row-gap: 12px !important; }
body .sb-quote .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; color: #FFFFFF; }
body .sb-mission .sb-text { color: #DAD8EA; font-size: 17px; }

/* Plain cards (the nine "why SB" boxes) */
body .e-con.e-con.sb-card { padding: 26px; border-radius: var(--sb-radius); background: var(--sb-mist); --gap: 8px !important; --row-gap: 8px !important; }

/* Project cards (container used as a link) */
body .e-con.e-con.sb-pcard {
	border-radius: 20px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--sb-line);
	color: var(--sb-ink); text-decoration: none;
	transition: transform .35s ease, box-shadow .35s ease;
}
body .e-con.e-con.sb-pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,39,102,.18); color: var(--sb-ink); }
body .sb-pcard .sb-pcard__img { overflow: hidden; aspect-ratio: 16 / 10; }
body .sb-pcard .sb-pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
body .sb-pcard:hover .sb-pcard__img img { transform: scale(1.06); }
body .e-con.e-con.sb-pcard__body { padding: 20px 22px 24px; --gap: 6px !important; --row-gap: 6px !important; }
body .sb-pcard__more .elementor-heading-title { font-family: var(--sb-font-body); font-size: 15px; font-weight: 700; color: var(--sb-purple); margin-top: 4px; }

/* Sector tiles (Heading widget with a link) */
body .sb-tile .elementor-heading-title a {
	min-height: 76px; display: flex; align-items: center; justify-content: space-between;
	padding: 0 24px; border-radius: 14px; background: var(--sb-mist); color: var(--sb-ink);
	font-family: var(--sb-font-head); font-weight: 700; font-size: 17px; text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}
body .sb-tile .elementor-heading-title a::after { content: "\2192"; }
body .sb-tile .elementor-heading-title a:hover { background: var(--sb-purple); color: #FFFFFF; }

/* Rounded photos */
body .sb-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; display: block; }
body .sb-photo--offset { margin-top: 28px; }

/* Accreditation logo strip */
body .e-con.e-con.sb-acc { padding: 28px 20px; border-radius: var(--sb-radius); border: 1px solid var(--sb-line); --gap: 20px !important; --row-gap: 20px !important; }
body .e-con.e-con.sb-acc__row { --flex-direction: row !important; --flex-wrap: wrap !important; --justify-content: center !important; --gap: 16px 32px !important; --row-gap: 16px !important; --column-gap: 32px !important; }
body .e-con.e-con.sb-acc__row > .elementor-widget-image { flex: 0 1 180px; width: auto !important; --container-widget-width: auto !important; height: 84px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) {
body .e-con.e-con.sb-acc__row > .elementor-widget-image { flex-basis: 120px; height: 72px; }
body .sb-acc__row img { max-height: 60px; }
}
body .sb-acc__row img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Call to action box */
body .e-con.e-con.sb-cta-wrap { --padding-left: var(--sb-gutter) !important; --padding-right: var(--sb-gutter) !important; --padding-bottom: 88px !important; }
/* 1.1.2: when the CTA follows a coloured band (dark or mist), give it its own top space so it doesn't butt up against the band. */
body .sb-sec--dark + .e-con.e-con.sb-cta-wrap,
body .sb-sec--mist + .e-con.e-con.sb-cta-wrap,
body .sb-hero + .e-con.e-con.sb-cta-wrap { --padding-top: 88px !important; }
@media (max-width: 600px) {
	body .sb-sec--dark + .e-con.e-con.sb-cta-wrap,
	body .sb-sec--mist + .e-con.e-con.sb-cta-wrap,
	body .sb-hero + .e-con.e-con.sb-cta-wrap { --padding-top: 56px !important; }
}
body .e-con.e-con.sb-cta {
	max-width: 1200px; margin-inline: auto; width: 100%;
	padding: 52px 36px; border-radius: 28px; background: var(--sb-purple); color: #FFFFFF;
	--flex-direction: row !important; --flex-wrap: wrap !important; --justify-content: space-between !important; --align-items: center !important;
	--gap: 24px !important; --row-gap: 24px !important;
}
body .sb-cta .sb-text { color: #DAD8EA; }

/* Motion off for people who ask for it */
@media (prefers-reduced-motion: reduce) {
body .e-con.e-con.sb-pcard:hover { transform: none; }
body .sb-pcard:hover .sb-pcard__img img { transform: none; }
}

/* Inner page header (dark band with eyebrow, H1 and intro) */
body .e-con.e-con.sb-pagehero > .e-con.e-con.sb-wrap { --padding-top: 88px !important; --padding-bottom: 64px !important; --gap: 14px !important; --row-gap: 14px !important; }
body .sb-h1--page .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; color: #FFFFFF; max-width: 22ch; }
body .sb-pagehero .sb-text { color: #E4E2F3; max-width: 60ch; }
@media (max-width: 600px) { body .e-con.e-con.sb-pagehero > .e-con.e-con.sb-wrap { --padding-top: 56px !important; --padding-bottom: 44px !important; } }

/* Accreditation cards */
body .e-con.e-con.sb-acard { padding: 22px; border-radius: var(--sb-radius); border: 1px solid var(--sb-line); background: #FFFFFF; --gap: 10px !important; --row-gap: 10px !important; transition: transform .3s ease, box-shadow .3s ease; }
body .e-con.e-con.sb-acard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46,39,102,.14); }
body .sb-acard__logo { height: 64px; display: flex; align-items: center; }
body .sb-acard__logo .elementor-widget-container { text-align: left; }
body .sb-acard__logo img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }
body .e-con.e-con.sb-acard > .sb-acard__ref { margin-top: auto; }
body .sb-acard__ref .elementor-heading-title { font-family: var(--sb-font-body); font-size: 14px; font-weight: 400; color: var(--sb-muted); padding-top: 10px; border-top: 1px solid #EEEDF6; }
@media (prefers-reduced-motion: reduce) { body .e-con.e-con.sb-acard:hover { transform: none; } }

/* Outline button on light backgrounds */
body .sb-button--outline .elementor-button { background: #FFFFFF; border-color: var(--sb-purple); color: var(--sb-purple); }
body .sb-button--outline .elementor-button:hover { background: var(--sb-mist); border-color: var(--sb-purple-dark); color: var(--sb-purple-dark); }

/* Policy list (rows are containers used as links) */
body .e-con.e-con.sb-plist { background: #FFFFFF; border-radius: var(--sb-radius); border: 1px solid var(--sb-line); overflow: hidden; }
body .e-con.e-con.sb-prow { --flex-direction: row !important; --flex-wrap: wrap !important; --justify-content: space-between !important; --align-items: center !important; --gap: 6px 20px !important; --row-gap: 6px !important; --column-gap: 20px !important; padding: 16px 22px; border-bottom: 1px solid #EEEDF6; color: var(--sb-ink); text-decoration: none; transition: background-color .2s ease; }
body .e-con.e-con.sb-prow:last-child { border-bottom: 0; }
body .e-con.e-con.sb-prow:hover { background: var(--sb-mist); color: var(--sb-ink); }
body .e-con.e-con.sb-prow > .e-con { --gap: 0px !important; flex: 1 1 260px; }
body .sb-prow__name .elementor-heading-title { font-family: var(--sb-font-body); font-size: 18px; font-weight: 700; color: var(--sb-ink); }
body .sb-prow__note .elementor-heading-title { font-family: var(--sb-font-body); font-size: 14px; font-weight: 400; color: var(--sb-muted); }
body .sb-prow__status .elementor-heading-title { font-family: var(--sb-font-body); font-size: 14px; font-weight: 700; color: var(--sb-purple); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { body .e-con.e-con.sb-prow { transition: none; } }

/* Narrow reading column and long-form text (Privacy) */
body .e-con.e-con.sb-wrap--narrow { max-width: 860px; }
body .sb-prose { color: var(--sb-ink); }
body .sb-prose h2 { font-family: var(--sb-font-head); font-weight: 800; font-size: 28px; line-height: 1.2; margin: 32px 0 10px; }
body .sb-prose h2:first-child { margin-top: 0; }
body .sb-prose h3 { font-family: var(--sb-font-head); font-weight: 700; font-size: 20px; margin: 24px 0 8px; }
body .sb-prose p { margin: 0 0 12px; }
body .sb-prose ul { margin: 0 0 12px; padding-left: 22px; }
body .sb-prose li { margin-bottom: 4px; }
body .sb-prose--panel { padding: 28px; border-radius: var(--sb-radius); background: var(--sb-mist); }
body .sb-small .elementor-heading-title, body .sb-small { font-family: var(--sb-font-body); font-size: 15px; font-weight: 400; color: var(--sb-muted); }

/* Contact cards (containers used as links) */
body .e-con.e-con.sb-ccard { padding: 28px; border-radius: 20px; border: 1px solid var(--sb-line); background: #FFFFFF; color: var(--sb-ink); text-decoration: none; --gap: 8px !important; --row-gap: 8px !important; transition: transform .3s ease, box-shadow .3s ease; }
body .e-con.e-con.sb-ccard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46,39,102,.14); color: var(--sb-ink); }
body .e-con.e-con.sb-ccard--primary { background: var(--sb-purple); border-color: var(--sb-purple); color: #FFFFFF; }
body .e-con.e-con.sb-ccard--primary:hover { color: #FFFFFF; }
body .sb-ccard .elementor-icon { font-size: 28px; color: var(--sb-purple); }
body .sb-ccard .elementor-icon-wrapper { text-align: left; }
body .sb-ccard--primary .elementor-icon { color: var(--sb-sky); }
body .sb-ccard__label .elementor-heading-title { font-family: var(--sb-font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sb-muted); }
body .sb-ccard--primary .sb-ccard__label .elementor-heading-title { color: #C9C6E0; }
body .sb-ccard__value .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: 24px; color: var(--sb-purple); word-break: break-word; }
body .sb-ccard--primary .sb-ccard__value .elementor-heading-title { color: #FFFFFF; font-size: 26px; }
body .sb-ccard .sb-text { font-size: 16px; }
body .sb-ccard--primary .sb-text { color: #DAD8EA; }
@media (prefers-reduced-motion: reduce) { body .e-con.e-con.sb-ccard:hover { transform: none; } }

/* Map panel (background image set in Elementor) */
body .e-con.e-con.sb-mapbox { min-height: 300px; border-radius: 20px; overflow: hidden; --justify-content: center !important; --align-items: center !important; }

/* Outlined call-to-action box */
body .e-con.e-con.sb-boxline { max-width: 1200px; margin-inline: auto; width: 100%; padding: 44px 36px; border-radius: 28px; border: 2px solid var(--sb-purple); --flex-direction: row !important; --flex-wrap: wrap !important; --justify-content: space-between !important; --align-items: center !important; --gap: 20px !important; --row-gap: 20px !important; }
body .sb-boxline .sb-text { color: var(--sb-muted); }
body .sb-ccard .elementor-widget-icon .elementor-icon-wrapper, body .sb-ccard .elementor-widget-icon .elementor-widget-container { text-align: left !important; }
body .sb-ccard__value-text a { font-family: var(--sb-font-head); font-weight: 800; font-size: 24px; color: var(--sb-purple); text-decoration: none; word-break: break-word; }
body .e-con.e-con.sb-col { --gap: 14px !important; --row-gap: 14px !important; }

/* Tick list (Icon List widget) on dark sections */
body .sb-checks .elementor-icon-list-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
body .sb-checks .elementor-icon-list-item { align-items: flex-start !important; margin: 0 !important; padding: 0 !important; }
body .sb-checks .elementor-icon-list-item::after { display: none !important; }
body .sb-checks .elementor-icon-list-icon i { color: var(--sb-sky); font-size: 18px; }
body .sb-checks .elementor-icon-list-icon { padding-top: 4px; }
body .sb-checks .elementor-icon-list-text { color: #FFFFFF; font-family: var(--sb-font-body); font-size: 17px; line-height: 1.5; padding-left: 10px; }
@media (max-width: 700px) { body .sb-checks .elementor-icon-list-items { grid-template-columns: 1fr; } }
/* Tiles with plain text (no arrow) */
body .sb-tile--plain .elementor-heading-title a::after { content: "\2192"; margin-left: 12px; }
body .sb-tile .elementor-heading-title a strong { color: var(--sb-purple); margin-right: 6px; }
body .sb-tile .elementor-heading-title a:hover strong { color: #FFFFFF; }
body .sb-tile--plain .elementor-heading-title a { font-family: var(--sb-font-body); font-weight: 600; justify-content: space-between; }
/* Hero with one photo (inner pages) */
body .e-con.e-con.sb-hero.sb-pagehero > .e-con.e-con.sb-wrap { --padding-top: 110px !important; --padding-bottom: 84px !important; }
body .e-con.e-con.sb-card--white { background: #FFFFFF; border: 1px solid var(--sb-line); }
body .sb-link--light .elementor-heading-title a, body .sb-link--light .elementor-heading-title { color: var(--sb-sky); }
body .sb-link--light .elementor-heading-title a:hover { color: #FFFFFF; }
body .e-con.e-con.sb-cta > .e-con.e-con.sb-col, body .e-con.e-con.sb-boxline > .e-con.e-con.sb-col { flex: 1 1 420px; width: auto; --width: auto !important; }

/* Team cards */
body .e-con.e-con.sb-tcard { border-radius: 20px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--sb-line); }
body .sb-tcard__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; display: block; }
body .e-con.e-con.sb-tcard__body { padding: 20px 22px 24px; --gap: 4px !important; --row-gap: 4px !important; }
body .sb-tcard__role .elementor-heading-title { font-family: var(--sb-font-body); font-size: 15px; font-weight: 700; color: var(--sb-teal); }
body .sb-tcard__quals .elementor-heading-title { font-family: var(--sb-font-body); font-size: 14px; font-weight: 600; color: var(--sb-muted); }
body .sb-tcard .sb-text { margin-top: 8px; }
body .sb-sec--mist .e-con.e-con.sb-tcard { border-color: transparent; }

/* Clients page: stats in hero, logo wall, store pills, quotes */
body .e-con.e-con.sb-stats { --flex-direction: row !important; --flex-wrap: wrap !important; --gap: 32px !important; --column-gap: 48px !important; }
body .sb-stat__num .elementor-heading-title { font-family: var(--sb-font-head); font-weight: 800; font-size: 44px; line-height: 1.1; color: var(--sb-sky); }
body .sb-stat__label .elementor-heading-title { font-family: var(--sb-font-body); font-size: 15px; font-weight: 400; color: #D6D3EE; }
body .e-con.e-con.sb-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1024px) { body .e-con.e-con.sb-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { body .e-con.e-con.sb-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body .sb-logo-tile { height: 110px; display: flex !important; align-items: center; justify-content: center; padding: 18px; border-radius: 16px; border: 1px solid var(--sb-line); background: #FFFFFF; --container-widget-width: auto !important; }
body .sb-logo-tile .elementor-widget-container { width: 100%; text-align: center; }
body .sb-logo-tile img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
body .e-con.e-con.sb-pills { --flex-direction: row !important; --flex-wrap: wrap !important; --gap: 10px !important; --row-gap: 10px !important; --column-gap: 10px !important; }
body .sb-pill .elementor-heading-title, body .sb-pill .elementor-heading-title a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sb-line); background: #FFFFFF; font-family: var(--sb-font-body); font-size: 15px; font-weight: 700; color: var(--sb-ink); text-decoration: none; }
body .sb-pill--on .elementor-heading-title a { background: var(--sb-purple); border-color: var(--sb-purple); color: #FFFFFF; }
body .sb-pill--on .elementor-heading-title a:hover { background: var(--sb-purple-dark); color: #FFFFFF; }
body .sb-photo--wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; }
body .e-con.e-con.sb-qcard { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); --gap: 14px !important; --row-gap: 14px !important; }
body .sb-qcard__text { font-family: var(--sb-font-head); font-weight: 600; font-size: 18px; line-height: 1.5; color: #FFFFFF; }
body .sb-qcard__text p { margin: 0; }
body .sb-qcard__who .elementor-heading-title { font-family: var(--sb-font-body); font-size: 15px; font-weight: 700; color: var(--sb-sky); }
body .sb-qcard__org .elementor-heading-title { font-family: var(--sb-font-body); font-size: 14px; font-weight: 400; color: #C9C6E0; }
body .e-con.e-con.sb-linklist { --gap: 8px !important; --row-gap: 8px !important; }
body .e-con.e-con.sb-row > .e-con.e-con.sb-stats { width: auto; --width: auto !important; flex: 0 1 auto; }
body .sb-pill--on .elementor-heading-title a, body .sb-pill--on .elementor-heading-title a:visited { color: #FFFFFF !important; }

/* Project write-up pages */
body .sb-crumb .elementor-heading-title, body .sb-crumb .elementor-heading-title a { font-family: var(--sb-font-body); font-size: 15px; font-weight: 600; color: #D6D3EE; }
body .sb-crumb .elementor-heading-title a { color: var(--sb-sky); text-decoration: none; }
body .sb-crumb .elementor-heading-title a:hover { color: #FFFFFF; }
body .sb-subtitle .elementor-heading-title { font-family: var(--sb-font-body); font-size: clamp(18px, 2vw, 21px); font-weight: 400; color: #E4E2F3; }
body .e-con.e-con.sb-chips { --flex-direction: row !important; --flex-wrap: wrap !important; --gap: 10px !important; --row-gap: 10px !important; --column-gap: 10px !important; margin-top: 6px; }
body .sb-chip .elementor-heading-title { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-family: var(--sb-font-body); font-size: 14px; font-weight: 600; color: #FFFFFF; }
body .sb-chip .elementor-heading-title strong { color: var(--sb-sky); margin-right: 6px; font-weight: 700; }
body .sb-highlights h3 { font-family: var(--sb-font-head); font-weight: 700; font-size: 18px; margin: 18px 0 4px; padding-left: 22px; position: relative; color: var(--sb-ink); }
body .sb-highlights h3::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 3px; background: var(--sb-sky); }
body .sb-highlights h3:first-child { margin-top: 0; }
body .sb-highlights p { margin: 0 0 6px; padding-left: 22px; color: var(--sb-body); }
body .e-con.e-con.sb-glance { padding: 26px; border-radius: var(--sb-radius); background: var(--sb-mist); --gap: 12px !important; --row-gap: 12px !important; }
body .sb-glance dl { margin: 0; display: grid; gap: 12px; }
body .sb-glance dt { font-family: var(--sb-font-body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-teal); }
body .sb-glance dd { margin: 0; font-weight: 600; color: var(--sb-ink); }
body .e-con.e-con.sb-aside { --gap: 16px !important; --row-gap: 16px !important; position: sticky; top: calc(var(--sb-header-top) + 90px); }
body .sb-gallery .gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 !important; }
body .sb-gallery .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body .sb-gallery .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; border: 0 !important; transition: transform .4s ease; }
body .sb-gallery .gallery-item a:hover img, body .sb-gallery .gallery-item a:focus img { transform: scale(1.03); }
@media (max-width: 700px) { body .sb-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { body .sb-gallery .gallery-item img { transition: none; } }

/* Projects page sector filter (buttons in an HTML widget) */
body .sb-filter { display: flex; flex-wrap: wrap; gap: 10px; }
body .sb-filter button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--sb-purple); background: #FFFFFF; color: var(--sb-purple); font-family: var(--sb-font-head); font-size: 15px; font-weight: 700; cursor: pointer; }
body .sb-filter button span { font-weight: 500; opacity: .8; }
body .sb-filter button:hover { background: var(--sb-mist); }
body .sb-filter button[aria-pressed="true"] { background: var(--sb-purple); color: #FFFFFF; }
body .sb-pcard__meta .elementor-heading-title { font-family: var(--sb-font-body); font-size: 15px; font-weight: 400; color: var(--sb-muted); }
body .e-con.e-con.sb-col--wide > .elementor-widget-heading.sb-h2:not(:first-child) { margin-top: 18px; }

/* ------------------------------------------------------------------
   1.1.3: header entrance animation, as in the approved design (fx-up).
   Eyebrow/badge, then the H1, then the intro text, buttons and stats.
   Pure CSS, runs once on load; switched off for reduced motion.
   ------------------------------------------------------------------ */
@keyframes sbFxUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body :is(.sb-hero, .sb-pagehero) .sb-eyebrow,
body :is(.sb-hero, .sb-pagehero) .sb-badge { animation: sbFxUp .9s ease-out both; }
body :is(.sb-hero, .sb-pagehero) .sb-h1,
body :is(.sb-hero, .sb-pagehero) .sb-h1--page { animation: sbFxUp .9s .2s ease-out both; }
body :is(.sb-hero, .sb-pagehero) .sb-lead,
body :is(.sb-hero, .sb-pagehero) .sb-text,
body :is(.sb-hero, .sb-pagehero) .sb-buttons,
body :is(.sb-hero, .sb-pagehero) .sb-stats { animation: sbFxUp .9s .4s ease-out both; }
@media (prefers-reduced-motion: reduce) {
	body :is(.sb-hero, .sb-pagehero) .sb-eyebrow, body :is(.sb-hero, .sb-pagehero) .sb-badge, body :is(.sb-hero, .sb-pagehero) .sb-h1, body :is(.sb-hero, .sb-pagehero) .sb-h1--page,
	body :is(.sb-hero, .sb-pagehero) .sb-lead, body :is(.sb-hero, .sb-pagehero) .sb-text, body :is(.sb-hero, .sb-pagehero) .sb-buttons, body :is(.sb-hero, .sb-pagehero) .sb-stats { animation: none; }
}
