/* =========================================================================
   Involved Meet the Team - front end
   All tokens live on .ihmt-page (never :root) so nothing leaks sitewide.
   Every class is prefixed ihmt-.
   ========================================================================= */

.ihmt-page {
	--ihmt-navy: #1E4681;
	--ihmt-navy-deep: #14305A;
	--ihmt-blue: #1D5795;
	--ihmt-sky: #3A99C5;
	--ihmt-gold: #C4972A;
	--ihmt-gold-dark: #8E6A16;
	--ihmt-sand: #E0C88E;
	--ihmt-sand-light: #E8D6AC;
	--ihmt-cream: #FAF7F1;
	--ihmt-ink: #243447;
	--ihmt-body: #3E4E63;
	--ihmt-body-soft: #4C5C71;
	--ihmt-muted: #7C8CA3;
	--ihmt-line: rgba(30, 70, 129, 0.12);
	--ihmt-shell: 1240px;
	--ihmt-pad: 40px;
	--ihmt-card-min: 310px;

	font-family: Lato, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: var(--ihmt-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.ihmt-page * {
	box-sizing: border-box;
}

/* Nothing in this plugin is set in capitals: headings and labels are written
   in sentence case. !important is needed because the parent theme uppercases
   headings. */
.ihmt-page,
.ihmt-page *,
.ihmt-page *::before,
.ihmt-page *::after {
	text-transform: none !important;
}

/* --- headshot background tones ----------------------------------------
   The headshots are cut-outs on a transparent background, so each one sits on
   a brand colour. Cards cycle through the four in team order, and a person's
   profile page uses the same colour as their card. */

.ihmt-card.ihmt-tone-1 .ihmt-card__media,
.ihmt-profile.ihmt-tone-1 .ihmt-profile__img { background: var(--ihmt-navy); }

.ihmt-card.ihmt-tone-2 .ihmt-card__media,
.ihmt-profile.ihmt-tone-2 .ihmt-profile__img { background: var(--ihmt-gold); }

.ihmt-card.ihmt-tone-3 .ihmt-card__media,
.ihmt-profile.ihmt-tone-3 .ihmt-profile__img { background: var(--ihmt-sky); }

.ihmt-card.ihmt-tone-4 .ihmt-card__media,
.ihmt-profile.ihmt-tone-4 .ihmt-profile__img { background: var(--ihmt-blue); }

.ihmt-page img {
	max-width: 100%;
}

.ihmt-shell {
	max-width: var(--ihmt-shell);
	margin: 0 auto;
	padding: 0 var(--ihmt-pad);
}

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

@keyframes ihmtRise {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

/* --- shared bits ------------------------------------------------------- */

.ihmt-page .ihmt-h2 {
	margin: 0;
	font-size: clamp(29px, 3.2vw, 42px);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--ihmt-navy) !important;
	text-wrap: balance;
}

.ihmt-page .ihmt-h2--light {
	color: #fff !important;
}

.ihmt-page .ihmt-h2--big {
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.1;
}

.ihmt-lede {
	margin: 0 0 18px;
	font-size: 17.5px;
	line-height: 1.68;
	font-weight: 300;
	color: var(--ihmt-body);
	text-wrap: pretty;
}

.ihmt-lede:last-child {
	margin-bottom: 0;
}

.ihmt-kicker {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ihmt-gold);
}

.ihmt-kicker--sand {
	color: var(--ihmt-sand) !important;
}

.ihmt-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ihmt-eyebrow--light {
	color: var(--ihmt-sand-light);
	margin-bottom: 26px;
}

.ihmt-eyebrow--gold {
	color: var(--ihmt-gold-dark);
	margin-bottom: 4px;
}

.ihmt-rule {
	display: block;
	width: 52px;
	height: 3px;
	flex: 0 0 auto;
	background: var(--ihmt-gold);
}

.ihmt-rule--block {
	margin-bottom: 22px;
}

.ihmt-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 34px;
	border-radius: 999px;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: transform .28s cubic-bezier(.2, .7, .3, 1), background .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ihmt-btn--gold,
.ihmt-btn--gold:visited {
	background: var(--ihmt-gold);
	color: #fff !important;
	box-shadow: 0 16px 34px -14px rgba(196, 151, 42, 0.75);
}

.ihmt-btn--gold:hover,
.ihmt-btn--gold:focus {
	background: #B0871F;
	color: #fff !important;
	transform: translateY(-3px);
}

.ihmt-btn--ghost,
.ihmt-btn--ghost:visited {
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	color: #fff !important;
}

.ihmt-btn--ghost:hover,
.ihmt-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.14);
	border-color: #fff;
	color: #fff !important;
}

.ihmt-btn--navy,
.ihmt-btn--navy:visited {
	background: var(--ihmt-navy);
	color: #fff !important;
}

.ihmt-btn--navy:hover,
.ihmt-btn--navy:focus {
	background: var(--ihmt-blue);
	color: #fff !important;
	transform: translateY(-3px);
}

/* --- 1. hero ----------------------------------------------------------- */

.ihmt-hero {
	position: relative;
	width: 100%;
	min-height: 640px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--ihmt-navy);
}

.ihmt-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 60%;
}

.ihmt-hero__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(30, 70, 129, 0.92) 0%, rgba(29, 87, 149, 0.78) 46%, rgba(58, 153, 197, 0.34) 100%);
}

.ihmt-hero__fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 48, 90, 0.55), rgba(20, 48, 90, 0) 55%);
}

.ihmt-hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--ihmt-shell);
	margin: 0 auto;
	padding: 150px var(--ihmt-pad) 118px;
	animation: ihmtRise .8s ease both;
}

.ihmt-page .ihmt-hero__title {
	margin: 0;
	font-size: clamp(44px, 6.2vw, 88px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #fff !important;
	max-width: 16em;
}

.ihmt-hero__intro {
	margin: 28px 0 0;
	max-width: 660px;
	font-size: 20px;
	line-height: 1.62;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.92);
	text-wrap: pretty;
}

/* --- 2. figures strip -------------------------------------------------- */

.ihmt-about {
	width: 100%;
	background: var(--ihmt-cream);
	position: relative;
	z-index: 2;
	padding-top: 40px;
}

.ihmt-stats {
	background: var(--ihmt-cream);
	border: 1px solid rgba(30, 70, 129, 0.13);
	border-radius: 16px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ihmt-stats__item {
	padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 30px);
	text-align: center;
	border-right: 1px solid rgba(30, 70, 129, 0.09);
}

.ihmt-stats__item:last-child {
	border-right: 0;
}

.ihmt-stats__number {
	font-size: clamp(28px, 4.4vw, 44px);
	font-weight: 900;
	color: var(--ihmt-navy);
	line-height: 1;
}

.ihmt-stats__label {
	margin-top: 8px;
	font-size: clamp(10.5px, 1.2vw, 12.5px);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ihmt-muted);
	text-wrap: balance;
}

/* --- 3. about the team ------------------------------------------------- */

.ihmt-about__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 48px;
	padding: 70px 0 78px;
	align-items: stretch;
}

.ihmt-about__media {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	min-height: 420px;
	background: var(--ihmt-navy);
	box-shadow: 0 24px 48px -28px rgba(30, 70, 129, 0.5);
}

.ihmt-about__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.ihmt-about__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 48, 90, 0.9) 0%, rgba(20, 48, 90, 0.15) 52%, rgba(20, 48, 90, 0) 100%);
}

.ihmt-about__badge {
	position: absolute;
	left: 26px;
	right: 26px;
	bottom: 24px;
}

.ihmt-about__badge-number {
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	color: #fff;
}

.ihmt-about__badge-label {
	margin-top: 7px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.8);
}

.ihmt-about__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
}

.ihmt-about__body .ihmt-lede {
	margin: 0;
}

.ihmt-values {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	background: var(--ihmt-line);
	border-radius: 14px;
	overflow: hidden;
	margin-top: 4px;
}

.ihmt-values__item {
	flex: 1 1 150px;
	background: #fff;
	padding: 18px 20px;
}

.ihmt-values__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ihmt-sky);
}

.ihmt-values__label--2 { color: var(--ihmt-gold); }
.ihmt-values__label--3 { color: var(--ihmt-blue); }

.ihmt-values__text {
	margin-top: 6px;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ihmt-body);
}

.ihmt-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 4px;
}

.ihmt-pills__item {
	padding: 8px 15px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: rgba(58, 153, 197, 0.12);
	color: var(--ihmt-blue);
}

.ihmt-pills__item--2 {
	background: rgba(196, 151, 42, 0.14);
	color: var(--ihmt-gold-dark);
}

.ihmt-pills__item--3 {
	background: rgba(30, 70, 129, 0.09);
	color: var(--ihmt-navy);
}

/* --- 4. team grid ------------------------------------------------------ */

.ihmt-team {
	width: 100%;
	background: #fff;
	padding: 100px 0 104px;
}

.ihmt-team--tight {
	padding: 78px 0 88px;
	background: var(--ihmt-cream);
}

.ihmt-team__head {
	text-align: center;
	max-width: 660px;
	margin: 0 auto 56px;
}

.ihmt-team__head .ihmt-h2 {
	margin-top: 14px;
}

.ihmt-team__intro {
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.65;
	font-weight: 300;
	color: #5A6A80;
	text-wrap: pretty;
}

.ihmt-team__more {
	margin: 42px 0 0;
	text-align: center;
}

.ihmt-empty {
	text-align: center;
	color: var(--ihmt-muted);
	font-size: 17px;
}

.ihmt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--ihmt-card-min), 1fr));
	gap: 34px;
}

.ihmt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(30, 70, 129, 0.1);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 14px -8px rgba(30, 70, 129, 0.2);
	transition: transform .38s cubic-bezier(.2, .7, .3, 1), box-shadow .38s ease, border-color .38s ease;
}

.ihmt-card:hover,
.ihmt-card:focus-within {
	transform: translateY(-8px);
	box-shadow: 0 30px 54px -26px rgba(30, 70, 129, 0.4);
	border-color: rgba(196, 151, 42, 0.5);
}

.ihmt-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #E7EDF5;
	overflow: hidden;
}

.ihmt-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}

.ihmt-card:hover .ihmt-card__img {
	transform: scale(1.045);
}

.ihmt-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #E7EDF5, #E7EDF5 6px, #DCE4EF 6px, #DCE4EF 12px);
}

.ihmt-card__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 48, 90, 0.42), rgba(20, 48, 90, 0) 46%);
}

/* A slow gleam travels across the photo on hover. Purely decorative, and the
   reduced-motion rule at the foot of this file switches it off. */
.ihmt-card__media::after {
	content: "";
	position: absolute;
	top: -60%;
	left: -85%;
	width: 55%;
	height: 220%;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	transform: rotate(18deg);
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.12) 35%,
		rgba(255, 255, 255, 0.42) 50%,
		rgba(255, 255, 255, 0.12) 65%,
		rgba(255, 255, 255, 0) 100%
	);
}

.ihmt-card:hover .ihmt-card__media::after,
.ihmt-card:focus-within .ihmt-card__media::after {
	animation: ihmtShine 1s cubic-bezier(.25, .6, .3, 1) forwards;
}

@keyframes ihmtShine {
	0%   { opacity: 0;   left: -85%; }
	14%  { opacity: 1; }
	100% { opacity: 0;   left: 135%; }
}

.ihmt-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ihmt-navy);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ihmt-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px 28px 28px;
	flex: 1;
}

.ihmt-page .ihmt-card__name {
	margin: 0;
	font-size: 23px;
	font-weight: 900;
	letter-spacing: -0.01em;
	color: var(--ihmt-navy) !important;
}

.ihmt-card__role {
	margin: 5px 0 0;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ihmt-sky);
}

.ihmt-card__bio {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.68;
	font-weight: 300;
	color: var(--ihmt-body-soft);
	text-wrap: pretty;
	flex: 1;
}

.ihmt-card__holiday {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid rgba(30, 70, 129, 0.1);
}

.ihmt-card__holiday-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #9AA7B8;
	white-space: nowrap;
}

.ihmt-card__holiday-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--ihmt-gold-dark);
}

/* The whole card is clickable, but the link text stays visible. */
.ihmt-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ihmt-blue) !important;
	text-decoration: none !important;
}

.ihmt-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ihmt-card__link:hover,
.ihmt-card__link:focus {
	color: var(--ihmt-gold-dark) !important;
}

.ihmt-card--mini .ihmt-card__body {
	padding: 20px 22px 22px;
	gap: 8px;
}

/* --- 5. founder -------------------------------------------------------- */

.ihmt-founder {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: var(--ihmt-navy);
	padding: 104px 0;
}

.ihmt-founder__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.17;
}

.ihmt-founder__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(75deg, var(--ihmt-navy) 8%, rgba(29, 87, 149, 0.86) 60%, rgba(30, 70, 129, 0.7) 100%);
}

.ihmt-founder__inner {
	position: relative;
	max-width: var(--ihmt-shell);
	margin: 0 auto;
	padding: 0 var(--ihmt-pad);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 70px;
	align-items: center;
}

.ihmt-founder__media {
	position: relative;
}

.ihmt-founder__frame {
	position: absolute;
	left: -16px;
	top: -16px;
	right: 34px;
	bottom: 34px;
	border: 2px solid rgba(196, 151, 42, 0.7);
	border-radius: 20px;
}

.ihmt-founder__img {
	position: relative;
	display: block;
	width: 100%;
	max-width: 520px;
	/* Natural height - no forced 4:5 box, so the photo is never cropped.
	   (height: auto on its own would have done nothing while aspect-ratio
	   was still setting the box.) */
	height: auto;
	border-radius: 20px;
	/* Cut-out photo, so it needs a colour behind it. Sky blue sits well
	   against the navy band and the gold frame; swap for var(--ihmt-gold)
	   or var(--ihmt-blue) if you'd rather. */
	background: var(--ihmt-sky);
	box-shadow: 0 40px 70px -30px rgba(10, 28, 58, 0.7);
}

.ihmt-founder__body .ihmt-h2 {
	margin-top: 14px;
}

.ihmt-founder__text {
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.72;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
	text-wrap: pretty;
}

.ihmt-quote {
	position: relative;
	margin: 36px 0 0;
	padding: 30px 34px 28px 32px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 4px solid var(--ihmt-gold);
	border-radius: 4px 16px 16px 4px;
}

.ihmt-quote__text {
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
	font-style: italic;
	font-weight: 300;
	color: #fff;
	text-wrap: pretty;
}

/* The parent theme paints bare <footer> elements light grey, which is why
   this used to show as a white band. It is a plain div now, and the
   background is pinned transparent as well. */
.ihmt-quote__by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	background: transparent !important;
	padding: 0;
	border: 0;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--ihmt-sand);
}

.ihmt-quote__by::before {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 2px;
	background: var(--ihmt-gold);
}

/* --- 6. gallery -------------------------------------------------------- */

.ihmt-gallery {
	width: 100%;
	background: var(--ihmt-cream);
	padding: 100px 0 106px;
}

.ihmt-gallery__head {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 56px;
	align-items: end;
	margin-bottom: 48px;
}

.ihmt-gallery__intro {
	margin: 0;
	font-size: 18px;
	line-height: 1.7;
	font-weight: 300;
	color: var(--ihmt-body-soft);
	text-wrap: pretty;
}

.ihmt-gallery__cols {
	columns: 300px 3;
	column-gap: 22px;
}

.ihmt-gallery__item,
.ihmt-gallery__card {
	margin: 0 0 22px;
	break-inside: avoid;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
}

.ihmt-gallery__item {
	background: #E7EDF5;
	box-shadow: 0 10px 28px -18px rgba(30, 70, 129, 0.4);
}

/* The photo itself is the lightbox trigger. */
.ihmt-gallery__btn {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: zoom-in;
	-webkit-appearance: none;
	appearance: none;
}

.ihmt-gallery__btn:focus-visible {
	outline: 3px solid var(--ihmt-gold);
	outline-offset: 3px;
}

.ihmt-gallery__zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ihmt-navy);
	opacity: 0;
	transform: translateY(-5px);
	transition: opacity .3s ease, transform .3s ease;
	pointer-events: none;
}

.ihmt-gallery__item:hover .ihmt-gallery__zoom,
.ihmt-gallery__btn:focus-visible .ihmt-gallery__zoom {
	opacity: 1;
	transform: none;
}

.ihmt-gallery__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}

.ihmt-gallery__item:hover .ihmt-gallery__img {
	transform: scale(1.05);
}

.ihmt-gallery__caption {
	/* Sits over the bottom of the photo, so it must not swallow the click
	   that opens the lightbox. */
	pointer-events: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 44px 20px 18px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(to top, rgba(20, 48, 90, 0.85), rgba(20, 48, 90, 0));
}

.ihmt-gallery__card {
	background: var(--ihmt-navy);
	padding: 34px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ihmt-gallery__card-text {
	margin: 0;
	font-size: 19px;
	line-height: 1.55;
	font-weight: 300;
	color: #fff;
	text-wrap: pretty;
}

/* --- 7. call to action ------------------------------------------------- */

.ihmt-cta {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: var(--ihmt-blue);
}

.ihmt-cta__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.22;
}

.ihmt-cta__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(30, 70, 129, 0.95), rgba(29, 87, 149, 0.82));
}

.ihmt-cta__inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 100px var(--ihmt-pad) 106px;
	text-align: center;
}

.ihmt-cta__inner .ihmt-h2 {
	margin-top: 16px;
}

.ihmt-cta__text {
	margin: 22px auto 0;
	max-width: 620px;
	font-size: 19px;
	line-height: 1.68;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
	text-wrap: pretty;
}

.ihmt-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin-top: 40px;
}

.ihmt-cta__footnote {
	margin: 30px 0 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.62);
}

/* --- profile page ------------------------------------------------------ */

.ihmt-profile__hero {
	position: relative;
	background: var(--ihmt-navy);
	background-image: linear-gradient(105deg, var(--ihmt-navy) 0%, var(--ihmt-blue) 70%, rgba(58, 153, 197, 0.55) 100%);
	overflow: hidden;
}

.ihmt-profile__inner {
	position: relative;
	max-width: var(--ihmt-shell);
	margin: 0 auto;
	padding: 92px var(--ihmt-pad) 100px;
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.4fr);
	gap: 64px;
	align-items: start;
}

.ihmt-profile__media {
	position: relative;
}

.ihmt-profile__img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: 20px;
	background: #EDF1F7;
	box-shadow: 0 40px 70px -30px rgba(10, 28, 58, 0.7);
}

.ihmt-profile__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ihmt-navy);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	z-index: 2;
}

/* Each of these sits on its own line, with room to breathe. */
.ihmt-profile__body .ihmt-kicker {
	display: block;
	margin: 0 0 10px;
	font-size: 14px;
}

.ihmt-profile__body .ihmt-h2 {
	margin: 0;
}

.ihmt-back {
	display: block;
	margin: 0 0 40px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.75) !important;
	text-decoration: none !important;
}

.ihmt-back:hover,
.ihmt-back:focus {
	color: var(--ihmt-sand) !important;
}

.ihmt-profile__bio {
	margin-top: 26px;
	font-size: 18px;
	line-height: 1.75;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
}

.ihmt-profile__bio p {
	margin: 0 0 20px;
	text-wrap: pretty;
}

.ihmt-profile__bio p:last-child {
	margin-bottom: 0;
}

.ihmt-profile__bio a {
	color: var(--ihmt-sand) !important;
	text-decoration: underline;
}

.ihmt-favourite {
	background: #fff;
	padding: 84px 0;
}

.ihmt-favourite__card {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 0;
	border: 1px solid var(--ihmt-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 48px -34px rgba(30, 70, 129, 0.5);
}

.ihmt-favourite__card--noimg {
	grid-template-columns: 1fr;
}

.ihmt-favourite__media {
	min-height: 300px;
	background: #E7EDF5;
}

.ihmt-favourite__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ihmt-favourite__body {
	padding: clamp(28px, 4vw, 46px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
	justify-content: center;
}

.ihmt-favourite__body .ihmt-btn {
	margin-top: 8px;
}

/* --- gallery lightbox --------------------------------------------------
   Built by ihmt-lightbox.js and appended to <body>, so it sits outside
   .ihmt-page and cannot use the tokens - colours are literal here. */

html.ihmt-lb-open {
	overflow: hidden;
}

.ihmt-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vw, 56px);
	opacity: 0;
	transition: opacity .2s ease;
}

.ihmt-lb[hidden] {
	display: none !important;
}

.ihmt-lb.is-open {
	opacity: 1;
}

.ihmt-lb__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 32, 62, 0.93);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: zoom-out;
}

.ihmt-lb__figure {
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: min(1100px, 100%);
}

.ihmt-lb__img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	object-fit: contain;
	border-radius: 14px;
	background: #14305A;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.ihmt-lb__caption {
	max-width: 640px;
	margin: 0;
	text-align: center;
	font-family: Lato, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.84);
}

.ihmt-lb__caption[hidden] {
	display: none;
}

.ihmt-lb__close,
.ihmt-lb__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.ihmt-lb__close:hover,
.ihmt-lb__btn:hover,
.ihmt-lb__close:focus-visible,
.ihmt-lb__btn:focus-visible {
	background: #C4972A;
	border-color: #C4972A;
}

.ihmt-lb__close {
	top: clamp(12px, 3vw, 26px);
	right: clamp(12px, 3vw, 26px);
	width: 46px;
	height: 46px;
	font-size: 26px;
}

.ihmt-lb__btn {
	top: 50%;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	font-size: 30px;
	padding-bottom: 4px;
}

.ihmt-lb__btn--prev {
	left: clamp(8px, 2vw, 26px);
}

.ihmt-lb__btn--next {
	right: clamp(8px, 2vw, 26px);
}

.ihmt-lb--single .ihmt-lb__btn {
	display: none;
}

@media (max-width: 600px) {
	.ihmt-lb__btn {
		width: 42px;
		height: 42px;
		margin-top: -21px;
		font-size: 24px;
	}
}

/* --- responsive -------------------------------------------------------- */

@media (max-width: 900px) {
	.ihmt-page {
		--ihmt-pad: 24px;
	}

	.ihmt-hero {
		min-height: 480px;
	}

	.ihmt-hero__inner {
		padding: 104px var(--ihmt-pad) 76px;
	}

	.ihmt-about__grid {
		gap: 34px;
		padding: 52px 0 58px;
	}

	.ihmt-about__media {
		min-height: 320px;
	}

	.ihmt-team,
	.ihmt-gallery {
		padding: 70px 0 74px;
	}

	.ihmt-founder {
		padding: 74px 0;
	}

	.ihmt-founder__inner,
	.ihmt-profile__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ihmt-founder__frame {
		display: none;
	}

	.ihmt-cta__inner {
		padding: 74px var(--ihmt-pad) 78px;
	}

	.ihmt-gallery__head {
		gap: 24px;
		margin-bottom: 34px;
	}
}

@media (max-width: 600px) {
	.ihmt-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ihmt-stats__item {
		border-right: 0;
		border-bottom: 1px solid rgba(30, 70, 129, 0.09);
	}

	.ihmt-stats__item:last-child {
		border-bottom: 0;
	}

	.ihmt-btn {
		width: 100%;
		justify-content: center;
	}

	.ihmt-gallery__cols {
		columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ihmt-page *,
	.ihmt-page *::before,
	.ihmt-page *::after,
	.ihmt-lb,
	.ihmt-lb * {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
