/* =========================================================================
   Sopal Corporate Advisors — static rebuild
   Breakpoints (same as the original site):
     desktop  >= 1025px
     tablet   768px – 1024px
     phone    <= 767px
   ========================================================================= */

:root {
	--primary: #3E4450;
	--accent: #BFAA7E;
	--accent-blue: #536381;
	--maroon: #671010;
	--body-text: #4B4F58;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--font-heading: "Urbanist", sans-serif;
	--font-menu: "Lusitana", sans-serif;
	--container-max: 1440px;
}

/* ---------- Base ---------- */
html {
	box-sizing: border-box;
	font-size: 93.75%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: inherit; }

body {
	margin: 0;
	background: #fff;
	color: var(--body-text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.85714285714286;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

p { margin: 0 0 1.75em; }
.site-content p { margin-bottom: 1.6em; }

a { color: var(--accent); text-decoration: none; background-color: transparent; }
a:hover, a:focus { color: var(--accent); }
.site-content .text a { text-decoration: underline; }

img { border: 0; height: auto; max-width: 100%; vertical-align: middle; }
figure { margin: 0; }
h1, h2, h6 { margin: 0; padding: 0; clear: both; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 2px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: .875rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.site-content { flex-grow: 1; }

/* ---------- Layout containers ----------
   Each .c is a flex container configured through custom properties.
   Defaults are re-declared on every container so values never leak
   from a parent into a nested container. */
.c {
	--dir: column;
	--wrap: nowrap;
	--jc: normal;
	--ai: normal;
	--gap: 20px;
	--w: 100%;
	--mh: 0;
	--grow: 0;
	--shrink: 1;
	--cw: min(100%, var(--container-max));
	--pt: 10px; --pr: 10px; --pb: 10px; --pl: 10px;
	--mt: 0; --mr: 0; --mb: 0; --ml: 0;

	position: relative;
	display: flex;
	flex-direction: var(--dir);
	flex-wrap: var(--wrap);
	justify-content: var(--jc);
	align-items: var(--ai);
	gap: var(--gap);
	flex: var(--grow) var(--shrink) auto;
	width: var(--w);
	min-width: 0;
	min-height: var(--mh);
	margin: var(--mt) var(--mr) var(--mb) var(--ml);
	padding: var(--pt) var(--pr) var(--pb) var(--pl);
}

/* Boxed container: outer box only takes side padding, inner box is width-capped */
.c--boxed {
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: normal;
	align-items: normal;
	gap: 0;
	padding-top: 0;
	padding-bottom: 0;
}
.c--boxed > .c__in {
	display: flex;
	flex-direction: var(--dir);
	flex-wrap: var(--wrap);
	justify-content: var(--jc);
	align-items: var(--ai);
	gap: var(--gap);
	flex: 1 1 auto;
	width: 100%;
	max-width: var(--cw);
	height: 100%;
	margin: 0 auto;
	padding: var(--pt) 0 var(--pb);
}

/* Content blocks inside containers */
.w {
	position: relative;
	min-width: 0;
	max-width: 100%;
}
.w-image { text-align: center; }
.w-image img { display: inline-block; }

.spacer { height: var(--spacer); width: 100%; }
.anchor { width: 0; height: 0; }

@media (max-width: 1024px) {
	:root { --container-max: 1024px; }
}
@media (max-width: 921px) {
	html { font-size: 85.5%; }
}
@media (max-width: 767px) {
	:root { --container-max: 767px; }
	.c { --w: 100%; --wrap: wrap; }
}

/* Visibility helpers */
@media (min-width: 1025px) {
	.hide-desktop { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.hide-tablet { display: none !important; }
}
@media (max-width: 767px) {
	.hide-phone { display: none !important; }
}

/* ---------- Navigation menus ---------- */
.nav { display: flex; flex-direction: column; }

.nav__list {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: normal;
	position: relative;
	z-index: 2;
	-webkit-tap-highlight-color: transparent;
}
.nav__list li { display: block; position: relative; margin: 0; padding: 0; }

.nav__link {
	position: relative;
	display: flex;
	align-items: center;
	padding: 10px 20px;
	line-height: 20px;
}

/* Horizontal desktop menu */
.nav__menu { display: flex; }
.nav__menu .nav__list {
	display: flex;
	flex-wrap: wrap;
	margin-left: auto;
	justify-content: flex-end;
}
.nav__menu .nav__list > li { display: flex; }
.nav__menu .nav__link {
	flex-grow: 1;
	white-space: nowrap;
	transition: .4s;
}

/* Burger toggle */
.nav__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: 22px;
	line-height: 1;
	padding: .25em;
	margin: 0;
	cursor: pointer;
	border: 0 solid;
	border-radius: 3px;
	background-color: rgba(0, 0, 0, .05);
	color: #494c4f;
	-webkit-appearance: none;
	appearance: none;
}
.nav__icon { display: block; width: 1em; height: 1em; fill: currentColor; }
.nav__toggle .nav__icon--close,
.nav__toggle[aria-expanded="true"] .nav__icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__icon--close { display: block; }

/* Dropdown (opened by the burger) */
.nav__dropdown {
	background-color: #fff;
	font-size: 13px;
	margin-top: 10px;
	overflow-y: hidden;
	transform-origin: top;
	transform: scaleY(0);
	max-height: 0;
	transition: max-height .3s, transform .3s;
}
.nav__toggle[aria-expanded="true"] + .nav__dropdown {
	transform: scaleY(1);
	max-height: 100vh;
}
.nav__dropdown .nav__link { color: #494c4f; justify-content: flex-start; }
.nav__dropdown .nav__link:hover,
.nav__dropdown .nav__link:focus,
.nav__dropdown .nav__link.is-current,
.nav__dropdown .nav__link.is-active {
	background-color: #55595c;
	color: #fff;
}

/* ---------- Header ---------- */
.site-header {
	--dir: row;
	--ai: stretch;
	--gap: 10px;
	--pt: 0; --pr: 40px; --pb: 0; --pl: 40px;
}
.site-header__brand {
	--pt: 0; --pr: 0; --pb: 0; --pl: 0;
	--shrink: 0;
}
.site-header__nav {
	--jc: center;
	--pt: 0; --pr: 0; --pb: 0; --pl: 0;
	--shrink: 0;
	position: static; /* lets the tablet dropdown stretch across the header */
}

/* Main menu (desktop) */
.nav--main { position: static; }
.nav--main .nav__link {
	font-family: var(--font-menu);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3em;
}
.nav--main .nav__menu .nav__link {
	color: var(--primary);
	padding: 4px 21px;
}
.nav--main .nav__menu li:not(:first-child) > .nav__link { margin-inline-start: 17.5px; }
.nav--main .nav__menu li:not(:last-child) > .nav__link { margin-inline-end: 17.5px; }
.nav--main .nav__menu .nav__link:hover,
.nav--main .nav__menu .nav__link:focus,
.nav--main .nav__menu .nav__link.is-current,
.nav--main .nav__menu .nav__link.is-active {
	color: var(--accent);
}
/* underline pointer, fades in */
.nav--main .nav__menu .nav__link::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: #55595c;
	z-index: 2;
	transition: .3s;
	transition-timing-function: cubic-bezier(.58, .3, .005, 1);
}
.nav--main .nav__menu .nav__link:not(:hover):not(:focus):not(.is-current):not(.is-active)::after { opacity: 0; }
.nav--main .nav__menu .nav__link.is-current::after,
.nav--main .nav__menu .nav__link.is-active::after { background-color: var(--accent); }

/* Main menu as burger (tablet) */
.nav--main .nav__toggle { margin: 0 auto; }
.nav--main .nav__toggle:hover { color: #fff; }
.nav--main .nav__dropdown {
	position: absolute;
	top: calc(50% + 16.5px); /* directly under the centred 33px toggle */
	left: 0;
	right: 0;
	z-index: 9997;
	margin-top: 1px;
	border: 0 solid;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .05);
}
.nav--main .nav__dropdown .nav__link {
	font-size: 15px;
	padding: 13px 15px;
}
.nav--main .nav__dropdown li:not(:last-child) {
	border-bottom: 1px solid #DFDFDF;
}
.nav--main .nav__dropdown .nav__link:hover,
.nav--main .nav__dropdown .nav__link:focus,
.nav--main .nav__dropdown .nav__link.is-current,
.nav--main .nav__dropdown .nav__link.is-active {
	color: #fff;
	background-color: var(--accent-blue);
}

/* Phone burger */
.nav--phone {
	flex: 0 0 auto;
	width: 124.997px;
	max-width: 124.997px;
}
.nav--phone .nav__toggle { margin-left: auto; }

@media (min-width: 1025px) {
	.nav--main .nav__toggle,
	.nav--main .nav__dropdown { display: none; }
}
@media (max-width: 1024px) {
	.nav--main .nav__menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	--mh: 850px;
	--jc: center;
	--ai: center;
	background-color: #000;
	background-image: url("../images/fantasy-adventure-composite-with-a-man-on-top-of-a-2022-03-14-22-31-42-utc-scaled.jpg");
	background-size: cover;
}
.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: .35;
}
.hero__inner {
	--mh: 281px;
	--ai: center;
}
.hero__logo {
	flex: 0 0 auto;
	width: 30.909%;
}
.hero__logo img {
	width: 79%;
	max-width: 100%;
	height: 145px;
}

/* ---------- Section headings & copy ---------- */
.about__title h1,
.regions__title h2,
.conflict__title h2,
.restructuring__title h2,
.ceo__title h2 {
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 500;
	font-style: italic;
	line-height: 1.3em;
}
.about__title,
.regions__title,
.conflict__title,
.restructuring__title,
.ceo__title {
	flex: 0 0 auto;
	width: 100%;
}
.about__text,
.regions__text,
.conflict__text,
.restructuring__text,
.ceo__bio {
	flex: 0 0 auto;
	font-size: 17px;
}

/* ---------- About ---------- */
.about {
	--mh: 425px;
	--jc: center;
	--ai: center;
	--pt: 10px; --pr: 0; --pb: 60px; --pl: 0;
	background-color: var(--maroon);
}
.about__title { text-align: center; }
.about__title h1 { color: #fff; }
.about__text {
	width: 53%;
	text-align: justify;
	color: #fff;
}

/* ---------- Two-column image/text rows ---------- */
.split {
	--dir: row;
	--ai: stretch;
	--gap: 0;
	--pt: 0; --pr: 0; --pb: 0; --pl: 0;
}
.split__text,
.split__image {
	--pt: 100px; --pr: 0; --pb: 0; --pl: 100px;
	--shrink: 0;
}
.split__text { --jc: flex-start; --ai: flex-start; }
.split__image { --jc: flex-end; background-position: center center; background-size: cover; }
.split__image--world { background-image: url("../images/world-map-2022-12-16-13-23-41-utc-2.jpg"); }
.split__image--rivals { background-image: url("../images/two-opposition-groups-of-people-rival-leaders-att-2022-12-01-18-10-05-utc-2.jpg"); }
.split__image--chart { background-image: url("../images/organizational-chart-of-a-company-hierarchy-conce-2021-09-03-14-06-32-utc-2.jpg"); }

/* Working in Less Regulated Regions */
.regions { --mh: 770px; }
.regions__col { background-color: #fff; }
.regions__inner {
	--jc: center;
	--ai: center;
	--gap: 5px;
	--mt: -25px; --ml: -17px;
	--shrink: 0;
}
.regions__title { text-align: left; }
.regions__title h2 { color: #000; }
.regions__text {
	width: 90.138%;
	text-align: justify;
	color: #000;
}
.regions__text .text__in { margin-left: -33px; }

/* Conflict Resolutions */
.conflict { --mh: 700px; }
.conflict__col { background-color: var(--maroon); }
.conflict__box { --jc: center; --ai: center; }
.conflict__title { text-align: left; }
.conflict__title h2 { color: #fff; margin-left: -20px; }
.conflict__text {
	width: 86.627%;
	align-self: flex-start;
	text-align: justify;
	color: #fff;
}
.conflict__text .text__in { margin-left: -17px; }

/* Restructuring */
.restructuring { --mh: 700px; --mb: 30px; }
.restructuring__col { background-color: #fff; }
.restructuring__box { --jc: center; --ai: center; }
.restructuring__title { text-align: left; }
.restructuring__title h2 { color: #000; }
.restructuring__text {
	width: 82.78%;
	text-align: justify;
	color: #000;
}
.restructuring__text .text__in { margin-left: -60px; }

/* ---------- Client logo carousel ---------- */
.clients {
	--dir: row;
	--jc: flex-start;
	--ai: center;
	--gap: 0;
	--mt: -30px;
	--pt: 15px; --pr: 0; --pb: 15px; --pl: 0;
}
.carousel {
	--spv: 5;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}
.carousel__track {
	display: flex;
	align-items: center;
	width: 100%;
	transition-property: transform;
	transition-timing-function: ease;
	will-change: transform;
}
.carousel__slide {
	flex: 0 0 auto;
	width: calc(100% / var(--spv));
	text-align: center;
}
.carousel__slide img {
	display: inline-block;
	width: 100%;
	-webkit-user-drag: none;
}

/* ---------- Our CEO ---------- */
.ceo {
	--dir: row;
	--mh: 522px;
	--jc: center;
	--ai: center;
	background-color: var(--maroon);
}
.ceo__text,
.ceo__photo {
	--jc: center;
	--ai: center;
	--shrink: 0;
}
.ceo__title { text-align: left; }
.ceo__title h2 { color: #fff; }
.ceo__bio { text-align: left; color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
	--dir: row;
	--ai: flex-start;
	--gap: 10px;
	--pt: 0; --pr: 40px; --pb: 0; --pl: 40px;
	z-index: 5;
	overflow: hidden;
	background-color: #fff;
}
.footer__main {
	--mh: 325px;
	--jc: flex-end;
	--ai: stretch;
	--pt: 0; --pr: 0; --pb: 0; --pl: 0;
}
.footer__cols {
	--dir: row;
	--jc: space-evenly;
	--ai: flex-start;
	--gap: 10px;
	--mb: 50px;
}
.footer__brand {
	--pt: 0; --pr: 100px; --pb: 0; --pl: 0;
	--shrink: 0;
}
.footer__logo {
	flex: 0 0 auto;
	width: 118.023%;
	margin-top: 68px;
}
.footer__col { --pt: 0; --pr: 0; --pb: 0; --pl: 0; }
.footer__heading h6 {
	color: #000;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2em;
	text-decoration: underline;
}
.footer__menu .nav__list li:not(:last-child) { margin-bottom: 15px; }
.footer__menu .nav__link {
	color: #000;
	padding: 0;
	transition: .4s;
}
.footer__bottom { --mt: -45px; }
.footer__copyright {
	width: 100%;
	text-align: center;
	color: #000;
	font-size: 15px;
}
.footer__copyright p { margin-bottom: calc(1.75em - 15px); }

/* =========================================================================
   Responsive: <= 1024px (tablet & phone)
   ========================================================================= */
@media (max-width: 1024px) {
	.site-header { --pt: 20px; --pr: 20px; --pb: 20px; --pl: 20px; }
	.site-header__brand { --jc: center; }

	.hero { --mh: 627px; }
	.hero__logo { width: 438.542px; }

	.about { --mh: 477px; }
	.about__text { width: 724.766px; }

	.regions { --mt: 30px; }
	.split__text,
	.split__image { --pt: 0; --pr: 20px; --pb: 0; --pl: 30px; }
	.regions__title h2,
	.restructuring__title h2 { font-size: 25px; }

	.conflict__text { width: 396.641px; }

	.ceo { --ai: center; }
	.ceo__bio { width: 574.083px; }

	.site-footer { --pr: 20px; --pl: 20px; }
	.footer__brand {
		--mh: 236px;
		--jc: center;
		--ai: center;
		--mt: 0; --mr: 0; --mb: 40px; --ml: 0;
		--pt: 0; --pr: 0; --pb: 0; --pl: 0;
	}

	.carousel { --spv: 2; }
}

/* =========================================================================
   Responsive: <= 767px (phone)
   ========================================================================= */
@media (max-width: 767px) {
	.site-header { --pt: 20px; --pr: 20px; --pb: 20px; --pl: 15px; }
	.site-header__brand { --w: 53.813%; }

	.hero { --mh: 672px; }

	.about__title h1 { font-size: 24px; }
	.about__text { width: 258.781px; font-size: 16px; }

	.regions {
		--mh: 0;
		--jc: center;
		--ai: center;
		--mt: 0;
		--pt: 5px;
	}
	.regions__col { --pt: 0; --pr: 0; --pb: 0; --pl: 0; }
	.regions__inner { --mt: 0; --ml: 0; }
	.regions__title { text-align: center; }
	.regions__title h2 { font-size: 18px; }
	.regions__text { font-size: 15px; align-self: center; }
	.regions__text .text__in { margin-left: 0; }
	.split__image { --pt: 100px; --pr: 20px; --pb: 0; --pl: 20px; }

	.conflict { --mh: 0; }
	.conflict__col { --jc: center; --ai: center; --pt: 0; --pr: 0; --pb: 0; --pl: 0; }
	.conflict__box { --dir: row; --ai: center; }
	.conflict__title { text-align: center; }
	.conflict__title h2 { font-size: 20px; }
	.conflict__text { width: 321px; font-size: 14px; }
	.conflict__text .text__in { margin-left: 0; }

	.restructuring { --mh: 0; }
	.restructuring__col { --pt: 0; --pr: 0; --pb: 0; --pl: 0; }
	.restructuring__title { text-align: center; }
	.restructuring__title h2 { font-size: 18px; }
	.restructuring__text { font-size: 15px; }
	.restructuring__text .text__in { margin-left: 0; }

	.ceo__title h2 { font-size: 20px; }
	.ceo__bio { font-size: 15px; }

	.footer__brand { --mb: 40px; --pt: 0; --pr: 0; --pb: 0; --pl: 0; }
	.footer__col { --mb: 40px; }
	.footer__heading h6 { font-size: 20px; }
	.footer__copyright { font-size: 13px; }

	.carousel { --spv: 1; }
}

/* =========================================================================
   Column widths (>= 768px)
   ========================================================================= */
@media (min-width: 768px) {
	.site-header__brand { --w: 36.389%; }
	.site-header__nav { --w: 59.34%; }

	.regions__col { --w: 49.941%; }
	.regions .split__image { --w: 50%; }
	.conflict .split__image { --w: 50%; }
	.conflict__col { --w: 50%; }
	.conflict__box { --cw: 713px; }
	.restructuring__col { --w: 49.941%; }
	.restructuring__box { --cw: 809px; }
	.restructuring .split__image { --w: 50%; }

	.ceo__text { --w: 36%; }
	.ceo__photo { --w: 26%; }

	.footer__brand { --w: 25.634%; }
}

/* Tablet-only widths (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.site-header__brand { --w: 50%; }
	.site-header__nav { --w: 50%; }

	.regions__col { --w: 370.667px; }
	.regions__inner { --w: 842px; }
	.restructuring__col { --w: 370.667px; }

	.ceo__text { --w: 536px; }
	.ceo__photo { --w: 536px; }

	.footer__brand { --w: 29.455%; }
	.footer__col { --w: 33.33%; }
}
