/* ==========================================================================
   Dr Deo: About Us, Services and Contact Us.
   A 1:1 build of the Figma frames on a 1440px stage. Every .a element is placed
   with its Figma x, y, width and height (CSS variables --x --y --w --h).
   The stage scales down with --zoom (set in <head>) between 1000px and 1440px,
   and switches to a stacked layout below 1000px (no mobile frames exist in Figma).
   ========================================================================== */

:root {
	--plum: #310a31;
	--cream: #f4ecd6;
	--grey: #d9d9d9;
	--ink: #2b2b2b;
	--mute: #717171;
	--body: #454545;
	--zoom: 1;
}

/* Base ------------------------------------------------------------------ */

html { -webkit-text-size-adjust: 100%; }

.fx {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: "Inria Serif", Georgia, serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.fx *, .fx *::before, .fx *::after { box-sizing: border-box; }
:where(.fx) :is(h1, h2, h3, p, ul, ol, figure, blockquote, fieldset) { margin: 0; padding: 0; border: 0; font-weight: inherit; }
:where(.fx) :is(ul, ol) { list-style: none; }
:where(.fx) a { color: inherit; text-decoration: none; }
:where(.fx) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.fx) img { display: block; max-width: none; }
:where(.fx) svg { display: block; overflow: visible; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }

.fx :focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

/* Stage ------------------------------------------------------------------ */

.stage {
	position: relative;
	width: 1440px;
	height: calc(var(--h) * 1px);
	margin: 0 auto;
	zoom: var(--zoom, 1);
	overflow: hidden;
}

.blk { position: relative; height: calc(var(--h) * 1px); }
.blk--ov { overflow: visible; }
.stage--contact { overflow: visible; }

.a {
	position: absolute;
	left: calc(var(--x) * 1px);
	top: calc(var(--y) * 1px);
	width: calc(var(--w) * 1px);
	height: calc(var(--h) * 1px);
}

/* Text boxes: Figma centres the text vertically in a fixed box */
.t {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	word-break: break-word;
	line-height: var(--lh, 60px);
}

/* Star (grey placeholder icon). --s is the Figma frame size */
.star {
	position: absolute;
	left: calc((var(--x) + var(--s) * .0245) * 1px);
	top: calc(var(--y) * 1px);
	width: calc(var(--s) * .951px);
	height: calc(var(--s) * .9045px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84.644 80.5013' preserveAspectRatio='none'%3E%3Cpath fill='%23D9D9D9' d='M42.322 0L52.3129 30.7487L84.644 30.7487L58.4876 49.7525L68.4785 80.5013L42.322 61.4975L16.1656 80.5013L26.1564 49.7525L0 30.7487L32.3311 30.7487L42.322 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Type styles (family, weight, size / line height, colour), from the Figma text styles */
.x-hero   { font: italic 600 80px/60px "Playfair Display", serif; color: var(--ink); }
.x-heroc  { font: italic 400 80px/60px "Inria Serif", serif; color: #000; }
.x-ct     { font: 400 25px/20px "Playfair Display", serif; color: #000; }
.x-cp     { font: 400 13px/20px "Albert Sans", sans-serif; color: #000; }
.x-meet   { font: italic 500 64px/60px "Playfair Display", serif; color: var(--mute); }
.x-h40    { font: italic 700 40px/60px "Inria Serif", serif; color: var(--mute); }
.x-b13    { font: 400 13px/20px "Albert Sans", sans-serif; color: var(--body); }
.x-q13    { font: 500 13px/20px "Albert Sans", sans-serif; color: var(--body); }
.x-quote  { font: italic 400 16px/20px "Inria Serif", serif; color: #fff; }
.x-more   { font: 400 10px/60px "Inria Serif", serif; color: #fff; }
.x-how    { font: italic 700 30px/35px "Inria Serif", serif; color: var(--mute); }
.x-pb     { font: italic 500 70px/60px "Playfair Display", serif; color: var(--mute); }
.x-pbt    { font: italic 400 16px/20px "Inria Serif", serif; color: var(--body); }
.x-city   { font: 400 20px/60px "Playfair Display", serif; color: var(--mute); }
.x-fac36  { font: italic 700 36px/60px "Inria Serif", serif; color: var(--mute); }
.x-fac35  { font: italic 700 35px/60px "Inria Serif", serif; color: var(--mute); }
.x-faqh   { font: 800 70px/60px "Playfair Display", serif; color: var(--mute); }
.x-faqpill{ font: 700 20px/60px "Playfair Display", serif; color: var(--mute); }
.x-cta    { font: 400 20px/60px "Inria Serif", serif; color: #fff; }

.x-choose { font: italic 500 64px/60px "Playfair Display", serif; color: var(--mute); }
.x-st36   { font: 500 36px/60px "Playfair Display", serif; color: var(--mute); }
.x-sd     { font: 400 16px/25px "Albert Sans", sans-serif; color: var(--ink); }
.x-learn  { font: italic 400 20px/60px "Playfair Display", serif; color: #161616; }
.x-side35 { font: 500 35px/35px "Playfair Display", serif; color: #000; }
.x-explore{ font: 500 16px/35px "Playfair Display", serif; color: #000; }
.x-ttl64  { font: italic 500 64px/60px "Playfair Display", serif; color: var(--mute); }
.x-sub32  { font: italic 700 32px/60px "Inria Serif", serif; color: var(--ink); }
.x-body16 { font: 400 16px/25px "Albert Sans", sans-serif; color: var(--ink); }
.x-bul15  { font: 400 15px/25px "Albert Sans", sans-serif; color: var(--ink); }

.inter    { font: 400 16px/24px Inter, sans-serif; color: #000; }
.inter--l { text-align: left; }
.x-git    { font: italic 700 65px/60px "Inria Serif", serif; color: #fff; }
.x-tog    { font: italic 400 24px/60px "Inria Serif", serif; color: #858585; }
.x-lab    { font: italic 400 24px/60px "Inria Serif", serif; color: #858585; }
.x-hear   { font: italic 700 40px/60px "Inria Serif", serif; color: #e1c19a; }

/* Pills: outlines drawn inside the box (Figma inside strokes) */
.pill3 { border: 3px solid var(--cream); border-radius: 999px; }

/* Header ------------------------------------------------------------------ */

.fxhead { position: absolute; top: 0; left: 0; right: 0; z-index: 30; height: 0; }
.fxhead__in { position: relative; width: 1440px; height: 0; margin: 0 auto; zoom: var(--zoom, 1); }
.fxhead__brand { position: absolute; left: 73px; top: 24px; width: 330px; height: 102px; display: block; }
.fxhead__logo img { width: auto; height: 102px; }
.fxhead__name {
	position: absolute; left: 80px; top: 21px; width: 120px; height: 26px;
	display: flex; flex-direction: column; justify-content: center; text-align: center;
	font: 400 15px/60px "Inria Serif", serif; color: #161616;
}
.fxhead__toggle { display: none; }

.fxnav { position: absolute; left: 594px; top: 42px; width: 789px; height: 47px; display: flex; align-items: flex-start; gap: 1px; }
.fxnav ul { display: flex; gap: 1px; }
.fxnav li { margin-top: 10.5px; }
.fxnav li a {
	display: flex; align-items: center; justify-content: center;
	width: 93px; height: 26px;
	font: 400 15px/60px "Playfair Display", serif; color: #1c1c1c; text-align: center;
}
.fxnav li a:hover, .fxnav li.current-menu-item a { text-decoration: underline; text-underline-offset: 5px; }
.fxnav__cta {
	position: relative; isolation: isolate;
	display: flex; align-items: center; justify-content: center;
	width: 225px; height: 47px;
	font: 400 15px/60px "Playfair Display", serif; color: #1e1e1e;
}
.fxnav__cta::before {
	content: ""; position: absolute; z-index: -1; left: 16px; top: 3px; width: 194px; height: 42px;
	border-radius: 21px; background: #f1f1f1; border: 1px solid var(--cream);
}
.fxnav__cta:hover::before { background: var(--cream); }

/* Banner ------------------------------------------------------------------ */

.band { border-radius: 40px; background: linear-gradient(90deg, #f4ecd6 20.192%, #d8af81); }
.band--services { border-radius: 54px; background: linear-gradient(90deg, #fffaec, #e8d6b3); }
.band--contact { border-radius: 54px; background: linear-gradient(90deg, #f4ecd6, #d8af81); }
.hero-photo { object-fit: contain; }

/* Cards (About and Services) ------------------------------------------- */

.card { background: #fff; border: 1px solid var(--grey); border-radius: 39px; }

/* About: Meet Dr Tebogo Deo -------------------------------------------- */

.dr-panel { background: var(--grey); border-radius: 60px; }
.dr-bg { align-items: flex-start; }
.dr-bg p { text-align: left; }
.dr-qual { text-align: left; list-style: disc; padding-left: 19.5px !important; }
.dr-qual li { padding-left: 0; list-style: disc; }
.dr-qual li::marker { font-size: 13px; }
.dr-blur { background: #fff; filter: blur(72px); }

.bubble__box { background: var(--ink); border-radius: 32px; }
.bubble__tail { display: flex; align-items: center; justify-content: center; }
.bubble__tail-rot { flex: none; transform: rotate(-137.74deg) skewX(-2.06deg); }
.bubble__tail-box { position: relative; width: 59.582px; height: 80.551px; }
.bubble__tail-box svg { position: absolute; left: 6.7%; right: 6.7%; top: 0; bottom: 25%; width: auto; height: auto; }
.bubble__more, .fx .bubble__more { border: 1px solid var(--cream); border-radius: 999px; text-align: center; color: #fff; }

.years { background: #f2f0f0; border-radius: 50%; }
.years__text {
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	font-family: "Inria Serif", serif; font-style: italic; font-weight: 700; color: var(--mute);
	font-size: 0; white-space: nowrap; text-align: center;
}
.years__text p { margin: 0; line-height: 20px; }
.years__text .y24 { font-size: 24px; }
.years__text .y40 { font-size: 40px; }
.years__text .y96 { font-size: 96px; }
.years__text .y128 { font-size: 128px; }
/* Figma places the oversized lines a little higher than a browser's line box does. */
.years__text .y96 { position: relative; top: -27px; }
.years__text .y40 { position: relative; top: -6px; }

/* About: bodies, facilities, FAQ ----------------------------------------- */

.body-dot { background: var(--grey); border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.body-dot img { width: 100%; height: 100%; object-fit: contain; }

.tiles { pointer-events: none; }
.tile { background: var(--grey); border-radius: 39px; overflow: hidden; pointer-events: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; }

.faqblk { position: relative; min-height: 512px; }
.faqblk__rows { margin-left: 447px; width: 882px; }

.frows { width: 100%; }
.frow { position: relative; }
.frow__q {
	position: relative; display: block; width: var(--rw, 845.374px); height: 53.03px; text-align: left;
	font: italic 400 16px/60px "Inria Serif", serif; color: #000;
}
.frow__t { display: block; height: 53.03px; width: 100%; display: flex; align-items: center; }
.frow__q::after { content: ""; position: absolute; left: 0; right: 0; top: 52.1px; height: 1px; background: #000; }
.frow__plus { position: absolute; left: calc(var(--px, 829.5px) - var(--pw, 19.8px) / 2); top: 26.5px; width: var(--pw, 19.8px); height: 1px; background: #000; }
.frow__plus::before {
	content: ""; position: absolute; left: calc(50% - .5px); top: calc(-9.77px); width: 1px; height: 19.54px; background: #000;
}
.frow.is-open .frow__plus::before { display: none; }
.frow__a { width: var(--rw, 845.374px); padding: 14px 0 18px; font: 400 15px/24px "Albert Sans", sans-serif; color: var(--body); }
.frow__a[hidden] { display: none; }

.frows--about .frow:nth-child(2) { margin-top: 5px; }
.frows--about .frow:nth-child(3) { margin-top: 10px; }
.frows--about .frow:nth-child(4) { margin-top: 5px; }
.frows--about .frow:nth-child(n+6) { margin-top: -1px; }
.frows--svc { --rw: 716.938px; --px: 703.5px; --pw: 16.79px; }

.cta { background: var(--plum); border-radius: 29px; }
.cta__btn { border: 1px solid var(--cream); border-radius: 999px; }
.cta__btn:hover { background: rgba(244, 236, 214, .12); }

/* Services: tabbed panel ---------------------------------------------------- */

.scard .a { }

.tabs { display: none; min-height: 1024px; }
.tabs.is-on { display: flex; }
.tabs__side { position: relative; flex: 0 0 309px; z-index: 1; }
.tabs__side::before {
	content: ""; position: absolute; z-index: -1; left: -22px; right: 0; top: 35px; bottom: -50px;
	background: #fff; border: 1px solid var(--grey); border-radius: 39px;
}
.tabs__main { position: relative; flex: 0 0 1041px; margin-left: 24px; padding-top: 64px; padding-bottom: 80px; }
.tabs__main::before {
	content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 43px; bottom: -58px;
	background: #fff; border: 1px solid var(--grey); border-radius: 39px;
}
.tabs__main > * { position: relative; z-index: 1; }
.tabs__bar { position: absolute !important; left: 46px; bottom: 38px; width: 475px; height: 6px; background: #e1e1e1; }

.side-h { margin: 51px 0 0 79px; width: 173px; height: 120px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.svcs { margin-top: 63px; }
.svc { margin-top: 0; }
.svc:nth-child(2) { margin-top: 46px; }
.svc:nth-child(3) { margin-top: 36px; }
.svc:nth-child(n+4) { margin-top: 40px; }
.svc__bar {
	display: block; width: 364px; height: 65px; margin-left: -55px; text-align: left;
	background: #fff; border: 1px solid var(--grey);
}
.svc__name {
	display: flex; align-items: center; justify-content: center; width: 184px; height: 57px; margin-left: 100px;
	font: italic 400 30px/60px "Inria Serif", serif; color: #000;
}
.svc.is-on .svc__bar { border-color: transparent; background: linear-gradient(90deg, #fff, #d9b183); }
.svc.is-on .svc__name { margin-left: 119px; font-size: 35px; color: var(--ink); }
.svc__secs { margin-top: 10px; }
.svc:nth-child(2) .svc__secs { margin-top: 16px; }
.svc:nth-child(3) .svc__secs { margin-top: 6px; }
.svc__sec {
	display: flex; align-items: center; justify-content: center; width: 270px; min-height: 46px; margin-left: 2px; padding: 6px 12px; text-align: center;
	font: italic 400 24px/28px "Inria Serif", serif; color: #000;
}
.svc__sec.is-on {
	color: #000; background: rgba(217, 177, 128, .3); border-radius: 14px;
	text-decoration: underline; text-decoration-color: #d9b081; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.svc__sec:hover { text-decoration: underline; text-underline-offset: 6px; }
.cattabs { display: flex; align-items: center; justify-content: center; gap: 16px; }
.cattab {
	display: flex; align-items: center; justify-content: center; width: 430px; height: 64px; border: 1px solid var(--grey); border-radius: 32px;
	background: #fff; font: 500 26px/1 "Playfair Display", serif; color: var(--plum); transition: background .2s, color .2s;
}
.cattab:hover { background: var(--cream); }
.cattab.is-on { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.explore {
	display: flex; align-items: center; justify-content: center; margin: 35px 0 0 45px; width: 239px; height: 45px;
	background: #fff; border: 1px solid var(--grey); border-radius: 32px;
}

.sp { display: none; }
.sp.is-on { display: block; }
.sp__title { margin-left: 40px; width: 986px; height: 107px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.sp__band { margin: 16px 0 0 64px; width: 914px; height: 141px; background: var(--grey); border-radius: 29px; }
.sec { display: none; }
.sec.is-on { display: block; }
.sec__title { margin: 32px 0 0 67px; height: 57px; display: flex; flex-direction: column; justify-content: center; }
.sec__body { margin: 4.5px 0 0 77px; width: 907px; }
.sec__bullets { margin: 17.5px 0 0 67px; width: 949px; list-style: disc; padding-left: 22.5px !important; }
.sec__body + .sec__body, .sec__list + .sec__body { margin-top: 14px; }
.sec__h1 { margin: 34px 0 0 67px; font: italic 700 28px/34px "Inria Serif", serif; color: var(--mute); }
.sec__h2 { margin: 22px 0 0 77px; font: italic 700 20px/26px "Inria Serif", serif; color: var(--ink); }
.sec__list { margin: 12px 0 0 77px; width: 907px; padding-left: 22.5px !important; }
.sec__list--ul { list-style: disc; }
.sec__list--ol { list-style: decimal; }
.sec__list li { margin-top: 6px; padding-left: 4px; list-style: inherit; }
.sec__title + .sec__body { margin-top: 4.5px; }
.svc__name--long { width: 330px; margin-left: 44px; font-size: 28px; white-space: nowrap; }
.svc.is-on .svc__name--long { margin-left: 46px; font-size: 32px; }
.svc__bar--xl { height: auto; min-height: 65px; padding: 8px 0; }
.svc__name--xl { width: 285px; height: auto; margin-left: 52px; font-size: 24px; line-height: 28px; text-align: center; }
.svc.is-on .svc__name--xl { margin-left: 52px; font-size: 24px; }
.sp__title--long { font-size: 52px; line-height: 58px; }
.sp__faq { position: relative; margin: 23px 0 0 67px; }
.sp__faq-h { position: absolute; left: 0; top: 38px; height: 57px; display: flex; flex-direction: column; justify-content: center; }
.sp__faq .frows { margin-left: 139px; width: 748px; }
.sp__faq .frow:nth-child(n+2) { margin-top: 4.97px; }
.sp__cta { position: relative; margin: 52px 0 0 64px; width: 890px; height: 92px; }
.sp__cta-band { position: absolute; inset: 0; background: var(--plum); border-radius: 29px; }
.sp__cta-btn { position: absolute; left: 629px; top: 19px; width: 243px; height: 53px; }

/* Contact ---------------------------------------------------------------------- */

.cdet { overflow: visible; }
.cdet svg { overflow: visible; }
.cpanel { background: var(--grey); border-radius: 45px; }
.cpattern { overflow: hidden; }
.cpattern img { width: 100%; height: 100%; object-fit: cover; }
.cphone { overflow: hidden; }
/* The arm runs off the bottom of the pattern, and both fade out softly there. */
.cpattern, .cphone { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent); }
.cphone img { width: 100%; height: 100%; object-fit: cover; }

.tog { background: var(--grey); border: 2px solid #fff; border-radius: 31px; cursor: pointer; }
.tog span { transform: translateY(-4.5px); }
.tog input, .timebtn input { position: absolute; opacity: 0; pointer-events: none; }
.tog:has(input:checked) { background: #fff; }
.tog:has(input:checked) span { color: var(--ink); }

.fld { display: block; }
.fld__l { position: absolute; left: calc(var(--lx) * 1px); top: 0; width: 210px; height: 41px; display: flex; align-items: center; white-space: nowrap; }
.fld__i {
	position: absolute; left: 0; top: calc(var(--it) * 1px); width: 100%; height: 56px;
	background: #fff; border: 0; border-radius: 10px; padding: 0 16px;
	font: 400 18px/1 "Inria Serif", serif; color: var(--ink);
}
.fld__i:focus-visible { outline: 2px solid var(--plum); outline-offset: 0; }
.x-lab--2 { text-align: left; align-items: flex-start; line-height: var(--lh, 60px); }
.timebtn { background: #fff; border-radius: 10px; cursor: pointer; }
.timebtn:has(input:checked) { background: var(--plum); }
.timebtn:has(input:checked) span { color: #fff; }
.submit { background: var(--ink); border-radius: 54px; }
.submit:hover { background: #000; }
.cf-note { font: italic 400 18px/28px "Inria Serif", serif; color: var(--plum); text-align: center; }
.cf-note--err { color: #8a1c1c; }

/* Footer ------------------------------------------------------------------------ */

.ftr { overflow: hidden; }
.ftr__bg { background: var(--ink); border-radius: 26px; }
.ftr__logo { background: none; }
.ftr__logo img { width: 100%; height: 100%; object-fit: contain; }
.f-name { font: 400 55px/60px "Playfair Display", serif; color: #fff; }
.f-tag  { font: 400 15px/60px "Playfair Display", serif; color: #fff; }
.f-h    { font: 400 24px/60px "Playfair Display", serif; color: #fff; }
.f-motto{ font: 400 48px/60px "Qwitcher Grypen", cursive; color: var(--cream); letter-spacing: -.96px; }
.f-line { height: 1px; }
.f-vline { width: 1px; }
.f-line--w { background: #fff; }
.f-line--g { background: var(--mute); }
.f-links { font: 400 13px/20px Lato, sans-serif; color: #fff; text-align: center; }
.f-links__list { margin: 0; }
.f-dot, .f-social { background: var(--grey); border-radius: 50%; }
.f-contact { font: 400 13px/20px Lato, sans-serif; color: #fff; }
.f-contact a:hover, .f-links a:hover { text-decoration: underline; }

/* Media ------------------------------------------------------------------ */

.x-mt60   { font: italic 500 60px/60px "Playfair Display", serif; color: var(--mute); }
.x-mt40   { font: italic 500 40px/60px "Playfair Display", serif; color: var(--mute); }
.x-mttl   { font: 400 20px/25px "Playfair Display", serif; color: #000; }
.x-mttl25 { font: 400 25px/25px "Playfair Display", serif; color: #000; }
.x-mlab   { font: italic 400 10px/20px "Playfair Display", serif; color: #000; }
.x-mtag   { font: 500 10px/20px "Playfair Display", serif; color: #000; }
.x-mex    { font: italic 400 10px/20px "Albert Sans", sans-serif; color: #000; }
.x-mint   { font: italic 400 13px/20px "Inria Serif", serif; color: var(--body); }
.x-mh     { font: 400 20px/25px "Playfair Display", serif; color: #000; }
.x-mrow   { font: italic 400 20px/25px "Inria Serif", serif; color: #000; }
.x-mplat  { font: 400 20px/25px "Albert Sans", sans-serif; color: #000; }
.x-mchip  { font: 500 14px/20px "Playfair Display", serif; color: #000; }
.x-mpill  { font: 400 20px/25px "Playfair Display", serif; color: #000; }

.stage--media .cta { border-radius: 39px; }

.mbox { background: #fff; border: 1px solid var(--grey); border-radius: 30px; }
.mphoto { object-fit: cover; }
.mmeta { display: flex; align-items: center; }
.mmeta .x-mlab { position: relative; display: block; padding: 0 9px; white-space: nowrap; }
.mmeta .x-mlab + .x-mlab::before { content: ""; position: absolute; left: 0; top: 50%; height: 15px; margin-top: -7.5px; border-left: .8px solid var(--grey); }
.mplay { display: block; }
.mplay img { width: 100%; height: 100%; }
.mclamp { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.mplat { align-items: flex-start; text-align: left; }
.mtag { background: var(--grey); border-radius: 200px; }
.mtag, .mchip { white-space: nowrap; }
.mchip { border-radius: 200px; }
.mchip--left { align-items: flex-start; text-align: left; }
.mex a, .x-mex a { text-decoration: underline; }
.mtitle a:hover, .x-mttl a:hover, .x-mttl25 a:hover, .x-mrow a:hover { text-decoration: underline; }
.x-mex span { display: block; text-align: left; }

.mpill { background: #fff; border: 1px solid var(--grey); border-radius: 200px; }
.mpill select, .mpill input {
	position: absolute; inset: 0; width: 100%; height: 100%;
	margin: 0; border: 0; border-radius: 200px; background: transparent; outline: 0;
	-webkit-appearance: none; appearance: none; text-align: left;
}
.mpill select { padding: 0 52px 0 36px; cursor: pointer; }
.mpill input { padding: 0 20px; }
.mpill input[type="search"] { padding-right: 64px; }
.mpill input::placeholder { color: #000; opacity: 1; }
.mpill input[type="search"]::-webkit-search-cancel-button { display: none; }
.mpill:focus-within { outline: 2px solid var(--plum); outline-offset: 3px; }
.mchev, .msearch { pointer-events: none; }

.mrow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grey); }
.mrow.is-last::after { content: ""; position: absolute; left: 0; right: 0; top: 70px; height: 1px; background: var(--grey); }
.mrow[hidden], .mnone[hidden] { display: none; }

/* Media pop-up player */
.mmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mmodal[hidden] { display: none; }
.mmodal__bg { position: absolute; inset: 0; background: rgba(49, 10, 49, .72); }
.mmodal__panel { position: relative; width: 100%; max-width: 860px; max-height: calc(100vh - 40px); overflow: auto; padding: 34px 38px 28px; background: #fff; border: 1px solid var(--grey); border-radius: 30px; outline: 0; }
.mmodal__title { padding-right: 44px; font: 400 25px/30px "Playfair Display", serif; color: #000; text-align: left; }
.mmodal__meta { margin-top: 6px; font: italic 400 13px/20px "Playfair Display", serif; color: var(--mute); text-align: left; }
.mmodal__meta:empty { display: none; }
.mmodal__frame { margin-top: 20px; border-radius: 18px; overflow: hidden; background: #f1f1f1; }
.mmodal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.mmodal__frame.is-video { aspect-ratio: 16 / 9; }
.mmodal__orig { display: inline-block; margin-top: 16px; font: 400 14px/20px "Playfair Display", serif; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.mmodal__orig:hover { color: #000; }
.mmodal__x { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border: 1px solid var(--grey); border-radius: 50%; background: #fff; }
.mmodal__x::before, .mmodal__x::after { content: ""; position: absolute; left: 11px; top: 19px; width: 16px; height: 1.5px; background: #000; transform: rotate(45deg); }
.mmodal__x::after { transform: rotate(-45deg); }
.mmodal__x:hover { background: var(--cream); }
html.is-mmodal, html.is-mmodal body { overflow: hidden; }

/* Request Consultation pop-up (Gravity Forms): full screen, plum with a white form card */
.cmodal { padding: 0; align-items: stretch; justify-content: stretch; }
.cmodal .mmodal__bg { background: var(--plum); }
.cmodal .mmodal__panel { max-width: none; width: 100%; height: 100%; max-height: none; padding: 0; border: 0; border-radius: 0; background: transparent; overflow-y: auto; }
.cmodal .mmodal__x { position: fixed; z-index: 3; top: 28px; right: 36px; width: 56px; height: 56px; border: 1px solid rgba(244, 236, 214, .55); background: transparent; transition: background .2s; }
.cmodal .mmodal__x::before, .cmodal .mmodal__x::after { left: 17px; top: 27px; width: 20px; height: 2px; background: var(--cream); }
.cmodal .mmodal__x:hover, .cmodal .mmodal__x:focus-visible { background: var(--cream); }
.cmodal .mmodal__x:hover::before, .cmodal .mmodal__x:hover::after, .cmodal .mmodal__x:focus-visible::before, .cmodal .mmodal__x:focus-visible::after { background: var(--plum); }
.cmodal__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 110px 48px 80px; }
.cmodal__eyebrow { font: italic 400 20px/28px "Playfair Display", serif; color: #d9b081; }
.cmodal__title { margin-top: 10px; font: 400 56px/1.08 "Playfair Display", serif; color: var(--cream); }
.cmodal__for { margin-top: 18px; font: italic 400 20px/28px "Playfair Display", serif; color: #d9b081; }
.cmodal__for[hidden] { display: none; }
.cmodal__lead { margin-top: 24px; max-width: 440px; font: 400 18px/28px "Inria Serif", serif; color: rgba(244, 236, 214, .88); }
.cmodal__details { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(217, 176, 129, .4); font: 400 17px/26px "Inria Serif", serif; color: var(--cream); }
.cmodal__details li { display: grid; grid-template-columns: 72px 1fr; margin-top: 10px; }
.cmodal__details span { color: #d9b081; font-style: italic; }
.cmodal__details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cmodal__card { padding: 48px 52px 52px; background: #fff; border-radius: 39px; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.cmodal__form { text-align: left; }
.cmodal__note { font: 400 16px/26px "Inria Serif", serif; color: var(--ink); }
.cmodal .mmodal__orig { color: var(--plum); }
.cmodal .gform_wrapper { margin: 0; }
.cmodal .gform_wrapper .gfield_label, .cmodal .gform_wrapper legend { font: italic 400 16px/22px "Inria Serif", serif; color: var(--ink); }
.cmodal .gform_wrapper input[type="text"], .cmodal .gform_wrapper input[type="email"], .cmodal .gform_wrapper input[type="tel"], .cmodal .gform_wrapper input[type="date"],
.cmodal .gform_wrapper select, .cmodal .gform_wrapper textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--grey); border-radius: 16px; background: #fff; font: 400 16px/22px "Inria Serif", serif; color: var(--ink);
}
.cmodal .gform_wrapper input:focus, .cmodal .gform_wrapper select:focus, .cmodal .gform_wrapper textarea:focus { outline: 2px solid #d9b081; outline-offset: 1px; }
.cmodal .gform_wrapper .gform_button, .cmodal .gform_wrapper input[type="submit"] {
	min-width: 220px; height: 53px; padding: 0 28px; border: 1px solid var(--cream); border-radius: 32px; background: var(--plum); color: #fff; font: 400 18px/1 "Inria Serif", serif; cursor: pointer;
}
.cmodal .gform_wrapper .gform_button:hover, .cmodal .gform_wrapper input[type="submit"]:hover { background: #4b1a4b; }
.ui-datepicker, .flatpickr-calendar { z-index: 1000 !important; }
.cmodal .gform_wrapper .gfield_radio label, .cmodal .gform_wrapper .gfield_checkbox label { font: 400 16px/22px "Inria Serif", serif; color: var(--ink); }
.cmodal .gform_wrapper .gform_confirmation_message { font: 400 17px/26px "Inria Serif", serif; color: var(--ink); }
.mcard .mphoto, .mfeat .mphoto, .mrow { cursor: pointer; }
.mmeta .x-mlab:first-child { padding-left: 0; }

/* ==========================================================================
   Below 1000px: stacked layout
   ========================================================================== */

@media (max-width: 999px) {
	.stage, .tabs.is-on { zoom: 1; width: auto; height: auto; min-height: 0; overflow: hidden; display: block; padding: 0 20px 40px; }
	.stage--contact { overflow: hidden; }
	.blk { height: auto; }

	.a { position: static; left: auto; top: auto; width: auto; height: auto; }
	.t { line-height: 1.3; }
	.star { position: relative; left: auto; top: auto; display: block; width: 72px; height: 68px; margin: 0 auto; }

	/* Header */
	.fxhead { position: relative; height: auto; background: #fff; }
	.fxhead__in { zoom: 1; width: auto; height: auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
	.fxhead__brand { position: static; display: flex; align-items: center; gap: 12px; width: auto; height: auto; }
	.fxhead__brand .star { width: 40px; height: 38px; margin: 0; }
	.fxhead__logo img { height: 56px; }
	.fxhead__name { position: static; width: auto; height: auto; display: block; line-height: 1.2; }
	.fxhead__toggle { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
	.fxhead__toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: #1c1c1c; }
	.fxnav { position: static; display: none; width: 100%; height: auto; flex-direction: column; align-items: stretch; padding: 10px 0 6px; }
	.fxhead.is-open .fxnav { display: flex; }
	.fxnav ul { flex-direction: column; gap: 0; }
	.fxnav li { margin: 0; }
	.fxnav li a { width: auto; height: auto; padding: 12px 4px; justify-content: flex-start; line-height: 1.2; font-size: 17px; }
	.fxnav__cta { width: 100%; height: 48px; margin-top: 8px; }
	.fxnav__cta::before { left: 0; top: 3px; width: 100%; height: 42px; }

	/* Banner */
	.band { position: relative; height: 130px; margin-top: 20px; border-radius: 28px; }
	.hero-photo { display: none; }
	.stage > .x-hero, .stage > .x-heroc, .blk > .x-hero, .blk > .x-heroc {
		position: absolute; left: 20px; right: 20px; top: 20px; height: 130px; text-align: center; justify-content: center; font-size: 44px; line-height: 1.1;
	}
	.stage, .blk { position: relative; }

	/* About: hero cards */
	.vcard { display: block; padding: 24px 20px; margin-top: 18px; text-align: center; }
	.vcard .a { margin-top: 10px; }
	.vcard .x-ct { font-size: 24px; }

	/* About: Meet Dr Deo */
	.stage--dr { padding-top: 24px; }
	.dr-panel { display: none; }
	.x-meet { font-size: 38px; line-height: 1.15; }
	.x-h40 { font-size: 30px; line-height: 1.2; margin-top: 22px; }
	.dr-portrait { width: 100%; height: auto; margin: 14px 0; }
	.dr-bg p, .dr-qual li { margin-bottom: 10px; font-size: 15px; line-height: 1.55; text-align: left; }
	.dr-qual { padding-left: 20px !important; }
	.dr-blur { display: none; }
	.x-how { margin-top: 26px; font-size: 26px; }
	.bubble { position: relative; display: block; margin: 12px auto 0; max-width: 360px; background: var(--ink); border-radius: 28px; padding: 24px 22px 20px; text-align: center; }
	.bubble__box, .bubble__tail { display: none; }
	.bubble .x-quote { font-size: 16px; }
	.bubble__more { display: inline-flex; width: 140px; height: 24px; margin-top: 12px; align-items: center; justify-content: center; line-height: 1; }
	.years { position: relative; width: 240px; height: 240px; margin: 28px auto 0; }
	.years__text { position: static; transform: scale(.85); height: 240px; margin: 0 auto; }

	/* About: bodies, facilities, FAQ */
	.stage--meet { padding-top: 30px; }
	.stage--meet .blk { height: auto; }
	.x-pb { font-size: 38px; line-height: 1.15; margin-top: 26px; }
	.x-pbt { margin-top: 8px; }
	.body-dot { display: inline-flex; width: 52px; height: 55px; margin: 20px 8px 0; }
	.stage--meet .blk > .body-dot { vertical-align: top; }
	.facility { display: block; margin-top: 18px; text-align: center; }
	.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
	.tile { position: relative; width: auto; height: 120px; border-radius: 22px; }
	.tile:nth-child(1), .tile:nth-child(4) { grid-column: span 2; }
	.x-fac36, .x-fac35 { font-size: 28px; line-height: 1.2; }
	.faqblk { min-height: 0; padding-top: 30px; }
	.faqblk > .x-faqh { font-size: 44px; text-align: left; align-items: flex-start; }
	.faqblk > .pill3 { display: inline-flex; width: auto; height: auto; margin: 10px 8px 0 0; padding: 8px 18px; font-size: 16px; line-height: 1.2; }
	.faqblk__rows { margin: 18px 0 0; width: auto; }
	.frows { --rw: 100%; }
	.frow__q { width: 100%; height: auto; min-height: 56px; padding: 12px 36px 12px 0; }
	.frow__t { height: auto; display: block; line-height: 1.35; }
	.frow__q::after { top: auto; bottom: 0; }
	.frow__plus { left: auto; right: 4px; width: 18px; top: 50%; }
	.frow__plus::before { top: -9px; height: 18px; }
	.frow__a { width: 100%; }
	.frows--about .frow, .sp__faq .frow { margin-top: 0 !important; }
	.cta { position: relative; height: 120px; border-radius: 24px; }
	.blk > .cta__btn, .sp__cta-btn { position: absolute; left: 50%; transform: translateX(-50%); width: 260px; height: 50px; margin-top: -86px; }
	.stage--meet .blk:last-child { height: 140px; padding-top: 0; }

	/* Services */
	.x-choose { font-size: 38px; line-height: 1.15; margin: 28px 0 12px; }
	.scard { display: block; margin-top: 16px; padding: 22px 20px; text-align: center; }
	.scard .a { margin-top: 8px; }
	.scard .x-sd { text-align: center !important; }
	.scard .pill3 { display: inline-flex; width: 179px; height: 53px; align-items: center; justify-content: center; }
	.tabs.is-on { padding: 0 20px 40px; }
	.tabs__side, .tabs__main { flex: none; margin: 0; padding: 0; }
	.tabs__side::before, .tabs__main::before, .tabs__bar { display: none; }
	.stage.cattabs { display: flex; gap: 10px; padding: 24px 20px 4px; }
	.cattab { flex: 1 1 0; width: auto; height: 56px; padding: 0 10px; border-radius: 28px; font-size: 17px; line-height: 1.15; text-align: center; }
	.svcs { margin: 0; }
	.svc, .svc:nth-child(n) { margin-top: 12px; }
	.svc__bar { width: 100%; margin: 0; border-radius: 14px; height: 56px; }
	.svc__name, .svc.is-on .svc__name { margin: 0 auto; width: auto; height: 100%; font-size: 26px; }
	.svc__secs, .svc:nth-child(n) .svc__secs { margin-top: 4px; }
	.svc__sec { margin: 0 auto; width: 100%; min-height: 40px; padding: 8px 12px; font-size: 19px; line-height: 24px; }
	.explore { margin: 20px auto 0; }
	.sp__title { margin: 30px 0 0; width: auto; height: auto; font-size: 38px; line-height: 1.15; }
	.sp__band { margin: 16px 0 0; width: auto; height: 110px; }
	.sec__title { margin: 22px 0 0; height: auto; font-size: 26px; line-height: 1.2; }
	.sec__body { margin: 10px 0 0; width: auto; }
	.sec__bullets { margin: 14px 0 0; width: auto; }
	.sec__h1 { margin: 24px 0 0; font-size: 22px; line-height: 1.25; }
	.sec__h2 { margin: 18px 0 0; font-size: 18px; }
	.sec__list { margin: 10px 0 0; width: auto; }
	.svc__name--long, .svc.is-on .svc__name--long { width: auto; margin: 0 auto; font-size: 22px; }
	.svc__bar--xl { height: auto; min-height: 56px; }
	.svc__name--xl, .svc.is-on .svc__name--xl { width: auto; margin: 0 auto; padding: 0 12px; font-size: 21px; line-height: 24px; }
	.sp__title--long { font-size: 30px; line-height: 1.2; }
	.sp__faq { margin: 24px 0 0; }
	.sp__faq-h { position: static; height: auto; font-size: 26px; }
	.sp__faq .frows { margin: 6px 0 0; width: auto; }
	.sp__cta { margin: 28px 0 0; width: auto; }
	.sp__cta-btn { left: 50%; top: auto; bottom: 21px; margin: 0; transform: translateX(-50%); }

	/* Contact */
	.cdet { display: none; }
	.stage--contact .blk--ov > .inter { margin-top: 14px; text-align: center; }
	.cpanel { position: relative; display: block; border-radius: 28px; }
	.stage--contact .cpanel { display: none; }
	.x-git { font-size: 44px; text-align: center; background: var(--grey); border-radius: 28px 28px 0 0; padding: 24px 0 0; margin-top: 24px; }
	.fxform { background: var(--grey); padding: 16px 20px 30px; border-radius: 0 0 28px 28px; margin-top: 0; }
	.fxform .cpattern, .fxform .cphone, .fxform .x-hear, .fxform .x-lab--2 { display: none; }
	.cf-note { margin: 4px 0 12px; }
	.tog { display: flex; margin: 0 0 10px; height: 48px; width: 100%; }
	.tog span { transform: none; line-height: 44px; }
	.fld { display: block; position: relative !important; width: 100% !important; height: auto !important; margin: 10px 0 0; }
	.fld__l, .fld__i { position: static; display: block; }
	.fld__l { width: auto; height: auto; line-height: 1.2; font-size: 18px; margin: 0 0 4px; }
	.fld__i { width: 100%; }
	.timebtn { display: inline-flex; width: 31% !important; height: 48px; margin: 10px 1% 0 0; align-items: center; justify-content: center; }
	.timebtn span { font-size: 18px; line-height: 1; }
	.submit { display: flex; width: 100%; height: 56px; margin-top: 22px; }

	/* Footer */
	.ftr { padding: 30px 20px; }
	.ftr__bg { position: absolute; inset: 0; border-radius: 26px; }
	.ftr > * { position: relative; z-index: 1; }
	.ftr > .ftr__bg { position: absolute; }
	.ftr .f-name, .ftr .f-tag, .ftr .f-motto, .ftr .f-h { display: block; line-height: 1.3; }
	.ftr .f-name { font-size: 40px; }
	.ftr .f-motto { font-size: 40px; margin-top: 6px; }
	.ftr .f-h { margin-top: 22px; font-size: 22px; }
	.ftr__logo, .f-line, .f-vline, .f-dot { display: none; }
	.f-links, .f-contact { margin: 8px 0 0; font-size: 15px; line-height: 1.7; }
	.f-social { display: inline-block; width: 34px; height: 34px; margin: 10px 14px 0 0; }

	/* Media */
	.stage--media { padding-bottom: 30px; }
	.x-mt60, .x-mt40 { font-size: 38px; line-height: 1.15; margin: 28px 0 12px; }
	.mcard, .mfeat { display: block; position: relative; margin-top: 18px; background: #fff; border: 1px solid var(--grey); border-radius: 30px; overflow: hidden; padding-bottom: 18px; }
	.mcard .mbox, .mfeat .mbox { display: none; }
	.mphoto { display: block; width: 100%; height: auto; margin: 0; }
	.mcard > .a:not(.mphoto), .mfeat > .a:not(.mphoto):not(.mplay) { margin: 12px 20px 0; text-align: left; }
	.mfeat .mplay { display: none; }
	.mcard .x-mttl, .mfeat .x-mttl25 { align-items: flex-start; font-size: 22px; line-height: 1.25; }
	.mmeta { height: auto; margin-left: 12px; margin-right: 12px; }
	.mmeta .x-mlab { padding: 0 8px; }
	.mclamp { -webkit-line-clamp: 3; line-clamp: 3; }
	.mtags { display: flex; flex-wrap: wrap; gap: 8px; }
	.mtag { width: 75px; height: 17px; }
	.x-mex { font-size: 13px; line-height: 1.6; }
	.mfilters { display: grid; gap: 10px; margin-top: 14px; position: relative; }
	.mfilters .mpill { position: relative; display: block; height: 49px; }
	.mchev, .msearch { display: none; }
	.stage--media .mfeat { order: 0; }
	.x-mint { margin-top: 6px; align-items: flex-start; }
	.x-mh { display: none; }
	.stage--media > .cta { position: relative; height: 120px; margin-top: 26px; }
	.stage--media > .cta__btn { position: relative; display: flex; width: 260px; height: 50px; margin: -85px auto 36px; }
	.mpill select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='8' viewBox='0 0 22 8' fill='none' stroke='%23d9d9d9'%3E%3Cpath d='M.5 1L11 7.5 21.5 1'/%3E%3C/svg%3E") no-repeat right 22px center; }
	.mpill input[type="search"] { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='25' viewBox='0 0 26 25' fill='none' stroke='%23d9d9d9' stroke-width='3'%3E%3Ccircle cx='9.7' cy='9.7' r='8.2'/%3E%3Cpath d='M15.8 15.2l8.7 8.7'/%3E%3C/svg%3E") no-repeat right 20px center; }
	.mlist { display: block; margin-top: 16px; }
	.mrow { position: relative; display: grid; gap: 6px; padding: 14px 0; }
	.mrow::before { top: 0; }
	.mrow.is-last::after { top: auto; bottom: 0; }
	.mrow .a { margin: 0; text-align: left; justify-content: flex-start; }
	.mrow .x-mrow { font-size: 18px; line-height: 1.3; }
	.mrow .mchip { display: inline-flex; width: auto; height: auto; padding: 2px 12px; justify-self: start; }
	.mrow .x-mplat { font-size: 16px; }
	.mmodal__panel { padding: 26px 20px 22px; border-radius: 22px; }
	.mmodal__title { font-size: 20px; line-height: 26px; }
	.cmodal .mmodal__panel { padding: 0; border-radius: 0; }
	.cmodal .mmodal__x { top: 14px; right: 14px; width: 46px; height: 46px; background: var(--plum); }
	.cmodal .mmodal__x::before, .cmodal .mmodal__x::after { left: 13px; top: 22px; width: 18px; }
	.cmodal__wrap { grid-template-columns: 1fr; gap: 28px; padding: 76px 20px 40px; }
	.cmodal__title { font-size: 36px; }
	.cmodal__lead { font-size: 16px; line-height: 25px; }
	.cmodal__details { margin-top: 22px; padding-top: 18px; }
	.cmodal__card { padding: 26px 20px 30px; border-radius: 26px; }
}
