/*
 * Home - About us.
 *
 * Read from cp-all-designer/index.html:209-262 and css/app.css:216-240, 324,
 * 1182-1253, 1259-1323, 3034-3041.
 *
 * Drawn at 1440 (app.css:113): a fixed measure carries across unchanged.
 * Colour, type, padding, the sizes, the gaps and the corners arrive from the
 * Style tab and are not repeated here.
 *
 * Left behind:
 * - `.statsband` (app.css:1182) — `.about .statsband` at 1186 sets its ground
 *   transparent and its padding to 0, so the base rule reaches this page and
 *   settles nothing. Carrying it would be carrying an override's loser.
 * - `.sb__num small` (app.css:1229) — the design's own markup prints no
 *   `<small>` inside a figure on this page.
 * - `.sb--hl` — index.html:243 puts the class on the third figure and
 *   app.css gives it no rule at all, so it draws nothing. A hook with nothing
 *   behind it is reported, not carried.
 * - `.h-ghost .num` (app.css:260) and every `.jb` rule.
 */

.custom-home-about-us {
	position: relative;
	display: block;
	overflow: hidden;
	box-sizing: border-box;
}

/* app.css:1260 — one outline ring off the right edge. */
.custom-home-about-us__ring {
	position: absolute;
	top: 50%;
	right: -300px;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	border-width: 60px;
	border-style: solid;
	transform: translateY(-50%);
	pointer-events: none;
}

.custom-home-about-us__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1920px;                     /* the content cap, every band */
}

/* app.css:1266 — two columns of equal share. */
.custom-home-about-us__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
}

.custom-home-about-us__column {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

/* ------------------------------------------------------------------ */
/* The copy                                                            */
/* ------------------------------------------------------------------ */

/* The copy block itself carries no design beyond holding its column. */
.custom-home-about-us__copy {
	min-width: 0;
}

.custom-home-about-us__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	font-size: 12px;
	font-weight: 600;
	/* app.css:190 measures 1.15px; every px value here is even. */
	letter-spacing: 2px;
	text-transform: uppercase;
}

.custom-home-about-us__title {
	margin-top: 0;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.custom-home-about-us__title em {
	position: relative;
	display: inline-block;
	font-style: normal;                    /* app.css:255-260: upright, a step larger than its line */
	font-weight: 700;
	font-size: 108%;  
}

.custom-home-about-us__title em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 8px;
	border-radius: 4px;                    /* app.css:238 measures 3px */
	background: currentColor;
	opacity: 0.18;
}

/* app.css:228-231 — the number inside the accent carries its own weight. */
.custom-home-about-us__title-figure {
	font-weight: 700;
	font-style: normal;
}

.custom-home-about-us__body {
	margin: 0 0 10px;                      /* app.css:1280 min(11, 1.1*9) */
	font-weight: 300;
	line-height: 1.45;
	max-width: none;
}

/* ---- the press — app.css:290-300, 1283 ---- */
.custom-home-about-us__button {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 12px;                             /* app.css:291 measures 11px */
	margin-top: 10px;
	padding: 16px 30px;                    /* app.css:293 measures 15px 30px */
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.4;
	border-width: 2px;                     /* app.css:293 measures 1.5px */
	border-style: solid;
	border-radius: 16px;
	cursor: pointer;
	transition: background-color 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            color 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            box-shadow 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
	--custom-press-edge: transparent;
	--custom-press-shadow: none;
}

.custom-home-about-us__button:hover {
	transform: translateY(-2px);
	--custom-press-shadow: 0 14px 30px rgba(80, 163, 213, 0.3);   /* app.css:301 */
}

.custom-home-about-us__button-mark {
	line-height: 1;
}

/* ------------------------------------------------------------------ */
/* The band of figures                                                 */
/* ------------------------------------------------------------------ */

.custom-home-about-us__figures {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	margin-top: 26px;                      /* app.css:1186 min(26, 2.8*9) */
	color: #FFFFFF;
	box-shadow: 0 34px 80px -20px rgba(22, 65, 140, 0.3);   /* --sh-lg, app.css:147 */
}

.custom-home-about-us__figures-picture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 0.5;                          /* app.css:1206 */
}

.custom-home-about-us__figures-picture > img,
.custom-home-about-us__figures-picture > video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.custom-home-about-us__figures::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;                           /* app.css:1212 */
}

.custom-home-about-us__figures-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
}

.custom-home-about-us__figure {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 4px 0;
	text-align: center;
}

/* app.css:1223-1228, with the band's own colours at 1203-1205. */
.custom-home-about-us__figure-value {
	align-self: stretch;
	margin-bottom: 10px;                   /* min(11, 1.1*9) */
	padding-bottom: 10px;
	font-weight: 700;
	line-height: 1;
	/* app.css:1225 measures -.03em, which is -1.26px at the desktop size. */
	color: #FFFFFF;
	border-bottom-width: 2px;              /* app.css:1227 measures 1px */
	border-bottom-style: solid;
	border-bottom-color: rgba(255, 255, 255, 0.32);
}

.custom-home-about-us__figure-name {
	font-weight: 600;
	line-height: 1.4;
	color: #FFFFFF;
}

.custom-home-about-us__figure-note {
	margin: 8px 0 0;                       /* app.css:1245 min(7, .8*9) */
	font-size: 12px;                       /* clamp(12, .9*14.4, 14) */
	font-weight: 300;
	line-height: 1.55;
	max-width: 100%;
	color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------------ */
/* The picture and its caption                                         */
/* ------------------------------------------------------------------ */

.custom-home-about-us__visual {
	position: relative;
	display: flex;
	min-width: 0;
	overflow: visible;
}

.custom-home-about-us__visual-picture {
	width: 100%;
	height: 100%;
	min-height: inherit;
	border-radius: inherit;
	box-shadow: 0 34px 80px -20px rgba(22, 65, 140, 0.3);   /* --sh-lg */
}

.custom-home-about-us__visual-picture > img,
.custom-home-about-us__visual-picture > video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: inherit;
}

/* app.css:1295-1300 — the caption steps off the left edge of the picture. */
.custom-home-about-us__caption {
	position: absolute;
	left: -18px;                           /* clamp(-18, -1.4*14.4, 0) */
	bottom: 22px;                          /* clamp(14, 1.5*14.4, 22) */
	box-sizing: border-box;
	width: min(74%, 380px);
	padding: 20px 24px;                    /* clamp(14,1.4*14.4,19) → even, clamp(18,1.7*14.4,24) */
	border-radius: 4px 30px 4px 30px;
	box-shadow: 0 18px 44px -14px rgba(22, 65, 140, 0.2);   /* --sh, app.css:146 */
}

.custom-home-about-us__caption-name {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	/* app.css:1303 measures .1em, which is 1.2px here; every px value is even. */
	letter-spacing: 2px;
	text-transform: uppercase;
}

.custom-home-about-us__caption-text {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

/* ------------------------------------------------------------------ */
/* Tablet — 768px to 1024px                                            */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.custom-home-about-us__grid {
		grid-template-columns: 1fr;        /* app.css:1310 */
	}
	.custom-home-about-us__visual {
		order: -1;                         /* app.css:1311 */
		display: block;
	}
	.custom-home-about-us__caption {
		position: static;                  /* app.css:1313 */
		width: auto;
		margin-top: 12px;
		padding: 14px 16px;
	}
	.custom-home-about-us__body {
		line-height: 1.55;                 /* app.css:1314 */
		margin-bottom: 10px;
	}
	.custom-home-about-us__button {
		margin-top: 8px;                   /* app.css:1315 */
	}
	/* app.css:903 — the author's own line breaks close up below the wide tier. */
	.custom-home-about-us__body br {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Mobile — up to 767px                                                */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.custom-home-about-us__ring {
		display: none;
	}
	.custom-home-about-us__caption {
		display: none;                     /* app.css:1321 */
	}
	.custom-home-about-us__body {
		line-height: 1.42;                 /* app.css:3035 */
		margin-bottom: 6px;                /* measures 5px */
	}
	.custom-home-about-us__figures {
		margin-top: 18px;                  /* app.css:3037 */
	}
	.custom-home-about-us__figure-value {
		padding-bottom: 6px;               /* app.css:3039 measures 5px */
		margin-bottom: 6px;
	}
	.custom-home-about-us__figure-note {
		display: none;                     /* app.css:1253 */
	}
	.custom-home-about-us__button {
		padding: 12px 18px;                /* app.css:3041 measures 11px 18px */
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-home-about-us__button {
		transition: none;
	}
	.custom-home-about-us__button:hover {
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* One band, one screen — desktop only                                 */
/* ------------------------------------------------------------------ */

/* app.css:336-338 (.sec) gives this band the window's height, and app.css:2830 hands it back
   at 1024 and below, where the content sets the height as it does everywhere
   else. min-height, so a band that outgrows the window takes the room it needs
   and the page scrolls rather than cutting anything off. */
@media (min-width: 1025px) {
	.custom-home-about-us {
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	/* A flex item with auto side margins shrinks to its own content, so the
	   content box is told its width again: the whole band, up to the cap. */
	.custom-home-about-us > .custom-home-about-us__inner {
		width: 100%;
	}
}
