/*
 * Page scale and the sections shared by several pages.
 *
 * --s is one Figma pixel: 1px at 1728 (capped there), smaller down to 1200 (desktop frames); under 1200 it follows
 * the 440 mobile frame, capped at 768px wide (no tablet design: portrait tablets get the phone layout edge to edge,
 * landscape ones a centred 768 column). Art-directed layouts use it; text uses the fluid tokens from theme.json
 * (under 1200 they follow the column — base.css), so text never shrinks below its mobile size. Spacing *between* sections is in each
 * page's CSS (pages/*.css): Figma spaces them differently per page.
 */

.zain-main {
	--s: calc(min(100cqw, 1728px) / 1728);
	container-type: inline-size;
	overflow-x: clip;
}

:where(.zain-main > *, .zain-main .wp-block-post-content > *) {
	box-sizing: border-box;
	position: relative;
	margin-inline: auto;
}

:where(.zain-main) p,
:where(.zain-main) h1,
:where(.zain-main) h2,
:where(.zain-main) h3,
:where(.zain-main) figure {
	margin: 0;
}

/* Content image with Figma's crop: --zw/--zh/--zx/--zy from the fill's image transform (default = cover) */
.zain-crop {
	position: relative;
	overflow: hidden;
}

.zain-crop img {
	position: absolute;
	top: var(--zy, 0);
	left: var(--zx, 0);
	width: var(--zw, 100%);
	max-width: none;
	height: var(--zh, 100%);
	object-fit: cover;
}

.zain-show-mobile {
	display: none;
}

/* ------------------------------------------------------------------ Page intro (title + photo) — About 281:2160, Qualifications 335:494
 * The title sits on the bottom of a fixed band (134→382 desktop, 127→251 mobile), so the photo starts at the same
 * place whether the title has one line or two.
 */

.zain-page-intro {
	display: grid;
	grid-template-rows: minmax(calc(248 * var(--s)), auto) auto;
	width: calc(1628 * var(--s));
}

.zain-page-intro__title {
	align-self: end;
	padding-left: calc(180 * var(--s));
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--hero);
	line-height: var(--wp--custom--line-height--hero);
}

.zain-page-intro__photo {
	height: calc(641 * var(--s));
	margin-top: calc(41 * var(--s));
	border-radius: calc(40 * var(--s));
}

/* ------------------------------------------------------------------ Experience (zain/experience) — Home band 199:1276; Qualifications card 335:594 */

.zain-experience {
	width: calc(1728 * var(--s));
	min-height: calc(922 * var(--s));
	/* Bottom 305: the text keeps clear of the yellow band. The art scales with the width, the text doesn't, so on
	   1200–1500 laptops the band crossed the stats (feedback 2026-11-02); now the band grows downward instead.
	   At 1728 min-height still decides (stats end 615 + 305 < 922). */
	padding: calc(165 * var(--s)) calc(150 * var(--s)) calc(305 * var(--s)) calc(744 * var(--s));
	background: image-set(url(../img/home/experience-art-1x.webp) 1x, url(../img/home/experience-art.webp) 2x) center bottom / 100% auto no-repeat;
	/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
	background: image-set(url(../img/home/experience-art-1x.avif) type("image/avif") 1x, url(../img/home/experience-art.avif) type("image/avif") 2x, url(../img/home/experience-art-1x.webp) type("image/webp") 1x, url(../img/home/experience-art.webp) type("image/webp") 2x) center bottom / 100% auto no-repeat;
}

/* The band runs edge to edge as in Figma. The cream (67% sand) is painted once, here — painted on the section too,
   the 1728 middle came out darker than the sides (2026-11-03) */
.zain-experience::before {
	content: "";
	position: absolute;
	inset: 0 calc(50% - 50cqw);
	z-index: -1;
	background: var(--wp--custom--color--sand);
}

/* Wider than the 1728 page: the art moves to the full-width layer, its yellow and pink bands carried on to 3840
   (experience-art-wide: scripts/build-images.py "bleed" — the bands' own grain, continued at their slope). Only
   screens this wide download it. */
@media (min-width: 1729px) {
	.zain-page-home .zain-experience {
		background: none;
	}

	.zain-page-home .zain-experience::before {
		background: image-set(url(../img/home/experience-art-wide-1x.webp) 1x, url(../img/home/experience-art-wide.webp) 2x) center bottom / 3840px auto no-repeat, var(--wp--custom--color--sand);
		/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
		background: image-set(url(../img/home/experience-art-wide-1x.avif) type("image/avif") 1x, url(../img/home/experience-art-wide.avif) type("image/avif") 2x, url(../img/home/experience-art-wide-1x.webp) type("image/webp") 1x, url(../img/home/experience-art-wide.webp) type("image/webp") 2x) center bottom / 3840px auto no-repeat, var(--wp--custom--color--sand);
	}
}

.zain-experience__title {
	max-width: calc(762 * var(--s));
	color: var(--wp--preset--color--forest);
	font-size: var(--wp--preset--font-size--display);
	line-height: var(--wp--custom--line-height--display);
}

.zain-experience__stats {
	display: grid;
	/* Figma columns are 278 wide (the value's min-width); a value wider than that (e.g. "BABCP" near 1200px) widens its
	   column up to a third of the room, then wraps between words — a longer value can't push the last column out */
	--room: 984;
	grid-template-columns: repeat(3, fit-content(calc(var(--room) / 3 * var(--s))));
	margin-top: calc(99 * var(--s));
	margin-right: calc((834 - var(--room)) * var(--s)); /* the columns' 834 + room to grow into the empty right margin */
}

.zain-stat__value {
	min-width: calc(278 * var(--s));
	padding-bottom: 8px;
	overflow-wrap: normal; /* never split a short value like "BABCP" mid-word */
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: var(--wp--preset--font-size--stat);
	font-weight: 300;
	line-height: var(--wp--custom--line-height--stat);
}

.zain-stat--word .zain-stat__value {
	padding-bottom: 0;
	font-size: var(--wp--preset--font-size--stat-word);
	line-height: var(--wp--custom--line-height--stat-word);
}

.zain-stat__text {
	contain: inline-size; /* the column is sized by the value, the text wraps inside it */
	margin-top: 33px;
	padding-right: 16px; /* columns never touch when they narrow (1200); inside Figma's 278 at 1728 */
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--regular);
	line-height: var(--wp--custom--line-height--regular);
}

/* Figma's line breaks fit its 278 columns; narrower (1200–1599) they left one-word lines — let the text wrap */
@media (min-width: 1200px) and (max-width: 1599px) {
	.zain-stat__text br {
		display: none;
	}
}

.zain-stat--word .zain-stat__text {
	margin-top: 41px; /* Figma: 43 below a 78px text box; the 80px line box is 2px taller */
}

/* Qualifications: the band is a rounded card (335:594) with its own art */
.zain-page-qualifications .zain-experience {
	width: calc(1628 * var(--s));
	padding-right: calc(100 * var(--s));
	padding-left: calc(694 * var(--s));
	overflow: hidden;
	border-radius: calc(30 * var(--s));
	background: image-set(url(../img/quals/experience-art-1x.webp) 1x, url(../img/quals/experience-art.webp) 2x) center bottom / 100% auto no-repeat, var(--wp--custom--color--ivory);
	/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
	background: image-set(url(../img/quals/experience-art-1x.avif) type("image/avif") 1x, url(../img/quals/experience-art.avif) type("image/avif") 2x, url(../img/quals/experience-art-1x.webp) type("image/webp") 1x, url(../img/quals/experience-art.webp) type("image/webp") 2x) center bottom / 100% auto no-repeat, var(--wp--custom--color--ivory);
}

.zain-page-qualifications .zain-experience__stats {
	--room: 934; /* the card's right padding is 100, not 150 */
}

.zain-page-qualifications .zain-experience::before {
	display: none;
}

/* ------------------------------------------------------------------ Book a consultation (zain/book-consultation) */

.zain-book {
	/* Row 1 = the text, and the butter band behind it. Row 2 = what the calendar hangs below the band. Figma draws
	   128 there (calendar-card 882:1038 ends at 8592, the band 882:1017 at 8464) and starts the footer at the band's
	   bottom, so the section gives those 128 back: the footer keeps Figma's distance from the calendar's bottom
	   (149 to the links on Home, 169 on About) when the calendar is taller than drawn — a 6-week month, or the band
	   scaled down under a calendar that keeps its px sizes. */
	--zain-book-hang: 128px;
	display: grid;
	grid-template-columns: calc(628 * var(--s)) calc(628 * var(--s));
	grid-template-rows: auto minmax(var(--zain-book-hang), 1fr);
	justify-content: space-between;
	align-items: start;
	width: calc(1728 * var(--s));
	margin-bottom: calc(-1 * var(--zain-book-hang));
	padding: 0 calc(230 * var(--s)) 0 calc(236 * var(--s));
}

.zain-book::before {
	content: "";
	position: absolute;
	grid-row: 1 / 2; /* the text's row only, edge to edge (no column lines: the padding box) */
	inset: 0;
	z-index: -1;
	border-radius: calc(30 * var(--s));
	background: var(--wp--custom--color--butter);
}

.zain-book__text {
	box-sizing: border-box;
	min-height: calc(779 * var(--s)); /* the band; grows with its text: the text keeps px floors while the band
	                                     scales (at 1200 the email sat 63px below it) */
	padding: calc(175 * var(--s)) 0 calc(100 * var(--s)); /* Figma leaves 175 under the email at 1728 */
}

.zain-book__title {
	max-width: calc(465 * var(--s));
	color: var(--wp--preset--color--black);
	font-size: var(--wp--preset--font-size--display);
	line-height: var(--wp--custom--line-height--display);
}

.zain-book__lead {
	max-width: calc(486 * var(--s));
	margin-top: 40px;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--lead);
	line-height: var(--wp--custom--line-height--lead);
}

.zain-book__label {
	margin-top: 81px;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--large);
	line-height: var(--wp--custom--line-height--large);
}

.zain-book__email {
	margin-top: 20px;
}

.zain-book__email .wp-block-button__link {
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--heading-3);
	text-decoration: none;
}

.zain-book__email .wp-block-button__link:hover {
	color: var(--wp--preset--color--forest);
	text-decoration: underline;
}

.zain-book__calendar {
	/* Spans both rows: only the text sets the band's height (row 1) and the calendar hangs below it as in Figma,
	   its real height counted in the page (row 2). Positioned so it stays above the footer that overlaps row 2 */
	position: relative;
	grid-area: 1 / 2 / 3 / 3;
	margin-top: calc(141 * var(--s));
	/* Home "Book Now" jumps here (#book-consultation): side by side, the whole band shows from its top */
	--zain-scroll-gap: calc(141 * var(--s) + 24px);
	scroll-margin-top: var(--zain-scroll-gap);
}

/* ------------------------------------------------------------------ Why CBT (zain/why-cbt) — Home 199:1275…; Services inside the card 296:417… */

.zain-why {
	width: calc(1268 * var(--s));
}

.zain-why__title {
	color: var(--wp--preset--color--black);
	font-size: var(--wp--preset--font-size--heading-1);
	line-height: var(--wp--custom--line-height--heading-1);
}

.zain-why__lead {
	width: calc(748 * var(--s));
	margin: calc(54 * var(--s)) 0 0 calc(520 * var(--s));
	color: var(--wp--custom--color--muted);
	font-size: var(--wp--preset--font-size--lead);
	line-height: var(--wp--custom--line-height--lead);
}

.zain-why__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, calc(333 * var(--s)));
	justify-content: space-between;
	align-items: start;
	margin-top: calc(180 * var(--s));
	padding-left: calc(1 * var(--s));
}

/* Hand-drawn arrows (199:1348 + head 199:1350, 386:2216) */
.zain-why__list::before,
.zain-why__item--patterns::after {
	content: "";
	position: absolute;
	background: center / contain no-repeat;
	pointer-events: none;
}

.zain-why__list::before {
	top: calc(30 * var(--s));
	left: calc(479 * var(--s));
	width: calc(307 * var(--s));
	aspect-ratio: 307 / 105;
	background-image: url(../svg/why-arrow-1.svg), url(../svg/why-arrow-1-head.svg);
	background-size: contain, calc(16 * var(--s));
	background-position: left top, calc(291 * var(--s)) calc(2 * var(--s));
}

/* Lower arrow, card 1 → card 2: hung 77 under card 1's text (Figma 1728: text ends 362, arrow 439), so it follows
   the text when narrower columns make it taller — placed from the list's top it ran over the text below 1440
   (pre-launch check 2026-11-03) */
.zain-why__item--patterns {
	position: relative;
}

.zain-why__item--patterns::after {
	top: calc(100% + 77 * var(--s));
	left: calc(-2 * var(--s));
	width: calc(315 * var(--s));
	aspect-ratio: 315 / 61;
	background-image: url(../svg/why-arrow-2.svg);
}

.zain-why__item::before {
	content: "";
	display: block;
	width: 94px;
	height: 94px;
	margin-bottom: 48px;
	background: center / contain no-repeat;
}

.zain-why__item--patterns::before { background-image: url(../svg/why-patterns.svg); }
.zain-why__item--skills::before { background-image: url(../svg/why-skills.svg); }
.zain-why__item--beyond::before { background-image: url(../svg/why-beyond.svg); }

.zain-why__item--skills {
	margin-top: calc(172 * var(--s));
}

.zain-why__item-title {
	margin-bottom: 24px;
	color: var(--wp--preset--color--black);
	font-size: var(--wp--preset--font-size--heading-2);
	line-height: var(--wp--custom--line-height--heading-2);
}

/* Figma's title breaks fit 333-wide columns at 1728; narrower they left one word per line — let them wrap */
@media (min-width: 1200px) and (max-width: 1499px) {
	.zain-why__item-title br {
		display: none;
	}
}

.zain-why__item-text {
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--copy);
	line-height: var(--wp--custom--line-height--copy);
}

/* ------------------------------------------------------------------ Fees (zain/fees) — Home 199:1374; Services in the yellow band 335:398 */

.zain-fees {
	display: grid;
	grid-template-columns: calc(560 * var(--s)) calc(612 * var(--s));
	grid-template-areas:
		"title  title"
		"price  policy"
		"photo  photo";
	column-gap: calc(96 * var(--s));
	width: calc(1268 * var(--s));
}

.zain-fees__title {
	grid-area: title;
	margin-bottom: 56px;
	color: var(--wp--preset--color--forest);
	font-size: var(--wp--preset--font-size--heading-1);
	line-height: var(--wp--custom--line-height--heading-1);
}

.zain-fees__price {
	grid-area: price;
}

.zain-fees__amount {
	margin-bottom: 24px;
	color: var(--wp--preset--color--forest);
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: var(--wp--preset--font-size--price);
	font-weight: 300;
	line-height: var(--wp--custom--line-height--price);
}

.zain-fees__per,
.zain-fees__concessions {
	margin-bottom: 12px;
	font-size: var(--wp--preset--font-size--detail);
	line-height: var(--wp--custom--line-height--detail);
}

.zain-fees__per {
	color: var(--wp--custom--color--near-black);
}

.zain-fees__concessions {
	color: var(--wp--preset--color--ink);
}

.zain-fees__payment {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--note);
	line-height: var(--wp--custom--line-height--note);
}

.zain-fees__policy {
	grid-area: policy;
	padding-top: 64px;
}

.zain-fees__policy h3 {
	margin-bottom: 12px;
	color: var(--wp--custom--color--heading);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--heading-3);
}

.zain-fees__policy p {
	color: var(--wp--custom--color--body-alt);
	font-size: var(--wp--preset--font-size--detail);
	line-height: var(--wp--custom--line-height--detail);
}

.zain-fees__policy p + h3 {
	margin-top: 56px;
}

.zain-fees__photo {
	grid-area: photo;
	height: calc(675 * var(--s));
	margin-top: 80px;
	border-radius: calc(20 * var(--s));
	/* Media-library photo; Figma fills the box (371:1211) */
}


/* ------------------------------------------------------------------ Question card (.zain-ask) — FAQs 344:651, legal pages 368:1166 */

.zain-ask {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 32px;
	width: calc(1628 * var(--s));
	min-height: calc(648 * var(--s));
	margin-top: calc(50 * var(--s));
	padding: calc(266 * var(--s)) calc(181 * var(--s)) calc(140 * var(--s));
	border-radius: calc(30 * var(--s));
	background: image-set(url(../img/faq/cta-bg-1x.webp) 1x, url(../img/faq/cta-bg.webp) 2x) center / cover no-repeat;
	/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
	background: image-set(url(../img/faq/cta-bg-1x.avif) type("image/avif") 1x, url(../img/faq/cta-bg.avif) type("image/avif") 2x, url(../img/faq/cta-bg-1x.webp) type("image/webp") 1x, url(../img/faq/cta-bg.webp) type("image/webp") 2x) center / cover no-repeat;
}

.zain-ask__title {
	max-width: calc(730 * var(--s));
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--display);
	line-height: var(--wp--custom--line-height--display);
}

.zain-ask__cta {
	margin: 0;
}

.zain-button--light .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 10px 34px;
	border-radius: 12px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--forest);
	font-size: var(--wp--preset--font-size--regular);
	font-weight: 600;
	line-height: var(--wp--custom--line-height--regular);
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

/* Hover and focus (FAQs and legal "Get in touch"): the hero Book Now's hover — light green, forest text (Habib 2026-11-04) */
.zain-button--light .wp-block-button__link:is(:hover, :focus-visible) {
	background: var(--wp--custom--color--forest-pale);
	color: var(--wp--preset--color--forest);
}

/* The light button sits on the green question card: a forest ring would vanish there */
.zain-button--light .wp-block-button__link:focus-visible {
	outline-color: var(--wp--preset--color--white);
}

.zain-ask--legal {
	margin-top: calc(50 * var(--s));
	background-image: image-set(url(../img/legal/cta-bg-1x.webp) 1x, url(../img/legal/cta-bg.webp) 2x);
	/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
	background-image: image-set(url(../img/legal/cta-bg-1x.avif) type("image/avif") 1x, url(../img/legal/cta-bg.avif) type("image/avif") 2x, url(../img/legal/cta-bg-1x.webp) type("image/webp") 1x, url(../img/legal/cta-bg.webp) type("image/webp") 2x);
}

/* ------------------------------------------------------------------ Mobile */

@media (max-width: 1199px) {
	.zain-main {
		--s: calc(min(100cqw, 768px) / 440);
	}

	.zain-show-desktop {
		display: none;
	}

	.zain-show-mobile {
		display: block;
	}

	.zain-page-intro {
		grid-template-rows: minmax(calc(124 * var(--s)), auto) auto;
		width: calc(416 * var(--s));
	}

	.zain-page-intro__title {
		max-width: calc(366 * var(--s));
		padding-left: calc(12 * var(--s));
	}

	/* 48px (the frame's size) is wider than "Qualifications" on a 320 phone: below 384 the title follows the screen
	   (40px at 320) so a word is never split */
	@media (max-width: 383px) {
		.zain-page-intro__title {
			font-size: 12.5vw;
			line-height: 14.0625vw;
		}
	}

	.zain-page-intro__photo {
		margin-top: 40px;
		border-radius: calc(20 * var(--s));
	}

	.zain-page-qualifications .zain-experience {
		width: calc(440 * var(--s));
		padding: calc(50 * var(--s)) calc(24 * var(--s)) calc(546 * var(--s) + 29px);
		border-radius: 0;
		background-color: var(--wp--custom--color--shell);
		background-image: image-set(url(../img/home/experience-art-m-1x.webp) 1x, url(../img/home/experience-art-m.webp) 2x);
		/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
		background-image: image-set(url(../img/home/experience-art-m-1x.avif) type("image/avif") 1x, url(../img/home/experience-art-m.avif) type("image/avif") 2x, url(../img/home/experience-art-m-1x.webp) type("image/webp") 1x, url(../img/home/experience-art-m.webp) type("image/webp") 2x);
	}

	.zain-experience {
		width: calc(440 * var(--s));
		min-height: 0;
		/* The man's head is 546 above the bottom of the art, which scales; the text doesn't. A scaled 1412 height
		   left ~700px empty on tablets (feedback 2026-11-02): the text keeps Figma's 29px over his head instead.
		   At 440: 546 + 29 = 575, as drawn (stats end 837 of 1412). */
		padding: calc(50 * var(--s)) calc(24 * var(--s)) calc(546 * var(--s) + 29px);
		background-color: var(--wp--custom--color--shell);
		background-image: image-set(url(../img/home/experience-art-m-1x.webp) 1x, url(../img/home/experience-art-m.webp) 2x);
		/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
		background-image: image-set(url(../img/home/experience-art-m-1x.avif) type("image/avif") 1x, url(../img/home/experience-art-m.avif) type("image/avif") 2x, url(../img/home/experience-art-m-1x.webp) type("image/webp") 1x, url(../img/home/experience-art-m.webp) type("image/webp") 2x);
		text-align: center;
	}

	.zain-experience::before {
		background: var(--wp--custom--color--shell);
	}

	.zain-experience__title {
		max-width: none;
	}

	.zain-experience__stats {
		grid-template-columns: 1fr;
		margin-right: 0;
		gap: 48px;
		margin-top: 68px;
		padding: 0 calc(32 * var(--s));
	}

	.zain-stat__value {
		min-width: 0;
		padding-bottom: 10px;
	}

	.zain-stat--word .zain-stat__value {
		padding-bottom: 1px;
	}

	.zain-stat__text,
	.zain-stat--word .zain-stat__text {
		margin-top: 32px;
	}

	.zain-book {
		display: block;
		width: calc(440 * var(--s));
		margin-bottom: 40px;
		padding: 0 calc(24 * var(--s));
	}

	/* The band ends 235px above the calendar's bottom (frame: 704 of 939). The calendar keeps its px size, so the
	   band is measured from the bottom in px: it always reaches the same calendar row, on any phone width */
	.zain-book::before {
		inset: 0 0 235px;
		border-radius: calc(20 * var(--s));
	}

	.zain-book__text {
		min-height: 0;
		padding: calc(71 * var(--s)) 0 0;
	}

	.zain-book__title {
		max-width: calc(360 * var(--s));
	}

	.zain-book__lead {
		max-width: none;
		margin-top: 16px;
	}

	.zain-book__label {
		margin-top: 48px;
	}

	.zain-book__email .wp-block-button__link {
		font-weight: 300;
	}

	.zain-book__calendar {
		position: relative;
		margin-top: 40px;
		--zain-scroll-gap: 24px; /* stacked: the calendar itself, under the text */
	}

	.zain-why {
		width: calc(392 * var(--s));
	}

	.zain-why__lead {
		width: calc(389 * var(--s));
		margin: 24px 0 0;
	}

	.zain-why__list {
		grid-template-columns: 1fr;
		gap: 40px;
		margin-top: 50px;
		padding: 0 calc(32 * var(--s));
	}

	.zain-why__list::before,
	.zain-why__item--patterns::after {
		display: none;
	}

	.zain-why__item--skills {
		margin-top: 0;
	}

	.zain-why__item-title {
		margin-bottom: 16px;
	}

	.zain-why__item-title br {
		display: none;
	}

	.zain-fees {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"photo"
			"price"
			"policy";
		width: calc(392 * var(--s));
	}

	.zain-fees__title {
		margin-bottom: 50px;
	}

	.zain-fees__photo {
		height: calc(440 * var(--s));
		margin: 0 0 24px;
		border-radius: calc(12 * var(--s));
		/* crop from the fill's Figma transform (386:2602) */
		--zw: 201.13%;
		--zx: -61.87%;
	}

	.zain-fees__per,
	.zain-fees__concessions {
		margin-bottom: 16px;
	}

	.zain-fees__policy {
		padding-top: 50px;
	}

	.zain-fees__policy h3 {
		font-weight: 300;
	}

	.zain-fees__policy p + h3 {
		margin-top: 32px;
	}


	.zain-ask {
		width: calc(392 * var(--s));
		min-height: calc(290 * var(--s));
		margin-top: calc(24 * var(--s));
		padding: calc(62 * var(--s)) calc(24 * var(--s));
		border-radius: calc(15 * var(--s));
		background-image: image-set(url(../img/faq/cta-bg-m-1x.webp) 1x, url(../img/faq/cta-bg-m.webp) 2x);
		/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
		background-image: image-set(url(../img/faq/cta-bg-m-1x.avif) type("image/avif") 1x, url(../img/faq/cta-bg-m.avif) type("image/avif") 2x, url(../img/faq/cta-bg-m-1x.webp) type("image/webp") 1x, url(../img/faq/cta-bg-m.webp) type("image/webp") 2x);
	}

	.zain-ask__title {
		max-width: calc(335 * var(--s));
	}

	.zain-ask--legal {
		background-image: image-set(url(../img/legal/cta-bg-m-1x.webp) 1x, url(../img/legal/cta-bg-m.webp) 2x);
		/* AVIF first (under half the bytes, same grain); browsers without image-set type() keep the line above */
		background-image: image-set(url(../img/legal/cta-bg-m-1x.avif) type("image/avif") 1x, url(../img/legal/cta-bg-m.avif) type("image/avif") 2x, url(../img/legal/cta-bg-m-1x.webp) type("image/webp") 1x, url(../img/legal/cta-bg-m.webp) type("image/webp") 2x);
	}
}
