/*
Theme Name: IPublish Development Child
Theme URI: https://ipublishdevelopment.com/
Description: Site-owned presentation layer for IPublish Development.
Author: IPublish Development
Template: ip
Version: 0.4.0
Text Domain: ipublish-child
Requires PHP: 7.4
*/

/* Brand and layout tokens are scoped to site-owned components. */
.ipd-shell {
	--ipd-brand: #bf1e2e;
	--ipd-brand-hover: #a51526;
	--ipd-ink: #171b21;
	--ipd-charcoal: #3a3a3c;
	--ipd-body: #424a54;
	--ipd-muted: #5a616b;
	--ipd-paper: #fafaf8;
	--ipd-surface: #fff;
	--ipd-surface-alt: #f2f3f4;
	--ipd-lavender: #f4eff6;
	--ipd-border: #d5d8db;
	--ipd-light: #f7f7fa;
	--ipd-focus: #bf1e2e;
	--ipd-focus-dark: #f7b955;
	--ipd-gutter: clamp(20px, 4vw, 64px);
	--ipd-container: 1320px;
	color: var(--ipd-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.62;
	text-rendering: optimizeLegibility;
}

.ipd-shell,
.ipd-shell *,
.ipd-shell *::before,
.ipd-shell *::after {
	box-sizing: border-box;
}

.ipd-shell img,
.ipd-shell svg,
.ipd-shell video {
	display: block;
	max-width: 100%;
	height: auto;
}

.ipd-shell picture {
	display: block;
}

.ipd-shell h1,
.ipd-shell h2,
.ipd-shell h3,
.ipd-shell p,
.ipd-shell ul,
.ipd-shell ol,
.ipd-shell figure {
	margin-block: 0;
}

.ipd-shell h1,
.ipd-shell h2,
.ipd-shell h3 {
	color: inherit;
	font-family: inherit;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.ipd-shell h1 {
	font-size: clamp(2.25rem, 4.5vw, 4.75rem);
	line-height: 1.07;
}

.ipd-shell h2 {
	font-size: clamp(1.875rem, 3vw, 3.25rem);
	line-height: 1.13;
}

.ipd-shell h3 {
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.ipd-shell p {
	color: var(--ipd-body);
}

.ipd-shell a {
	color: inherit;
	text-decoration: none;
}

.ipd-shell a:focus-visible,
.ipd-shell button:focus-visible,
.ipd-shell input:focus-visible,
.ipd-shell select:focus-visible,
.ipd-shell textarea:focus-visible {
	outline: 3px solid var(--ipd-focus);
	outline-offset: 3px;
}

.ipd-container {
	width: min(calc(100% - 2 * var(--ipd-gutter)), var(--ipd-container));
	margin-inline: auto;
}

.ipd-ltr-isolate {
	direction: ltr;
	unicode-bidi: isolate;
}

/* Shared header and navigation. */
.ipd-skip-link {
	position: fixed;
	z-index: 10010;
	inset-block-start: -100px;
	inset-inline-start: 16px;
	padding: 12px 18px;
	background: #fff;
	color: #171b21;
	box-shadow: 0 8px 24px rgb(0 0 0 / 16%);
}

.ipd-skip-link:focus {
	inset-block-start: 12px;
}

.ipd-site-header {
	position: sticky;
	z-index: 999;
	top: 0;
	background: #fff;
	border-block-end: 1px solid var(--ipd-border);
	box-shadow: 0 3px 24px rgb(23 27 33 / 4%);
}

body.admin-bar .ipd-site-header {
	top: 32px;
}

.ipd-header-inner {
	display: flex;
	align-items: center;
	min-height: 80px;
	gap: clamp(20px, 2vw, 32px);
}

.ipd-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	width: 160px;
	min-width: 0;
}

.ipd-logo-image {
	width: 160px;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
}

.ipd-logo-text {
	color: var(--ipd-ink);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.ipd-primary-navigation,
.ipd-nav-list,
.ipd-nav-end,
.ipd-language-switcher {
	display: flex;
	align-items: center;
}

.ipd-primary-navigation {
	flex: 1 1 auto;
	justify-content: flex-end;
	gap: clamp(14px, 1.35vw, 24px);
	min-width: 0;
}

.ipd-nav-list {
	gap: clamp(10px, 1.15vw, 22px);
	list-style: none;
	padding: 0;
	white-space: nowrap;
}

.ipd-nav-list a,
.ipd-language-switcher a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.25;
	transition: color 180ms ease;
}

.ipd-nav-list a:hover,
.ipd-nav-list a[aria-current="page"],
.ipd-language-switcher a:hover,
.ipd-language-switcher a[aria-current="page"] {
	color: var(--ipd-brand);
}

.ipd-nav-list a[aria-current="page"] {
	box-shadow: inset 0 -2px var(--ipd-brand);
}

.ipd-nav-end {
	gap: 16px;
	flex: 0 0 auto;
}

.ipd-language-switcher {
	gap: 7px;
	white-space: nowrap;
}

.ipd-language-switcher a {
	font-size: 12px;
	font-weight: 600;
}

.ipd-language-switcher a + a::before {
	content: "/";
	color: #9da3a9;
	margin-inline-end: 7px;
	font-weight: 400;
}

.ipd-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 11px 9px;
	border: 1px solid var(--ipd-border);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}

.ipd-menu-toggle-lines {
	display: grid;
	gap: 5px;
	width: 23px;
}

.ipd-menu-toggle-lines span {
	width: 100%;
	height: 2px;
	background: var(--ipd-ink);
	border-radius: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.ipd-menu-open .ipd-menu-toggle-lines span:first-child {
	transform: translateY(7px) rotate(45deg);
}

.ipd-menu-open .ipd-menu-toggle-lines span:nth-child(2) {
	opacity: 0;
}

.ipd-menu-open .ipd-menu-toggle-lines span:last-child {
	transform: translateY(-7px) rotate(-45deg);
}

/* Buttons, links, and shared section primitives. */
.ipd-button,
.ipd-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ipd-button:hover,
.ipd-cta:hover {
	transform: translateY(-2px);
}

.ipd-button--small {
	min-height: 42px;
	padding: 9px 16px;
	font-size: 13px;
}

.ipd-shell .ipd-button--primary,
.ipd-shell .ipd-cta {
	background: var(--ipd-brand);
	border-color: var(--ipd-brand);
	color: #fff;
	box-shadow: 0 9px 22px rgb(65 13 24 / 20%);
}

.ipd-shell .ipd-button--primary:hover,
.ipd-shell .ipd-cta:hover {
	background: var(--ipd-brand-hover);
	border-color: var(--ipd-brand-hover);
	color: #fff;
	box-shadow: 0 12px 26px rgb(65 13 24 / 26%);
}

.ipd-shell .ipd-button--secondary {
	border-color: var(--ipd-border);
	background: #fff;
	color: var(--ipd-ink);
}

.ipd-shell .ipd-button--secondary:hover {
	border-color: var(--ipd-brand);
	color: var(--ipd-brand);
}

.ipd-shell .ipd-button--outline-light {
	border-color: rgb(255 255 255 / 40%);
	color: #fff;
	background: transparent;
}

.ipd-shell .ipd-button--outline-light:hover {
	border-color: #fff;
	color: #fff;
	background: rgb(255 255 255 / 8%);
}

.ipd-shell .ipd-button--outline-light:focus-visible,
.ipd-shell .ipd-button--primary:focus-visible,
.ipd-shell .ipd-cta:focus-visible {
	outline-color: var(--ipd-focus-dark);
}

.ipd-text-link {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline !important;
	text-decoration-color: var(--ipd-brand) !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 4px;
}

.ipd-text-link:hover {
	color: var(--ipd-brand);
	text-decoration-thickness: 2px !important;
}

.ipd-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-block-start: 28px;
}

.ipd-eyebrow {
	color: var(--ipd-brand) !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ipd-eyebrow--light {
	color: #f0b5bd !important;
}

.ipd-section {
	padding-block: clamp(56px, 7.8vw, 112px);
}

.ipd-section-heading {
	max-width: 840px;
	margin-block-end: clamp(32px, 4vw, 56px);
}

.ipd-section-heading h2 {
	margin-block-start: 14px;
}

.ipd-section-heading > p:last-child,
.ipd-section-heading--split > p,
.ipd-split-copy > p:not(.ipd-eyebrow) {
	max-width: 720px;
	margin-block-start: 22px;
	font-size: clamp(17px, 1.6vw, 19px);
	line-height: 1.62;
}

.ipd-section-heading--split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: end;
	gap: 48px;
	max-width: none;
}

.ipd-section-heading--split > p {
	margin-block-start: 0;
}

/* Keep managed pages full-width while retaining the parent theme around legacy pages. */
body.ipd-managed {
	margin: 0;
	background: #fafaf8;
}

body.ipd-managed #page.main-container,
body.ipd-managed #main-content,
body.ipd-managed #main.vamtam-main {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body.ipd-managed #main.vamtam-main,
body.ipd-managed .ipd-managed-article {
	overflow: visible;
}

.ipd-home,
.ipd-managed-article {
	background: var(--ipd-paper);
}

/* Homepage hero. */
.ipd-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: radial-gradient(circle at 17% 12%, #812538 0, transparent 42%), linear-gradient(118deg, #4b1e2b 0%, #27252d 58%, #171b21 100%);
	color: #fff;
}

.ipd-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(90deg, transparent, #000);
	pointer-events: none;
}

.ipd-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	align-items: center;
	gap: clamp(30px, 3vw, 52px);
	min-height: 640px;
	padding-block: clamp(72px, 8vw, 128px);
}

.ipd-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 780px;
}

.ipd-hero-copy > .ipd-eyebrow {
	display: inline-flex;
	max-width: 100%;
	padding: 8px 15px;
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 999px;
	background: rgb(28 19 30 / 28%);
	box-shadow: 0 8px 22px rgb(20 12 22 / 12%);
}

.ipd-hero-copy h1 {
	margin-block-start: 20px;
	max-width: 780px;
	color: #fff;
}

.ipd-hero-copy .ipd-lead {
	max-width: 630px;
	margin-block-start: 26px;
	color: #e1e4e7;
	font-size: clamp(18px, 1.7vw, 21px);
	line-height: 1.58;
}

.ipd-hero-art {
	align-self: center;
	min-width: 0;
}

.ipd-hero-art img {
	width: min(100%, 720px);
	margin-inline: auto;
	filter: drop-shadow(0 28px 32px rgb(0 0 0 / 18%));
}

.ipd-hero-rule {
	height: 4px;
	width: min(100%, 1320px);
	margin-inline: auto;
	background: linear-gradient(90deg, var(--ipd-brand) 0 25%, transparent 25%);
}

/* Division cards with site-owned conceptual artwork. */
.ipd-section--divisions {
	background: var(--ipd-paper);
}

.ipd-division-grid,
.ipd-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ipd-division-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ipd-border);
	border-radius: 12px;
	background: #fff;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ipd-division-card:hover {
	border-color: #acb2b9;
	box-shadow: 0 16px 38px rgb(23 27 33 / 8%);
	transform: translateY(-2px);
}

.ipd-division-visual {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e8e8e5;
}

.ipd-division-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ipd-division-card-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(24px, 2.5vw, 32px);
}

.ipd-card-index,
.ipd-product-card-top > span:first-child {
	color: var(--ipd-brand);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
}

.ipd-division-card h3 {
	margin-block-start: 24px;
}

.ipd-division-card p {
	margin-block-start: 14px;
	font-size: 16px;
}

.ipd-division-card .ipd-text-link {
	margin-block-start: auto;
	padding-block-start: 26px;
}

.ipd-section--products {
	background: var(--ipd-lavender);
}

.ipd-product-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 330px;
	padding: clamp(24px, 2.6vw, 36px);
	border: 1px solid var(--ipd-border);
	border-radius: 12px;
	background: #fff;
}

.ipd-product-card:first-child {
	background: #252a30;
	border-color: #252a30;
	color: #fff;
}

.ipd-product-card:first-child p {
	color: #d8dcdf;
}

.ipd-product-card-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
}

.ipd-product-card:first-child .ipd-product-card-top > span:first-child {
	color: #f0b5bd;
}

.ipd-product-type {
	color: var(--ipd-muted);
	font-size: 12px;
	font-weight: 650;
	text-align: end;
}

.ipd-product-card:first-child .ipd-product-type {
	color: #d8dcdf;
}

.ipd-product-card h3 {
	margin-block-end: 14px;
}

.ipd-product-card .ipd-text-link {
	margin-block-start: 26px;
}

.ipd-product-card:first-child .ipd-text-link {
	color: #fff;
	text-decoration-color: #f0b5bd !important;
}

/* Alternating editorial features. */
.ipd-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	align-items: center;
	gap: clamp(32px, 6vw, 104px);
}

.ipd-split > * {
	min-width: 0;
}

.ipd-split-copy h2 {
	margin-block-start: 14px;
}

.ipd-split-copy .ipd-text-link:not(.ipd-actions .ipd-text-link) {
	margin-block-start: 28px;
}

.ipd-section--charter,
.ipd-section--engineering,
.ipd-section--portfolio {
	background: var(--ipd-paper);
}

.ipd-section--engineering {
	border-block: 1px solid var(--ipd-border);
}

.ipd-charter-flow {
	padding: clamp(24px, 3.5vw, 44px);
	border-radius: 16px;
	background: #f0f0ee;
	border: 1px solid var(--ipd-border);
	box-shadow: 0 22px 50px rgb(23 27 33 / 8%);
}

.ipd-charter-flow-top {
	display: flex;
	justify-content: space-between;
	padding-block-end: 28px;
	border-block-end: 1px solid var(--ipd-border);
	color: var(--ipd-brand);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
}

.ipd-charter-flow ol {
	list-style: none;
	padding: 0;
	margin-block: 28px;
}

.ipd-charter-flow li {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 72px;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 650;
	letter-spacing: -.025em;
}

.ipd-charter-flow li + li {
	border-block-start: 1px solid var(--ipd-border);
}

.ipd-flow-dot {
	display: inline-block;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border: 3px solid var(--ipd-brand);
	border-radius: 50%;
}

.ipd-charter-flow figcaption {
	color: var(--ipd-muted);
	font-size: 13px;
	line-height: 1.5;
}

.ipd-capability-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	list-style: none;
}

.ipd-capability-grid li {
	min-height: 156px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--ipd-border);
	border-radius: 10px;
}

.ipd-capability-grid li span {
	display: block;
	margin-block-end: 28px;
	color: var(--ipd-brand);
	font-size: 13px;
	font-weight: 800;
}

.ipd-capability-grid strong {
	display: block;
	font-size: clamp(17px, 1.8vw, 22px);
	line-height: 1.25;
}

.ipd-section--security {
	overflow: hidden;
	background: #1d2229;
	color: #fff;
}

.ipd-section--security h2,
.ipd-section--security p:not(.ipd-eyebrow) {
	color: #fff;
}

.ipd-section--security .ipd-split-copy > p:not(.ipd-eyebrow) {
	color: #e1e4e7;
}

.ipd-security-visual {
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid rgb(255 255 255 / 15%);
}

.ipd-security-visual img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ipd-app-list {
	border-block-start: 1px solid var(--ipd-border);
}

.ipd-app-list a {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding-block: 18px;
	border-block-end: 1px solid var(--ipd-border);
	transition: color 180ms ease, padding-inline 180ms ease;
}

.ipd-app-list a:hover {
	padding-inline: 8px;
	color: var(--ipd-brand);
}

.ipd-app-list a > span:nth-child(2) {
	min-width: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.ipd-app-list small {
	display: block;
	margin-block-start: 4px;
	color: var(--ipd-muted);
	font-size: 13px;
	font-weight: 500;
}

.ipd-app-monogram {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	background: #e9e5e5;
	color: var(--ipd-brand);
	font-size: 18px;
	font-weight: 800;
}

.ipd-section--method {
	background: var(--ipd-surface-alt);
}

.ipd-method-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 0;
	list-style: none;
}

.ipd-method-list li {
	padding-block-start: 24px;
	border-block-start: 2px solid var(--ipd-brand);
}

.ipd-method-index {
	display: block;
	margin-block-end: 46px;
	color: var(--ipd-brand);
	font-size: 13px;
	font-weight: 800;
}

.ipd-method-list h3 {
	font-size: 20px;
}

.ipd-method-list p {
	margin-block-start: 10px;
}

.ipd-section--insights {
	background: #fff;
}

.ipd-insight-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ipd-article-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block-start: 32px;
}

.ipd-insight-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ipd-border);
	border-radius: 14px;
	background: var(--ipd-paper);
}

.ipd-insight-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ipd-lavender);
}

.ipd-insight-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ipd-insight-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(22px, 2.4vw, 30px);
}

.ipd-insight-card time {
	color: var(--ipd-brand);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
}

.ipd-insight-card h3 {
	margin-block-start: 14px;
	font-size: clamp(20px, 1.7vw, 24px);
}

.ipd-insight-card h3 a:hover {
	color: var(--ipd-brand);
}

.ipd-insight-card p {
	margin-block-start: 14px;
	font-size: 15px;
}

.ipd-insight-card .ipd-text-link {
	margin-block-start: auto;
	padding-block-start: 22px;
}

.ipd-insights-all {
	margin-block-start: 30px;
}

.ipd-section--markets {
	padding-block: clamp(48px, 5vw, 72px);
	border-block-start: 1px solid var(--ipd-border);
	border-block-end: 1px solid var(--ipd-border);
	background: #fff;
}

.ipd-section--markets .ipd-split {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}

.ipd-section--markets h2 {
	margin-block-start: 14px;
}

.ipd-section--markets p:last-child {
	font-size: clamp(17px, 1.7vw, 20px);
}

.ipd-section--final {
	background: #252a30;
	color: #fff;
	text-align: center;
}

.ipd-final-inner {
	max-width: 900px;
}

.ipd-final-inner h2 {
	color: #fff;
}

.ipd-final-inner p {
	max-width: 650px;
	margin: 22px auto 0;
	color: #e0e3e5;
	font-size: clamp(17px, 1.7vw, 20px);
}

.ipd-final-inner .ipd-button {
	margin-block-start: 30px;
}

/* Managed content pages written through WordPress, with their own H1. */
.ipd-managed-article .ipd-page-hero {
	padding-block: clamp(72px, 8vw, 112px);
	background: radial-gradient(circle at 0 0, #6d2637 0, transparent 48%), linear-gradient(118deg, #3f202b, #252a30 66%);
	color: #fff;
}

.ipd-managed-article .ipd-page-hero h1,
.ipd-managed-article .ipd-page-hero p:not(.ipd-eyebrow) {
	color: #fff;
}

.ipd-managed-article .ipd-page-hero h1 {
	margin-block-start: 18px;
	max-width: 840px;
}

.ipd-managed-article .ipd-page-hero .ipd-lead,
.ipd-managed-article .ipd-page-hero p:not(.ipd-eyebrow) {
	max-width: 720px;
	margin-block-start: 22px;
	font-size: clamp(18px, 1.8vw, 21px);
	line-height: 1.58;
	color: #e1e4e7;
}

.ipd-page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.ipd-page-hero__inner > * {
	min-width: 0;
}

.ipd-page-art {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
}

.ipd-page-art img {
	display: block;
	width: 100%;
	height: auto;
}

/* Existing team portraits stay attached to their individual profiles. */
.ipd-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2vw, 28px);
	margin-block: 32px 48px;
}

.ipd-team-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e5dce7;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 26px rgb(43 20 37 / 6%);
	color: #171b21;
	text-decoration: none !important;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ipd-team-card:hover {
	transform: translateY(-3px);
	border-color: #cfb8c8;
	box-shadow: 0 16px 32px rgb(43 20 37 / 12%);
}

.ipd-team-card:focus-visible {
	outline: 3px solid #bf1e2e;
	outline-offset: 4px;
}

.ipd-team-card__media {
	display: block;
	aspect-ratio: 4 / 4.5;
	overflow: hidden;
	background: #f4eff6;
}

.ipd-team-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

.ipd-team-card__body {
	display: flex;
	min-height: 106px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px;
}

.ipd-team-card__name {
	margin: 0;
	color: #171b21;
	font-size: clamp(20px, 1.7vw, 25px);
	line-height: 1.25;
}

.ipd-team-card__link {
	display: inline-flex;
	align-items: center;
	padding: 7px 13px;
	border-radius: 999px;
	background: #f9eef0;
	color: #a51526;
	font-size: 13px;
	font-weight: 700;
}

.ipd-team-card:hover .ipd-team-card__link {
	background: #bf1e2e;
	color: #fff;
}

.ipd-managed-article .ipd-section--alternate,
.ipd-content .ipd-section--muted {
	background: var(--ipd-surface-alt);
}

.ipd-managed-article .ipd-section--form,
.ipd-content .ipd-section--cta {
	background: #e9ebed;
}

.ipd-content .ipd-section--cta h2 {
	max-width: 780px;
}

.ipd-content .ipd-section--cta p {
	max-width: 720px;
	margin-block-start: 16px;
	font-size: clamp(17px, 1.5vw, 19px);
}

.ipd-content .ipd-section--cta .ipd-cta {
	margin-block-start: 24px;
}

.ipd-managed-article .ipd-section h2 {
	max-width: 820px;
	margin-block: 0 18px;
}

.ipd-managed-article .ipd-section .ipd-lead,
.ipd-managed-article .ipd-section > .ipd-container > p {
	max-width: 760px;
	font-size: clamp(17px, 1.5vw, 19px);
	line-height: 1.65;
}

.ipd-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-block-start: 34px;
}

.ipd-card {
	min-width: 0;
	padding: clamp(24px, 2.5vw, 32px);
	border: 1px solid var(--ipd-border);
	border-radius: 12px;
	background: #fff;
}

.ipd-card h3 + p,
.ipd-card p + a {
	margin-block-start: 14px;
}

.ipd-card p {
	font-size: 16px;
}

.ipd-card .ipd-text-link {
	margin-block-start: 18px;
}

.ipd-card .ipd-text-link + .ipd-text-link {
	display: flex;
	margin-block-start: 10px;
}

.ipd-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-block-start: 28px;
}

.ipd-prose {
	max-width: 840px;
}

.ipd-prose h2,
.ipd-prose h3 {
	margin-block-end: 18px;
}

.ipd-prose p + p,
.ipd-prose p + ul,
.ipd-prose ul + p {
	margin-block-start: 18px;
}

.ipd-prose a:not(.ipd-cta) {
	color: var(--ipd-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ipd-bullet-list {
	display: grid;
	gap: 12px;
	padding-inline-start: 1.2em;
	margin-block-start: 24px !important;
}

.ipd-note {
	padding: 18px 22px;
	border-inline-start: 3px solid var(--ipd-brand);
	border-radius: 0 8px 8px 0;
	background: #f5f1ef;
	color: var(--ipd-body);
}

.ipd-note p + p {
	margin-block-start: 10px;
}

.ipd-media-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-block-start: 36px;
}

.ipd-media {
	min-width: 0;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--ipd-border);
	border-radius: 12px;
	background: #fff;
}

.ipd-media img {
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
}

.ipd-media figcaption {
	padding: 12px 4px 2px;
	color: var(--ipd-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Accessible inquiry forms supplied by the site plugin. */
.ipd-inquiry {
	width: 100%;
	max-width: 900px;
	margin-block: 36px;
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid var(--ipd-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 36px rgb(23 27 33 / 5%);
}

.ipd-form,
.ipd-form-field {
	display: grid;
	gap: 16px;
}

.ipd-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ipd-form-field {
	gap: 8px;
	min-width: 0;
}

.ipd-form-field label,
.ipd-form label {
	font-weight: 650;
	font-size: 15px;
	line-height: 1.35;
}

.ipd-form input:not([type="checkbox"]),
.ipd-form select,
.ipd-form textarea {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #a9b0b7;
	border-radius: 8px;
	background: #fff;
	color: var(--ipd-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
}

.ipd-form textarea {
	min-height: 142px;
	resize: vertical;
}

.ipd-form input[aria-invalid="true"],
.ipd-form select[aria-invalid="true"],
.ipd-form textarea[aria-invalid="true"] {
	border-color: var(--ipd-brand);
	box-shadow: 0 0 0 2px rgb(191 30 46 / 14%);
}

.ipd-form-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.5;
}

.ipd-form-consent input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-block-start: 2px;
	accent-color: var(--ipd-brand);
}

.ipd-form-help {
	color: var(--ipd-muted);
	font-size: 14px;
	line-height: 1.5;
}

.ipd-form-notice {
	padding: 14px 18px;
	border: 1px solid var(--ipd-border);
	border-radius: 8px;
	background: var(--ipd-surface-alt);
	color: var(--ipd-ink);
	font-size: 15px;
}

.ipd-form-notice--invalid,
.ipd-form-notice--limited,
.ipd-form-notice--error {
	border-color: var(--ipd-brand);
	background: #fff3f4;
}

.ipd-form-notice--success {
	border-color: #468165;
	background: #eff8f3;
}

.ipd-form a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Shared footer replaces unsupported old template proof globally. */
.ipd-site-footer {
	background: #171b21;
	color: #f7f7fa;
	padding-block: clamp(64px, 7vw, 100px) 24px;
}

.ipd-site-footer h2,
.ipd-site-footer p,
.ipd-site-footer a {
	color: #f7f7fa;
}

.ipd-footer-lead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
	gap: clamp(36px, 7vw, 120px);
	padding-block-end: clamp(48px, 6vw, 80px);
	border-block-end: 1px solid rgb(255 255 255 / 18%);
}

.ipd-footer-brand {
	display: inline-flex;
	align-items: center;
	width: 174px;
	padding: 8px 10px;
	border-radius: 5px;
	background: #fff;
}

.ipd-footer-brand .ipd-logo-image {
	width: 154px;
	max-height: 56px;
}

.ipd-footer-lead p {
	max-width: 620px;
	margin-block-start: 24px;
	color: #d4d9dd;
	font-size: clamp(16px, 1.5vw, 18px);
}

.ipd-footer-prompt p {
	margin-block-start: 0;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 650;
	line-height: 1.45;
	color: #fff;
}

.ipd-footer-prompt .ipd-button {
	margin-block-start: 22px;
}

.ipd-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	padding-block: clamp(48px, 5vw, 72px);
}

.ipd-footer-grid h2 {
	margin-block-end: 18px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ipd-footer-grid ul {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.ipd-footer-grid li,
.ipd-footer-grid a {
	min-width: 0;
	overflow-wrap: anywhere;
}

.ipd-footer-grid a {
	color: #d6dadd;
	font-size: 15px;
}

.ipd-footer-grid a:hover,
.ipd-footer-bottom a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ipd-footer-markets {
	margin-block-start: 26px !important;
	color: #adb5bc !important;
	font-size: 14px;
}

.ipd-footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	padding-block-start: 24px;
	border-block-start: 1px solid rgb(255 255 255 / 18%);
}

.ipd-footer-bottom p,
.ipd-footer-bottom a {
	color: #aeb5bc;
	font-size: 13px;
}

.ipd-footer-bottom > div {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.ipd-site-footer a:focus-visible {
	outline-color: var(--ipd-focus-dark);
}

@media (max-width: 1319px) {
	.ipd-header-inner {
		min-height: 68px;
		justify-content: space-between;
	}

	.ipd-brand,
	.ipd-logo-image {
		width: 152px;
	}

	.ipd-menu-toggle {
		display: grid;
		place-items: center;
	}

	.ipd-primary-navigation {
		display: none;
		position: absolute;
		inset-block-start: 100%;
		inset-inline: 0;
		max-height: calc(100dvh - 68px);
		overflow-y: auto;
		padding: 20px var(--ipd-gutter) 32px;
		border-block-end: 1px solid var(--ipd-border);
		background: #fff;
		box-shadow: 0 18px 32px rgb(23 27 33 / 14%);
	}

	.ipd-menu-open .ipd-primary-navigation,
	html.no-js .ipd-primary-navigation {
		display: block;
	}

	.ipd-nav-list {
		display: grid;
		gap: 0;
		white-space: normal;
	}

	.ipd-nav-list li + li {
		border-block-start: 1px solid var(--ipd-border);
	}

	.ipd-nav-list a {
		display: flex;
		min-height: 48px;
		font-size: 17px;
	}

	.ipd-nav-list a[aria-current="page"] {
		box-shadow: none;
	}

	.ipd-nav-end {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		margin-block-start: 20px;
		padding-block-start: 20px;
		border-block-start: 1px solid var(--ipd-border);
	}

	.ipd-language-switcher a {
		font-size: 14px;
	}
}

@media (max-width: 1023px) {
	.ipd-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ipd-hero-grid {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-block: 80px 56px;
	}

	.ipd-hero-art {
		max-width: 680px;
	}

	.ipd-division-grid,
	.ipd-product-grid,
	.ipd-insight-grid,
	.ipd-card-grid,
	.ipd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ipd-product-card:first-child {
		grid-column: span 2;
		min-height: 260px;
	}

	.ipd-method-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ipd-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ipd-footer-lead {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
}

@media (max-width: 767px) {
	.ipd-team-grid {
		grid-template-columns: 1fr;
	}

	.ipd-header-inner {
		min-height: 64px;
	}

	.ipd-brand,
	.ipd-logo-image {
		width: 142px;
	}

	.ipd-logo-image {
		max-height: 50px;
	}

	.ipd-primary-navigation {
		max-height: calc(100dvh - 64px);
	}

	.ipd-nav-end {
		align-items: stretch;
	}

	.ipd-nav-cta {
		width: 100%;
	}

	.ipd-section {
		padding-block: 56px;
	}

	.ipd-section-heading {
		margin-block-end: 32px;
	}

	.ipd-section-heading--split,
	.ipd-split,
	.ipd-section--markets .ipd-split,
	.ipd-page-hero__inner {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.ipd-hero-grid {
		padding-block: 68px 48px;
		gap: 36px;
	}

	.ipd-hero-copy h1 {
		margin-block-start: 14px;
	}

	.ipd-hero-copy .ipd-lead {
		margin-block-start: 20px;
	}

	.ipd-actions {
		align-items: stretch;
	}

	.ipd-hero .ipd-actions .ipd-button {
		width: 100%;
	}

	.ipd-division-grid,
	.ipd-product-grid,
	.ipd-insight-grid,
	.ipd-card-grid,
	.ipd-grid,
	.ipd-method-list,
	.ipd-media-grid,
	.ipd-form-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ipd-product-card:first-child {
		grid-column: auto;
	}

	.ipd-product-card {
		min-height: 270px;
	}

	.ipd-capability-grid {
		gap: 10px;
	}

	.ipd-capability-grid li {
		min-height: 132px;
		padding: 18px;
	}

	.ipd-method-index {
		margin-block-end: 20px;
	}

	.ipd-footer-lead,
	.ipd-footer-grid {
		grid-template-columns: 1fr;
	}

	.ipd-footer-grid {
		gap: 36px;
	}

	.ipd-footer-bottom {
		flex-direction: column;
	}

	.ipd-managed-article .ipd-page-hero {
		padding-block: 72px 56px;
	}
}

@media (max-width: 379px) {
	.ipd-capability-grid {
		grid-template-columns: 1fr;
	}

	.ipd-app-list a {
		grid-template-columns: 48px minmax(0, 1fr) auto;
		gap: 12px;
	}

	.ipd-app-monogram {
		width: 48px;
		height: 48px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .ipd-site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ipd-shell *,
	.ipd-shell *::before,
	.ipd-shell *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
