/* =========================================================================
   1 Alliance MM2H — the editorial layer (Dec 2026, second design)
   Loads after oa.css (inc/oa.php), on every page.

   The client asked for the home page and About to read like the private-client firms they
   admire (Global Citizen Solutions, Henley & Partners, Thailand Privilege): square corners,
   hairline rules, generous white space, serif headings standing on their own (no labels above
   them), photographs used large and plainly. The country strips for citizenship by investment
   follow the Immigway carousel the client picked. MM2H and PVIP pages open with the
   Thailand Privilege scene: the middle photograph opens out as you scroll.

   Sections: buttons (sitewide) · shared type · home: hero, trust, firm & numbers, programmes,
             why Malaysia, citizenship strips, journey list, services, FAQ, guides · About:
             hero, intro, values, team, call to action · director panel · responsive ·
             MM2H and PVIP page opening (the scene, at the end)
   ========================================================================= */

.oa {
	--x-ink: #1b1640;          /* headings: the wordmark's indigo, a shade deeper */
	--x-body: #4a4d5e;
	--x-mute: #74788a;
	--x-line: rgba(27, 22, 64, .14);
	--x-paper: #f5fbff;        /* the client's cool white for alternate sections (was beige) */
	--x-mist: #eef0f3;         /* cool grey behind portraits */
	--x-pad: clamp(4.5rem, 9vw, 8.5rem);
}

/* ---------- buttons, sitewide: square, small capitals ---------- */
.oa .btn {
	border-radius: 0;
	padding: .95rem 1.6rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.2;
}
.oa .btn--sm { padding: .72rem 1.15rem; font-size: .69rem; }
.oa .btn-row { gap: .75rem; }

/* ---------- shared type for the new sections ---------- */
.oa .x-title {
	margin: 0 0 1.5rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.15rem, 3.4vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: -.01em;
	color: var(--x-ink);
}
.oa .x-title .word.is-gold { color: inherit; }
.oa .x-lede { margin: 0 0 1.75rem; max-width: 34rem; color: var(--x-body); font-size: 1.05rem; line-height: 1.7; }
.oa :is(.xfirm, .xprog, .xjourney, .xsvc, .xfaq, .xnews, .xcbi, .xintro, .xvalues, .xteam, .xcta) p { color: var(--x-body); }

/* =========================================================================
   HOME
   ========================================================================= */

/* ---------- hero: full-width photograph, headline on a solid indigo panel ---------- */
.xhero {
	position: relative;
	padding-top: var(--page-top, var(--head-h));
	background: #fff;
}
.xhero__img {
	margin: 0;
	/* the photo, the panel and the trust strip below fill exactly one screen */
	height: clamp(460px, calc(100svh - var(--page-top, var(--head-h)) - var(--trust-h)), 860px);
	overflow: hidden;
	background: var(--oa-indigo);
}
.xhero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
/* background film over the photo, pinned to the top so the tower tops stay in frame */
.xhero__img { position: relative; }
.xhero__img img { object-position: 50% 0; }
.xhero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.xhero__wrap {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}
.xhero__panel {
	pointer-events: auto;
	width: min(560px, 46%);
	padding: clamp(2.5rem, 4vw, 3.75rem);
	background: var(--oa-indigo);
	color: #fff;
}
.oa .xhero__title {
	margin: 0 0 1.25rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.6rem, 4.2vw, 4.1rem);
	line-height: 1.02;
	letter-spacing: -.012em;
	color: #fff;
}
.xhero__intro { margin: 0 0 2rem; color: rgba(255, 255, 255, .8); font-size: 1.02rem; line-height: 1.7; }
.xhero__panel .btn-row { margin: 0; }

/* ---------- trust strip: the four key facts, each with an icon (made bolder, Dec 2026) ---------- */
.oa { --trust-h: 92px; }
.xtrust { box-sizing: border-box; height: var(--trust-h); display: grid; align-content: center; border-bottom: 1px solid var(--x-line); background: #e3eef7; }
.xtrust__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.xtrust__list li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .9rem;
	padding: 0 1.2rem;
	border-left: 1px solid rgba(34, 28, 90, .14);
	color: var(--oa-indigo);
	font-size: clamp(1rem, .5vw + .8rem, 1.15rem);
	font-weight: 600;
	line-height: 1.3;
}
.xtrust__list li:first-child { border-left: 0; }
.xtrust__icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; color: var(--oa-steel); box-shadow: 0 6px 16px -10px rgba(23, 18, 63, .4); }
.xtrust__icon .i { width: 1.5rem; height: 1.5rem; }

/* ---------- the firm ---------- */
.xfirm { padding: var(--x-pad) 0 0; }
.xfirm__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}
.xfirm__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--x-mist); }
.xfirm__img img { width: 100%; height: 100%; object-fit: cover; }
.xfirm__copy p { margin: 0 0 1.15rem; max-width: 34rem; line-height: 1.75; }
.xfirm__copy .btn-row { margin-top: 2rem; }

/* numbers: big serif figures between hairlines */
.xnums {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: var(--x-pad) auto 0;
	padding: 0;
	border-top: 1px solid var(--x-line);
	border-bottom: 1px solid var(--x-line);
}
.xnum { padding: 2.5rem 1.75rem 2.25rem; border-left: 1px solid var(--x-line); }
.xnum:first-child { border-left: 0; padding-left: 0; }
.xnum dt {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.6rem, 4.4vw, 4rem);
	line-height: 1;
	color: var(--x-ink);
	font-variant-numeric: lining-nums tabular-nums;
}
.xnum dd { margin: .75rem 0 0; color: var(--x-mute); font-size: .95rem; }

/* ---------- residency programmes (a title column and a grid of programmes) ---------- */
.xprog { padding: var(--x-pad) 0; }
.xprog__in {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: start;
}
.xprog__side { position: sticky; top: calc(var(--page-top, var(--head-h)) + 2.5rem); }
.xprog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--x-line);
	border-left: 1px solid var(--x-line);
}
.xprog__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 2rem 1.75rem 2.1rem;
	border-right: 1px solid var(--x-line);
	border-bottom: 1px solid var(--x-line);
}
.xprog__card { display: block; width: 92px; margin-bottom: 1.5rem; box-shadow: 0 10px 18px -12px rgba(23, 18, 63, .55); }
.xprog__card img { display: block; width: 100%; height: auto; }
.xprog__kind { color: var(--x-mute); font-size: .85rem; font-weight: 500; }
.xprog__item h3 {
	margin: .15rem 0 .8rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.75rem;
	line-height: 1.1;
	color: var(--x-ink);
}
.xprog__item p:not(.btn-row) { flex: 1; margin: 0 0 1.5rem; font-size: .94rem; line-height: 1.65; }
.xprog__item--note { background: var(--x-paper); }
.xprog__item--note p:not(.btn-row) { flex: 0 1 auto; }
.xprog__item--note .btn-row { margin: 0; }

/* ---------- why Malaysia: big words over a full-bleed photograph ---------- */
.xwhy {
	position: relative;
	overflow: hidden;
	min-height: clamp(640px, 100svh, 900px);
	display: flex;
	align-items: center;
	padding: var(--x-pad) 0;
	color: #fff;
	background: var(--oa-indigo-deep, #17123f);
}
.xwhy__bgs { position: absolute; inset: 0; }
.xwhy__bg { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.xwhy__bg.is-on { opacity: 1; }
.xwhy__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.xwhy__bg.is-on img { transform: scale(1); }
/* a dark scrim on the reading side only; the photograph stays clear on the right */
.xwhy__bgs::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 13, 44, .9) 0%, rgba(16, 13, 44, .8) 38%, rgba(16, 13, 44, .2) 70%, rgba(16, 13, 44, 0) 100%);
}
.xwhy__in { position: relative; }
.xwhy__head, .xwhy__list { max-width: 36rem; }
.xwhy__head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.xwhy__head .x-lede { margin-bottom: 0; }
.oa .xwhy .x-title { color: #fff; }
.oa .xwhy .x-lede { color: rgba(255, 255, 255, .78); }
.xwhy__list { margin: 0; padding: 0; list-style: none; }
.xwhy__word {
	display: block;
	padding: .2rem 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, .42);
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 2.8vw, 2.6rem);
	line-height: 1.15;
	text-align: left;
	cursor: pointer;
	transition: color .35s var(--ease-out);
}
.xwhy__word:hover, .xwhy__item.is-on .xwhy__word { color: #fff; }
.xwhy__word:focus-visible { outline: 1px solid rgba(255, 255, 255, .7); outline-offset: 4px; }
.oa .xwhy__desc {
	margin: 0;
	max-width: 30rem;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, .82);
	font-size: 1rem;
	transition: max-height .45s var(--ease-out), opacity .45s var(--ease-out), padding .45s var(--ease-out);
}
.xwhy__item.is-on .xwhy__desc { max-height: 7rem; opacity: 1; padding: .25rem 0 1rem; }

/* ---------- citizenship by investment: country strips ---------- */
.xcbi { padding: var(--x-pad) 0 0; background: var(--x-paper); }
.xcbi__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.xcbi__head .x-title { margin: 0; }
.xcbi__head .x-lede { margin-bottom: 1.5rem; }
.xcbi__head .btn-row { margin: 0; }

.xcbi__acc {
	display: flex;
	width: min(1440px, 100%);
	margin: 0 auto;
	height: 620px;
	background: #fff;
	border-top: 1px solid var(--x-line);
	border-bottom: 1px solid var(--x-line);
}
.xcbi__item {
	position: relative;
	display: flex;
	flex: 0 0 76px;
	min-width: 0;
	border-left: 1px solid var(--x-line);
	transition: flex-grow .7s var(--ease-soft);
}
.xcbi__item:first-child { border-left: 0; }
.xcbi__item.is-open { flex: 1 1 auto; }
.xcbi__h { margin: 0; display: flex; }
.xcbi__tab {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 76px;
	height: 100%;
	padding: 2rem 0 1.5rem;
	border: 0;
	background: #fff;
	color: var(--x-ink);
	cursor: pointer;
	transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.xcbi__tab:hover { background: var(--x-paper); }
.xcbi__tab:focus-visible { outline: 2px solid var(--oa-steel); outline-offset: -4px; }
.xcbi__name {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1;
	white-space: nowrap;
}
.xcbi__dot {
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--x-line);
}
.xcbi__dot img, .xcbi__flag img { width: 100%; height: 100%; object-fit: cover; }
.xcbi__item.is-open .xcbi__tab { background: var(--oa-indigo); color: #fff; cursor: default; }
.xcbi__item.is-open .xcbi__dot { opacity: 0; }

.xcbi__panel {
	flex: 1;
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: center;
	padding: 2.5rem clamp(1.75rem, 3.5vw, 3.5rem);
	overflow: hidden;
}
.xcbi__panel[hidden] { display: none; }
.xcbi__item.is-open .xcbi__panel { animation: xcbi-in .6s .15s var(--ease-out) both; }
@keyframes xcbi-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.xcbi__copy { min-width: 0; }
.oa .xcbi__kicker { margin: 0 0 .5rem; color: var(--oa-steel); font-size: .9rem; font-weight: 600; }
.oa .xcbi__title {
	margin: 0 0 1rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2rem, 2.8vw, 2.75rem);
	line-height: 1.05;
	color: var(--x-ink);
}
.oa .xcbi__blurb { margin: 0 0 1.25rem; max-width: 32rem; }
.xcbi__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.75rem;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}
.xcbi__facts li {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	padding: .6rem 0;
	border-bottom: 1px solid var(--x-line);
	color: var(--x-ink);
	font-size: .9rem;
	line-height: 1.45;
}
.xcbi__facts svg { flex: none; width: 18px; height: 18px; margin-top: .1rem; fill: none; stroke: var(--oa-steel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xcbi__flag {
	justify-self: center;
	display: block;
	width: min(100%, 280px);
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 12px #f1f1f1, 0 30px 50px -30px rgba(23, 18, 63, .45);
}

/* ---------- journey: a numbered list that opens (also the FAQ) ---------- */
.xjourney { padding: var(--x-pad) 0; }
.xjourney__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: start;
}
.xjourney__img {
	position: sticky;
	top: calc(var(--page-top, var(--head-h)) + 2rem);
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--x-mist);
}
.xjourney__img img { width: 100%; height: 100%; object-fit: cover; }
.xjourney__copy .btn-row { margin-top: 2.5rem; }

.xlist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--x-line); }
.xlist > li { border-bottom: 1px solid var(--x-line); }
.xlist summary {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 1.45rem 0;
	cursor: pointer;
	list-style: none;
	color: var(--x-ink);
}
.xlist summary::-webkit-details-marker { display: none; }
.xlist summary:focus-visible { outline: 2px solid var(--oa-steel); outline-offset: 2px; }
.xlist__n { flex: none; width: 2rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.xlist__t { flex: 1; font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.2; }
.xlist summary i {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
	align-self: center;
}
.xlist summary i::before, .xlist summary i::after {
	content: "";
	position: absolute;
	left: 0;
	top: 6.5px;
	width: 14px;
	height: 1px;
	background: currentColor;
	transition: transform .35s var(--ease-out);
}
.xlist summary i::after { transform: rotate(90deg); }
.xlist details[open] summary i::after { transform: rotate(0); }
.xlist details > p, .xlist__a { margin: -.4rem 0 0; padding: 0 2.5rem 1.6rem 3rem; max-width: 40rem; line-height: 1.7; }
.xlist--faq details > .xlist__a { padding-left: 0; }
.xlist__a p { margin: 0 0 .8rem; }

/* ---------- services beyond the visa: four text columns ---------- */
.xsvc { padding: var(--x-pad) 0; background: var(--x-paper); }
.xsvc__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
	margin: clamp(2rem, 4vw, 3.5rem) 0 0;
	padding: 0;
	list-style: none;
}
.xsvc__grid li { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.6rem; border-top: 1px solid var(--x-ink); }
.xsvc__media { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 1.5rem; overflow: hidden; background: var(--x-mist); }
.xsvc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.xsvc__grid li:hover .xsvc__media img { transform: scale(1.04); }
.xsvc__grid h3 { margin: 0 0 .9rem; font-family: var(--serif); font-weight: 600; font-size: 1.65rem; line-height: 1.15; color: var(--x-ink); }
.xsvc__grid p { flex: 1; margin: 0 0 1.75rem; font-size: .95rem; line-height: 1.7; }

/* ---------- FAQ ---------- */
.xfaq { padding: var(--x-pad) 0; }
.xfaq__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: start;
}
.xfaq__side { position: sticky; top: calc(var(--page-top, var(--head-h)) + 2.5rem); }
.xlist--faq .xlist__t { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }

/* ---------- guides: square cards ---------- */
.xnews { padding: 0 0 var(--x-pad); }
.xnews__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.xnews__top .x-title { margin: 0; }
.xnews__top .btn-row { margin: 0; }
.xnews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.xnews__card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--x-line); color: inherit; text-decoration: none; transition: border-color .3s var(--ease-out); }
.xnews__card a:hover { border-color: var(--x-ink); }
.xnews__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--x-mist); }
.xnews__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.xnews__card a:hover .xnews__media img { transform: scale(1.03); }
.xnews__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.xnews__kicker { color: var(--x-mute); font-size: .85rem; }
.xnews__title { margin: .35rem 0 .7rem; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--x-ink); }
.xnews__excerpt { flex: 1; margin-bottom: 1.4rem; color: var(--x-body); font-size: .93rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xnews__more { align-self: flex-start; padding-bottom: .2rem; border-bottom: 1px solid currentColor; color: var(--x-ink); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.xpage-hero { padding-top: calc(var(--page-top, var(--head-h)) + clamp(3rem, 7vw, 6rem)); }
.xpage-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.oa .xpage-hero__title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.9rem, 5.6vw, 5.4rem);
	line-height: 1;
	letter-spacing: -.015em;
	color: var(--x-ink);
}
.xpage-hero__side .x-lede { margin-bottom: 1.75rem; }
.xpage-hero__side .btn-row { margin: 0; }
.xpage-hero__img { margin: 0; height: clamp(360px, 62vh, 680px); overflow: hidden; background: var(--x-mist); }
.xpage-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.xintro { padding: var(--x-pad) 0 0; }
.xintro__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 7vw, 7rem);
}
.xintro__body p { margin: 0 0 1.2rem; line-height: 1.75; }
.oa .xintro__body p:first-child { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.35; color: var(--x-ink); }

.xvalues { padding: var(--x-pad) 0; }
.xvalues__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: start;
}
.xvalues__side { position: sticky; top: calc(var(--page-top, var(--head-h)) + 2.5rem); }
/* Portrait, so the sticky column holds a real photograph beside the long list (no empty space below). */
.xvalues__img { margin: 2.5rem 0 0; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--page-top, var(--head-h)) - 13rem); overflow: hidden; background: var(--x-mist); }
.xvalues__img img { width: 100%; height: 100%; object-fit: cover; }
.xvalues__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--x-line); }
.xvalues__list li {
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr);
	column-gap: 1rem;
	padding: 2rem 0 1.9rem;
	border-bottom: 1px solid var(--x-line);
}
.xvalues__n { grid-row: span 2; color: var(--x-mute); font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: lining-nums; }
.xvalues__list h3 { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.15; color: var(--x-ink); }
.xvalues__list p { margin: 0; max-width: 36rem; line-height: 1.7; }

.xteam { padding: var(--x-pad) 0; }
.xteam__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.xteam__person strong { display: block; margin-top: 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--x-ink); }
.xteam__person small { display: block; margin-top: .25rem; color: var(--x-mute); font-size: .86rem; line-height: 1.45; }
.xteam__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--x-mist); }
.xteam__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.xcta { background: var(--x-paper); }
.xcta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(420px, 52vw, 600px); }
.xcta__copy {
	align-self: center;
	justify-self: end;
	width: min(100%, calc(var(--wrap) / 2));
	padding: var(--x-pad) clamp(2rem, 6vw, 6rem) var(--x-pad) var(--gutter);
}
.xcta__copy .btn-row { margin: 0; }
.xcta__img { margin: 0; overflow: hidden; }
.xcta__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- the founder's panel (About, team): square, flat indigo, an upright quote ---------- */
.oa .odir { background: var(--oa-indigo); }
.oa .odir__photo, .oa .odir__photo img, .oa .odir__photo figcaption { border-radius: 0; }
.oa .odir__quote p { font-style: normal; }
.oa .odir .oa-dots { display: none; }
/* name card sits inside the photo: hanging below it, the photo's reveal clipped it (client, Dec 2026) */
.oa .odir__photo { overflow: hidden; }
.oa .odir__photo figcaption { bottom: 1.25rem; min-width: 0; width: calc(100% - 2.5rem); box-shadow: 0 10px 30px rgba(20, 18, 60, .18); }

/* ---------- sub-navigation (About, MM2H, PVIP …): a square marker, not a pill ---------- */
.oa .subnav__link { border-radius: 0; }

/* the team's cut-out portraits sit on white: multiply them onto the same grey as the rest */
.xteam__photo img { mix-blend-mode: multiply; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
	.xprog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xteam__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.xsvc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
	.xcbi__item { flex-basis: 68px; }
	.xcbi__tab { width: 68px; }
	.xcbi__name { font-size: 1.4rem; }
	.xcbi__dot { width: 38px; height: 38px; }
	.xcbi__panel { grid-template-columns: minmax(0, 1fr); }
	.xcbi__flag { display: none; }
}

@media (max-width: 900px) {
	.xhero__img { height: clamp(380px, 62svh, 560px); }
	.xhero__wrap { position: static; display: block; width: 100%; }
	.xhero__panel { width: auto; margin: 0; padding: 2.5rem var(--gutter) 2.75rem; }
	.xtrust { height: auto; }
	.xtrust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0; padding: 1.4rem 0; }
	.xtrust__list li { justify-content: flex-start; gap: .65rem; padding: 0 .8rem; font-size: .92rem; text-align: left; }
	.xtrust__icon { width: 2.4rem; height: 2.4rem; }
	.xtrust__icon .i { width: 1.2rem; height: 1.2rem; }
	.xtrust__list li:nth-child(odd) { padding-left: 0; border-left: 0; }

	.xfirm__in, .xprog__in, .xwhy__in, .xjourney__in, .xfaq__in, .xcbi__head,
	.xpage-hero__in, .xintro__in, .xvalues__in, .xcta__in { grid-template-columns: minmax(0, 1fr); }
	.xprog__side, .xjourney__img, .xfaq__side, .xvalues__side { position: static; }
	.xfirm__img { aspect-ratio: 1; } /* zoomed out from 4:3, tower tops in view (client, Dec 2026) */
	.xfirm__img img { object-position: 50% 12%; }
	.xjourney__img { aspect-ratio: 16 / 10; }
	.xnums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xnum { padding: 1.75rem 1rem 1.6rem; }
	.xnum:nth-child(odd) { border-left: 0; padding-left: 0; }
	.xnum:nth-child(-n + 2) { border-bottom: 1px solid var(--x-line); }

	.xwhy { min-height: 0; }
	.xwhy__bgs::after { background: linear-gradient(180deg, rgba(16, 13, 44, .55) 0%, rgba(16, 13, 44, .82) 100%); }

	/* strips become a stacked accordion */
	.xcbi__acc { flex-direction: column; height: auto; }
	.xcbi__item { flex: none; flex-direction: column; border-left: 0; border-top: 1px solid var(--x-line); }
	.xcbi__item:first-child { border-top: 0; }
	.xcbi__item.is-open { flex: none; }
	.xcbi__h { display: block; }
	.xcbi__tab { flex-direction: row-reverse; justify-content: flex-end; gap: 1rem; width: 100%; height: auto; padding: 1rem var(--gutter); }
	.xcbi__name { writing-mode: horizontal-tb; transform: none; font-size: 1.45rem; }
	.xcbi__dot { width: 34px; height: 34px; }
	.xcbi__item.is-open .xcbi__dot { opacity: 1; }
	.xcbi__panel { padding: 1.75rem var(--gutter) 2.25rem; }
	.xcbi__item.is-open .xcbi__panel { animation-name: xcbi-down; }
	@keyframes xcbi-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

	.xcta__copy { justify-self: stretch; width: auto; padding: var(--x-pad) var(--gutter) 3rem; }
	.xcta__img { aspect-ratio: 16 / 10; }
	.xnews__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
	.xprog__grid { grid-template-columns: minmax(0, 1fr); }
	.xsvc__grid { grid-template-columns: minmax(0, 1fr); }
	.xteam__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xcbi__facts { grid-template-columns: minmax(0, 1fr); }
	.xnews__top { flex-direction: column; align-items: flex-start; }
	.xlist details > p { padding-left: 3rem; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.xwhy__bg, .xwhy__bg img, .xcbi__item, .xwhy__desc { transition: none; }
	.xcbi__item.is-open .xcbi__panel { animation: none; }
}

/* ---------- the enquiry band: square card, no floating shadow ---------- */
.oa .contact__card { border-radius: 0; box-shadow: none; border: 1px solid var(--x-line); }
.oa .consult__start, .oa .contact__card .btn { border-radius: 0; }

/* =========================================================================
   MM2H AND PVIP: the page opening (template-parts/oa/scene.php)
   After Thailand Privilege: a centred title and line over three photographs. Wide screens
   (`.is-live`, set by oa.js) hold the scene while the middle photograph opens out to the full
   frame and the introduction appears over it. oa.js writes --a (opening, 0–1) and --b (words,
   0–1). Everything else, phones and reduced motion included, reads as a plain stack.
   ========================================================================= */
.xscene {
	position: relative;
	padding-top: var(--page-top, var(--head-h));
	background: var(--x-paper);
}
.xscene__pin { position: relative; }
.xscene__head {
	padding: clamp(2.75rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
	text-align: center;
}
.oa .xscene__title {
	margin: 0 auto;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.5rem, 5vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -.012em;
	color: var(--x-ink);
}
.oa .xscene__title { text-wrap: balance; }
.oa .xscene__title .word.is-gold { color: inherit; }
.xscene__sub {
	margin: 1.1rem auto 0;
	max-width: 36rem;
	color: var(--x-body);
	font-size: clamp(1rem, .3vw + .95rem, 1.15rem);
	line-height: 1.55;
}
.xscene__side { display: none; }
.xscene__img { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: var(--oa-indigo); }
.xscene__img img { width: 100%; height: 100%; object-fit: cover; }
.xscene__over { padding: clamp(2.75rem, 6vw, 4.5rem) var(--gutter); background: var(--oa-indigo); }
.xscene__copy { max-width: 44rem; margin: 0 auto; text-align: center; }
.oa .xscene__copy p { margin: 0 0 1rem; color: rgba(255, 255, 255, .82); font-size: 1rem; line-height: 1.75; }
.oa .xscene__copy p:first-child {
	margin-bottom: 1.4rem;
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.3rem, 1.7vw, 1.6rem);
	line-height: 1.4;
	color: #fff;
}
.xscene__copy .btn-row { justify-content: center; margin: 2rem 0 0; }

/* Wide screens with motion: one held frame below the header. */
.xscene.is-live { height: 250svh; }
.xscene.is-live .xscene__pin {
	position: sticky;
	top: var(--page-top, var(--head-h));
	height: calc(100svh - var(--page-top, var(--head-h)));
	overflow: hidden;
}
.xscene.is-live .xscene__head {
	position: absolute;
	inset: 6% 0 auto;
	z-index: 3;
	padding-block: 0;
	opacity: calc(1 - var(--a, 0) * 2.4);
	transform: translateY(calc(var(--a, 0) * -70px));
}
.xscene.is-live .xscene__title { font-size: min(clamp(2.75rem, 5.4vw, 5.2rem), 9svh); }
.xscene.is-live .xscene__main {
	position: absolute;
	inset: 0;
	z-index: 1;
	/* --top: just below the title block, measured by oa.js (titles run to one or two lines). */
	clip-path: inset(calc((1 - var(--a, 0)) * var(--top, 35%)) calc((1 - var(--a, 0)) * 27.5%) calc((1 - var(--a, 0)) * 7%));
}
.xscene.is-live .xscene__img { height: 100%; aspect-ratio: auto; }
.xscene.is-live .xscene__img img { transform: scale(calc(1.14 - var(--a, 0) * .14)); }
.xscene.is-live .xscene__over {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding-block: 0;
	background: rgba(16, 13, 42, calc(var(--b, 0) * .58));
}
.xscene.is-live .xscene__copy {
	opacity: var(--b, 0);
	transform: translateY(calc((1 - var(--b, 0)) * 28px));
	pointer-events: none;
}
.xscene.is-live.is-read .xscene__copy { pointer-events: auto; }
.xscene.is-live .xscene__side {
	display: block;
	position: absolute;
	z-index: 2;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--x-mist);
	will-change: transform;
}
.xscene__side img { width: 100%; height: 100%; object-fit: cover; }
.xscene.is-live .xscene__side--l { left: 6.5%; top: calc(var(--top, 35%) + 11%); width: 16.5%; transform: translateY(calc(var(--a, 0) * -88svh)); }
.xscene.is-live .xscene__side--r { right: 7%; top: calc(var(--top, 35%) - 3%); width: 14.5%; transform: translateY(calc(var(--a, 0) * -112svh)); }

@media (max-width: 900px) {
	.xscene__img { aspect-ratio: 4 / 3; }
	.oa .xscene__copy { text-align: left; }
	.xscene__copy .btn-row { justify-content: flex-start; }
}

/* ---------- counters: a line icon per figure and a larger label (client, Dec 2026) ---------- */
.oa .num, .oa .xnum { position: relative; }
.oa .num dd, .oa .xnum dd { position: static; font-size: clamp(1.05rem, 1.25vw, 1.2rem); font-weight: 600; line-height: 1.35; color: var(--x-ink, var(--ink)); }
.oa .num dd .i, .oa .xnum dd .i {
	position: absolute;
	width: 2.9rem;
	height: 2.9rem;
	padding: .62rem;
	border-radius: 50%;
	background: #e3eef7;
	color: var(--oa-indigo);
	stroke-width: 1.5;
}
.oa .num dd .i { top: 1.4rem; right: 1.4rem; }
.oa .num { min-height: 13rem; }
.oa .xnum { padding-top: 5.6rem; }
.oa .xnum dd .i { top: 1.9rem; left: 1.75rem; }
.oa .xnum:first-child dd .i { left: 0; }
@media (max-width: 900px) {
	.oa .xnum { padding-top: 4.9rem; }
	.oa .xnum dd .i { top: 1.4rem; left: 1rem; }
	.oa .xnum:nth-child(odd) dd .i { left: 0; }
}

/* About hero: the KLCC photo is pinned to its top so the tower tops are never cut (client, Dec 2026). */
.oa .xpage-hero__img img[src*="about-klcc"] { object-position: 50% 0; }
/* the skyline is shown whole at every width, never cropped: the band takes the photo's own shape (client, Dec 2026) */
.oa .xpage-hero__img:has(img[src*="about-klcc"]) { height: auto; aspect-ratio: 2560 / 1117; }

/* MM2H opening: the skyline is pinned to its top, so the tower spires are never cut when the
   photograph opens out to the full frame (client, Dec 2026). */
.oa .xscene__main img[src*="/scene-mm2h."],
.oa .xscene__main img[src*="/scene-mm2h-1"],
.oa .xscene__main img[src*="/scene-pvip-eligibility"] { object-position: 50% 0; } /* PVIP eligibility: heads kept whole */

/* =========================================================================
   Phone pass (client, Dec 2026): taps, legible sizes, nothing hidden under the floating buttons.
   Found by loading every page at iPhone width in real Chrome (no page scrolls sideways).
   ========================================================================= */
@media (max-width: 760px) {
	/* The header phone icon was a 15px target: give it a thumb-sized hit area without moving it. */
	.oa .site-head__phone { min-width: 44px; min-height: 44px; justify-content: center; }
	/* Slider dots: 3px bars are hard to hit; the bar stays thin, the tap area grows. */
	.oa .deck__dot { height: 3px; padding: 0; background-clip: content-box; border: 10px solid transparent; border-left-width: 0; border-right-width: 0; box-sizing: content-box; }
	/* The floating buttons sit over the cookie notice's buttons on a phone: hide them until it is answered. */
	body:has(.cookie:not([hidden])) .wa,
	body:has(.cookie:not([hidden])) .wc { opacity: 0; pointer-events: none; }
	.cookie { bottom: .8rem; }
	/* Slightly smaller floating buttons so they cover less of the page. */
	.oa .wa, .oa .wc { width: 52px; height: 52px; }
	.oa .wc { bottom: calc(clamp(1rem, 2.5vw, 2rem) + 62px); }
	.oa .wa svg { width: 27px; height: 27px; }
	/* Nothing smaller than 12px on a phone. */
	.oa .cmp__all, .oa .cmp__card-sub, .oa .cmp__updated, .oa .cmp__panel-group,
	.oa .consult__ask-title, .oa .legal__toc-title, .oa .est__label, .oa legend,
	.oa .sidenav__tab, .oa .oedl-card__rank small { font-size: .75rem; }
	.oa .btn--sm { font-size: .75rem; }
	.oa .cmp__item dd small { font-size: .78rem; }
}
/* The section tab sat on the left edge mid-screen, wider than the page margin, so it hid the first
   letters of every line that scrolled under it. Phones and tablets now get a small "pages in this
   section" chip in the bottom-left corner instead, level with the WhatsApp button opposite. */
@media (max-width: 900px) {
	.oa .sidenav__tab {
		top: auto; bottom: clamp(1rem, 2.5vw, 2rem); left: clamp(1rem, 2.5vw, 2rem);
		flex-direction: row; gap: .5rem; height: 44px; padding: 0 1rem 0 .85rem;
		border: 0; border-radius: 99px; font-size: .72rem; letter-spacing: .1em;
		box-shadow: 0 8px 24px rgba(0, 0, 0, .22); translate: none;
	}
	.oa .sidenav__tab span { writing-mode: horizontal-tb; rotate: none; max-height: none; max-width: 9rem; }
	.oa .sidenav__tab[aria-expanded="true"] { translate: -130% 0; }
	body:has(.cookie:not([hidden])) .sidenav__tab { opacity: 0; pointer-events: none; }
	/* Room under the footer's last line for the floating buttons, so "Cookie settings" is reachable. */
	.oa .site-foot__legal { padding-bottom: 9rem; } /* WeChat stacks above WhatsApp: two buttons tall */
}
@media (max-width: 760px) {
	/* Benefits deck: the outline button was see-through, so a card sliding up behind it showed through
	   its label. Solid on phones. */
	.oa .deck__bar .btn--ghost, .oa .deck__bar .btn--outline { background: #fff; }
}

/* Benefit decks on phones (client, Dec 2026: "zoom out so it won't look cut"). The photograph is a
   4:3 cut of its own (<name>-m, see benefits.php), shown whole across the top of the card, and the
   words sit below it on indigo instead of over the picture. */
.deck__card picture { display: contents; }
@media (max-width: 900px) {
	.oa .deck.is-rolex .deck__card { background: var(--oa-indigo); }
	.oa .deck.is-rolex .deck__card img { position: absolute; inset: 0 0 auto; height: 60%; }
	.oa .deck.is-rolex .deck__card::after { display: none; }
	.oa .deck.is-rolex .deck__copy { top: 60%; display: flex; flex-direction: column; justify-content: center; padding: .9rem 1.2rem 1rem; }
	.oa .deck.is-rolex .deck__copy h3 { font-size: 1.15rem; }
	.oa .deck.is-rolex .deck__copy p { font-size: .86rem; line-height: 1.45; color: rgba(255, 255, 255, .86); }
}

/* Header (client, Dec 2026): the phone icon was too faint to notice, so it sits in a solid indigo
   circle; beside it a language menu shows the flag of the language you are reading (English only
   for now, inc/i18n.php). */
.oa .site-head__phone { gap: .6rem; }
.oa .site-head__phone .i { box-sizing: content-box; flex: none; width: 16px; height: 16px; padding: 10px; border-radius: 50%; background: var(--oa-indigo); color: #fff; transition: background-color .25s var(--ease-out); }
.oa .site-head__phone:hover .i { background: var(--oa-steel, #274c77); }
.oa .site-head__side .lang__btn { gap: .45rem; padding: .45rem .7rem .45rem .6rem; border: 1px solid rgba(34, 28, 90, .18); border-radius: 99px; color: var(--oa-indigo); transition: border-color .25s var(--ease-out); }
.oa .site-head__side .lang__btn:hover, .oa .site-head__side .lang[open] .lang__btn { border-color: rgba(34, 28, 90, .45); }
.oa .lang__flag svg { width: 22px; height: 15px; }
.oa .lang__menu { min-width: 11rem; }
@media (max-width: 900px) {
	.oa .site-head__side { gap: .55rem; }
	.oa .site-head__side .lang__btn { padding: .4rem .55rem .4rem .5rem; }
}

/* Home hero on phones (client, Dec 2026: the film above a separate indigo block "not so nice").
   The film fills the screen under the header and the headline, words and buttons sit over its lower
   part on a deep indigo fade, as on the desktop banner's panel. The floating WhatsApp/WeChat buttons
   step aside while the hero's own buttons are on screen (oa.js). */
@media (max-width: 900px) {
	.xhero { background: var(--oa-indigo); }
	.xhero__img { height: calc(100svh - var(--page-top, var(--head-h))); min-height: 540px; max-height: 920px; }
	/* the twin towers stand at 47.7% across the film: 46.5% puts them in the middle of a phone screen */
	.xhero__img img, .xhero__film { object-position: 46.5% 0; }
	.xhero__img::after {
		content: ""; position: absolute; inset: 28% 0 0; z-index: 1; pointer-events: none;
		background: linear-gradient(180deg, rgba(23, 19, 66, 0) 0%, rgba(23, 19, 66, .55) 32%, rgba(23, 19, 66, .9) 62%, rgba(23, 19, 66, .97) 100%);
	}
	.xhero__wrap { position: absolute; inset: auto 0 0; z-index: 2; display: block; }
	.xhero__panel { width: auto; padding: 0 var(--gutter) clamp(1.6rem, 5svh, 2.6rem); background: none; }
	.oa .xhero__title { margin-bottom: .9rem; font-size: clamp(2.3rem, 10.5vw, 3rem); line-height: 1.04; text-shadow: 0 2px 18px rgba(10, 8, 40, .35); }
	.xhero__intro { margin-bottom: 1.4rem; font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
	.xhero__panel .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
	.xhero__panel .btn-row .btn { justify-content: center; padding-inline: .5rem; text-align: center; white-space: normal; }
	body.oa-hero-cta .wa, body.oa-hero-cta .wc, body.oa-hero-cta .sidenav__tab { opacity: 0; pointer-events: none; }
	.oa .wa, .oa .wc { transition: opacity .3s var(--ease-out), translate .4s var(--ease-soft); }
}
@media (max-width: 900px) {
	/* the floating buttons are away while the deck's bar shows (oa.js), so its buttons take the full width */
	body.oa-hero-cta .deck__bar .btn-row { padding-right: 0; }
}
/* The language pill takes room in the bar: below 1600px the phone number folds into its circle
   (still a call link), so the menu, the flag and the button keep their margins. */
@media (max-width: 1599px) { .oa .site-head__phone span { display: none; } }
