/* =========================================================================
   Exodus MM2H — inner pages (About and MM2H sections)
   Loaded on designed pages only. Tokens, type and buttons come from main.css.
   Order: chrome · heroes · shared sections · About · MM2H · responsive
   ========================================================================= */

@font-face {
	font-family: "Pinyon Script";
	src: url("../vendor/pinyon-script.woff2") format("woff2");
	font-display: swap;
}

/* ---------- chrome ---------- */
.is-designed { --page-top: var(--head-h); }
.has-subnav  { --page-top: calc(var(--head-h) + var(--sub-h)); }

/* Heroes start below the fixed header. The pinned hero runs behind it, as on the home page. */
#main > .phero:first-child,
#main > .ahero:first-child,
#main > .msg:first-child { margin-top: var(--page-top); }

/* In-page anchors clear the fixed header. */
[id] { scroll-margin-top: calc(var(--page-top, var(--head-h)) + 1rem); }

.section-head--light .eyebrow,
.section-head--light h2,
.section-head--light .section-head__lede,
.section-head--gold .eyebrow,
.section-head--gold .section-head__lede { color: #fff; }
.section-head__lede + .section-head__lede { margin-top: 1rem; }
.section-head { max-width: 52rem; }
.section-head__lede { max-width: 46rem; }

/* ---------- inner-page hero ---------- */
.phero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: calc(100svh - var(--page-top));
	padding-block: clamp(6rem, 12vh, 9rem) clamp(4rem, 10vh, 7rem);
	color: #fff;
	text-align: center;
	background: #06060f;
	overflow: hidden;
}
.phero--center { align-items: center; padding-block: clamp(4rem, 9vh, 7rem); }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.phero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 9, 22, 0) 18%, rgba(4, 9, 22, .42) 48%, rgba(4, 9, 22, .78) 72%, rgba(4, 9, 22, .97) 100%);
}
/* Centred heroes sit their words on the photograph itself, so the navy wash has to carry
   them whatever the picture: a pale sky must not leave the heading unreadable. */
.phero--center .phero__media::after { background: linear-gradient(180deg, rgba(8, 24, 64, .58) 0%, rgba(8, 24, 64, .66) 45%, rgba(8, 22, 58, .86) 100%); }
.phero--short { min-height: clamp(19rem, 46svh, 28rem); padding-block: clamp(3rem, 7vh, 5rem); }
.phero--short h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.phero__in { position: relative; z-index: 1; max-width: 62rem; }
.phero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .5)); }
.phero--center h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.phero p:not(.eyebrow):not(.btn-row) { margin: 1.1rem auto 0; max-width: 46rem; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.phero--center p:not(.eyebrow):not(.btn-row) { max-width: 58rem; }
.phero .btn-row { justify-content: center; }

/* ---------- half photo, half copy ---------- */
.psplit { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.psplit__media { min-height: clamp(360px, 40vw, 640px); overflow: hidden; }
.psplit__media img { width: 100%; height: 100%; object-fit: cover; }
.psplit__body { align-self: center; padding: clamp(3rem, 6vw, 5.5rem); max-width: 44rem; }
.psplit__body h2 { margin-bottom: 1.5rem; font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.psplit__body p:not(.eyebrow):not(.btn-row) { margin: 0 0 1.1rem; }
.psplit--reverse .psplit__media { order: 2; }
.psplit__logo { width: 200px; height: auto; margin-top: 1.4rem; }
/* Desktop: a split is one screen under the header — photograph and copy together, nothing to
   scroll within it. Type and spacing scale with the screen height so the copy fits. */
@media (min-width: 901px) {
	.psplit { min-height: calc(100svh - var(--page-top)); }
	/* the photograph fills whatever height the copy leaves, instead of setting it */
	.psplit__media { position: relative; min-height: 0; }
	.psplit__media img { position: absolute; inset: 0; }
	.psplit__body { max-width: 50rem; padding-block: clamp(1.6rem, 5vh, 4.5rem); }
	.psplit__body h2 { margin-bottom: clamp(.8rem, 2.2vh, 1.5rem); font-size: clamp(1.8rem, min(2.7vw, 5.2vh), 2.8rem); }
	.psplit__body p:not(.eyebrow):not(.btn-row) { margin-bottom: clamp(.6rem, 1.6vh, 1.1rem); font-size: clamp(.88rem, 1.85vh, 1rem); line-height: 1.65; }
	.psplit__logo { width: clamp(130px, 18vh, 200px); margin-top: clamp(.6rem, 1.6vh, 1.4rem); }
}

/* ---------- full-width photo strip ---------- */
.band { overflow: hidden; }
.band img { width: 100%; height: clamp(200px, 26vw, 480px); object-fit: cover; }
.band--room img { object-position: 50% 62%; }

/* ---------- six-step process ---------- */
.steps {
	padding-block: clamp(4rem, 9vw, 7rem);
	background: #fafafa url("../img/white-silk.webp") center / cover;
}
.steps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2.4rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
	max-width: 62rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: center;
}
.step__icon { width: 82px; height: 82px; margin: 0 auto .9rem; }
.step__title { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .6rem; }
.step__title span { font-family: var(--serif); opacity: .75; }
.step p { margin: 0 auto; max-width: 18rem; font-size: .95rem; }
.steps .btn-row { margin-top: clamp(2.4rem, 5vw, 3.5rem); }

/* ---------- testimonials ---------- */
.tmony {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	/* Content edges line up with the header bar (logo to "Get in Touch"), not the screen edge. */
	padding: clamp(3rem, 6vw, 4.5rem) max(var(--gutter), calc((100% - 1560px) / 2));
	background: #ecd9b4 url("../img/gold-silk.webp") center / cover;
	overflow: hidden;
}
.tmony--stats { grid-template-columns: 1fr; }
.tmony__copy h2 { margin-bottom: 1.3rem; font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.tmony__copy p:not(.eyebrow) { margin: 0; max-width: 33rem; color: var(--ink); }
/* The reviews are all five-star Google reviews: say so beside the intro. */
.tmony__copy .tmony__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-top: 1.4rem; padding: .55rem 1.1rem; border: 1px solid rgba(199, 154, 70, .5); border-radius: 999px; background: rgba(255, 255, 255, .6); font-weight: 700; font-size: .92rem; color: var(--navy); }
.tmony__stars { color: #f5b301; letter-spacing: .12em; font-size: 1.05rem; line-height: 1; }
.tmony__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 3.5vw, 3.4rem); margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.tmony__stat img { width: 60px; height: 60px; margin-bottom: .8rem; }
.tmony__stat dt { font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tmony__stat dd { margin: .5rem 0 0; font-size: .92rem; color: var(--ink); }
.tmony__rails { display: grid; gap: 1.4rem; min-width: 0; }
/* Each row is a window three cards wide; the row inside it glides slowly sideways, followed
   by a copy of its own cards, so the loop has no gap. Hover or focus pauses it. */
.tmony__window { --gap: 1.4rem; container-type: inline-size; min-width: 0; overflow: hidden; outline-offset: 4px; }
.tmony__rails--live .tmony__window { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.tmony__rail { display: flex; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.tmony__rails--live .tmony__rail { width: max-content; animation: tmony-glide 64s linear infinite; }
.tmony__rails--live .tmony__rail--back { animation-direction: reverse; animation-duration: 54s; }
.tmony__window:hover .tmony__rail, .tmony__window:focus-within .tmony__rail, .tmony.is-reading .tmony__rail { animation-play-state: paused; }
@keyframes tmony-glide { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.review {
	flex: none;
	width: calc((100cqw - 2 * var(--gap)) / 3);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .55rem;
	min-height: 240px;
	padding: 1.25rem 1.1rem 1.1rem;
	background: #fff;
	border-radius: 12px;
	text-align: center;
	font-size: .86rem;
	color: #222;
}
.tmony__rails:not(.tmony__rails--live) .review { flex: 1 1 0; width: auto; min-width: 0; }
.review p { margin: 0; line-height: 1.45; }
.review__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.review__more { padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review__who { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .5rem; text-align: left; }
.review__who strong { display: block; font-size: .84rem; line-height: 1.2; color: var(--navy); }
.review small { display: block; font-size: .72rem; color: #777; }
.review__stars { color: #fbbc04; font-size: 1.15rem; letter-spacing: .08em; }
.review__avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.review--empty { justify-content: center; }
.review--empty p { color: #8a8aa2; }
.review--empty .review__stars { color: #e4e4ea; }

/* The whole review, opened from "Read more". */
.review-dialog { width: min(36rem, 100% - 2rem); max-height: min(80svh, 40rem); padding: 0; border: 0; border-radius: 16px; background: #fff; color: #222; box-shadow: 0 30px 80px rgba(6, 18, 46, .35); }
.review-dialog::backdrop { background: rgba(10, 22, 54, .6); backdrop-filter: blur(3px); }
.review-dialog__in { position: relative; padding: clamp(1.6rem, 4vw, 2.4rem); }
.review-dialog__text p { margin: .9rem 0 0; line-height: 1.6; font-size: .95rem; }
.review-dialog__who { margin: 1.2rem 0 0; color: var(--navy); font-weight: 700; }
.review-dialog__who small { display: block; font-weight: 400; color: #777; font-size: .78rem; }
.review-dialog__close { position: absolute; top: .6rem; right: .8rem; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: transparent; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.review-dialog__close:hover { background: #f1f1f5; }
@media (prefers-reduced-motion: reduce) {
	.tmony__rails--live .tmony__rail { animation: none; width: auto; }
	.tmony__window { overflow-x: auto; scrollbar-width: none; }
	.review--copy { display: none; }
}

/* ---------- navy CTA card ---------- */
.pcta { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); background: #fff; overflow: clip; }
.arcs--pcta { left: -14%; top: -6%; }
.pcta .wrap { position: relative; z-index: 1; }
.pcta__card {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	max-width: 62rem;
	min-height: clamp(300px, 26vw, 360px);
	margin-inline: auto;
	border-radius: 14px;
	background: var(--navy);
	overflow: hidden;
}
.pcta__media {
	position: absolute;
	inset: 0 0 0 42%;
	z-index: 0;
	overflow: hidden;
	/* The panel starts mid-card, and the photo (scaled by the scroll) and its navy fade both
	   anti-alias at that edge, so a hairline of photo showed through. Fading the panel itself
	   in from fully transparent leaves only the card's navy at the seam. */
	mask-image: linear-gradient(90deg, transparent, #000 12%);
}
.pcta__media img { width: 100%; height: 100%; object-fit: cover; }
.pcta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Solid navy at the edge, so the photo never shows a seam — it dissolves into the card. */
	background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 8%, rgba(12, 34, 82, .78) 30%, rgba(12, 34, 82, .22) 58%, rgba(12, 34, 82, 0) 78%);
}
.pcta__body { position: relative; z-index: 1; max-width: 37rem; padding: clamp(2rem, 5vw, 4rem); color: #fff; }
.pcta__body h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pcta__body p:not(.btn-row) { margin: 1.1rem 0 0; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(12, 34, 82, .7); }

/* ---------- fees ---------- */
.fees { padding-block: clamp(4rem, 9vw, 6.5rem); background: #f6eedc url("../img/contact-lines.webp") center / cover; text-align: center; }
.fees__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3.5vw, 3rem); max-width: 54rem; margin-inline: auto; text-align: left; }
.fees__card { padding: clamp(1.8rem, 3.5vw, 2.8rem); background: rgba(255, 255, 255, .72); border: 1px solid rgba(199, 154, 70, .5); border-radius: 14px; }
.fees__card h3 { margin: 0 0 1.5rem; text-align: center; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 500; color: var(--ink); }
.fees__card ul { display: grid; gap: .85rem; max-width: 19rem; margin: 0 auto; padding: 0; list-style: none; }
.fees__card li { display: flex; align-items: center; gap: .9rem; font-size: .95rem; color: var(--ink); }
.fees__card img { flex: none; width: 34px; height: 34px; }
.fees__outro { max-width: 46rem; margin: 2.4rem auto 0; color: var(--ink); }

/* ---------- comparison table ---------- */
.compare { position: relative; padding-block: clamp(4rem, 9vw, 7rem); background: #fff; overflow: clip; }
.compare .wrap { position: relative; z-index: 1; }
/* ---------- programme comparison (shared/compare-table.php) ----------
   A fact sheet in the language of the membership cards: an ivory sheet edged in gold, each
   programme headed by its own card on a champagne band, gold capitals over each group, and
   every headline figure in the serif with its condition beneath. A value every programme
   shares is drawn once across the columns. Phones swap the table for tabs (see 900px). */
.cmp {
	--cmp-ivory: #fffdf8;
	--cmp-gold: #a3762a;
	--cmp-rule: rgba(163, 118, 42, .14);
	--cmp-champagne: linear-gradient(180deg, #f4ead3 0%, #faf5e9 62%, var(--cmp-ivory) 100%);
	max-width: 76rem;
	margin: 0 auto;
}
.cmp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.cmp__heading { display: grid; gap: .6rem; justify-items: start; }
.cmp__title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; color: var(--navy); }
.cmp__updated { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .8rem; border: 1px solid rgba(199, 154, 70, .45); border-radius: 99px; background: linear-gradient(135deg, #fbf3df, #f3e4bf); color: #7a5a1f; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cmp__updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cmp__head img { flex: none; width: 110px; height: auto; }

/* The sheet: a gold hairline edge drawn as a border-box gradient behind an ivory fill. */
.cmp__scroll {
	overflow-x: auto;
	border: 1px solid transparent;
	border-radius: 20px;
	background: linear-gradient(var(--cmp-ivory), var(--cmp-ivory)) padding-box, linear-gradient(135deg, #e3c27d, #f6e9c6 30%, #c79a46 55%, #f3e2b4 80%, #b98a34) border-box;
	box-shadow: 0 34px 80px rgba(12, 34, 82, .13), 0 10px 24px rgba(163, 118, 42, .08);
}
.cmp__table { width: 100%; min-width: calc(14rem + var(--cmp-cols) * 9.5rem); border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .9rem; color: var(--body); }
.cmp__labels { width: clamp(12rem, 21%, 16rem); }

/* The cards sit on a champagne band; their names are in the artwork. */
.cmp__table thead th, .cmp__corner { padding: 1.3rem .45rem 1rem; background: var(--cmp-champagne); vertical-align: bottom; }
.cmp__table thead th:last-child { padding-right: 1rem; }
.cmp__card { display: block; max-width: 15.5rem; margin-inline: auto; }
.cmp__card-in { position: relative; display: block; translate: 0 0; transition: translate .6s var(--ease-out), filter .6s var(--ease-out); filter: drop-shadow(0 12px 18px rgba(12, 34, 82, .16)); }
.cmp__card img { display: block; width: 100%; height: auto; }
.cmp__sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat; mix-blend-mode: soft-light; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; pointer-events: none; }
.cmp__card:hover .cmp__card-in { translate: 0 -5px; filter: drop-shadow(0 18px 24px rgba(12, 34, 82, .22)); }
.cmp__card:hover .cmp__sheen { background-position: -60% 0; transition: background-position 1.3s var(--ease-soft); }
.cmp__card-sub { display: block; margin-top: .55rem; color: var(--cmp-gold); font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-align: center; text-transform: uppercase; }

/* Group headings: gold capitals over a hairline that fades out to the right. */
.cmp__table .cmp__group th {
	padding: 2rem 1.6rem .65rem;
	background: linear-gradient(90deg, rgba(199, 154, 70, .7), rgba(199, 154, 70, .12) 70%, rgba(199, 154, 70, 0)) left bottom / 100% 1px no-repeat, var(--cmp-ivory);
	text-align: left;
	color: var(--cmp-gold);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .22em;
	text-transform: uppercase;
}
.cmp__table tbody:first-of-type .cmp__group th { padding-top: 1.3rem; }

.cmp__table tbody tr:not(.cmp__group) > * { padding: 1.1rem 1rem; border-bottom: 1px solid var(--cmp-rule); background-color: var(--cmp-ivory); vertical-align: middle; transition: background-color .3s var(--ease-out); }
.cmp__table tbody:last-of-type tr:last-child > * { border-bottom: 0; padding-bottom: 1.5rem; }
.cmp__table tbody th { position: sticky; left: 0; z-index: 1; padding-left: 1.6rem; text-align: left; color: var(--navy); font-size: .92rem; font-weight: 700; line-height: 1.3; }
.cmp__table tbody th small { display: block; margin-top: .2rem; color: var(--body); font-size: .74rem; font-weight: 400; }
.cmp__table td { text-align: center; line-height: 1.4; }
/* A hairline between programmes, so each figure reads as belonging to the card above it. */
.cmp__table td + td { border-left: 1px solid rgba(163, 118, 42, .26); }
.cmp__table td b, .cmp__item dd b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.2; color: var(--navy); }
.cmp__table td small, .cmp__item dd small { display: block; margin-top: .22rem; font-size: .76rem; line-height: 1.45; color: var(--body); }
.cmp__table td small + b, .cmp__item dd small + b { margin-top: .75rem; }
.cmp__table td.is-shared { background-image: linear-gradient(90deg, rgba(199, 154, 70, 0), rgba(199, 154, 70, .075) 50%, rgba(199, 154, 70, 0)); }
.cmp__table td.is-shared small { max-width: 42rem; margin-inline: auto; }
.cmp__table tbody tr:not(.cmp__group):hover > * { background-color: #fbf5e6; }
.cmp__all { display: inline-block; border: 1px solid rgba(199, 154, 70, .45); border-radius: 99px; background: linear-gradient(135deg, #fdf8ec, #f4e6c5); color: #7a5a1f; font-weight: 800; text-transform: uppercase; }
.cmp__all { margin-bottom: .45rem; padding: .16rem .65rem; font-size: .58rem; letter-spacing: .14em; }

.cmp__yes, .cmp__no { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; }
.cmp__yes { color: #7a5a1f; }
.cmp__no { color: #8a8aa0; }
.cmp__yes svg, .cmp__no svg { flex: none; width: 1.55rem; height: 1.55rem; padding: .24rem; border-radius: 50%; fill: none; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.cmp__yes svg { background: var(--gold-soft); stroke: #fff; box-shadow: 0 3px 8px rgba(163, 118, 42, .3); }
.cmp__no svg { border: 1px solid rgba(12, 34, 82, .15); stroke: currentColor; }

/* Wide screens: the slim row of cards that follows you down a long table. It takes no room in
   the page (height 0, sticky under the header); pages.js gives the table .is-floating once the
   real card row has gone up under the header, sizes its columns to the table's own, and keeps
   the group name in the corner current. */
.cmp__wide { position: relative; }
.cmp__float { position: sticky; top: var(--page-top, var(--head-h)); z-index: 4; height: 0; }
.cmp__float-in {
	position: absolute; top: 0; left: 0; right: 0;
	overflow: hidden;
	border: 1px solid transparent; border-top: 0;
	border-radius: 0 0 16px 16px;
	background: var(--cmp-champagne) padding-box, linear-gradient(135deg, #e3c27d, #f6e9c6 30%, #c79a46 55%, #f3e2b4 80%, #b98a34) border-box;
	box-shadow: 0 18px 30px -16px rgba(12, 34, 82, .38);
	opacity: 0; visibility: hidden; translate: 0 -10px;
	transition: opacity .35s var(--ease-out), translate .45s var(--ease-out), visibility 0s linear .45s;
}
.cmp.is-floating .cmp__float-in { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .35s var(--ease-out), translate .45s var(--ease-out); }
.cmp__float-row { display: grid; grid-template-columns: clamp(12rem, 21%, 16rem) repeat(var(--cmp-cols), minmax(0, 1fr)); align-items: center; will-change: transform; }
.cmp__float-group { padding: 0 .6rem 0 1.6rem; color: var(--cmp-gold); font-size: .62rem; font-weight: 800; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
.cmp__float-col { display: flex; align-items: center; justify-content: center; gap: .65rem; min-width: 0; padding: .6rem .45rem; }
.cmp__float-col img { flex: none; width: clamp(3.4rem, 4.6vw, 4.6rem); height: auto; filter: drop-shadow(0 4px 7px rgba(12, 34, 82, .2)); }
.cmp__float-name { display: grid; gap: .15rem; min-width: 0; }
.cmp__float-name b { color: var(--navy); font-size: .84rem; font-weight: 700; line-height: 1.15; }
.cmp__float-name small { color: var(--cmp-gold); font-size: .52rem; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .cmp__float-in, .cmp.is-floating .cmp__float-in { transition: none; translate: none; } }

/* One programme (PVIP Key Requirements): label and value read left to right, as a fact sheet. */
.cmp--single .cmp__table { min-width: 0; }
.cmp--single .cmp__labels { width: 34%; }
.cmp--single .cmp__table thead th { padding-left: 1.4rem; padding-right: 1rem; }
.cmp--single .cmp__card { margin-inline: 0; }
.cmp--single .cmp__card-sub { text-align: left; }
.cmp--single .cmp__table td { padding-left: 1.4rem; text-align: left; }
.cmp--single .cmp__table td small { max-width: 40rem; }

/* Phones: every programme side by side. The row of small cards is pinned under the header
   while the requirements scroll beneath it; every row lines up on the same column grid, so
   a column reads straight down. The sheet is not overflow-clipped: that would unpin it. */
.cmp__phone { display: none; }
.cmp__mgrid { display: grid; grid-template-columns: repeat(var(--cmp-cols), minmax(0, 1fr)); gap: .3rem; }
.cmp__mhead { position: sticky; top: var(--page-top, var(--head-h)); z-index: 3; padding: .75rem .55rem .6rem; border: 1px solid rgba(199, 154, 70, .55); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--cmp-champagne); box-shadow: 0 10px 18px -12px rgba(12, 34, 82, .35); }
.cmp__mcol { min-width: 0; text-align: center; }
.cmp__mcol .cmp__card { max-width: none; }
.cmp__mcol .cmp__card-in { filter: drop-shadow(0 5px 8px rgba(12, 34, 82, .18)); }
.cmp__mname { display: block; margin-top: .35rem; color: var(--navy); font-size: .58rem; font-weight: 800; letter-spacing: .06em; line-height: 1.15; text-transform: uppercase; }
.cmp__mbody { padding: 0 .55rem .6rem; border: 1px solid rgba(199, 154, 70, .55); border-top: 0; border-radius: 0 0 18px 18px; background: var(--cmp-ivory); box-shadow: 0 22px 50px rgba(12, 34, 82, .12); }
.cmp__mgroup { margin: 0; padding: 1.25rem .15rem .5rem; background: linear-gradient(90deg, rgba(199, 154, 70, .7), rgba(199, 154, 70, 0)) left bottom / 100% 1px no-repeat; color: var(--cmp-gold); font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.cmp__mrow { padding: .75rem 0 .1rem; }
.cmp__mrow + .cmp__mrow { border-top: 1px solid var(--cmp-rule); }
.cmp__mlabel { margin: 0 .15rem .45rem; color: var(--navy); font-size: .8rem; font-weight: 700; line-height: 1.3; }
.cmp__mlabel small { margin-left: .3rem; color: var(--body); font-size: .7rem; font-weight: 400; }
.cmp__mcell { min-width: 0; padding: .55rem calc(.5rem - var(--cmp-cols) * .05rem); border-radius: 9px; background: #f8f0dd; color: var(--body); font-size: .62rem; line-height: 1.3; text-align: center; overflow-wrap: anywhere; hyphens: auto; }
.cmp__mcell:nth-child(even) { background: #fbf6ea; }
/* Five columns on a 360px phone leave ~46px a cell: the figure shrinks with the column count,
   and a word still too long breaks (hyphenated) rather than running out of its cell. */
.cmp__mcell b { display: block; font-family: var(--serif); font-weight: 400; font-size: calc(1.24rem - var(--cmp-cols) * .1rem); line-height: 1.15; color: var(--navy); overflow-wrap: break-word; hyphens: auto; }
.cmp__mcell small { display: block; margin-top: .2rem; font-size: .6rem; line-height: 1.3; }
.cmp__mcell small + b { margin-top: .5rem; }
.cmp__mcell.is-shared { background: linear-gradient(90deg, #f6ecd4, #fbf5e7 50%, #f6ecd4); }
.cmp__mcell.is-shared b { font-size: .95rem; }
.cmp__mcell.is-shared small { font-size: .66rem; }
.cmp__mcell .cmp__all { margin-bottom: .3rem; padding: .1rem .5rem; font-size: .52rem; }
.cmp__mcell .cmp__yes, .cmp__mcell .cmp__no { flex-direction: column; gap: .25rem; font-size: .62rem; }
.cmp__mcell .cmp__yes svg, .cmp__mcell .cmp__no svg { width: 1.35rem; height: 1.35rem; }

/* One programme (PVIP Key Requirements) on a phone: its card, then a list. */
.cmp__panel { overflow: hidden; border: 1px solid transparent; border-radius: 18px; background: linear-gradient(var(--cmp-ivory), var(--cmp-ivory)) padding-box, linear-gradient(135deg, #e3c27d, #f6e9c6 30%, #c79a46 55%, #f3e2b4 80%, #b98a34) border-box; box-shadow: 0 22px 50px rgba(12, 34, 82, .13); }
.cmp__panel-top { padding: 1.1rem 1.1rem .9rem; background: var(--cmp-champagne); }
.cmp__panel-top .cmp__card { max-width: 22rem; }
.cmp__panel-group { margin: 0; padding: 1.3rem 1.25rem .55rem; background: linear-gradient(90deg, rgba(199, 154, 70, .7), rgba(199, 154, 70, 0)) 1.25rem bottom / calc(100% - 2.5rem) 1px no-repeat; color: var(--cmp-gold); font: 800 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.cmp__list { margin: 0; padding: 0 1.25rem .4rem; }
.cmp__item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--cmp-rule); }
.cmp__panel-group + .cmp__list .cmp__item:first-child { border-top: 0; }
.cmp__item dt { color: var(--navy); font-size: .84rem; font-weight: 700; line-height: 1.3; }
.cmp__item dt small { display: block; margin-top: .15rem; color: var(--body); font-size: .72rem; font-weight: 400; }
.cmp__item dd { margin: 0; font-size: .84rem; color: var(--body); }
.cmp__item dd b { font-size: 1.14rem; }

@media (max-width: 900px) {
	.cmp__wide { display: none; }
	.cmp__phone { display: block; }
	.cmp__head { margin-bottom: 1.1rem; }
	.cmp__head img { display: none; }
	.cmp__updated { font-size: .62rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.cmp__card-in, .cmp__card:hover .cmp__sheen { transition: none; }
	.cmp__card:hover .cmp__card-in { translate: none; }
}

/* ---------- tier band ---------- */
.tband { position: relative; background: #12204d; color: #fff; overflow: hidden; }
.tband__bg { position: absolute; inset: 0; }
.tband__bg img { width: 100%; height: 100%; object-fit: cover; }
.tband__in {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(16rem, 26%) minmax(0, 1fr);
	gap: clamp(1rem, 3vw, 3rem);
	align-items: end;
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
	min-height: clamp(560px, 50vw, 760px);
}
.tband__intro h2 { color: #fff; font-size: clamp(2.6rem, 4.8vw, 3.9rem); line-height: 1; }
.tband__rule { display: block; height: 1px; margin: 1rem 0; background: rgba(255, 255, 255, .6); transform: none; }
.tband__sub { margin: 0 0 1rem; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: #fff; }
.tiers--band { position: static; translate: none; width: auto; min-width: 0; opacity: 1; visibility: visible; }
.tiers--band .tier { width: clamp(17rem, 30vw, 25rem); }
.tiers--band .tier__facts { color: rgba(255, 255, 255, .92); }
.tiers--band .tiers__nav { max-width: 40rem; }
.tiers--band .tiers__seg { max-width: none; }
.tier__card img { object-position: center; }

/* ---------- benefits deck ---------- */
.deck { position: relative; padding-block: clamp(4rem, 8vw, 6rem); background: #f1f2f4 url("../img/white-silk.webp") center / cover; overflow: hidden; }
.deck__blur { position: absolute; inset: auto -4% -6% -4%; height: 34%; opacity: .55; filter: blur(22px); }
.deck__blur img { width: 100%; height: 100%; object-fit: cover; }
.deck .wrap { position: relative; z-index: 1; }
.deck__stack { display: grid; gap: 1rem; max-width: 56rem; margin: 0 auto; padding: 0; list-style: none; }
.deck__card { position: relative; aspect-ratio: 2.18; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(10, 22, 54, .28); }
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(5, 12, 32, .78)); }
.deck__copy { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(1.1rem, 3vw, 2.2rem) clamp(1.2rem, 4vw, 3rem); color: #fff; }
.deck__copy h3 { margin: 0 0 .4rem; font-size: clamp(1.15rem, 2.5vw, 1.9rem); font-weight: 500; }
.deck__copy p { margin: 0; max-width: 40rem; font-size: clamp(.82rem, 1.2vw, .95rem); line-height: 1.5; }
/* pages.js takes over: the cards stack, each peeking above the one in front. */
.deck__stack.is-live { display: block; position: relative; aspect-ratio: 2.18; margin-top: 4.2rem; }
.deck__stack.is-live .deck__card { position: absolute; inset: 0; aspect-ratio: auto; transform-origin: 50% 0; will-change: transform; }
.deck__nav { display: flex; justify-content: center; margin-top: 1.5rem; }
.deck__dots { display: flex; gap: .5rem; }
.deck__dot { width: 26px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(12, 34, 82, .22); cursor: pointer; transition: background-color .3s var(--ease-out), width .3s var(--ease-out); }
.deck__dot.is-active { width: 44px; background: var(--navy); }
.deck .btn-row { margin-top: 1.6rem; }

/* ---------- curved gallery ---------- */
.navyrun { background: var(--navy-deep) url("../img/navy-silk.webp") center top / cover; color: #fff; }
.curve { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.curve .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.curve__stage { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; perspective: 1500px; }
.curve__track { display: flex; gap: 1rem; margin: 0; padding: 0 1rem; list-style: none; }
.curve__item { flex: none; width: 72vw; aspect-ratio: 1.5; overflow: hidden; scroll-snap-align: center; }
.curve__item img { width: 100%; height: 100%; object-fit: cover; }
/* pages.js takes over: every photo is placed in 3-D around the middle one. */
/* Live (desktop): a flat strip the full width of the page, three photographs across with
   the outer two running off the edges, cut to the screen shape in malaysia.php. The clip
   bows the top and bottom edges in, so the strip is tallest at the sides: a cinema screen. */
.curve { position: relative; isolation: isolate; }
.curve__defs { position: absolute; }
.curve__film { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.curve__film { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.curve--film { background: var(--navy-deep); }
.goldrun .curve--film { background: #e1c483; }
.curve__stage.is-live { height: clamp(260px, 31vw, 520px); overflow: hidden; perspective: none; -webkit-clip-path: url(#curve-screen); clip-path: url(#curve-screen); }
.curve__stage.is-live .curve__track { position: absolute; inset: 0; display: block; padding: 0; }
.curve__stage.is-live .curve__item { position: absolute; top: 0; left: 50%; width: 35.6vw; height: 100%; aspect-ratio: auto; margin-left: -17.8vw; cursor: pointer; will-change: transform; }
.curve__foot { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.4rem); margin-top: 1.6rem; padding-inline: var(--gutter); }
.curve__caption { position: relative; flex: 0 1 26rem; min-height: 6.4rem; text-align: center; }
.curve__text { position: absolute; inset: 0; opacity: 0; translate: 0 10px; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); }
.curve__text.is-active { opacity: 1; translate: 0 0; }
.curve__text h3 { margin: 0 0 .5rem; font-size: 1.4rem; font-weight: 500; color: #fff; }
.curve__text p { margin: 0; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .86); }

.cathead { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); }
.cathead .section-head { margin-bottom: 0; }

/* ---------- More Than a Visa ---------- */
.visa { padding-block: clamp(4rem, 8vw, 6.5rem); background: #fff; overflow: hidden; }
.visa__in { width: min(62rem, 100% - var(--gutter) * 2); margin-inline: auto; }
.visa h2 { margin-bottom: clamp(1.5rem, 3.5vw, 2.6rem); }
.visa__media { aspect-ratio: 2.37; overflow: hidden; }
.visa__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- requirements ---------- */
.reqs { padding-block: clamp(4rem, 9vw, 6.5rem); background: #fff; }
.reqs__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reqs__copy { position: sticky; top: calc(var(--page-top) + 2rem); }
.reqs__copy h2 { margin-bottom: 1.4rem; }
.reqs__copy p:not(.eyebrow):not(.btn-row) { margin: 0 0 1.1rem; }
/* MM2H: the copy across the top in two columns, the full comparison beneath it. */
.reqs--stack .reqs__in { grid-template-columns: minmax(0, 1fr); gap: clamp(2.2rem, 4.5vw, 3.6rem); }
.reqs--stack .reqs__copy { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem clamp(2rem, 6vw, 6rem); align-items: end; width: 100%; max-width: 76rem; margin: 0 auto; }
.reqs--stack .reqs__lead h2 { margin: 0; }
/* The copy starts level with the heading, not with the eyebrow above it: the lead's two
   lines join the grid themselves, eyebrow on a row of its own. */
.reqs--stack .reqs__copy { align-items: start; }
.reqs--stack .reqs__lead { display: contents; }
.reqs--stack .reqs__lead .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.reqs--stack .reqs__lead h2 { grid-column: 1; }
.reqs--stack .reqs__body { grid-column: 2; padding-top: .5rem; }
.reqs--stack .reqs__body p:not(.btn-row) { margin: 0 0 1rem; }

/* ---------- timeline ---------- */
.hist { position: relative; padding-block: clamp(4rem, 8vw, 6rem); background: #f7f7f8; overflow: hidden; }
.hist__bg { position: absolute; inset: 0; opacity: .08; filter: grayscale(1); }
.hist__bg img { width: 100%; height: 100%; object-fit: cover; }
.hist__copy { position: relative; width: min(44rem, 100% - var(--gutter) * 2); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.hist__copy h2 { margin-bottom: 1.3rem; }
.hist__copy p:not(.eyebrow) { margin: 0 0 1rem; }
/* The track is centred when it fits; auto margins drop to 0 when it overflows, so a track
   wider than the screen still starts at the left and scrolls (or is pinned) as before. */
.hist__rail { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; }
.hist__rail::-webkit-scrollbar { display: none; }
.hist__track { position: relative; display: inline-flex; flex: none; gap: 2rem; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); list-style: none; }
.hist__item { flex: none; width: min(16.5rem, 74vw); }
.hist__date { display: block; width: fit-content; height: 2.1rem; padding-inline: .8rem; line-height: 2.1rem; border-radius: 999px; background: var(--navy); color: var(--gold-light); font-size: .95rem; font-weight: 600; white-space: nowrap; }
.hist__dot { position: relative; z-index: 1; display: block; width: 14px; height: 14px; margin: 1.1rem 0; border: 1px solid #55556f; border-radius: 50%; background: radial-gradient(circle, #55556f 40%, #fff 44%); }
.hist__item p { margin: 0; font-size: .92rem; color: var(--ink); }
/* The line runs behind the dots, across the whole track. */
.hist__line { position: absolute; left: clamp(1.5rem, 5vw, 4rem); right: 0; top: calc(3.2rem + 7px); height: 1px; background: rgba(12, 34, 82, .25); }
.hist__line i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- documents ---------- */
.docs { padding-block: clamp(4rem, 8vw, 6rem); background: linear-gradient(115deg, #06327a 0%, #041a4d 48%, #02040f 100%); color: #fff; }
.docs__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem 1.6rem; max-width: 62rem; margin: 0 auto; padding: 0; list-style: none; }
.doc {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: .7rem;
	min-height: 11rem;
	padding: 1rem .7rem;
	border: 1px solid rgba(217, 179, 101, .6);
	border-radius: 14px;
	background: rgba(4, 10, 40, .45);
	text-align: center;
	font-size: .9rem;
	line-height: 1.2;
	transition: border-color .35s var(--ease-out), translate .4s var(--ease-soft);
}
.doc:hover { translate: 0 -4px; border-color: var(--gold-light); }
.doc img { width: 64px; height: 64px; }

/* ---------- round-icon grid ---------- */
.medals { position: relative; padding-block: clamp(4rem, 9vw, 6.5rem); background: #fff; overflow: clip; }
.medals .wrap { position: relative; z-index: 1; }
.medals__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
	max-width: 62rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: center;
}
.medal:last-child:nth-child(3n + 1) { grid-column: 2; }
.medal__icon { width: 74px; height: 74px; margin: 0 auto 1rem; transition: scale .5s var(--ease-soft); }
.medal:hover .medal__icon { scale: 1.08; }
.medal h3 { margin: 0 0 .5rem; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.medal p { margin: 0 auto; max-width: 19rem; font-size: .93rem; }
.medals .btn-row { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- other services ---------- */
.others { position: relative; padding-block: 0 clamp(4rem, 9vw, 6.5rem); background: #fff; overflow: clip; }
.others .wrap { position: relative; z-index: 1; }
.others__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.other {
	padding: 1.3rem 1.1rem 1.5rem;
	border: 1px solid rgba(12, 34, 82, .55);
	border-radius: 12px;
	background: #fff;
	text-align: center;
	transition: translate .4s var(--ease-soft), box-shadow .4s var(--ease-out);
}
.other:hover { translate: 0 -5px; box-shadow: 0 20px 40px rgba(12, 34, 82, .14); }
.other img { width: 74px; height: 74px; margin: 0 auto .9rem; }
.other h3 { margin: 0 0 .7rem; font-size: 1.02rem; line-height: 1.3; color: var(--ink); }
.other p { margin: 0; font-size: .88rem; line-height: 1.55; }
.others .btn-row { margin-top: 2.4rem; }

/* ---------- property ---------- */
.props__head { position: relative; padding-block: clamp(3.5rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.props__bg { position: absolute; inset: 0; }
.props__bg img { width: 100%; height: 100%; object-fit: cover; }
.props__head .wrap { position: relative; }
.props__head .section-head { margin-bottom: 0; }
.props__head .section-head__lede { max-width: 46rem; color: var(--ink); }
.props__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.prop { position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, 30vw, 430px); overflow: hidden; }
.prop__media { position: absolute; inset: 0; }
.prop__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease-soft); }
.prop:hover .prop__media img { scale: 1.06; }
.prop::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(4, 10, 26, .8)); }
.prop__body { position: relative; z-index: 1; padding: clamp(1.3rem, 3vw, 2.2rem); }
.prop__body h3 { margin: 0 0 .7rem; font-size: 1.15rem; font-weight: 600; color: #fff; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(4rem, 8vw, 6rem); background: #fff; }
.faq__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; align-items: start; max-width: 68rem; margin: 0 auto; }
.faq__col { display: grid; gap: 1rem; }
.qa { border-radius: 12px; background: #f7f7f8; }
.qa summary {
	position: relative;
	display: block;
	padding: 1.3rem 3.6rem 1.3rem 1.4rem;
	font-weight: 700;
	font-size: .95rem;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__mark { position: absolute; right: 1.4rem; top: 50%; width: 16px; height: 16px; translate: 0 -50%; }
.qa__mark::before, .qa__mark::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: #111; transition: rotate .35s var(--ease-soft); }
.qa__mark::after { rotate: 90deg; }
.qa[open] .qa__mark::after { rotate: 0deg; }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 1.4rem 1.4rem; font-size: .93rem; color: var(--ink); }
.faq .btn-row { margin-top: 2.4rem; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.ahero { position: relative; display: grid; place-items: center; min-height: calc(100svh - var(--page-top)); padding-block: 4rem; text-align: center; color: var(--ink); overflow: hidden; }
.ahero__bg { position: absolute; inset: 0; }
.ahero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ahero__in { position: relative; }
.ahero h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); }
.ahero__sub { margin: 1.2rem 0 1.4rem; font-size: clamp(1.3rem, 2.5vw, 2.1rem); color: var(--ink); }
.ahero p:not(.ahero__sub):not(.btn-row) { margin: 0 auto 1rem; max-width: 42rem; color: var(--ink); }

.areveal { position: relative; display: grid; place-items: center; min-height: 100svh; padding-block: 4rem; background: #f7f7f8; overflow: hidden; }
.areveal__bg { position: absolute; inset: 0; }
.areveal__bg img { width: 100%; height: 100%; object-fit: cover; }
.areveal__card { position: relative; width: min(74vw, 62rem); aspect-ratio: 1.78; border-radius: 16px; overflow: hidden; box-shadow: 0 34px 80px rgba(8, 22, 58, .3); }
.areveal__card img { width: 100%; height: 100%; object-fit: cover; }
.areveal__title { position: absolute; inset: auto 0 clamp(1.5rem, 6%, 3.5rem); margin: 0; text-align: center; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }

.aexplore { position: relative; padding-block: clamp(4rem, 8vw, 6rem); background: var(--navy); text-align: center; overflow: hidden; }
.aexplore__bg { position: absolute; inset: 0; }
.aexplore__bg img { width: 100%; height: 100%; object-fit: cover; }
.aexplore .wrap { position: relative; }
.aexplore h2 { color: #fff; margin-bottom: clamp(2rem, 4vw, 3rem); font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.aexplore__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.2rem); max-width: 56rem; margin: 0 auto; padding: 0; list-style: none; }
.aexplore__card { display: grid; justify-items: center; gap: 1.8rem; text-decoration: none; }
.aexplore__media { display: block; width: 100%; aspect-ratio: .89; border-radius: 16px; overflow: hidden; }
.aexplore__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease-soft); }
.aexplore__card:hover .aexplore__media img { scale: 1.05; }
.aexplore__card:hover .btn--pill { background: #fff; color: var(--navy); }

/* Founder card — Dr. Daniel steps out of the top edge. */
.founder { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); background: #03030c; overflow: hidden; }
.founder__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.founder__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	width: min(62rem, 100% - var(--gutter) * 2);
	min-height: 25rem;
	margin-inline: auto;
	border-radius: 14px;
	background: radial-gradient(90% 120% at 42% 100%, #1f5aaa 0%, #0b2a62 38%, #02030c 72%);
}
.founder__photo { align-self: end; margin-top: -5.5rem; }
/* The bow-tie cut-out stays inside its column (so it never crosses the card edge or the text)
   and stands on the card floor, rising over the top edge. */
.founder__photo img { width: min(100%, 33rem); height: auto; margin-inline: auto; }
.founder__body { padding: clamp(1.8rem, 4vw, 3.5rem) clamp(1.8rem, 4vw, 3.5rem) clamp(1.8rem, 3vw, 2.4rem) 0; color: #fff; }
.founder__body h2 { margin-bottom: 1.2rem; font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.founder__slides { min-height: 11.5rem; }
.founder__slide p { margin: 0 0 1rem; font-size: .96rem; color: rgba(255, 255, 255, .92); }
.founder__slide blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 2px solid rgba(255, 255, 255, .7); }
.founder__cite { color: rgba(255, 255, 255, .85) !important; }
.slidebar { display: flex; gap: .4rem; margin-top: 1.4rem; }
.slidebar--center { justify-content: center; max-width: 28rem; margin-inline: auto; }
.slidebar__seg { flex: 1; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .3); cursor: pointer; transition: flex .4s var(--ease-soft), background-color .3s var(--ease-out); }
.slidebar__seg.is-active { flex: 2.6; background: #fff; }

/* Credentials */
.creds { position: relative; padding-block: clamp(4rem, 9vw, 7rem); background: #fff; overflow: clip; }
.creds .wrap { position: relative; z-index: 1; }
.creds__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 8vw, 6rem); max-width: 46rem; margin: 0 auto; padding: 0; list-style: none; text-align: center; }
.cred__cert { display: block; border: 1px solid #e3c98b; cursor: zoom-in; transition: translate .4s var(--ease-soft), box-shadow .4s var(--ease-out); }
.cred__cert:hover { translate: 0 -6px; box-shadow: 0 24px 50px rgba(120, 92, 30, .25); }
.cred__cert img { width: 100%; height: auto; }
.cred__logo { width: 160px; height: auto; margin: 2rem auto 1.2rem; }
.cred h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.cred p { margin: 0; font-size: .95rem; }
.creds .btn-row { margin-top: clamp(2rem, 4vw, 3rem); }

/* Certificate viewer */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; background: rgba(5, 14, 38, .88); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90svh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* Founder's message */
/* Founder's Message: the comp's centred layout, fitted to exactly one screen below the header.
   A column: the text keeps its natural height and the portrait (a cut-out) takes the rest,
   fading into white where "Founder's Message" overlaps it. The grey-to-white backdrop stands
   in for the studio wall of the comp's photograph. */
.msg { position: relative; display: flex; flex-direction: column; height: calc(100svh - var(--page-top)); min-height: 34rem; background: linear-gradient(180deg, #e8e8eb 0%, #f2f2f4 42%, #fff 78%); text-align: center; overflow: hidden; }
.msg__media { flex: 1 1 auto; min-height: 0; display: flex; justify-content: center; padding-top: clamp(1rem, 3svh, 2rem); -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .35) 78%, transparent 94%); mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .35) 78%, transparent 94%); }
.msg__media img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.msg__in { flex: none; position: relative; z-index: 1; margin-top: clamp(-7rem, -9svh, -2.5rem); padding-bottom: clamp(1.25rem, 4svh, 3rem); }
.msg__script { margin: 0; font-family: "Pinyon Script", var(--serif); font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 400; line-height: 1.1; color: var(--navy); }
.msg h2 { margin: .3rem 0 1rem; font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.msg p:not(.msg__sign):not(.btn-row) { margin: 0 auto .8rem; max-width: 54rem; color: var(--ink); }
.msg__sign { margin: 1.1rem 0 0; color: var(--ink); }
.msg .btn-row { margin-top: 1.2rem; }
/* Laptop screens: tighter type, so the portrait keeps a good share of the screen. */
@media (min-width: 901px) and (max-height: 940px) {
	.msg__script { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
	.msg h2 { margin-bottom: .6rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
	.msg p:not(.msg__sign):not(.btn-row) { margin-bottom: .5rem; font-size: .93rem; line-height: 1.55; }
	.msg__sign { margin-top: .7rem; }
	.msg .btn-row { margin-top: .9rem; }
}
/* Phones scroll anyway: a fixed-size portrait, then the text. */
@media (max-width: 900px) {
	.msg { height: auto; min-height: 0; }
	.msg__media { flex: none; }
	.msg__media img { height: clamp(280px, 78vw, 400px); }
	.msg__in { margin-top: -2.2rem; padding-bottom: 3rem; }
}

/* Firm carousel */
.firm { position: relative; padding-block: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); background: #1c1c1c; color: #fff; overflow: hidden; }
.firm__bg { position: absolute; inset: 0; }
.firm__bg img { width: 100%; height: 100%; object-fit: cover; }
.firm .wrap, .firm__rail { position: relative; }
.firm__rail { outline-offset: -4px; }
.firm__track { display: flex; gap: 2.4rem; margin: 0; padding: 0; list-style: none; will-change: transform; }
.firm__slide { position: relative; flex: none; width: min(68vw, 58rem); aspect-ratio: 2.05; border-radius: 16px; overflow: hidden; cursor: pointer; }
.firm__slide.is-active { cursor: default; }
.firm__slide img { width: 100%; height: 100%; object-fit: cover; }
.firm__slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(4, 9, 22, .75)); }
.firm__copy { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(1.2rem, 3vw, 2.4rem) clamp(1.3rem, 3.5vw, 3rem); }
.firm__copy h3 { margin: 0 0 .1rem; font-size: 1.1rem; font-weight: 600; color: #fff; }
.firm__copy p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .92); }

/* Team */
.team { padding-block: clamp(4rem, 8vw, 6rem); background: #f1eee0 url("../img/gold-silk.webp") center / cover; }
/* A wrapping row rather than a grid, so a last row of any length sits centred. */
.team__grid { --cols: 4; --gx: clamp(1rem, 2vw, 1.8rem); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.8rem, 4vw, 3rem) var(--gx); margin: 0; padding: 0; list-style: none; text-align: center; }
.team__grid > .person { width: calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); }
/* Portraits come pre-framed (scripts/team-frames.mjs): same head size and height, centred,
   reaching the bottom edge, so the photo simply fills a white card. */
.person__photo {
	position: relative;
	display: block;
	aspect-ratio: .775;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 14px 34px rgba(12, 34, 82, .1), 0 0 0 1px rgba(163, 118, 42, .14);
}
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: scale .7s var(--ease-soft); transform-origin: 50% 30%; }
.person:hover .person__photo img { scale: 1.04; }
.person h3 { margin: 1.1rem 0 .1rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.person p { margin: 0; font-size: .9rem; color: var(--ink); }

/* Stats on gold */
.nums { position: relative; padding-block: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.nums__bg { position: absolute; inset: 0; }
.nums__bg img { width: 100%; height: 100%; object-fit: cover; }
.nums .wrap { position: relative; }
.nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.8rem); margin: 0; }
.num { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: .95; padding: 1.5rem; border-radius: 16px; background: rgba(255, 255, 255, .78); overflow: hidden; }
.num__art { position: absolute; right: 0; bottom: 0; width: 86%; height: auto; opacity: .95; }
.num dt { position: relative; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1; font-variant-numeric: tabular-nums; }
.num dd { position: relative; margin: 0; font-size: .92rem; color: var(--ink); }

/* Awards */
.awards { position: relative; padding-block: clamp(4rem, 8vw, 6rem); background: #081628; color: #fff; overflow: hidden; }
.awards__bg { position: absolute; inset: 0; }
.awards__bg img { width: 100%; height: 100%; object-fit: cover; }
.awards .wrap { position: relative; }
.awards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; align-items: start; margin: 0; padding: 0; list-style: none; }
.award { border-radius: 14px; background: #fff; color: var(--ink); overflow: hidden; }
.award:nth-child(2) { margin-top: 6rem; }
.award:nth-child(3) { margin-top: -6rem; }
/* Logos and covers from the award bodies: shown whole, never cropped. */
.award__media { display: block; aspect-ratio: 1.32; overflow: hidden; background: #f3f1ea; }
.award__media img { width: 100%; height: 100%; padding: clamp(1rem, 2.4vw, 1.6rem); object-fit: contain; }
.award__body { padding: 1.3rem 1.9rem 2rem; }
.award h3 { margin: 0 0 .7rem; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.2; text-transform: uppercase; color: var(--ink); }
.award p { margin: 0 0 1rem; font-size: .93rem; color: var(--ink); }
.awards__cta .btn-row { margin: 0; }

/* Nov 2026: the ceremony photos fill their frame; each award's logo sits beside its title. */
.award__media--photo { aspect-ratio: 3 / 2; background: #0b1424; }
.award__media--photo img { padding: 0; object-fit: cover; }
.award__head { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.award__head h3 { margin: 0; }
.award__logo { flex: none; display: block; height: 4.4rem; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(12, 34, 82, .1), 0 8px 18px -12px rgba(12, 34, 82, .5); }
.award__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.award__logo--square { width: 4.4rem; padding: .15rem; background: #fff; }
.award__logo--tall { width: 2.75rem; background: #121212; }
.award__logo--wide { width: 11rem; background: #d8c9b8; }
@media (max-width: 560px) {
	.award__logo { height: 3.6rem; }
	.award__logo--square { width: 3.6rem; }
	.award__logo--tall { width: 2.25rem; }
	.award__logo--wide { width: 9rem; }
	.award__body { padding: 1.2rem 1.3rem 1.6rem; }
}

/* Asia Business Outlook: the cover is a book that opens a little on hover (and once by itself when
   it scrolls into view), the feature showing inside; a pulsing "Read the cover story" pill says
   what to press. Both open the magazine viewer (pages.js, initMagazine). */
.award__mag {
	position: relative;
	-webkit-tap-highlight-color: transparent;
	display: grid;
	place-items: center;
	width: 100%;
	padding: 0 0 2.4rem;
	border: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	background: radial-gradient(ellipse at 50% 55%, #fdf9ef 0%, #ece3cf 100%);
}
.mbook { position: relative; height: 78%; aspect-ratio: 581 / 737; perspective: 1400px; }
.mbook__inside,
.mbook__cover { position: absolute; inset: 0; overflow: hidden; border-radius: 2px 5px 5px 2px; }
.mbook__inside { background: #fff; box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .5); }
.award__mag .mbook img { width: 100%; height: 100%; padding: 0; object-fit: cover; }
.mbook__cover {
	transform-origin: left center;
	transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
	box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55);
}
/* the spine's crease and a sheen across the cover */
.mbook__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(255, 255, 255, .14) 2.5%, rgba(0, 0, 0, 0) 7%), linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 60%);
	pointer-events: none;
}
.award__mag:hover .mbook__cover,
.award__mag:focus-visible .mbook__cover { transform: rotateY(-34deg); box-shadow: 22px 24px 40px -20px rgba(0, 0, 0, .5); }
.award__mag.is-peek .mbook__cover { animation: mbook-peek 2.8s var(--ease-soft) .2s both; }
@keyframes mbook-peek {
	0%, 100% { transform: none; }
	30%, 62% { transform: rotateY(-32deg); }
}
.award__cue {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	translate: -50% 0;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1.1rem;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
	box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .55);
	transition: background-color .3s var(--ease-out);
}
.award__cue::before {
	content: "";
	position: absolute;
	inset: -5px;
	border: 1.5px solid var(--gold);
	border-radius: inherit;
	animation: cue-pulse 2.4s ease-out infinite;
	pointer-events: none;
}
@keyframes cue-pulse {
	0% { opacity: .9; scale: 1; }
	100% { opacity: 0; scale: 1.16; }
}
.award__cue svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linejoin: round; }
.award__mag:hover .award__cue { background: #8f6620; }
@media (prefers-reduced-motion: reduce) {
	.award__cue::before, .award__mag.is-peek .mbook__cover { animation: none; }
}

/* The magazine viewer */
.mag {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	color: #fff;
	background: radial-gradient(ellipse at 50% 45%, #1a3468 0%, #06122e 72%);
	overflow: hidden;
}
.mag[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.mag::backdrop { background: rgba(4, 11, 28, .75); }
.mag__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mag__title { margin: 0; font-size: .9rem; }
.mag__title span { margin-left: .4rem; color: rgba(255, 255, 255, .6); }
.mag__count { margin: 0; font-size: .78rem; letter-spacing: .22em; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.mag__tools { display: flex; gap: .5rem; }
.mag__tool {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	height: 2.5rem;
	padding: 0 .95rem;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font: inherit;
	font-size: .82rem;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.mag__tool:hover { background: rgba(255, 255, 255, .14); }
.mag__tool svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mag__tool[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.mag__close { width: 2.5rem; padding: 0; justify-content: center; }
.mag__stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 0; padding: 1rem clamp(.75rem, 2vw, 2rem); }
.mag__nav {
	position: relative;
	z-index: 120;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 1.15rem;
	cursor: pointer;
	transition: background-color .25s var(--ease-out), opacity .25s var(--ease-out);
}
.mag__nav:hover:not(:disabled) { background: var(--gold); color: var(--navy-deep); }
.mag__nav:disabled { opacity: .2; cursor: default; }
/* two pages side by side; closed, only the cover shows, centred */
.mag__book {
	--h: min(calc(100dvh - 10.5rem), calc((100vw - 11rem) / 2 / .788));
	position: relative;
	justify-self: center;
	width: calc(var(--h) * .788 * 2);
	height: var(--h);
	perspective: 2800px;
	/* the book takes every touch itself (the page follows the finger); nothing behind it scrolls */
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
	transition: translate .8s var(--ease-out);
}
.mag__book.is-closed { translate: -25% 0; }
.mag__leaf {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	transform-style: preserve-3d;
	transform-origin: left center;
	transition: transform 1s cubic-bezier(.645, .045, .355, 1);
	will-change: transform;
	cursor: pointer;
}
.mag__leaf.is-flipped { transform: rotateY(-180deg); }
.mag__face { position: absolute; inset: 0; overflow: hidden; background: #f3eee4; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); }
.mag__face img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mag__face--back { transform: rotateY(180deg); }
.mag__face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.mag__face--front::after { background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 6%); }
.mag__face--back::after { background: linear-gradient(270deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 6%); }
.mag__hint { margin: 0; padding: 0 1rem 1rem; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .55); }
/* zoom: the open pages large, to scroll around and read */
.mag__zoom { position: absolute; inset: 4.2rem 0 0; z-index: 200; display: grid; justify-items: center; gap: 1rem; padding: 1rem; overflow: auto; background: #06122e; overscroll-behavior: contain; }
.mag__zoom[hidden] { display: none; }
.mag__zoom img { display: block; width: min(100%, 1000px); height: auto; box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .8); }
/* phones: one page at a time, turned the same way */
@media (max-width: 760px) {
	.mag__title span, .mag__tool span:not(.scr) { display: none; }
	.mag__tool { padding: 0; width: 2.5rem; justify-content: center; }
	.mag__stage { grid-template-columns: minmax(0, 1fr); padding: .6rem 1rem; }
	.mag__nav { position: absolute; top: 50%; translate: 0 -50%; width: 2.6rem; height: 2.6rem; background: rgba(6, 18, 46, .7); }
	.mag__nav--prev { left: .35rem; }
	.mag__nav--next { right: .35rem; }
	.mag__zoom img { width: 210vw; max-width: none; }
}
.mag__book.is-single { --h: min(calc(100dvh - 10rem), calc((100vw - 2rem) / .788)); width: calc(var(--h) * .788); perspective: 1700px; }
.mag__book.is-single .mag__leaf { left: 0; width: 100%; }
.mag__book.is-single .mag__leaf.is-flipped { opacity: 0; transition: transform 1s cubic-bezier(.645, .045, .355, 1), opacity .2s linear .8s; }
@media (prefers-reduced-motion: reduce) {
	.mag__leaf, .mag__book { transition-duration: .01s !important; }
}

/* The Exodus difference */
.diff { padding-block: clamp(4rem, 8vw, 6rem); background: #fff; }
.diff__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 62rem; margin: 0 auto; padding: 0; list-style: none; }
.dcard { flex: 0 1 calc((100% - 3rem) / 3); min-width: 15rem; border: 1px solid rgba(199, 154, 70, .55); border-radius: 12px; background: linear-gradient(135deg, #fbf0c9, #f5dd95 55%, #fbf1cf); overflow: hidden; transition: translate .4s var(--ease-soft), box-shadow .4s var(--ease-out); }
.dcard:hover { translate: 0 -6px; box-shadow: 0 22px 44px rgba(150, 116, 40, .26); }
.dcard__media { display: block; aspect-ratio: 1.74; overflow: hidden; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; }
.dcard__body { padding: 1rem 1.1rem 1.5rem; }
.dcard h3 { margin: 0 0 .3rem; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.dcard p { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--ink); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1280px) {
	:root { --sub-h: 44px; }
}

@media (max-width: 900px) {
	.psplit { grid-template-columns: 1fr; }
	.psplit--reverse .psplit__media { order: 0; }
	.psplit__media { min-height: 62vw; }
	.psplit__body { padding: 2.5rem var(--gutter); max-width: none; }

	.steps__grid, .medals__grid { grid-template-columns: 1fr 1fr; }
	.medal:last-child:nth-child(3n + 1) { grid-column: auto; }

	.tmony { grid-template-columns: 1fr; padding-right: 0; }
	.pcta__media { inset: 0; opacity: .4; mask-image: none; }
	.pcta__media::after { background: rgba(12, 34, 82, .55); }

	.fees__grid, .faq__cols { grid-template-columns: 1fr; }
	/* minmax, so a wide table scrolls in its own box instead of stretching the column. */
	.reqs__in { grid-template-columns: minmax(0, 1fr); }
	.reqs__copy { position: static; }
	.reqs--stack .reqs__copy { grid-template-columns: minmax(0, 1fr); }
	.reqs--stack .reqs__lead h2, .reqs--stack .reqs__body { grid-column: 1; }
	.reqs--stack .reqs__body { padding-top: 0; }

	.tband__in { grid-template-columns: 1fr; padding-inline: var(--gutter); }
	.tiers--band .tier { width: 72vw; }

	.deck__stack.is-live { aspect-ratio: 1.5; }
	.deck__copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

	.docs__grid { grid-template-columns: repeat(2, 1fr); }
	.others__grid { grid-template-columns: repeat(2, 1fr); }
	.props__grid { grid-template-columns: 1fr; }
	.prop { min-height: 62vw; }

	.aexplore__grid { grid-template-columns: 1fr; max-width: 22rem; }
	/* Phones: the night card is left out; the cards just below carry the section on their own. */
	.areveal { display: none; }

	.founder__card { grid-template-columns: 1fr; width: calc(100% - var(--gutter) * 2); }
	.founder__photo { margin-top: -3.5rem; }
	.founder__photo img { width: min(90%, 24rem); }
	.founder__body { padding: 1.5rem; }
	.founder__slides { min-height: 15rem; }

	.creds__grid { grid-template-columns: 1fr; max-width: 22rem; }
	.team__grid { --cols: 3; }
	.nums__grid { grid-template-columns: repeat(2, 1fr); }
	.awards__grid { grid-template-columns: 1fr; }
	.award:nth-child(2), .award:nth-child(3) { margin-top: 0; }
	.firm__slide { width: 84vw; }
	.diff__grid .dcard { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 560px) {
	.steps__grid, .medals__grid, .others__grid { grid-template-columns: 1fr; }
	.team__grid { --cols: 2; }
	.diff__grid .dcard { flex-basis: 100%; }
	.docs__grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
	.doc { min-height: 9.5rem; font-size: .82rem; }
	.subnav__list { padding: 0 2.8rem 0 .6rem; justify-content: flex-start; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.deck__stack.is-live .deck__card { will-change: auto; }
}

/* Pinned sections fill the space under the fixed header, so nothing shows beneath them
   while they hold. pages.js adds .is-pinned on desktop only. */
.founder.is-pinned,
.areveal.is-pinned,
.curve.is-pinned,
.deck.is-pinned {
	min-height: calc(100svh - var(--page-top));
	display: grid;
	align-items: center;
	padding-block: 1.5rem;
}
/* Meet Our Team: the carousel holds while the scroll walks through it, so the heading,
   the slide and its progress bar must all fit under the header at once. */
.firm.is-pinned { min-height: calc(100svh - var(--page-top)); display: flex; flex-direction: column; justify-content: center; padding-block: 1.6rem; }
.firm.is-pinned .section-head { margin-bottom: 1.4rem; }
.firm.is-pinned .firm__slide { width: min(68vw, 58rem, calc((100svh - var(--page-top) - 23rem) * 2.05)); }
/* About: the card ends as the whole frame, so nothing may pad or clip it short, and its
   size is set by pages.js rather than by an aspect ratio. */
.areveal.is-pinned { padding-block: 0; }
.areveal.is-pinned .areveal__card { aspect-ratio: auto; max-width: none; will-change: width, height; }
.tband.is-pinned, .tband.is-pinned .tband__in { min-height: calc(100svh - var(--page-top)); }
.curve.is-pinned { align-content: center; }
.curve.is-pinned .section-head { margin-bottom: 1.2rem; }
.curve.is-pinned h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.curve.is-pinned .curve__stage { height: clamp(14rem, min(31vw, calc(100svh - var(--page-top) - 24rem)), 34rem); }
.curve.is-pinned .curve__foot { margin-top: 1rem; }
.founder.is-pinned { align-items: end; padding-bottom: clamp(2rem, 7vh, 4.5rem); }
.deck.is-pinned .section-head { margin-bottom: 0; }
/* Rolex-style deck (pages.js, desktop). The pinned section is one frame: the heading centred in
   it to begin with, the cards centred over it (large: up to 80% of the width, sized so the frame
   always fits one), and a bar with the dots and buttons along the bottom, above the cards. */
.deck.is-rolex { height: calc(100svh - var(--page-top)); min-height: 0; padding: 0; }
.deck.is-rolex > .wrap { position: absolute; inset: 0; max-width: none; padding: 0; }
.deck.is-rolex .section-head { position: absolute; left: 50%; top: calc(50% - 2.5rem); width: min(52rem, 88%); margin: 0; translate: -50% -50%; }
.deck.is-rolex.is-pinned .deck__stack {
	position: absolute;
	left: 50%;
	top: calc((100% - 4.6rem) / 2);
	width: min(80vw, calc((100svh - var(--page-top) - 7.5rem) * 2.18));
	height: auto;
	max-width: none;
	aspect-ratio: 2.18;
	margin: 0;
	translate: -50% -50%;
	z-index: 2;
}
.deck__stack.is-rise .deck__card { transform-origin: 50% 50%; will-change: transform, filter, opacity; }
.deck__bar { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.deck__bar .deck__nav, .deck__bar .btn-row { margin: 0; }
.deck.is-pinned .section-head__lede { margin-top: .8rem; font-size: .92rem; }
.deck.is-pinned h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.deck.is-pinned .deck__stack {
	/* Sized from the height left over, so the whole deck always fits the frame. */
	height: clamp(15rem, calc(100svh - var(--page-top) - 27rem), 25rem);
	max-width: 100%;
	margin-top: 2.6rem;
	margin-inline: auto;
}
/* Phones: the same scene in a tall frame. Cards are portrait, the width of the screen less the
   margins (or less, if the frame is short), and the bar holds the dots over the two buttons. */
@media (max-width: 900px) {
	.deck.is-rolex .section-head { top: calc(50% - 3.5rem); width: calc(100vw - var(--gutter) * 2); }
	.deck.is-rolex .keep { display: none; } /* the dots already say how far through you are */
	.deck.is-rolex.is-pinned .deck__stack {
		top: calc((100% - 6.6rem) / 2);
		width: min(100vw - var(--gutter) * 2, (100svh - var(--page-top) - 8.6rem) * .8);
		aspect-ratio: .8;
	}
	.deck.is-rolex .deck__copy p { display: block; -webkit-line-clamp: unset; overflow: visible; }
	.deck.is-rolex .deck__card::after { inset: 30% 0 0; }
	.deck__bar { flex-direction: column; gap: .8rem; bottom: .9rem; padding-inline: var(--gutter); }
	/* clear of the WhatsApp button in the corner */
	.deck__bar .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; padding-right: 4.1rem; }
	.deck__bar .btn { justify-content: center; padding: .7rem .5rem; font-size: .78rem; line-height: 1.25; text-align: center; white-space: normal; }
	.deck.is-rolex .deck__dot { width: 16px; }
	.deck.is-rolex .deck__dot.is-active { width: 30px; }
}

/* Long one-line headings the comps set smaller than the default section heading. */
.medals h2.h-display { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
.medals .section-head { max-width: 60rem; }

/* Hero headlines hold one line at desktop widths, as drawn. */
.phero__in { max-width: 76rem; }
.phero:not(.phero--center) h1 { font-size: clamp(2rem, 3.7vw, 3.15rem); }

/* On a phone the copy fills the frame, so the heading lands on the bright part of the photo
   that the desktop scrim leaves clear. */
@media (max-width: 900px) {
	.phero__media::after { background: linear-gradient(180deg, rgba(4, 9, 22, .5), rgba(4, 9, 22, .62) 40%, rgba(4, 9, 22, .82) 72%, rgba(4, 9, 22, .97)); }
	.phero--center .phero__media::after { background: rgba(8, 22, 62, .62); }
}


/* The MM2H hero's intro is much longer than the home page's, so its frame is rearranged: the
   photographs get smaller and sit below the taller header, and the copy starts under them. */
.hero--long.is-pinned .hero__card--1 { top: 18%; width: clamp(150px, 14.5vw, 270px); }
.hero--long.is-pinned .hero__card--3 { top: 17%; left: calc(50% - 7vw); width: clamp(140px, 13.5vw, 250px); }
.hero--long.is-pinned .hero__card--2 { top: 18%; width: clamp(150px, 14.5vw, 270px); }
.hero--long.is-pinned .hero__intro { align-content: start; padding: calc(18vh + 15.2vw) 0 0; }
.hero--long.is-pinned .hero__kicker { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.hero--long.is-pinned .hero__lede { margin-top: .7rem; max-width: 50rem; font-size: .93rem; line-height: 1.55; }
.hero--long.is-pinned .btn-row { margin-top: 1.1rem; }

@media (max-width: 900px) {
	.tmony__copy { padding-right: var(--gutter); }
}

/* The "keep scrolling" sign (.keep) is in main.css: the home page uses it too. */

/* Phones: the rows keep gliding, as on desktop, with narrower cards (a touch pauses a row, as
   hover does). Without the glide (no JS), each row swipes on its own instead. */
@media (max-width: 900px) {
	.tmony__rails:not(.tmony__rails--live) .tmony__window { overflow-x: auto; scrollbar-width: none; }
	.tmony__window::-webkit-scrollbar { display: none; }
	.tmony__rails:not(.tmony__rails--live) .tmony__rail { padding-right: var(--gutter); }
	.tmony__rails--live .tmony__window { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
	.tmony__rails--live .tmony__rail { animation-duration: 48s; }
	.tmony__rails--live .tmony__rail--back { animation-duration: 42s; }
	.tmony__window:active .tmony__rail { animation-play-state: paused; }
	.tmony__rails:not(.tmony__rails--live) .review--copy { display: none; }
	.review, .tmony__rails:not(.tmony__rails--live) .review { flex: none; width: 236px; }
	.curve__foot .step-btn { display: none; }
}

/* =========================================================================
   PVIP: the MM2H layouts in gold
   ========================================================================= */
/* With the veil over the photographs the long intro has the whole frame, centred. */
.hero--long.hero--reveal.is-pinned .hero__intro { align-content: center; padding: var(--page-top) 0 0; }
.hero--long.hero--reveal.is-pinned .hero__kicker { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.hero--long.hero--reveal.is-pinned .hero__lede { margin-top: 1rem; max-width: 52rem; font-size: 1rem; line-height: 1.6; }
.hero--long.hero--reveal.is-pinned .btn-row { margin-top: 1.6rem; }
/* Phones: a tighter setting, so the whole intro fits one frame on most screens (main.js
   leaves the hero unpinned on any that are still too short). */
@media (max-width: 900px) {
	.hero--long.hero--reveal.is-pinned .hero__kicker { font-size: clamp(1.55rem, 6.6vw, 2rem); }
	.hero--long.hero--reveal.is-pinned .hero__lede { margin-top: .7rem; font-size: .86rem; line-height: 1.5; }
	.hero--long.hero--reveal.is-pinned .btn-row { margin-top: 1.1rem; }
}
.hero--gold { background: #dfc27f; }
.hero--gold .hero__sky { background: none; }
.hero--gold .hero__skyline { mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, .3) 72%, transparent 88%); opacity: 1; }
.hero--gold .hero__stage { background: #dfc27f; }
.hero--gold .hero__intro { background: #dfc27f; color: var(--ink); }
.hero--gold.is-pinned .hero__intro { background: none; }
.hero--gold .hero__kicker .word { background-image: none; color: var(--navy); -webkit-text-fill-color: var(--navy); }
.hero--gold .hero__lede { color: var(--ink); }
.hero--gold .hero__cue { color: var(--ink); }
.hero--gold.hero--reveal .hero__skyline { -webkit-mask-image: none; mask-image: none; }
.hero--gold .hero__shade {
	background:
		radial-gradient(64% 38% at 50% 52%, rgba(120, 88, 30, .34) 0%, rgba(120, 88, 30, .14) 55%, transparent 100%),
		linear-gradient(180deg, rgba(225, 196, 131, .92) 0%, rgba(225, 196, 131, .3) 24%, rgba(225, 196, 131, .08) 48%, rgba(225, 196, 131, .5) 78%, #e1c483 100%);
}
.hero--gold .hero__veil--film { background: #e1c483; }
.hero--gold.hero--reveal .hero__cue { color: #fff; }
.hero--gold.hero--reveal .hero__cue-line { background: linear-gradient(180deg, transparent, #fff); }
.hero--gold .hero__cue-line { background: linear-gradient(180deg, transparent, var(--navy)); }
.goldrun { background: linear-gradient(180deg, #dfc27f, #d8b777 60%, #d4b172); color: var(--navy); }
.goldrun .curve__text h3 { color: var(--navy); }
.goldrun .curve__text p { color: var(--ink); }
.goldrun .cathead .section-head__lede, .goldrun .curve .section-head__lede { color: var(--ink); }

.pband { position: relative; color: var(--ink); background: #ead7ae; overflow: hidden; }
.pband__bg { position: absolute; inset: 0; }
.pband__bg img { width: 100%; height: 100%; object-fit: cover; }
.pband__in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.2fr) minmax(14rem, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	width: min(1400px, 100% - var(--gutter) * 2);
	margin-inline: auto;
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.pband__intro { align-self: end; }
.pband__intro h2 { font-size: clamp(2.6rem, 4.8vw, 3.9rem); line-height: 1; }
.pband .tband__rule { background: var(--ink); }
.pband .tband__sub { color: var(--ink); }
.pband__card img { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(60, 40, 10, .4)); }
.pband .tier__facts { margin: 0 0 1.2rem; color: var(--ink); }


.purpose { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); background: #eeeef1; overflow: hidden; }
.purpose__bg { position: absolute; inset: -6% 0; }
.purpose__bg img { width: 100%; height: 100%; object-fit: cover; }
.purpose__in { position: relative; width: min(46rem, 100% - var(--gutter) * 2); margin-inline: auto; }
.purpose__in p:not(.eyebrow) { margin: 1rem 0 0; color: var(--ink); }

.pcta--gold .pcta__card { background: #e7cc8f; }
.pcta--gold .pcta__media { inset: 0; mask-image: none; }
.pcta--gold .pcta__media::after { display: none; }
.pcta--gold .pcta__body h2, .pcta--gold .pcta__body p:not(.btn-row) { color: var(--ink); text-shadow: none; }

.step__list { margin: .8rem auto 0; padding: .9rem 1rem .9rem 2rem; max-width: 19rem; background: #fff; border-radius: 12px; text-align: left; font-size: .84rem; color: var(--ink); }
.step__list li + li { margin-top: .25rem; }

.fees__grid--wide { max-width: 62rem; }
.fees__sub { margin: -1.1rem 0 1.4rem; text-align: center; font-size: .86rem; }
.fees__rows { display: grid; gap: 1.1rem; }
.fees__rows li { align-items: flex-start; }
.fees__rows strong { display: block; color: var(--ink); }
.fees__rows small { display: block; font-size: .74rem; }
.fees__lead { display: flex; align-items: center; gap: .8rem; margin: 0 0 .8rem; color: var(--ink); }
.fees__note { margin: 0 0 1.2rem; padding: 1rem 1.1rem; background: #fff; border-radius: 10px; font-size: .84rem; color: var(--ink); }

/* =========================================================================
   Education, Other Services
   ========================================================================= */
.dest { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.dest--tint { background: #f7f3e8; }
.dest__grid { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.dest__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dest__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dest__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dest__card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .35s var(--ease-out), translate .35s var(--ease-out); }
.dest__card:hover { box-shadow: 0 20px 40px rgba(12, 34, 82, .14); translate: 0 -4px; }
.dest__media { display: block; aspect-ratio: 1.55; overflow: hidden; }
.dest__media--tall { aspect-ratio: .86; }
.dest__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-soft); }
.dest__card:hover .dest__media img { scale: 1.05; }
.dest__body { display: grid; gap: .3rem; padding: 1.1rem 1.2rem 1.3rem; }
.dest__body strong { font-size: 1.3rem; font-weight: 400; color: var(--ink); }
.dest__body small { font-size: .88rem; line-height: 1.5; color: var(--body); }

.edintro { padding-block: clamp(3rem, 6vw, 4.5rem) 0; background: #fff; text-align: center; }
.edintro + .pfacts { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.edintro p { margin: 0 0 1rem; }
.insts { padding-block: clamp(3rem, 6vw, 5rem); background: #fff; }
.insts__list { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); margin: 0; padding: 0; list-style: none; }
.inst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.inst--flip .inst__media { order: 2; }
.inst__media { aspect-ratio: 1.45; border-radius: 14px; overflow: hidden; background: #eee; }
.inst__media img { width: 100%; height: 100%; object-fit: cover; }
.inst__rank { display: inline-block; margin-bottom: .6rem; padding: .15rem .7rem; border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-size: .82rem; font-weight: 700; }
.inst h2 { margin-bottom: .8rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.inst p { margin: 0 0 .8rem; font-size: .95rem; }
.inst__facts { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.inst__facts dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.inst__facts dd { margin: .1rem 0 0; font-weight: 700; color: var(--ink); }

.reasons { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.reasons--navy { background: var(--navy); color: #fff; }
.reasons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin: 0; padding: 0; list-style: none; }
.reason { padding: 1.5rem 1.5rem 1.6rem; background: #faf7ef; border-radius: 14px; }
.reason__n { font-family: var(--serif); font-size: 1.5rem; color: #c8913f; }
.reason h3 { margin: .3rem 0 .5rem; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.reason p { margin: 0; font-size: .92rem; }
.reasons--navy .reason { background: rgba(255, 255, 255, .06); border: 1px solid rgba(240, 219, 167, .3); }
.reasons--navy .reason h3 { color: #fff; }
.reasons--navy .reason p { color: rgba(255, 255, 255, .85); }
.reasons--navy .reason__n { color: var(--gold-light); }

.setup { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--navy-deep) url("../img/navy-silk.webp") center / cover; color: #fff; }
.setup__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.setup__list li { padding: .85rem 1.3rem; border: 1px solid rgba(240, 219, 167, .55); border-radius: 12px; font-weight: 600; }

.ticks { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .42em; width: .9rem; height: .5rem; border-left: 2px solid #c8913f; border-bottom: 2px solid #c8913f; rotate: -45deg; translate: 0 -.1rem; }
.ticks--light li { color: #fff; }
.ticks--light li::before { border-color: var(--gold-light); }

.tabsec { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tabs--center { justify-content: center; }
.tabs__tab { padding: .65rem 1.4rem; border: 1px solid var(--navy); border-radius: 999px; background: none; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .25s var(--ease-out), color .25s var(--ease-out); }
.tabs__tab:hover { background: rgba(12, 34, 82, .07); }
.tabs__tab.is-active { background: var(--navy); color: #fff; }
.tabs__panel h2 { margin-bottom: 1.1rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.tabs__panel h3 { margin: 1.3rem 0 .6rem; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.numlist { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: n; }
.numlist li { position: relative; padding-left: 3rem; counter-increment: n; }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-weight: 700; }
.numlist strong { display: block; color: var(--ink); }

.activ { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #f7f3e8; }
.activ__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin: 0; padding: 0; list-style: none; }
.activ__card { padding: 1.6rem; background: #fff; border-radius: 14px; }
.activ__card .eyebrow { margin-bottom: .4rem; font-size: .68rem; }
.activ__card h3 { margin-bottom: .9rem; font-size: 1.5rem; }
.activ__card h4 { margin: 1.2rem 0 .5rem; font-size: .92rem; font-weight: 700; color: var(--ink); }
.activ__card .ticks { font-size: .9rem; }

.othercountries { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: #fff; text-align: center; }
.othercountries ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }

/* =========================================================================
   Properties
   ========================================================================= */
.plist { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.plist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.pcard { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .35s var(--ease-out), translate .35s var(--ease-out); }
.pcard:hover { box-shadow: 0 22px 44px rgba(12, 34, 82, .15); translate: 0 -4px; }
.pcard__media { position: relative; display: block; aspect-ratio: 1.4; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-soft); }
.pcard:hover .pcard__media img { scale: 1.05; }
.pcard__media em { position: absolute; left: .8rem; top: .8rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(8, 24, 64, .85); color: #fff; font-size: .74rem; font-style: normal; font-weight: 600; }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: .3rem; padding: 1.1rem 1.2rem 1.2rem; }
.pcard__body small { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #a87a2c; }
.pcard__body strong { font-size: 1.35rem; font-weight: 400; color: var(--ink); }
.pcard__blurb { font-size: .9rem; line-height: 1.5; color: var(--body); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .9rem; font-size: .86rem; color: var(--body); }
.pcard__foot b { display: block; font-size: 1.05rem; color: var(--ink); }
.pcard__foot .i { width: 1.2rem; height: 1.2rem; color: var(--navy); transition: translate .3s var(--ease-out); }
.pcard:hover .pcard__foot .i { translate: 4px 0; }

.pfacts { background: var(--navy); color: #fff; }
.pfacts__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: min(1400px, 100% - var(--gutter) * 2); margin: 0 auto; }
.pfacts__grid > div { padding: 1.4rem 1rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.pfacts__grid > div:first-child { border-left: 0; }
.pfacts dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.pfacts dd { margin: .25rem 0 0; font-size: .98rem; font-weight: 600; line-height: 1.35; }
.pfacts--panel .pfacts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.poverview { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.poverview__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.poverview h2 { margin-bottom: 1rem; }
.poverview p:not(.eyebrow) { margin: 0 0 1rem; }
.poverview__box { padding: 1.6rem 1.7rem; background: #faf7ef; border-radius: 14px; }
.poverview__box h3 { margin: 0 0 .9rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); }

.pgal { padding-block: 0 clamp(3rem, 6vw, 4.5rem); background: #fff; }
.pgal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; width: min(1400px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 0; list-style: none; }
.pgal__grid li:first-child { grid-column: span 2; grid-row: span 2; }
.pgal__grid a { display: block; height: 100%; min-height: 12rem; border-radius: 10px; overflow: hidden; }
.pgal__grid img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease-soft); }
.pgal__grid a:hover img { scale: 1.04; }
.pgal__note { margin: .8rem 0 0; text-align: center; font-size: .78rem; color: var(--body); }

.playouts { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #f7f3e8; }
.ptable { width: 100%; max-width: 56rem; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.ptable th, .ptable td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .94rem; }
.ptable thead th { background: var(--navy); color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.ptable tbody th { font-weight: 700; color: var(--ink); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.playouts__note { max-width: 56rem; margin: .8rem auto 0; font-size: .8rem; }

.pfacil { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.pfacil__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 60rem; margin: 0 auto; padding: 0; list-style: none; }
.pfacil__list li { padding: .5rem 1rem; border: 1px solid rgba(199, 154, 70, .6); border-radius: 999px; background: #fffaf0; font-size: .9rem; color: var(--ink); }

/* ---- Property detail (Nov 2026): jump links, 360° tour, floor plans, facility plans, location ---- */
.lightbox img { background: #fff; }
.pjump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.pjump a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: .85rem; font-weight: 600; text-decoration: none; transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out); }
.pjump a:hover { border-color: var(--gold); background: #fffaf0; }

.ptour { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--navy); color: #fff; }
.ptour h2, .ptour .word { color: #fff; }
.ptour .section-head__lede { color: rgba(255, 255, 255, .78); }
.ptour__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.2rem; }
.ptour__tab { padding: .5rem 1.1rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: none; color: #fff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.ptour__tab.is-active { border-color: var(--gold-light); background: var(--gold-light); color: var(--navy); }
.ptour__frame { position: relative; width: min(1200px, 100%); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(3, 10, 30, .45); }
.ptour__frame > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.ptour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ptour__start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; border: 0; background: none; color: #fff; font: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.ptour__badge { display: grid; place-items: center; width: 6.2rem; height: 6.2rem; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; font-family: var(--serif); font-size: 1.7rem; transition: scale .4s var(--ease-out), background-color .4s var(--ease-out); }
.ptour__start:hover .ptour__badge { scale: 1.06; background: rgba(255, 255, 255, .12); }
.ptour__foot { margin: 1rem 0 0; text-align: center; font-size: .88rem; }
.ptour__foot a { color: var(--gold-light); }

.pplans { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #f7f3e8; }
.pplans__in { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.pplans__tabs { display: grid; gap: .4rem; }
.pplans__tab { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out); }
.pplans__tab strong { font-size: .93rem; }
.pplans__tab span { flex: none; font-size: .78rem; color: var(--body); }
.pplans__tab:hover { border-color: rgba(199, 154, 70, .6); }
.pplans__tab.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.pplans__tab.is-active span { color: var(--gold-light); }
.pplans__panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.5rem; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px -30px rgba(10, 24, 62, .35); }
.pplans__panel[hidden] { display: none; }
.pplans__figure { min-width: 0; }
.pplans__spec h3 { margin: .3rem 0 1rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--navy); }
.pplans__spec dl { display: grid; gap: .1rem; margin: 0 0 1.4rem; }
.pplans__spec dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.pplans__spec dt { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--body); }
.pplans__spec dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.pplan { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.pplan img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; }
.pplan__zoom { position: absolute; right: .7rem; bottom: .7rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(12, 34, 82, .85); color: #fff; font-size: .74rem; font-weight: 600; opacity: 0; transition: opacity .3s var(--ease-out); }
.pplan:hover .pplan__zoom, .pplan:focus-visible .pplan__zoom { opacity: 1; }
.pplan--empty { display: grid; place-items: center; align-content: center; gap: 1rem; min-height: 18rem; padding: 2rem; border: 1px dashed rgba(199, 154, 70, .6); background: #fffaf0; text-align: center; cursor: default; }
.pplan--empty p { max-width: 18rem; margin: 0; color: var(--body); font-size: .92rem; }
.pplan__icon { width: 3rem; height: 3rem; border: 2px solid var(--gold); border-radius: 6px; background: linear-gradient(var(--gold), var(--gold)) 50% 0 / 2px 55% no-repeat, linear-gradient(var(--gold), var(--gold)) 0 60% / 60% 2px no-repeat; }
.pplans__sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.2rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pplans__sheets--one { grid-template-columns: minmax(0, 52rem); justify-content: center; }
.pplans__sheets figure { margin: 0; }
.pplans__sheets .pplan { border: 1px solid var(--line); }
.pplans__sheets figcaption { margin-top: .6rem; font-size: .86rem; color: var(--body); }
.pfacil__plans { margin-top: 2.5rem; }
/* Facility photographs: the first large, the rest a mosaic, each captioned on a soft shade. */
.pfacil__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 14vw, 13rem); gap: .7rem; width: min(1400px, 100%); margin: 0 auto 2.4rem; padding: 0; list-style: none; }
.pfacil__photos li:first-child { grid-column: span 2; grid-row: span 2; }
.pfacil__photos a { position: relative; display: block; height: 100%; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; }
.pfacil__photos img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease-soft); }
.pfacil__photos a:hover img { scale: 1.05; }
.pfacil__photos span { position: absolute; inset: auto 0 0; padding: 2.2rem .9rem .7rem; background: linear-gradient(180deg, transparent, rgba(5, 13, 34, .78)); font-size: .84rem; font-weight: 600; line-height: 1.3; }
.pfacil__photos li:first-child span { font-size: 1rem; padding: 3rem 1.2rem 1rem; }
@media (max-width: 900px) {
	/* phones: a row to swipe through */
	.pfacil__photos { display: flex; gap: .6rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; width: auto; }
	.pfacil__photos::-webkit-scrollbar { display: none; }
	.pfacil__photos li, .pfacil__photos li:first-child { flex: none; width: 78vw; aspect-ratio: 1.35; scroll-snap-align: center; }
}
.pincl { max-width: 56rem; margin: 2.5rem auto 0; padding: 1.6rem 1.8rem; border-radius: 14px; background: #faf7ef; }
.pincl h3 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.pincl .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }

.ploc { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #fff; }
.ploc__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ploc__in--nomap { grid-template-columns: minmax(0, 52rem); justify-content: center; }
.ploc__map { margin: 0; }
.ploc__map .pplan { box-shadow: 0 20px 50px -30px rgba(10, 24, 62, .35); }
.ploc__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.8rem; }
.ploc__in--nomap .ploc__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ploc__group h3 { margin: 0 0 .6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gold); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.ploc__group ul { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.ploc__group li { display: flex; justify-content: space-between; gap: .8rem; padding: .42rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.ploc__group b { flex: none; font-weight: 600; color: var(--gold-dark, #9a7430); text-align: right; }
.ploc__more { grid-column: 1 / -1; margin: .4rem 0 0; }

/* Property enquiry: direct lines to the team beside a short email form. */
.pask { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--navy); color: #fff; }
.pask__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pask h2, .pask .word { color: #fff; }
.pask__copy > p:not(.eyebrow) { margin: 1.1rem 0 0; max-width: 34rem; color: rgba(255, 255, 255, .8); }
.pask__actions { display: grid; gap: .7rem; margin: 1.8rem 0 0; padding: 0; list-style: none; max-width: 26rem; }
.pask__action { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; color: #fff; text-decoration: none; transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out); }
.pask__action:hover { border-color: var(--gold-light); background: rgba(255, 255, 255, .06); }
.pask__action .i { flex: none; width: 1.4rem; height: 1.4rem; color: var(--gold-light); }
.pask__action span { display: grid; gap: .1rem; }
.pask__action strong { font-size: .98rem; }
.pask__action small { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.pask__action--wa { border-color: transparent; background: var(--gold-medal, var(--gold)); color: var(--navy); }
.pask__action--wa .i, .pask__action--wa small { color: var(--navy); }
.pask__action--wa:hover { background: var(--gold-light); }
.pask__ticks { margin-top: 1.6rem; }
.pask__ticks li { color: rgba(255, 255, 255, .85); font-size: .9rem; }
.pask__card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(3, 10, 30, .4); }
.pask__title { margin: 0 0 1.1rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--navy); }
.pask__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.pask__form .field { margin-bottom: .9rem; }
.pask__privacy { margin: .8rem 0 0; font-size: .78rem; color: var(--body); text-align: center; }

@media (max-width: 900px) {
	.pask__in, .pask__row { grid-template-columns: minmax(0, 1fr); }
	.pplans__in { grid-template-columns: minmax(0, 1fr); }
	/* the unit types become a row of chips you swipe through */
	.pplans__tabs { display: flex; gap: .4rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
	.pplans__tabs::-webkit-scrollbar { display: none; }
	.pplans__tab { flex: none; display: grid; gap: .1rem; padding: .55rem .9rem; }
	.pplans__panel { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
	.pplans__sheets { grid-template-columns: minmax(0, 1fr); }
	.pincl .ticks { grid-template-columns: minmax(0, 1fr); }
	.ploc__in, .ploc__groups, .ploc__in--nomap .ploc__groups { grid-template-columns: minmax(0, 1fr); }
	.ptour__frame { aspect-ratio: 4 / 5; }
	.pplan__zoom { opacity: 1; }
}

.pmore { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #f7f3e8; }
.pmore .btn-row { margin-top: 2rem; }
.plegal { padding-block: 1.4rem; background: var(--navy-deep); }
.plegal p { margin: 0; font-size: .7rem; line-height: 1.6; color: rgba(255, 255, 255, .62); }

/* =========================================================================
   Contact, Insights, FAQ
   ========================================================================= */
.cpage { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: #fff; text-align: center; }
#main > .cpage:first-child { margin-top: var(--page-top); }
.cpage h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cpage__intro { margin: .7rem auto 0; max-width: 38rem; }
.cpage__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cway { display: flex; align-items: center; gap: .9rem; min-height: 4.75rem; padding: .9rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #faf7ef; color: var(--ink); text-align: left; text-decoration: none; transition: background-color .25s var(--ease-out), translate .25s var(--ease-out); }
.cway:hover { background: #f4ecd9; translate: 0 -2px; }
.cway .i { flex: none; width: 1.6rem; height: 1.6rem; color: #a87a2c; }
.cway small { display: block; font-size: .76rem; color: var(--body); }
.cway strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.cpage__offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; text-align: left; }
.cpage__offices li { padding: 1.2rem 1.3rem; background: var(--navy); border-radius: 14px; color: #fff; }
.cpage__offices small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.cpage__offices h2 { margin: .1rem 0 .4rem; font-size: 1.4rem; color: #fff; }
.cpage__offices address { font-size: .88rem; font-style: normal; line-height: 1.55; color: rgba(255, 255, 255, .85); }

.insights--page { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.card__date { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a87a2c; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.pager a, .pager span { padding: .4rem .8rem; border-radius: 8px; color: var(--navy); }
.pager .current { background: var(--navy); color: #fff; }
.article { padding-top: calc(var(--head-h) + clamp(2rem, 5vw, 3.5rem)); }
.article__back { font-size: .86rem; font-weight: 700; color: #a87a2c; }
.article__head h1 { margin: .6rem 0; font-size: clamp(1.9rem, 4vw, 3rem); }
.article__head time { font-size: .86rem; color: var(--body); }
.article__media { margin-top: 1.6rem; }
.article__media img { width: 100%; height: auto; border-radius: 14px; }
.article__body { padding-block: 2rem 4rem; color: var(--ink); line-height: 1.75; }
.article__body h2 { margin: 2rem 0 .6rem; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.article__body p { margin: 0 0 1rem; }
.article__body ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.article__body li { margin-bottom: .4rem; }
.article__body a { color: #8f6620; text-decoration: underline; }

/* ---------- legal pages (pages/legal.php) ----------
   Quiet reading: title on ivory, a contents list that stays beside the text, article type. */
.legal { padding: calc(var(--head-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem); background: #fffdf8; }
.legal__head { padding-bottom: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: clamp(1.8rem, 4vw, 2.8rem); border-bottom: 1px solid rgba(163, 118, 42, .3); }
.legal__head h1 { margin: .5rem 0 .7rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal__updated { margin: 0; color: var(--body); font-size: .88rem; }
.legal__draft { display: inline-block; margin: 1.1rem 0 0; padding: .55rem .95rem; border: 1px dashed #c79a46; border-radius: 10px; background: #fbf3df; color: #7a5a1f; font-size: .84rem; font-weight: 700; }
.legal__in { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
/* Low enough to clear the logo badge, which hangs below the header bar. */
.legal__toc { position: sticky; top: calc(var(--head-h) + 2.8rem); }
.legal__toc-title { margin: 0 0 .8rem; color: #a3762a; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid rgba(163, 118, 42, .3); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: .32rem 0 .32rem 1rem; color: var(--body); text-decoration: none; font-size: .86rem; line-height: 1.35; transition: color .25s var(--ease-out); }
.legal__toc a::before { content: counter(toc) ". "; color: #a3762a; font-weight: 700; }
.legal__toc a:hover { color: var(--navy); }
.legal__body { color: var(--ink); font-size: 1rem; line-height: 1.75; }
.legal__intro { margin: 0 0 1.5rem; font-size: 1.08rem; }
.legal__body section { padding-top: .4rem; }
.legal__body h2 { margin: 2.2rem 0 .7rem; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.legal__body h2 span { color: #a3762a; }
.legal__body p { margin: 0 0 1rem; }
.legal__body ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.legal__body li { margin-bottom: .45rem; }
.legal__body li::marker { color: #c79a46; }
.legal__body a { color: #8f6620; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
	.legal__in { grid-template-columns: minmax(0, 1fr); }
	.legal__toc { position: static; padding: 1.1rem 1.2rem; border: 1px solid rgba(163, 118, 42, .3); border-radius: 14px; background: #fff; }
}

/* =========================================================================
   Phones and tablets
   ========================================================================= */
@media (max-width: 1100px) {
	.pfacts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pfacts__grid > div:nth-child(3n + 1) { border-left: 0; }
	.pfacts__grid > div:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .14); }
	.plist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dest__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reasons__grid, .activ__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.pband__in { grid-template-columns: 1fr; text-align: left; }
	.pband__card { max-width: 26rem; }
	.inst, .poverview__in { grid-template-columns: 1fr; }
	.inst--flip .inst__media { order: 0; }
	.dest__grid--2, .dest__grid--3 { grid-template-columns: 1fr; }
	.activ__grid { grid-template-columns: 1fr; }
	.cpage__ways, .cpage__offices { grid-template-columns: 1fr; }

	/* The gallery becomes one swipeable row. */
	.pgal__grid { display: flex; width: auto; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.pgal__grid::-webkit-scrollbar { display: none; }
	.pgal__grid li, .pgal__grid li:first-child { flex: none; width: 84vw; aspect-ratio: 1.4; scroll-snap-align: center; }
}

@media (max-width: 640px) {
	.plist__grid, .dest__grid--4, .reasons__grid { grid-template-columns: 1fr; }
	.pfacts__grid, .pfacts--panel .pfacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pfacts__grid > div { padding: 1rem .8rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
	.pfacts__grid > div:nth-child(-n + 2) { border-top: 0; }
	.pfacts__grid > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }

	/* Layout tables read as stacked cards: no sideways scrolling for the one thing people
	   compare most on a phone. */
	.ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: 100%; }
	.ptable { background: none; }
	.ptable thead { display: none; }
	.ptable tr { margin-bottom: .7rem; padding: .7rem .9rem; background: #fff; border-radius: 12px; }
	.ptable tbody th, .ptable td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border: 0; text-align: right; }
	.ptable tbody th::before, .ptable td::before { content: attr(data-label); font-weight: 400; color: var(--body); text-align: left; }
	.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.tabs__tab { flex: none; }
}

/* Phones (Nov 2026): the three testimonial figures in one row. */
@media (max-width: 900px) {
	.tmony__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 2rem; }
	.tmony__stat img { width: 44px; height: 44px; margin-bottom: .5rem; }
	.tmony__stat dt { font-size: clamp(1.5rem, 7vw, 2rem); }
	.tmony__stat dd { font-size: .78rem; line-height: 1.35; }
}

/* Phones (Nov 2026): process steps as a list, icon beside the words, not a tall centred stack. */
@media (max-width: 900px) {
	.steps__grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; text-align: left; }
	.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; align-items: start; }
	.step__icon { width: 56px; height: 56px; margin: 0; grid-row: span 3; }
	.step__title { font-size: 1.2rem; margin: .35rem 0 .3rem; }
	.step p { margin: 0; max-width: none; font-size: .9rem; line-height: 1.55; }
	.step__list { margin: .6rem 0 0; max-width: none; }
	/* Comparison table cells: a touch larger, so the small print stays readable. */
	.cmp__mcell { font-size: .68rem; }
	.cmp__mcell small { font-size: .64rem; }
}

/* Phones (Nov 2026): long stacks of cards become rows you swipe through, the next one peeking in. */
@media (max-width: 900px) {
	.ptable tbody {
		display: flex;
		gap: .8rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.ptable tbody::-webkit-scrollbar { display: none; }
	.ptable tr { flex: 0 0 76%; margin-bottom: 0; scroll-snap-align: start; }
}
/* Property listings on phones: a two-column grid of compact cards (client, Nov 2026: no
   swiping one by one), every listing visible at a glance; the full text is on its page. */
@media (max-width: 900px) {
	.plist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
	.pcard { border-radius: 12px; }
	.pcard__media { aspect-ratio: 1; }
	.pcard__media em { left: .45rem; top: .45rem; padding: .12rem .5rem; font-size: .62rem; }
	.pcard__body { gap: .15rem; padding: .7rem .75rem .8rem; }
	.pcard__body small { font-size: .62rem; letter-spacing: .03em; }
	.pcard__body strong { font-size: 1.02rem; line-height: 1.2; }
	.pcard__blurb { display: none; }
	.pcard__foot { padding-top: .45rem; font-size: .7rem; }
	.pcard__foot b { font-size: .86rem; }
	.pcard__foot .i { width: 1rem; height: 1rem; }
}

/* =========================================================================
   GUIDES (template-parts/pages/guide.php, shared/guide-body.php): long-form pages with a
   contents list that stays beside the text, an "at a glance" box, tables and the MM2H cost
   estimator. Also the requirements detail on /mm2h/mm2h-categories/.
   ========================================================================= */
.guide { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; }
.guide__in { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.guide__toc { position: sticky; top: calc(var(--page-top, var(--head-h)) + 1.75rem); }
.guide__toc summary { list-style: none; cursor: pointer; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a87a2c; }
.guide__toc summary::-webkit-details-marker { display: none; }
.guide__toc ol { list-style: none; margin: 1rem 0 0; padding: 0; border-left: 1px solid var(--line); }
.guide__toc a {
	display: block; margin-left: -1px; padding: .45rem 0 .45rem 1rem; border-left: 2px solid transparent;
	color: var(--body); font-size: .9rem; line-height: 1.35; text-decoration: none;
	transition: color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.guide__toc a:hover, .guide__toc a.is-active { color: var(--ink); border-left-color: var(--gold); }
.guide__updated { margin: 1.6rem 0 0; font-size: .8rem; line-height: 1.55; color: var(--body); }
.guide__main { min-width: 0; max-width: 52rem; }

.glance { margin-bottom: clamp(2.4rem, 4vw, 3.2rem); padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1.3rem, 3vw, 2rem); border-radius: 16px; background: var(--cream-grad); }
.glance__title { margin: 0 0 1.1rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); }
.glance dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.8rem; margin: 0; }
.glance dt { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #8f6620; }
.glance dd { margin: .3rem 0 0; font-size: .98rem; line-height: 1.45; color: var(--ink); }

.guide__sec { color: var(--ink); line-height: 1.75; }
.guide__sec + .guide__sec { margin-top: clamp(2.4rem, 4vw, 3.4rem); padding-top: clamp(2.4rem, 4vw, 3.4rem); border-top: 1px solid var(--line); }
.guide__sec h2 { margin: 0 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; }
.guide__sec p { margin: 0 0 1rem; }
.guide__sec ul, .guide__sec ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.guide__sec li { margin-bottom: .55rem; padding-left: .2rem; }
.guide__sec li::marker { color: var(--gold); }
.guide__sec a { color: #8f6620; text-decoration: underline; text-underline-offset: .18em; }
.guide__sec a:hover { color: var(--ink); }
.guide__sec .btn { text-decoration: none; }
.gnote { font-size: .84rem; line-height: 1.6; color: var(--body); }

.gtable { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.gtable table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.gtable th, .gtable td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.gtable thead th { background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .05em; }
.gtable tbody th { background: #fbf7ee; color: var(--ink); font-weight: 700; }
.gtable small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 400; color: var(--body); }
.gtable tr:last-child > * { border-bottom: 0; }
/* Phones: one card per row (pages.js labels each cell with its column), no sideways swipe. */
@media (max-width: 640px) {
	.is-cards { overflow: visible; border: 0; border-radius: 0; }
	.is-cards table { min-width: 0; display: block; border: 0; }
	.is-cards thead { display: none; }
	.is-cards tbody { display: grid; gap: .8rem; }
	.is-cards tr { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
	.is-cards tbody th { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.is-cards td { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 1rem; padding: .6rem 1rem; border-bottom: 1px solid var(--line); }
	.is-cards td::before { content: attr(data-label); font-size: .76rem; font-weight: 700; letter-spacing: .03em; color: #8f6620; padding-top: .1rem; }
	.is-cards td:not([data-label])::before { display: none; }
	.is-cards td:not([data-label]) { grid-template-columns: minmax(0, 1fr); }
	.is-cards tr > :last-child { border-bottom: 0; }
	.is-cards tr:last-child > * { border-bottom: 1px solid var(--line); }
	.is-cards tr:last-child > :last-child { border-bottom: 0; }
}

.gplaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0 !important; }
.gplaces li { margin: 0; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.gplaces strong { display: block; margin-bottom: .3rem; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.gplaces span { display: block; font-size: .93rem; line-height: 1.6; color: var(--body); }
/* Cards with a photo (Where to Retire): the photo runs edge to edge across the top. */
.gplaces li.has-img { overflow: hidden; padding-top: 0; }
.gplaces .gplaces__media { display: block; aspect-ratio: 16 / 9; margin: 0 -1.25rem 1rem; overflow: hidden; background: var(--cream); }
.gplaces .gplaces__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* MM2H cost estimator */
.est { display: grid; gap: 1.3rem; margin-top: 1.4rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: 16px; background: var(--navy); color: #fff; }
.est fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.est legend, .est__label { display: block; margin-bottom: .65rem; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-light); }
.est__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.est__pill { position: relative; }
.est__pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.est__pill span { display: inline-block; padding: .55rem 1.05rem; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; font-size: .88rem; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.est__pill input:checked + span { border-color: transparent; background: var(--gold-soft); color: var(--navy); font-weight: 700; }
.est__pill input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.est__count { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; }
.est__count button { width: 2.6rem; height: 2.6rem; border: 0; background: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.est__count input { width: 2.6rem; border: 0; background: none; color: #fff; font: 700 1rem var(--sans); text-align: center; -moz-appearance: textfield; appearance: textfield; }
.est__count input::-webkit-inner-spin-button, .est__count input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.est__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; margin: 0; padding-top: .4rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.est__out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.est__out dt { font-size: .88rem; color: var(--body-light); }
.est__out dd { margin: 0; font-weight: 700; white-space: nowrap; }
.est__out > .est__total { grid-column: 1 / -1; padding-top: 1rem; border-bottom: 0; }
.est__total dt { color: #fff; font-weight: 700; }
.est__total dd { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.est__note { margin: 0 !important; font-size: .8rem; line-height: 1.55; color: var(--body-light); }
.est .btn-row { margin: 0; }

/* Guide cards (related guides; the top of Insights) */
.gcards { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--cream); }
.gcards--insights { background: #fff; }
.gcards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.gcards--insights .gcards__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gcard a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -32px rgba(12, 34, 82, .45); }
.gcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease-out); }
.gcard a:hover .gcard__media img { scale: 1.05; }
.gcard__body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.5rem; }
.gcard__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a87a2c; }
.gcard__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.gcard__excerpt { flex: 1; font-size: .92rem; line-height: 1.6; color: var(--body); }
.gcard__more { font-size: .85rem; font-weight: 700; color: var(--ink); }
.gcard__more::after { content: " \2192"; display: inline-block; transition: translate .3s var(--ease-out); }
.gcard a:hover .gcard__more::after { translate: 4px 0; }

@media (max-width: 1100px) {
	.guide__in { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
	.guide__toc { position: static; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
	.guide__toc summary::after { content: "+"; float: right; font-size: 1.1rem; line-height: .8; }
	.guide__toc details[open] summary::after { content: "\2212"; }
	.guide__updated { margin-top: .9rem; }
	.guide__main { max-width: none; }
	.gcards--insights .gcards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.gcards__grid { grid-template-columns: minmax(0, 1fr); }
	.gcards--insights .gcards__grid { grid-template-columns: minmax(0, 1fr); }
	.glance dl, .gplaces, .est__out { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   Phones, Nov 2026 (client's "updates 2"): shorter, friendlier sections.
   ========================================================================= */
@media (max-width: 900px) {
	/* About Us: the three pages as a compact list, photo beside the name, all in one screen. */
	.aexplore { padding-block: 3rem; }
	.aexplore h2 { margin-bottom: 1.4rem; }
	.aexplore__grid { max-width: none; gap: .8rem; }
	.aexplore__card {
		grid-template-columns: 7.5rem 1fr;
		align-items: center;
		justify-items: start;
		gap: 1rem;
		padding: .6rem;
		border: 1px solid rgba(240, 219, 167, .3);
		border-radius: 16px;
		background: rgba(255, 255, 255, .06);
	}
	.aexplore__media { aspect-ratio: 1; border-radius: 12px; }
	.aexplore__card .btn--pill { border: 0; padding: 0; background: none; color: #fff; font-size: 1rem; text-align: left; }
	.aexplore__card .btn--pill::after { content: " \2192"; color: var(--gold-light); }
}
/* Hero "Read more": wide screens show every paragraph, phones the first one. */
.phero__fold { display: none; }
@media (max-width: 900px) {
	.phero__more:not(.is-open) { display: none; }
	.phero__fold {
		display: inline-block;
		margin: -.2rem 0 1.2rem;
		padding: .2rem 0;
		border: 0;
		border-bottom: 1px solid var(--gold-light);
		background: none;
		color: var(--gold-light);
		font: inherit;
		font-weight: 700;
		cursor: pointer;
	}
}
/* Service grids on phones: two to a row, smaller icons and type, so the list is half as long. */
@media (max-width: 560px) {
	.medals { padding-block: 3rem; }
	.medals__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem .9rem; }
	.medal:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 70%; margin-inline: auto; }
	.medal__icon { width: 52px; height: 52px; margin-bottom: .6rem; }
	.medal h3 { font-size: .9rem; line-height: 1.3; margin-bottom: .35rem; }
	.medal p { font-size: .78rem; line-height: 1.45; }
}
/* Meet Our Team, "Our Firm": pinned on phones too, one tall card at a time. */
@media (max-width: 900px) {
	.firm.is-pinned .section-head p { font-size: .86rem; }
	.firm.is-pinned .firm__slide { width: 84vw; aspect-ratio: auto; height: min(84vw, calc(100svh - var(--page-top) - 21rem)); }
}
/* Hero `band` (phones): a wide group photo shown as a band under the header, wide enough to
   keep everyone in frame, fading into the dark; the words sit below it. */
@media (max-width: 900px) {
	.phero--band .phero__media { background: #07081a; }
	.phero--band .phero__media img {
		position: absolute;
		top: 0;
		left: 50%;
		width: 150vw;
		max-width: none;
		height: auto;
		aspect-ratio: auto;
		translate: -50% 0;
		object-fit: fill;
		-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
	}
}
/* MM2H / PVIP categories band on phones: the same compact card row as the home page, with the
   arrows on the card, and the intro on two short lines, so the band fits one screen. */
@media (max-width: 900px) {
	.tband__in { padding-block: 1.6rem 1.4rem; min-height: 0; }
	.tband__intro { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 1rem; }
	.tband__intro h2 { grid-column: 1; font-size: 2rem; margin: 0; }
	.tband__rule { display: none; }
	.tband__sub { grid-column: 1; margin: .15rem 0 0; font-size: 1rem; }
	.tband__intro > p:last-child { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
	.tband__intro > p:last-child .btn { padding: .6rem .95rem; font-size: .8rem; }
	.tiers--band { position: relative; margin-top: 1rem; }
	.tiers--band .tier { width: min(64vw, 17rem); }
	.tiers--band .tiers__nav { max-width: none; }
}
/* MM2H history on phones: a vertical timeline (dates down a gold line), nothing to swipe. */
@media (max-width: 900px) {
	.hist__rail { display: block; overflow: visible; }
	.hist__track { display: grid; gap: 1.6rem; padding: 0 var(--gutter); }
	.hist__item { position: relative; width: auto; padding-left: 2rem; }
	.hist__dot { position: absolute; left: 0; top: .55rem; margin: 0; }
	.hist__date { margin-bottom: .55rem; }
	.hist__line { left: calc(var(--gutter) + 6px); right: auto; top: .9rem; bottom: .9rem; width: 1px; height: auto; }
	.hist__line i { width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; }
}
/* Cost estimator on phones: the whole calculator in one screen. */
@media (max-width: 560px) {
	.est { gap: .8rem; padding: 1.1rem 1rem; }
	/* the family counter sits beside its label */
	.est > div.est__group { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
	.est > div.est__group .est__label { margin: 0; }
	.est legend, .est__label { margin-bottom: .4rem; font-size: .64rem; }
	.est__pills { flex-wrap: nowrap; gap: .3rem; }
	.est__pill span { padding: .42rem .62rem; font-size: .76rem; white-space: nowrap; }
	.est__count button { width: 2.1rem; height: 2.1rem; }
	.est__count input { width: 1.8rem; }
	.est__out { padding-top: .2rem; }
	.est__out > div { padding: .34rem 0; }
	.est__out dt { font-size: .8rem; }
	.est__out dd { font-size: .86rem; }
	.est__out > .est__total { padding-top: .5rem; }
	.est__total dd { font-size: 1.4rem; }
	.est__note { font-size: .72rem; }
	.est .btn { width: 100%; justify-content: center; }
}
/* MM2H / PVIP "More": three of our Kuala Lumpur listings, then a link to all of them. */
.prop__area { margin: -.4rem 0 .9rem; font-size: .86rem; color: rgba(255, 255, 255, .82); }
.props__more { margin: 0; padding: 1.8rem var(--gutter) 2.2rem; text-align: center; background: var(--navy); }
@media (max-width: 900px) {
	.prop { min-height: 52vw; }
}
@media (max-width: 900px) { .prop__body h3, .prop__area { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); } }
/* "Why Malaysia / Why consider PVIP" gallery on phones: the arrows sit on the photo's sides, so
   it is clear there is more to see (the photo is 72vw wide at 1.5:1, so 48vw tall). */
@media (max-width: 900px) {
	.curve__foot { position: relative; }
	.curve__foot .step-btn {
		display: grid;
		position: absolute;
		top: calc(-24vw - 1.6rem - 1.3rem);
		z-index: 2;
		width: 2.6rem;
		height: 2.6rem;
		background: rgba(255, 255, 255, .92);
		color: var(--navy);
		border-color: transparent;
		box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
	}
	.curve__foot .step-btn--prev { left: .5rem; }
	.curve__foot .step-btn--next { right: .5rem; }
}
/* PVIP key requirements (a one-programme table) on phones: a small card, tighter rows, so the
   whole table fits one screen. */
@media (max-width: 560px) {
	.cmp--single .cmp__card { max-width: 8.5rem; margin-inline: 0; }
	.cmp--single .cmp__card-sub { margin-top: .35rem; }
	.cmp--single .cmp__table thead th { padding-top: .9rem; padding-bottom: .6rem; }
	.cmp--single .cmp__table th, .cmp--single .cmp__table td { padding-top: .5rem; padding-bottom: .5rem; }
	.cmp--single .cmp__table tbody th { font-size: .8rem; }
	.cmp--single .cmp__table td b { font-size: 1rem; }
	.cmp--single .cmp__table td small { font-size: .72rem; line-height: 1.4; }
}
@media (max-width: 560px) {
	/* the same, for the list the one-programme table becomes on phones */
	.cmp--single .cmp__item { gap: .7rem; padding: .55rem 0; }
	.cmp--single .cmp__item dt { font-size: .8rem; }
	.cmp--single .cmp__item dd b { font-size: 1rem; }
	.cmp--single .cmp__item dd small { margin-top: .12rem; font-size: .72rem; line-height: 1.4; }
	.cmp--single .cmp__item dd small + b { margin-top: .45rem; }
	.cmp--single .cmp__panel-group { padding-top: .9rem; padding-bottom: .35rem; }
}
