/* ==========================================================================
   IBA — layout & components that theme.json can't express
   ========================================================================== */

:root {
	--iba-header-h: 84px;
	--iba-rail-w: 56px;
	--iba-navy: #1d233e;
}

html {
	scroll-behavior: smooth;
}

/* No overflow is set on html/body on purpose. Overflow on body propagates to
   the viewport: `hidden` makes body the scroll container (which stops the
   sticky header sticking) and `clip` stops the page scrolling altogether.
   Horizontal overflow is contained on the individual full-bleed sections
   instead — see .iba-hero and .iba-split. */

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

/* The editor wraps each template part in its own div, which causes two
   problems: the header's wrapper is exactly the header's height, leaving the
   sticky header nowhere to travel; and the footer's wrapper is a flow sibling
   of <main>, so it picks up a block-gap margin that shows as a white strip
   above the footer. Collapsing both wrappers fixes each. */
.wp-block-template-part:has(> .iba-header),
.wp-block-template-part:has(> .iba-footer) {
	display: contents;
}

.iba-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: #fff;
}

.iba-header__inner {
	max-width: 980px;
	margin-inline: auto;
	min-height: var(--iba-header-h);
	padding-inline: clamp(1rem, 2vw, 0rem);
	gap: 1rem;
}

.iba-header__logo img {
	width: min(196px, 44vw);
	height: auto;
	max-height: none;
	max-width: none;
	object-fit: contain;
}

/* Nav items are separated by tall, pale blue rules on the live site */
.iba-header__nav .wp-block-navigation-item {
	position: relative;
	display: flex;
	justify-content: center;
	min-width: clamp(66px, 7.8vw, 100px);
	padding-inline: 0.35rem;
}

.iba-header__nav .wp-block-navigation-item + .wp-block-navigation-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 25px;
	width: 1px;
	background: #3979f4;
}

/* The page currently being viewed is shown in the brand blue. The label sits
   in a nested span, so it is targeted too. */
.iba-header__nav .wp-block-navigation-item a[aria-current="page"],
.iba-header__nav .wp-block-navigation-item a[aria-current="page"] .wp-block-navigation-item__label {
	color: #3979f4;
}

/* "More" dropdown: a white panel of right-aligned items divided by thin blue
   rules, matching the live menu. */
.iba-header__nav .wp-block-navigation__submenu-container {
	background: #fff;
	border: 0;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	min-width: 112px;
	padding: 0;
}

.iba-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	min-width: 0;
	display: block;
	padding: 0;
}

.iba-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item {
	border-top: 1px solid #3979f4;
}

/* The vertical rules between top-level items must not repeat inside the panel. */
.iba-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item::before {
	content: none;
}

.iba-header__nav .wp-block-navigation__submenu-container a {
	display: block;
	text-align: right;
	padding: 0.55rem 0.85rem;
	white-space: nowrap;
}

/* The live "More" item is plain text — no dropdown arrow. */
.iba-header__nav .wp-block-navigation-submenu__toggle svg,
.iba-header__nav .wp-block-navigation__submenu-icon {
	display: none;
}

.iba-header__nav a {
	white-space: nowrap;
}

.iba-header__nav a:hover {
	text-decoration: none;
	color: var(--wp--preset--color--blue);
}

/* --------------------------------------------------------------------------
   Cyan side rail (ABOUT / CONTACT, vertical)
   -------------------------------------------------------------------------- */

.iba-rail {
	position: fixed;
	left: 0;
	top: 45%;
	transform: translateY(-50%);
	z-index: 80;
	width: var(--iba-rail-w);
	background: var(--wp--preset--color--cyan);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	padding: 2rem 0;
}

.iba-rail__link {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
}

.iba-rail__link:hover {
	text-decoration: none;
	opacity: 0.65;
}

.iba-rail__divider {
	width: 22px;
	height: 1px;
	background: #000;
}

@media (max-width: 900px) {
	.iba-rail {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Hero — "81% of shoppers research online before buying"
   Text on the left; on the right a rounded photo with two example ads
   (search and social) floating over its edges. The ads are generic
   "ABC" examples, not real clients.
   -------------------------------------------------------------------------- */

.iba-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(2rem, 4vw, 4rem);
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 6rem) 2.5rem calc(var(--iba-rail-w) + clamp(1.5rem, 5vw, 6rem));
	background: #fff;
	color: var(--iba-navy);
	font-family: var(--wp--preset--font-family--body);
}

.iba-hero__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 7px 16px 7px 12px;
	border: 1px solid #e3e6ec;
	border-radius: 999px;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--iba-navy);
}

.iba-hero__leaf {
	width: 17px;
	height: 17px;
	flex: none;
	fill: #e0262a;
}

.iba-hero__title {
	margin: 1.4rem 0 0;
	font-family: inherit;
	font-weight: 700;
	font-size: clamp(2.4rem, 4.4vw, 3.9rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-transform: none;
	color: var(--iba-navy);
}

.iba-hero__title span { color: var(--wp--preset--color--blue, #3979f4); }

.iba-hero__sub {
	max-width: 33rem;
	margin: 1.4rem 0 0;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.55;
	color: #4a515c;
}

.iba-hero__btn {
	display: inline-block;
	margin-top: 2rem;
	padding: 18px 34px;
	border-radius: 999px;
	background: var(--iba-navy);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	transition: background 0.15s;
}

.iba-hero__btn:hover,
.iba-hero__btn:focus-visible { background: var(--wp--preset--color--blue, #3979f4); color: #fff; }

/* Realize -> Research -> Purchase */
.iba-hero__steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
}

.iba-hero__step {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 12px;
	border: 2px solid #d9dce3;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
}

.iba-hero__step img { width: 24px; height: 24px; flex: none; }

.iba-hero__arrow { display: flex; }

.iba-hero__arrow svg {
	width: 28px;
	height: 12px;
	fill: none;
	stroke: #b8bdc8;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Photo with the two ads floating over its edges */
.iba-hero__visual {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	padding: 0 11% 0 22%;
}

.iba-hero__photo {
	min-width: 0;
	aspect-ratio: 440 / 690;
	overflow: hidden;
	border-radius: 32px;
	box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
}

.iba-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 36%;
	display: block;
}

.iba-hero__ad {
	position: absolute;
	width: 31%;
	margin: 0;
}

.iba-hero__ad img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 24px 50px rgba(15, 23, 42, 0.22);
}

.iba-hero__ad--search { left: 0; top: 7%; transform: rotate(-4deg); }
.iba-hero__ad--social { right: 0; top: 44%; transform: rotate(4deg); }

.iba-hero__ad figcaption {
	position: absolute;
	left: 50%;
	bottom: -16px;
	transform: translateX(-50%);
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--iba-navy);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #2bffe6;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
}

/* "Ads that run on" logo row */
.iba-hero__platforms {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: 3rem;
	padding-top: 1.4rem;
	border-top: 1px solid #eceef2;
}

.iba-hero__platforms p {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8a90a0;
}

.iba-hero__platforms ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iba-hero__platforms img {
	display: block;
	width: auto;
	height: 24px;
	filter: grayscale(1);
	opacity: 0.55;
}

/* Phones and small tablets: one centred column, photo under the text. */
@media (max-width: 900px) {
	.iba-hero {
		grid-template-columns: minmax(0, 1fr);
		padding-inline: clamp(1.25rem, 6vw, 2.5rem);
		text-align: center;
	}

	.iba-hero__tag {
		font-size: 0.6875rem;
		white-space: nowrap;
	}

	.iba-hero__sub { margin-inline: auto; }

	.iba-hero__steps {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 0.35rem;
		margin-top: 2.25rem;
	}

	.iba-hero__step {
		gap: 6px;
		padding: 7px 11px 7px 9px;
		font-size: 0.8125rem;
	}

	.iba-hero__step img { width: 18px; height: 18px; }
	.iba-hero__arrow svg { width: 14px; }

	.iba-hero__visual {
		width: 100%;
		max-width: 480px;
		margin: 3rem auto 0;
		padding: 0 14%;
	}

	.iba-hero__ad { width: 36%; }
	.iba-hero__ad--search { left: -2%; }
	.iba-hero__ad--social { right: -2%; }
	.iba-hero__ad figcaption { font-size: 0.625rem; padding: 5px 10px; bottom: -13px; }
	.iba-hero__platforms { justify-content: center; }
	.iba-hero__platforms ul { justify-content: center; gap: 1rem 1.6rem; }
}

/* Phones: three equal tiles, icon over label, so the steps always fit. */
@media (max-width: 600px) {
	.iba-hero__steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.iba-hero__arrow { display: none; }

	.iba-hero__step {
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		padding: 10px 4px;
		border-radius: 16px;
		font-size: 0.8125rem;
	}

	.iba-hero__step img { width: 22px; height: 22px; }
}

/* --------------------------------------------------------------------------
   Platform sections (Meta / Google / Spotify)
   -------------------------------------------------------------------------- */

.iba-platform {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	padding-block: clamp(3rem, 8vw, 6rem);
	max-width: 1400px;
	margin-inline: auto;
}

.iba-platform--reverse .iba-platform__media {
	order: 2;
}

.iba-platform__media {
	margin: 0;
}

.iba-platform__media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.iba-platform__logo {
	margin: 0 0 1.25rem;
}

.iba-platform__logo img {
	max-height: 46px;
	width: auto;
}

.iba-platform__eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.9rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.iba-platform__title {
	margin-block: 0 1rem;
}

@media (max-width: 860px) {
	.iba-platform {
		grid-template-columns: 1fr;
	}

	.iba-platform--reverse .iba-platform__media {
		order: 0;
	}
}

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

.iba-footer {
	padding-block: clamp(2rem, 4vw, 3rem) 0;
}

/* Contact details left, form right — the live footer's proportions. */
.iba-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 200px) minmax(0, 608px);
	justify-content: space-between;
	gap: clamp(1.5rem, 6vw, 8.75rem);
	align-items: start;
	max-width: 950px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.iba-footer__details {
	padding-top: 2.5rem;
}

.iba-footer__kicker {
	font-family: var(--wp--preset--font-family--display);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 1rem;
}

.iba-footer__company {
	font-family: var(--wp--preset--font-family--display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.iba-footer__legal {
	margin: 2rem 0 0;
	padding-block: 0.9rem;
	border-top: 1px solid rgba(0, 0, 0, 0.35);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 780px) {
	.iba-footer__grid {
		grid-template-columns: 1fr;
	}
}

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

.iba-form {
	display: grid;
	gap: 1rem;
}

.iba-form label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

/* Boxed fields on a white ground, matching the live form. `display: block`
   stops the wrapper's line box adding ~27px of leading under every field, and
   form controls don't inherit border-box, so padding and border would
   otherwise be added on top of the intended width and height. */
.iba-form input,
.iba-form textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.75);
	background: #fff;
	padding: 0.3rem 0.55rem;
	font: inherit;
	font-size: 0.85rem;
	line-height: 1.5;
	border-radius: 0;
}

.iba-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.iba-form input:focus,
.iba-form textarea:focus {
	outline: 0;
	border-color: var(--wp--preset--color--blue);
}

.iba-form button {
	position: relative;
	z-index: 1;
	background: #000;
	color: #fff;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 1.35rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	min-width: 150px;
	min-height: 61px;
	padding: 0 1.5rem;
}

.iba-form button:hover {
	background: var(--wp--preset--color--cyan);
	color: #000;
}

.iba-form__hp {
	position: absolute;
	left: -9999px;
}

.iba-form__notice {
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--cyan);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.iba-post-grid {
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.iba-single__cats a {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
}

.iba-single__date {
	color: var(--wp--preset--color--grey-600);
}

/* The featured image is set to a 16/9 crop; the img has to carry the ratio
   itself, otherwise it renders at its natural (often very tall) height. */
.iba-single__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.iba-post-card__image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */

.iba-main {
	position: relative;
}

@media (max-width: 900px) {
	.iba-main {
		padding-left: 0;
	}
}

.iba-section-title {
	text-align: center;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* --------------------------------------------------------------------------
   Inner-page banner + content
   -------------------------------------------------------------------------- */

/* The content column is capped at contentSize, so a full-bleed section sized
   at 100% of it stops short of the viewport. Sizing from the viewport instead
   lets these sections truly span edge to edge. */
.iba-main .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.iba-main .alignwide {
	max-width: var(--wp--style--global--wide-size);
}

/* The inner-page banner: halftone field, the platform screenshot centred in it,
   then a wide-tracked black title and the cyan chevron — as on the live site. */
.iba-page-banner {
	margin-top: 0;
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
	text-align: center;
	background-color: #fafafa;
	background-image: radial-gradient(rgba(0, 0, 0, 0.11) 1px, transparent 1px);
	background-size: 5px 5px;
}

/* Full-bleed. WordPress's constrained layout sets `margin-inline: auto` with
   !important on every non-aligned child, so breaking out to the viewport width
   needs !important to match it — otherwise the auto margins win and the figure
   stays inside the group's padded content box. */
.iba-page-banner__shot {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	width: 100vw;
	max-width: none;
}

.iba-page-banner__shot img {
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

.iba-page-banner .iba-page-title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	letter-spacing: 0.18em;
	margin: 0;
}

.iba-chevron {
	display: block;
	width: clamp(70px, 8vw, 110px);
	height: auto;
	margin: clamp(1.25rem, 3vw, 2rem) auto 0;
	color: var(--wp--preset--color--cyan);
}

.iba-content > * + * {
	margin-top: 1.35rem;
}

.iba-content .iba-section-heading {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	margin-bottom: 1rem;
}

.iba-content .wp-block-image {
	margin-block: clamp(2rem, 4vw, 3rem);
}

.iba-content .wp-block-image img {
	width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   Split panels — the alternating colour-block rows used on the platform pages.

   Each row is a 50/50 grid: one half a flat colour panel carrying a boxed
   heading and white copy, the other half a full-bleed image (or a second flat
   panel holding a floating screenshot card).
   -------------------------------------------------------------------------- */

.iba-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	min-height: 520px;
}

/* Put the media half on the left instead of the right. */
.iba-split--media-first .iba-split__media {
	order: -1;
}

.iba-split__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4.5vw, 4rem);
	color: #fff;
}

.iba-split__panel p {
	color: #fff;
	font-size: clamp(0.9rem, 1.05vw, 1rem);
	line-height: 1.6;
	margin: 0 0 1.1rem;
}

.iba-split__panel p:last-child {
	margin-bottom: 0;
}

.iba-split__panel a {
	color: #fff;
	text-decoration: underline;
}

/* The white-outlined heading box */
.iba-boxed-title {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 600;
	font-size: clamp(1.25rem, 2vw, 1.9rem);
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: #fff;
	text-align: center;
	border: 3px solid #fff;
	padding: 0.7em 1.1em;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	align-self: center;
	width: fit-content;
	max-width: 100%;
}

/* Media half: fills its cell edge to edge. */
.iba-split__media {
	position: relative;
	margin: 0;
	min-height: 320px;
	overflow: hidden;
}

.iba-split__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* A flat-colour half with a screenshot floating on it rather than a photo. */
.iba-split__card {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 4vw, 3.5rem);
}

.iba-split__card img {
	width: 100%;
	max-width: 560px;
	height: auto;
	display: block;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Full-width single-colour band (e.g. "Track everything!") */
.iba-band {
	padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem);
	color: #fff;
	text-align: center;
}

.iba-band .iba-boxed-title {
	margin-inline: auto;
}

.iba-band p {
	color: #fff;
	max-width: 60ch;
	margin: 0 auto 1.1rem;
	line-height: 1.6;
}

.iba-band p:last-child {
	margin-bottom: 0;
}

@media (max-width: 860px) {
	.iba-split {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.iba-split--media-first .iba-split__media {
		order: 0;
	}

	.iba-split__media {
		min-height: 260px;
	}
}

/* Dark banner variant — used where the page leads with a photographic backdrop
   (Meta's neon wall, Spotify's app screenshots) rather than the halftone field. */
.iba-page-banner--dark {
	position: relative;
	background-color: #0d0d0d;
	background-image: none;
	overflow: hidden;
}

.iba-page-banner--dark .iba-page-banner__bg {
	position: absolute;
	inset: 0;
	margin: 0;
	max-width: none;   /* the constrained layout would otherwise cap it to contentSize */
	width: 100%;
}

.iba-page-banner--dark .iba-page-banner__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Scrim so the logo and title read cleanly over the photo, as on the live site. */
.iba-page-banner--dark .iba-page-banner__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.iba-page-banner--dark > :not(.iba-page-banner__bg) {
	position: relative;
	z-index: 1;
}

.iba-page-banner--dark .iba-page-banner__shot img {
	mix-blend-mode: normal;
}

.iba-page-banner--dark .iba-page-title {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Phone mock-up — the device frame is one image and the screen content another
   (an animated GIF of a Facebook ad), composited the way the live page does it.
   -------------------------------------------------------------------------- */

.iba-phone {
	position: relative;
	width: 100%;
	max-width: 305px;
	margin-inline: auto;
	aspect-ratio: 305 / 603;
}

.iba-phone__screen,
.iba-phone__frame {
	position: absolute;
	margin: 0;
}

/* Screen sits inside the bezel: 258x460 within the 305x603 frame. The device
   PNG has an opaque white screen, so the content layers on top of it. */
.iba-phone__screen {
	left: 7.5%;
	top: 11.9%;
	width: 84.6%;
	height: 76.3%;
	overflow: hidden;
	background: #fff;
	z-index: 2;
}

.iba-phone__screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iba-phone__frame {
	inset: 0;
	z-index: 1;
}

.iba-phone__screen img {
	object-position: top center;
}

.iba-phone__frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* --------------------------------------------------------------------------
   "Modern" page layout — used by the TikTok and Microsoft Ads pages, which
   were designed later than the colour-block platform pages.
   -------------------------------------------------------------------------- */

.iba-modern-banner {
	text-align: center;
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
	background: #fff;
}

.iba-modern-banner__logo {
	margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
	width: min(180px, 42vw);   /* the figure shrink-wraps by default, so set it explicitly */
	max-width: none;
}

.iba-modern-banner__logo img {
	width: 100%;
	height: auto;
}

.iba-modern-banner .iba-page-title {
	font-size: clamp(1.9rem, 4vw, 3rem);
	letter-spacing: 0.18em;
	margin: 0 0 0.6rem;
}

.iba-modern-banner__sub {
	font-weight: 600;
	font-size: clamp(0.9rem, 1.2vw, 1.05rem);
	margin: 0;
}

.iba-modern-banner .iba-chevron {
	color: var(--wp--preset--color--grey-300);
	width: clamp(38px, 4vw, 54px);
	stroke-width: 2;
}

/* Full-width black band with centred copy */
.iba-band--black {
	background: #000;
	color: #fff;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.iba-band--black p {
	color: #fff;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	max-width: 46ch;
	margin-inline: auto;
}

/* Two-column feature: copy + CTA on the left, screenshot on the right */
.iba-feature {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.iba-feature__heading {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	text-transform: none;
	letter-spacing: -0.01em;
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	text-align: center;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: 24ch;
}

.iba-feature__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.iba-feature__copy p {
	font-size: 0.9rem;
	line-height: 1.7;
}

.iba-feature__media {
	margin: 0;
}

.iba-feature__media img {
	width: 100%;
	height: auto;
	display: block;
}

/* Gradient strip */
.iba-gradient-strip {
	background: linear-gradient(90deg, #f2622c 0%, #ec2b7e 42%, #b02fc0 72%, #8b2fd0 100%);
	color: #fff;
	text-align: center;
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.iba-gradient-strip p {
	color: #fff;
	font-size: clamp(1rem, 1.6vw, 1.4rem);
	margin: 0;
}

/* Closing "Let's chat!" band */
.iba-cta-band {
	background: #000;
	color: #fff;
	text-align: center;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.iba-cta-band__title {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	text-transform: none;
	font-size: clamp(2.25rem, 5vw, 4rem);
	color: #fff;
	margin: 0 0 1rem;
	text-shadow: 2px 2px 0 rgba(43, 255, 230, 0.55), -2px -2px 0 rgba(252, 144, 119, 0.45);
}

.iba-cta-band p {
	color: #fff;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	max-width: 40ch;
	margin-inline: auto;
}

@media (max-width: 860px) {
	.iba-feature__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Homepage intro + platform cards

   Each platform is a two-column row: centred copy on one side, and on the
   other a portrait gradient card with the platform logo centred on it and a
   small pastel tab sitting on its top edge.
   -------------------------------------------------------------------------- */

.iba-intro {
	text-align: center;
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.iba-intro__title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.iba-intro p {
	max-width: 62ch;
	margin: 0 auto 2rem;
	line-height: 1.75;
}

/* Squared, letter-spaced outline button (the live "CONTACT" control) */
.iba-btn-outline .wp-block-button__link {
	background: transparent;
	color: #000;
	border: 1px solid #000;
	border-radius: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.8rem;
	letter-spacing: 0.32em;
	padding: 0.9rem 2.4rem;
}

.iba-btn-outline .wp-block-button__link:hover {
	background: #000;
	color: #fff;
}

.iba-platforms-title {
	text-align: center;
	margin: clamp(2rem, 5vw, 3.5rem) 0 0.5rem;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
}

/* --- one platform row --- */

.iba-plat {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.iba-plat--reverse .iba-plat__card {
	order: -1;
}

.iba-plat__body {
	text-align: center;
}

.iba-plat__title {
	font-size: clamp(1.3rem, 2.4vw, 1.85rem);
	margin: 0 0 1.25rem;
}

.iba-plat__body p {
	max-width: 42ch;
	margin: 0 auto 1.75rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

/* Pill link under the copy */
.iba-btn-pill .wp-block-button__link {
	background: transparent;
	color: #000;
	border: 1px solid #000;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	font-size: 0.8rem;
	letter-spacing: 0;
	padding: 0.7rem 1.6rem;
}

.iba-btn-pill .wp-block-button__link:hover {
	background: #000;
	color: #fff;
}

/* --- the gradient card --- */

.iba-plat__card {
	position: relative;
	width: min(370px, 100%);
	margin-inline: auto;
	aspect-ratio: 37 / 44;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}

.iba-plat__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--card-bg);
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.iba-plat__logo {
	width: 68%;
	margin: 0;
}

.iba-plat__logo img {
	width: 100%;
	height: auto;
	display: block;
}

/* Pastel tab sitting on the card's top edge */
.iba-plat__tab {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-54%);
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 1.1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #000;
	white-space: nowrap;
}

.iba-plat__tab::before {
	content: "";
	width: 18px;
	height: 1px;
	background: currentColor;
}

@media (max-width: 860px) {
	.iba-plat {
		grid-template-columns: 1fr;
	}

	.iba-plat--reverse .iba-plat__card {
		order: 0;
	}
}

/* --------------------------------------------------------------------------
   Edge-to-edge sections

   The post-content wrapper is a flow layout, so WordPress inserts its block
   gap between every child. The live site's colour bands butt straight up
   against each other, so the gap is removed for these components.
   -------------------------------------------------------------------------- */

.iba-main .iba-page-banner,
.iba-main .iba-modern-banner,
.iba-main .iba-split,
.iba-main .iba-band,
.iba-main .iba-band--black,
.iba-main .iba-gradient-strip,
.iba-main .iba-cta-band {
	margin-block: 0;
}

/* Grid children pick up the same gap; they're positioned by the grid instead. */
.iba-split > *,
.iba-feature__grid > * {
	margin-block: 0;
}

/* --------------------------------------------------------------------------
   Banner video — Google, Meta and Spotify lead with looping video on the live
   site rather than a still.
   -------------------------------------------------------------------------- */

.iba-page-banner__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 0;
}

/* Google's banner video is the search-results animation sitting in the middle
   of the halftone field, not a full-bleed backdrop. */
/* Multiply knocks the video's white background out against the halftone
   field, so the dots show through and only the Google UI reads — matching the
   still-image treatment above and the live site.

   The source is 1912x766 (aspect 2.5), which is 577px tall at full width. The
   ratio below trims that by ~35%; `cover` crops the empty margin above and
   below the Google UI rather than squashing it. */
.iba-page-banner__shot video {
	width: 100%;
	aspect-ratio: 3.84;
	height: auto;
	object-fit: cover;
	display: block;
	mix-blend-mode: multiply;
}

/* Tighter footer form: fields sit close together as on the live site. The
   paragraph wrappers carry the theme's default block spacing, so zero them
   and let the form's own grid gap do the spacing. */
.iba-footer__form .iba-form {
	gap: 12px;
}

.iba-footer__form .iba-form > p,
.iba-footer__form .iba-form > p:first-child {
	margin-block: 0;
}

.iba-footer .iba-footer__kicker {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
}

.iba-footer__details p {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
}

.iba-footer__company {
	margin-bottom: 0.75rem !important;
}

.iba-footer__social {
	margin-top: 1rem;
	gap: 0.35rem;
}

/* wpautop wraps the <button> in a paragraph, so the wrapper — not the button —
   is the grid item that has to be centred and pulled over the textarea. The
   selector is scoped to the footer so it outranks the `margin-block: 0` reset
   applied to the other paragraph wrappers. */
.iba-footer__form .iba-form > p:has(> button) {
	text-align: center;
	margin-top: calc(-19px - 12px);
}

/* wpautop also leaves an empty paragraph behind, which would add a grid row. */
.iba-form > p:empty {
	display: none;
}
/* --------------------------------------------------------------------------
   Pricing page

   Rebuilt in one pass against the live card at 1:1 (card = 400px wide):

     card    400 wide, 15px radius, 0 4px 10px rgba(0,0,0,.1)
     indigo  375 x 235, 30px radius; 26px wider than the card on the left and
             clipped by it, which is why its left corners read square
     price   "$599" ~62px bold with a ~26px light "/Month"
     pill    260 x 38, white on the indigo
     feature 15px on a 35px row pitch, 22px check icon
     CTA     142 x 38 black, 5px radius
   -------------------------------------------------------------------------- */

.iba-pricing {
	background: linear-gradient(180deg, #fff 16.83%, rgba(43, 255, 230, 0.26) 100%);
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem);
}

.iba-pricing__eyebrow {
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: clamp(1.15rem, 1.95vw, 1.5625rem);
	text-transform: none;
	letter-spacing: 0;
	color: #000;
	margin: 0 0 0.25rem;
}

.iba-pricing__title {
	position: relative;
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	font-size: clamp(2rem, 3.9vw, 3.125rem);
	line-height: 1.4;
	color: #000;
	margin: 0 0 2rem;
	padding-bottom: 1.1rem;
}

/* Short rule under the headline — narrower than the headline itself. */
.iba-pricing__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: min(300px, 60%);
	height: 2px;
	background: #000;
}

.iba-pricing__sub {
	text-align: center;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	max-width: 62ch;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	color: #4a4a4a;
}

/* --- plan card --- */

.iba-plan {
	max-width: 400px;
	margin-inline: auto;
	background: #fff;
	border-radius: 15px;
	box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px 0;
	overflow: hidden;
	padding-bottom: 1.5rem;
}

.iba-plan__head {
	background: #4e4aff;
	border-radius: 30px;
	box-shadow: rgba(0, 0, 0, 0.5) 0 1px 7px 1px;
	color: #fff;
	text-align: center;
	margin: 23px 25px 0 -26px;
	padding: 26px 20px;
}

.iba-plan__price {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 62px;
	line-height: 1.15;
	margin: 0;
}

.iba-plan__price span {
	font-size: 26px;
	font-weight: 300;
}

.iba-plan__variable {
	display: inline-block;
	margin: 0.7rem 0 0.55rem;
	padding: 0 1.75rem;
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-size: 17px;
	font-weight: 500;
	white-space: nowrap;
}

.iba-plan__note {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
}

.iba-plan__features {
	list-style: none;
	margin: 0;
	padding: 30px 24px 0 40px;
	display: grid;
	gap: 0;
}

.iba-plan__features li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	line-height: 35px;
	color: #000;
}

.iba-plan__features img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex: none;
}

.iba-plan__cta {
	padding: 22px 20px 0;
	text-align: center;
}

/* --- the two secondary cards ---

   Measured off the live pair at 1:1: cards 390 wide on a 70px gap, each with
   a 368 x 75 indigo header that is clipped flush to the card's left edge and
   inset 22px on the right, 15px body copy in two paragraphs, and a 142 x 36
   black CTA.                                                              */

.iba-extra-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 390px));
	justify-content: center;
	gap: 70px;
	max-width: 850px;
	margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

/* The group is a flow layout, so the second card would inherit a block-gap
   margin and sit lower than the first. */
.iba-extra-cards > * {
	margin-block: 0;
}

.iba-extra-card {
	background: #fff;
	border-radius: 15px;
	box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding-bottom: 34px;
}

.iba-extra-card__head {
	background: #4e4aff;
	border-radius: 30px;
	box-shadow: rgba(0, 0, 0, 0.5) 0 1px 7px 1px;
	color: #fff;
	text-align: center;
	margin: 22px 22px 0 -26px;
	padding: 18px 20px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: 0;
}

.iba-extra-card__body {
	padding: 24px 33px 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.iba-extra-card__body p {
	margin: 0 0 1.15rem;
	font-size: 15px;
	line-height: 1.55;
	color: #000;
}

.iba-extra-card__body p:last-of-type {
	margin-bottom: 0;
}

/* --- shared black CTA --- */

.iba-btn-dark .wp-block-button__link {
	background: #000;
	color: #fff;
	border-radius: 5px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 142px;
	min-height: 38px;
	padding: 0 1rem;
	font-size: 17px;
}

.iba-btn-dark .wp-block-button__link:hover {
	background: #222;
}

/* Raw HTML blocks don't get WordPress's layout CSS, so centre these here.
   padding-top guarantees clearance when the copy fills the card; margin-top
   auto pins the button to the bottom when it doesn't. */
.iba-plan__cta .wp-block-buttons,
.iba-extra-card__body .wp-block-buttons {
	display: flex;
	justify-content: center;
	margin-top: auto;
	padding-top: 28px;
}

@media (max-width: 780px) {
	.iba-extra-cards {
		grid-template-columns: 1fr;
	}
}
}

/* Live footer details: underlined contact links and small plain social glyphs. */
.iba-footer__details a {
	text-decoration: underline;
}

.iba-footer__details .iba-footer__company {
	font-size: 0.8rem;
}

.iba-footer__social .wp-block-social-link {
	margin: 0;
}

.iba-footer__social .wp-social-link {
	padding: 0;
	width: 20px;
	height: 20px;
}

.iba-footer__social svg {
	width: 15px;
	height: 15px;
}

.iba-form textarea {
	min-height: 128px;
}

/* The form column is a flow layout, so the kicker and the form were separated
   by the theme's block gap on top of the kicker's own margin. */
.iba-footer__form > * {
	margin-block: 0;
}

.iba-footer .iba-footer__form .iba-footer__kicker {
	margin: 0 0 0.55rem;
}

/* --------------------------------------------------------------------------
   About Us — full-bleed dark photo backdrop with white copy laid over it,
   closing on a light footer band.
   -------------------------------------------------------------------------- */

.iba-about {
	position: relative;
	color: #fff;
	padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 3rem) clamp(4rem, 9vw, 6rem);
}

/* is-layout-constrained caps every direct child to content-size and centres
   it — including this one, which is why the photo stopped short of the page
   edges instead of bleeding full width. max-width: none overrides that. */
.iba-about.is-layout-constrained > .iba-about__bg {
	max-width: none;
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	z-index: -1;
}

.iba-about__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iba-about__title {
	position: relative;
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: clamp(1.6rem, 3.4vw, 2.5rem);
	line-height: 1.4;
	color: #fff;
	max-width: 52rem;
	margin: 0 auto 1.25rem;
	padding-bottom: calc(15px + 3px);
}

.iba-about__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 42px;
	height: 3px;
	background: #fff;
}

.iba-about .wp-block-group.iba-about__copy {
	max-width: 58rem;
	margin-inline: auto;
	text-align: center;
}

.iba-about__copy p {
	color: #fff;
	font-weight: 400;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.6;
	margin: 0 0 clamp(2rem, 4vw, 2.75rem);
}

.iba-about__subhead {
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	font-size: clamp(1.15rem, 1.9vw, 1.25rem);
	color: #fff;
	margin: 0 0 1.5rem;
}

.iba-about__logo {
	max-width: 267px;
	margin: clamp(2rem, 5vw, 3rem) auto 0;
}

.iba-about__logo img {
	width: 100%;
	height: auto;
	display: block;
}

/* --------------------------------------------------------------------------
   FAQ — intro with jump links beside the speech-bubble art, then Q&A sections
   in alternating navy / white full-bleed bands.
   -------------------------------------------------------------------------- */

.iba-faq-intro {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
}

.iba-faq-intro__title {
	text-align: center;
	color: var(--wp--preset--color--panel-navy);
	font-size: clamp(1.9rem, 3.9vw, 3.125rem);
	letter-spacing: 5px;
	line-height: 1.4;
	margin: 0 0 1rem;
}

.iba-faq-intro__lead {
	margin: 0 0 1.25rem;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.6;
	color: #000;
}

.iba-faq-intro__lead a {
	color: inherit;
	text-decoration: underline;
}

/* The intro sits in the same 880px column as the answers below it. */
.iba-faq-intro > * {
	max-width: 880px;
	margin-inline: auto;
}

.iba-faq-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.iba-faq-jump {
	margin: 0;
	padding-left: 1.15rem;
}

.iba-faq-jump li {
	margin-bottom: 0.35rem;
}

.iba-faq-jump a {
	color: var(--wp--preset--color--panel-navy);
	font-weight: 700;
	font-size: clamp(0.9rem, 1.45vw, 1.125rem);
	line-height: 1.8;
	text-decoration: none;
}

.iba-faq-jump a:hover {
	text-decoration: underline;
}

.iba-faq-intro__art {
	margin: 0;
}

.iba-faq-intro__art img {
	width: 100%;
	height: auto;
	display: block;
}

/* --- one Q&A band --- */

.iba-faq-item {
	padding-block: clamp(2rem, 4vw, 3rem);
	scroll-margin-top: calc(var(--iba-header-h) + 1rem);
}

/* Keep the copy in the site's content band; only the colour bleeds full width. */
.iba-faq-item > * {
	max-width: 880px;
	margin-inline: auto;
}

.iba-faq-item--navy {
	background: var(--wp--preset--color--panel-navy);
	color: #fff;
}

/* Live sets these in Anton at 38px in sentence case, not the theme's
   default uppercase heading treatment. */
.iba-faq-item__q {
	font-size: clamp(1.6rem, 2.7vw, 2.375rem);
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--panel-navy);
}

.iba-faq-item--navy .iba-faq-item__q {
	color: #fff;
}

.iba-faq-item p {
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.4;
	margin: 0 0 1.4rem;
}

.iba-faq-item a {
	color: inherit;
	text-decoration: underline;
}

.iba-faq-item p:last-child {
	margin-bottom: 0;
}

.iba-faq-item--navy p {
	color: #fff;
}

.iba-faq-item--navy a {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 780px) {
	.iba-faq-intro__grid {
		grid-template-columns: 1fr;
	}

	.iba-faq-intro__art {
		max-width: 320px;
		margin-inline: auto;
	}
}

/* --------------------------------------------------------------------------
   Privacy policy — blue gradient page with Raleway headings, the only page on
   the site that uses that face.
   -------------------------------------------------------------------------- */

/* Measured off the live page: a 905px column, Anton title, Raleway 400
   headings at 38px and 16px body copy with no gap between paragraphs. */
.iba-privacy {
	background: linear-gradient(90deg, #5bbdf4 0%, #6ccaf7 100%);
	color: #fff;
	padding-block: clamp(2rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
}

.iba-privacy > * {
	max-width: 905px;
	margin-inline: auto;
}

.iba-privacy__title {
	color: #fff;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	letter-spacing: 4px;
	line-height: 1.4;
	margin: 0 0 14px;
}

.iba-privacy h2 {
	font-family: var(--wp--preset--font-family--raleway);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	font-size: clamp(1.6rem, 3vw, 2.375rem);
	line-height: 1.18;
	color: #fff;
	margin: 7px 0 4px;
}

.iba-privacy p {
	font-family: var(--wp--preset--font-family--raleway);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.19;
	color: #fff;
	margin: 0;
}

.iba-privacy a {
	color: #fff;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Lawyers Edmonton — a standalone landing page with its own type palette:
   Caveat for the handwritten accents and Kanit for the benefits strip.
   -------------------------------------------------------------------------- */

/* Geometry measured off the live page at a 1440 viewport. Mobile is the
   stacked default; the measured desktop layout is layered on at 1001px+. */

.iba-law-hero,
.iba-law-steps,
.iba-law-pricing,
.iba-law-fee {
	--law-helvetica: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--law-blue: #4e4aff;
}

.iba-law-hero {
	text-align: center;
	padding-block: clamp(1.5rem, 3vw, 2rem) 0;
}

.iba-law-hero__search {
	max-width: 843px;
	margin: 0 auto clamp(1rem, 2.5vw, 1.75rem);
}

.iba-law-hero__search img {
	width: 100%;
	height: auto;
	display: block;
}

.iba-law-hero__script {
	font-family: var(--wp--preset--font-family--caveat);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	/* Live uses a narrow hand-drawn face that isn't web-available; Caveat is
	   wider, so it's set smaller to keep the same footprint. */
	font-size: clamp(2.25rem, 3.75vw, 3.375rem);
	line-height: 1.15;
	color: #000;
	margin: 0;
}

.iba-law-hero__headline {
	font-family: var(--law-helvetica);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: clamp(2rem, 4.25vw, 3.8125rem);
	line-height: 1.2;
	color: #000;
	margin: 0;
}

/* "ROI", with the hand-drawn accent marks either side */
.iba-law-hero__roi {
	position: relative;
	display: inline-block;
	margin: 0 auto;
	padding-inline: clamp(2.5rem, 7vw, 5.5rem);
}

.iba-law-hero__roi span {
	font-family: var(--wp--preset--font-family--caveat);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(5rem, 12.2vw, 11rem);
	line-height: 1.26;
	letter-spacing: 0.01em;
	color: var(--law-blue);
}

.iba-law-hero__roi::before,
.iba-law-hero__roi::after {
	content: "";
	position: absolute;
	top: 38%;
	width: clamp(1.6rem, 4vw, 3rem);
	height: clamp(2.4rem, 6vw, 4.4rem);
	background:
		linear-gradient(var(--law-blue), var(--law-blue)) left 0 top 12% / 100% 5%,
		linear-gradient(var(--law-blue), var(--law-blue)) left 6% top 48% / 78% 5%,
		linear-gradient(var(--law-blue), var(--law-blue)) left 0 top 84% / 92% 5%;
	background-repeat: no-repeat;
	transform: rotate(-14deg);
}

.iba-law-hero__roi::before {
	left: 0;
}

.iba-law-hero__roi::after {
	right: 0;
	transform: rotate(14deg) scaleX(-1);
}

.iba-law-underline {
	max-width: 311px;
	margin: -1.25rem auto 1.5rem;
}

.iba-law-underline img {
	width: 100%;
	height: auto;
	display: block;
}

.iba-law-hero__lead {
	max-width: 687px;
	margin: 0 auto;
	font-family: var(--wp--preset--font-family--kanit);
	font-size: clamp(1rem, 1.35vw, 1.1875rem);
	line-height: 1.3;
	color: #000;
}

/* --- blue benefits bar, straddling the top edge of the purple band --- */

.iba-law-strip {
	position: relative;
	z-index: 3;
	max-width: 906px;
	margin: 1.75rem auto 0;
	background: var(--law-blue);
	border-radius: 30px;
	color: #fff;
	display: grid;
	/* Column widths follow the live divider positions (263 / 398 / 245px). */
	grid-template-columns: 263fr 398fr 245fr;
	align-items: center;
	padding: 34px 0 36px;
}

.iba-law-strip__item {
	text-align: center;
	padding-inline: 0.5rem;
}

.iba-law-strip__item + .iba-law-strip__item {
	border-left: 2px solid #fff;
}

.iba-law-strip__item strong {
	display: block;
	font-family: var(--wp--preset--font-family--kanit);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(1.25rem, 2.65vw, 2.375rem);
	line-height: 1.4;
	white-space: nowrap;
}

/* Live sizes each label to fit its column: 38 / 30 / 33px. */
.iba-law-strip__item:nth-child(2) strong { font-size: clamp(1.05rem, 2.1vw, 1.875rem); line-height: 1.4; }
.iba-law-strip__item:nth-child(3) strong { font-size: clamp(1.15rem, 2.3vw, 2.0625rem); line-height: 1.4; }

.iba-law-strip__item span {
	display: block;
	font-family: var(--wp--preset--font-family--kanit);
	font-weight: 400;
	font-size: clamp(0.85rem, 1.4vw, 1.25rem);
	line-height: 1.4;
}

/* --- three numbered step cards over the purple photo --- */

.iba-law-steps {
	position: relative;
	color: #fff;
	overflow: hidden;
	padding: clamp(8rem, 15.8vw, 228px) 1rem 63px;
}

/* Pull the band up under the bar so the bar straddles its top edge. A margin
   on the bar itself gets zeroed by the hero group's layout rules, and the
   flow layout would otherwise add its block gap here. */
.iba-main .iba-law-steps {
	margin-block: -73px 0;
}

.iba-law-steps__bg {
	position: absolute;
	inset: 0;
	margin: 0;
	max-width: none;
	z-index: -1;
}

.iba-law-steps__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iba-law-steps__grid {
	display: grid;
	grid-template-columns: minmax(0, 420px);
	justify-content: center;
	gap: 6rem;
}

/* White-outlined card with a faint blue wash */
.iba-law-step {
	position: relative;
	box-sizing: border-box;
	border: 4px solid #fff;
	border-radius: 5px;
	background: rgba(29, 103, 205, 0.16);
	padding: 1.25rem 1.25rem 0;
}

/* Oversized number breaking out over the card's top-left corner */
.iba-law-step__n {
	position: absolute;
	top: -85px;
	left: -18px;
	z-index: 2;
	font-family: var(--law-helvetica);
	font-weight: 700;
	font-size: 145px;
	line-height: 1.186;
	color: #fff;
}

.iba-law-step__t {
	position: relative;
	z-index: 2;
	margin: 0 0 1.25rem 62px;
	padding-bottom: 14px;
	border-bottom: 2px solid #fff;
	font-family: var(--wp--preset--font-family--kanit);
	font-weight: 700;
	font-size: 25px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}

/* Live sets the middle card's heading a size down (23px vs 25px). */
.iba-law-step:nth-child(2) .iba-law-step__t {
	font-size: 23px;
}

.iba-law-step p {
	position: relative;
	z-index: 2;
	margin: 0;
	font-family: var(--wp--preset--font-family--kanit);
	font-size: 16px;
	line-height: 24px;
	color: #fff;
}

/* People cut-outs; they overlap the card border, as on the live site. */
.iba-law-step__photo {
	position: relative;
	z-index: 1;
	margin: 1rem auto 0;
	width: 70%;
	pointer-events: none;
}

.iba-law-step__photo img {
	width: 100%;
	height: auto;
	display: block;
}

@media (min-width: 1001px) {
	.iba-law-steps__grid {
		grid-template-columns: repeat(3, 281px);
		gap: 14px;
	}

	.iba-law-step {
		height: 420px;
		padding: 0;
	}

	.iba-law-step__t {
		position: absolute;
		width: 172px;
		margin: 0;
	}

	.iba-law-step p {
		position: absolute;
	}

	.iba-law-step__photo {
		position: absolute;
		margin: 0;
	}

	/* Offsets are from each card's inner edge (inside the 4px border). */
	.iba-law-step:nth-child(1) .iba-law-step__n { left: -18px; }
	.iba-law-step:nth-child(1) .iba-law-step__t { top: 12px; left: 62px; }
	.iba-law-step:nth-child(1) p { top: 172px; right: 24px; width: 142px; text-align: right; }
	.iba-law-step:nth-child(1) .iba-law-step__photo { top: 136px; left: -106px; width: 224px; }

	.iba-law-step:nth-child(2) .iba-law-step__n { left: 3px; }
	.iba-law-step:nth-child(2) .iba-law-step__t { top: 31px; left: 90px; }
	.iba-law-step:nth-child(2) p { top: 167px; left: 26px; right: 26px; text-align: center; }
	.iba-law-step:nth-child(2) .iba-law-step__photo { top: 224px; left: -221px; width: 714px; }

	.iba-law-step:nth-child(3) .iba-law-step__n { left: 7px; top: -78px; }
	.iba-law-step:nth-child(3) .iba-law-step__t { top: 24px; left: 100px; }
	.iba-law-step:nth-child(3) p { top: 167px; left: 21px; width: 147px; }
	.iba-law-step:nth-child(3) .iba-law-step__photo { top: 158px; left: 129px; width: 381px; }
}

/* --- pricing --- */

.iba-law-pricing {
	position: relative;
	padding-block: 0 1rem;
}

.iba-law-pricing__grid,
.iba-law-fee {
	display: grid;
	grid-template-columns: minmax(0, 634px) minmax(0, 440px);
	justify-content: center;
	column-gap: 26px;
	align-items: center;
	max-width: 1100px;
	margin-inline: auto;
}

/* The art rides up over the bottom of the purple band. */
.iba-law-pricing__art {
	position: relative;
	z-index: 2;
	margin: -100px 0 0;
}

.iba-law-pricing__art img {
	width: 100%;
	height: auto;
	display: block;
}

.iba-law-pricing__title {
	font-family: var(--law-helvetica);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: clamp(1.8rem, 3.5vw, 3.125rem);
	color: #000;
	margin: 0;
	text-align: center;
}

.iba-law-pricing__script {
	font-family: var(--wp--preset--font-family--caveat);
	font-weight: 400;
	font-style: normal;
	font-size: clamp(2.75rem, 5.5vw, 4.95rem);
	line-height: 1.25;
	color: var(--law-blue);
	text-align: center;
	margin: 0;
}

.iba-law-pricing__script em {
	font-style: normal;
	color: #000;
	font-family: var(--law-helvetica);
	font-weight: 700;
	font-size: 0.42em;
}

.iba-law-pricing__lead {
	max-width: 46ch;
	margin: 1.25rem auto 0;
	text-align: center;
	font-family: var(--law-helvetica);
	font-size: clamp(0.95rem, 1.25vw, 1.125rem);
	line-height: 1.5;
}

/* The fee block sits under the pricing copy, in the right-hand column. */
.iba-law-fee {
	text-align: center;
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.iba-law-fee > * {
	grid-column: 2;
}

.iba-law-fee__label {
	font-family: var(--law-helvetica);
	font-weight: 400;
	font-size: clamp(1.1rem, 1.8vw, 1.625rem);
	margin: 0;
}

.iba-law-fee__amount {
	font-family: var(--law-helvetica);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: clamp(3.5rem, 8.5vw, 7.625rem);
	line-height: 1.15;
	color: #000;
	margin: 0;
}

.iba-law-fee__amount span {
	font-size: 0.344em;
	font-weight: 300;
}

.iba-law-fee__note {
	font-family: var(--law-helvetica);
	font-size: clamp(0.8rem, 1.1vw, 0.9375rem);
	margin: 0;
	text-align: right;
}

@media (max-width: 860px) {
	.iba-law-strip {
		grid-template-columns: 1fr;
		margin-inline: 1rem;
		padding: 1.25rem 0;
	}

	.iba-law-strip__item + .iba-law-strip__item {
		border-left: 0;
		border-top: 2px solid #fff;
		padding-top: 0.85rem;
		margin-top: 0.85rem;
	}

	.iba-law-pricing__grid,
	.iba-law-fee {
		grid-template-columns: 1fr;
	}

	.iba-law-fee > * {
		grid-column: 1;
	}

	.iba-law-fee__note {
		text-align: center;
	}

	.iba-law-pricing__art {
		margin-top: 2rem;
		max-width: 420px;
		margin-inline: auto;
	}
}

/* ==========================================================================
   Google Ads page — editorial redesign

   A dark navy, numbered-section layout that replaces the colour-block
   treatment on this page only. Header and footer are untouched.
   ========================================================================== */

.iba-ga {
	background: #00305b;
	color: #fff;
	--ga-gutter: clamp(1.5rem, 5vw, 5rem);
	--ga-rule: rgba(255, 255, 255, 0.18);
}

.iba-ga a {
	color: var(--wp--preset--color--cyan);
}

/* Small letter-spaced label used above every section and beside the numbers */
.iba-ga__label {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.7rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: 0;
}

.iba-ga__num {
	color: #ff6161;
	margin-right: 0.9rem;
}

/* --- hero --- */

.iba-ga-hero {
	padding: clamp(3rem, 7vw, 5.5rem) var(--ga-gutter) clamp(2rem, 5vw, 3.5rem);
	max-width: 1400px;
	margin-inline: auto;
}

.iba-ga-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #ff6161;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.iba-ga-hero__eyebrow span:last-child {
	color: #fff;
}

/* The short rule between "Services" and the section name */
.iba-ga-hero__eyebrow::after {
	content: "";
	order: 1;
	width: 46px;
	height: 1px;
	background: currentColor;
}

.iba-ga-hero__eyebrow span:last-child {
	order: 2;
}

.iba-ga-hero__title {
	font-size: clamp(4rem, 12vw, 10rem);
	line-height: 0.98;
	letter-spacing: 0.01em;
	color: #fff;
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.iba-ga-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: end;
}

.iba-ga-hero__lede {
	font-size: clamp(1.15rem, 1.9vw, 1.6rem);
	line-height: 1.35;
	margin: 0;
	color: #fff;
}

.iba-ga-hero__lede em {
	font-style: normal;
	color: var(--wp--preset--color--cyan);
}

.iba-ga-hero__aside p {
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.86);
}

.iba-ga-btn {
	display: inline-block;
	background: var(--wp--preset--color--cyan);
	color: #00305b !important;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 1rem 1.9rem;
}

.iba-ga-btn:hover {
	background: #fff;
}

/* --- the video band --- */

.iba-ga-media {
	position: relative;
	max-width: 1400px;
	margin: 0 auto clamp(3rem, 7vw, 5rem);
	padding-inline: var(--ga-gutter);
}

.iba-ga-media__inner {
	position: relative;
	border: 1px solid var(--ga-rule);
	background: rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.iba-ga-media video {
	display: block;
	width: 100%;
	aspect-ratio: 2.6;
	object-fit: cover;
}

.iba-ga-media__caption {
	position: absolute;
	left: 1.25rem;
	bottom: 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
	/* The Google screenshot is white, so the caption needs its own ground
	   rather than a text-shadow to stay legible. */
	background: rgba(0, 48, 91, 0.85);
	padding: 0.45rem 0.7rem;
}

/* --- numbered sections --- */

.iba-ga-body {
	max-width: 1400px;
	margin-inline: auto;
	padding: 0 var(--ga-gutter) clamp(3rem, 7vw, 5rem);
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

/* Sticky index down the left */
.iba-ga-index {
	position: sticky;
	top: calc(var(--iba-header-h) + 2rem);
	display: grid;
	gap: 0.55rem;
	border-left: 1px solid var(--ga-rule);
	padding-left: 1rem;
}

.iba-ga-index a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.iba-ga-index a:hover {
	color: #fff;
}

.iba-ga-index .iba-ga__num {
	margin-right: 0.6rem;
}

.iba-ga-section + .iba-ga-section {
	border-top: 1px solid var(--ga-rule);
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.iba-ga-section__head {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	text-transform: none;
	letter-spacing: -0.01em;
	font-size: clamp(1.7rem, 3.4vw, 2.8rem);
	line-height: 1.12;
	color: #fff;
	margin: 0.9rem 0 1.5rem;
	max-width: 20ch;
}

/* Pull-quote with a cyan rule down its left edge */
.iba-ga-quote {
	border-left: 2px solid var(--wp--preset--color--cyan);
	padding-left: 1.4rem;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	max-width: 46ch;
	font-size: clamp(1rem, 1.35vw, 1.15rem);
	line-height: 1.6;
	color: #fff;
}

/* Three-across sub-points */
.iba-ga-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.iba-ga-cols h4,
.iba-ga-points h4 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cyan);
	margin: 0 0 0.6rem;
}

.iba-ga-cols p,
.iba-ga-points p {
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
}

/* Two-column section with a portrait photo on one side */
.iba-ga-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.iba-ga-split--photo-first {
	grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
}

.iba-ga-split--photo-first .iba-ga-figure {
	order: -1;
}

.iba-ga-points {
	display: grid;
	gap: 1.5rem;
}

.iba-ga-figure {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.iba-ga-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iba-ga-figure--4x5 img { aspect-ratio: 4 / 5; }

/* The phone photo is a 3:2 landscape source. In a tall frame `cover` scales to
   fill the height, which crops in hard; a squarer frame lets it scale by width
   instead, so the subject reads about 30% smaller. */
.iba-ga-figure--3x4 img { aspect-ratio: 1 / 1; }

/* Same navy label bar the video caption uses, so photos and video read as
   one family. */
.iba-ga-figure figcaption {
	position: absolute;
	left: 1rem;
	bottom: 0.85rem;
	max-width: calc(100% - 2rem);
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 48, 91, 0.85);
	padding: 0.45rem 0.7rem;
}

/* Campaign-type chips */
.iba-ga-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 1rem;
	padding: 0;
	list-style: none;
}

.iba-ga-chips li {
	border: 1px solid var(--ga-rule);
	padding: 0.5rem 0.9rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.65rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* --- the coral "track everything" panel --- */

.iba-ga-panel {
	background: #ff6161;
	color: #fff;
	padding: clamp(2rem, 5vw, 3.5rem);
	margin-top: clamp(1.5rem, 3vw, 2rem);
}

.iba-ga-panel h3 {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	text-transform: none;
	letter-spacing: -0.01em;
	font-size: clamp(1.6rem, 3.1vw, 2.5rem);
	line-height: 1.15;
	color: #fff;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	max-width: 22ch;
}

.iba-ga-panel .iba-ga-cols h4 {
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	padding-top: 0.75rem;
}

.iba-ga-panel .iba-ga-cols p,
.iba-ga-panel .iba-ga-outro p {
	color: rgba(255, 255, 255, 0.95);
}

.iba-ga-outro {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

@media (max-width: 980px) {
	.iba-ga-body {
		grid-template-columns: 1fr;
	}

	.iba-ga-index {
		display: none;
	}

	.iba-ga-hero__grid,
	.iba-ga-split,
	.iba-ga-split--photo-first,
	.iba-ga-outro {
		grid-template-columns: 1fr;
	}

	.iba-ga-split--photo-first .iba-ga-figure {
		order: 0;
	}

	.iba-ga-cols {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Dealerships page hero: "Run ads that sell the car."

   Desktop is a 1440 x 1000 stage. Every size is N * --u, where --u is one
   design pixel (1px at 1440 wide, scaling down with the viewport), so the
   whole composition shrinks as one piece. Below 900px it stacks.
   Phone internals use --k: one pixel of a 420-wide phone.
   ========================================================================== */

.iba-dh {
	--dh-ink: #0b1220;
	--dh-blue: #3979f4;
	container-type: inline-size;
	position: relative;
	overflow: hidden;
	/* Canola field (Unsplash, free licence) with a white fade behind the headline. */
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.32) 28%, rgba(255, 255, 255, 0) 55%),
		#cfe3f2 url(../images/dealer/hero-bg-canola.webp) center 60% / cover no-repeat;
	color: var(--dh-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* WordPress puts a 24px block gap above <main>; on this page it shows as a
   white strip between the header and the grey hero. */
.iba-main:has(.iba-dh) {
	margin-block-start: 0;
}

.iba-dh__stage {
	/* 0.9: the whole hero runs at 90% of the mockup's size. */
	--u: calc(min(100cqw, 1440px) / 1440 * 0.9);
	position: relative;
	width: calc(1440 * var(--u));
	height: calc(1000 * var(--u));
	margin: 0 auto;
}

/* Headline */
.iba-dh__head {
	position: relative;
	z-index: 2;
	padding-top: calc(24 * var(--u));
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.iba-dh__eyebrow {
	margin: 0 0 calc(10 * var(--u));
	font-weight: 600;
	font-size: calc(20 * var(--u));
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #6b7280;
}

.iba-dh__kicker {
	margin: 0;
	font-weight: 800;
	font-size: calc(46 * var(--u));
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: #4a515c;
}

.iba-dh__title {
	margin: calc(8 * var(--u)) 0 0;
	font-family: inherit;
	font-weight: 800;
	max-width: calc(1240 * var(--u));
	font-size: calc(62 * var(--u));
	line-height: 1.1;
	letter-spacing: -0.045em;
	text-transform: none;
	text-wrap: balance;
	color: var(--dh-ink);
}

.iba-dh__title span {
	color: #fff;
	background: var(--dh-blue);
	padding: 0 0.225em;
	border-radius: 0.175em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Panels: label + phone + stickers */
.iba-dh-panel {
	--pw: calc(525 * var(--u));
	position: absolute;
	z-index: 2;
	top: calc(312 * var(--u));
	width: calc(520 * var(--u));
	display: flex;
	flex-direction: column;
	align-items: center;
}

.iba-dh-panel--them { left: calc(175 * var(--u)); }
.iba-dh-panel--us   { left: calc(745 * var(--u)); }

.iba-dh-panel__label {
	display: flex;
	align-items: center;
	gap: calc(12 * var(--u));
	margin: 0 0 calc(22 * var(--u));
}

.iba-dh-panel__num {
	font-weight: 800;
	font-size: calc(34 * var(--u));
	line-height: 1;
	letter-spacing: -0.03em;
	color: #4a515c;
}

.iba-dh-panel__pill {
	font-weight: 600;
	font-size: calc(16 * var(--u));
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: calc(10 * var(--u)) calc(18 * var(--u));
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	color: #3d4148;
}

/* X / check badges in place of the 01 / 02 numbers. */
.iba-dh-panel__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(34 * var(--u));
	height: calc(34 * var(--u));
	border-radius: 50%;
	background: #8b9099;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.iba-dh-panel__mark svg {
	width: 62%;
	height: 62%;
	fill: none;
	stroke: #fff;
	stroke-width: 3.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.iba-dh-panel--them .iba-dh-panel__mark { background: #e5484d; }
.iba-dh-panel--us .iba-dh-panel__mark   { background: #22a55a; }

/* Labels tilt with their phones. */
.iba-dh-panel--them .iba-dh-panel__label { transform: rotate(-4deg); }
.iba-dh-panel--us .iba-dh-panel__label   { transform: rotate(4deg); }

.iba-dh-panel--us .iba-dh-panel__num  { color: var(--dh-blue); }
.iba-dh-panel--us .iba-dh-panel__pill { background: var(--dh-ink); color: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2); }

.iba-dh-panel__crop {
	display: flex;
	justify-content: center;
	width: 100%;
}

/* Phone (CSS-only frame) */
.iba-dh-phone {
	--k: calc(var(--pw) / 420);
	position: relative;
	flex: none;
	width: var(--pw);
	height: calc(852 * var(--k));
	box-sizing: border-box;
	padding: calc(14 * var(--k));
	border-radius: calc(64 * var(--k));
	background: linear-gradient(145deg, #4a4f58 0%, #0d0f12 35%, #0d0f12 70%, #3a3f47 100%);
	box-shadow: 0 calc(40 * var(--k)) calc(80 * var(--k)) rgba(15, 23, 42, 0.28);
	transform-origin: 50% 0;
	transform: rotate(-4deg);
}

.iba-dh-panel--us .iba-dh-phone {
	background: linear-gradient(145deg, #5a606b 0%, #0d0f12 35%, #0d0f12 70%, #3a3f47 100%);
	box-shadow: 0 calc(40 * var(--k)) calc(80 * var(--k)) rgba(15, 23, 42, 0.3);
	transform: rotate(4deg);
}

/* Side buttons */
.iba-dh-phone::before,
.iba-dh-phone::after {
	content: "";
	position: absolute;
	width: calc(4 * var(--k));
	border-radius: 2px;
	background: #3a3f47;
}

.iba-dh-phone::before { left: calc(-4 * var(--k)); top: calc(150 * var(--k)); height: calc(60 * var(--k)); }
.iba-dh-phone::after  { right: calc(-4 * var(--k)); top: calc(190 * var(--k)); height: calc(90 * var(--k)); }

.iba-dh-phone__screen {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: calc(51 * var(--k));
	background: #f1f1ee;
	overflow: hidden;
}

.iba-dh-panel--us .iba-dh-phone__screen { background: #fff; }

/* Notch */
.iba-dh-phone__screen::before {
	content: "";
	position: absolute;
	z-index: 3;
	top: calc(10 * var(--k));
	left: 50%;
	width: calc(124 * var(--k));
	height: calc(34 * var(--k));
	margin-left: calc(-62 * var(--k));
	border-radius: calc(16 * var(--k));
	background: #0d0f12;
}

/* Glass sheen */
.iba-dh-phone__screen::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%);
}

/* Feed: the ads twice over, so main.js can loop the scroll seamlessly.
   Each image carries its own gap so both sets are exactly the same height. */
.iba-dh-feed {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	padding: calc(60 * var(--k)) calc(12 * var(--k)) 0;
	/* Not scrollable by hand: the page scrolls normally over the phones.
	   main.js can still move the IBA feed, which it does once on load. */
	overflow: hidden;
	border-radius: inherit;
}

.iba-dh-feed img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 calc(12 * var(--k));
	/* Corners are rounded in the image files; this gives them a soft lift. */
	filter: drop-shadow(0 1px 1.5px rgba(15, 23, 42, 0.14)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.06));
}

.iba-dh-panel--them .iba-dh-feed img {
	filter: grayscale(0.55) drop-shadow(0 1px 1.5px rgba(15, 23, 42, 0.14)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.06));
}

/* VS badge */
.iba-dh-vs {
	position: absolute;
	z-index: 5;
	left: calc(672 * var(--u));
	top: calc(614 * var(--u));
	width: calc(96 * var(--u));
	height: calc(96 * var(--u));
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border: calc(6 * var(--u)) solid #fff;
	border-radius: 50%;
	background: var(--dh-ink);
	box-shadow: 0 calc(14 * var(--u)) calc(30 * var(--u)) rgba(15, 23, 42, 0.3);
	color: #fff;
	font-weight: 800;
	font-size: calc(30 * var(--u));
	letter-spacing: -0.03em;
}

/* Stickers (positions are relative to their panel, from the mockup) */
.iba-dh-sticker {
	position: absolute;
	z-index: 4;
	height: auto;
	max-width: none;
}

/* All six stickers share one height and mirror each other across the page:
   centred 15 design px outside each phone panel, evenly spaced down it, tilts
   alternating and mirrored. */
.iba-dh-panel .iba-dh-sticker {
	width: auto;
	height: calc(231 * var(--u));
	transform: translateX(-50%) rotate(var(--r));
}

.iba-dh-panel--them .iba-dh-sticker { left: calc(-15 * var(--u)); }
.iba-dh-panel--us .iba-dh-sticker   { left: calc(535 * var(--u)); }

.iba-dh-panel .iba-dh-sticker--1 { top: calc(-6 * var(--u)); }
.iba-dh-panel .iba-dh-sticker--2 { top: calc(224 * var(--u)); }
.iba-dh-panel .iba-dh-sticker--3 { top: calc(454 * var(--u)); }

.iba-dh-panel--them .iba-dh-sticker--1,
.iba-dh-panel--them .iba-dh-sticker--3 { --r: -6deg; }
.iba-dh-panel--them .iba-dh-sticker--2 { --r: 6deg; }
.iba-dh-panel--us .iba-dh-sticker--1,
.iba-dh-panel--us .iba-dh-sticker--3   { --r: 6deg; }
.iba-dh-panel--us .iba-dh-sticker--2   { --r: -6deg; }

/* --------------------------------------------------------------------------
   Hero intro animation (desktop). The inline script in the hero adds
   .is-anim .is-intro before first paint; main.js then plays:
   0-4s   one phone in the middle shows the ABC Dealer ad, bad heads pop in
   4s     bad heads out, the feed scrolls to our ad, label flips (.is-scrolled)
   5.5s   good heads pop in
   7.8s   the phones split into the two-phone layout, VS + bad heads return
   then .is-anim comes off and the page is exactly the static layout below.
   Without JS, on mobile, or with reduced motion it is just the static layout.
   -------------------------------------------------------------------------- */
.iba-dh-panel__labels {
	display: grid;
	justify-items: center;
	margin: 0 0 calc(22 * var(--u));
}

.iba-dh-panel__labels > .iba-dh-panel__label { grid-area: 1 / 1; margin: 0; }

.iba-dh-panel__label--intro { opacity: 0; }
.iba-dh-panel--us .iba-dh-panel__label--intro { transform: rotate(-4deg); }
.iba-dh-panel--us .iba-dh-panel__label--intro .iba-dh-panel__mark { background: #e5484d; }
.iba-dh-panel--us .iba-dh-panel__label--intro .iba-dh-panel__pill {
	background: #fff;
	color: #3d4148;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

/* The IBA feed rests with our first ad flush at the top of the screen. The
   ABC ads above it only exist while the intro plays. */
.iba-dh-track { position: relative; }
.iba-dh-panel--us .iba-dh-feed { padding-top: 0; }
.iba-dh-feed__pre { display: none !important; }
.iba-dh-feed img.iba-dh-feed__pre {
	filter: grayscale(0.55) drop-shadow(0 1px 1.5px rgba(15, 23, 42, 0.14)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.06));
}

.iba-dh.is-anim .iba-dh-feed__pre { display: block !important; }
.iba-dh.is-anim .iba-dh-panel--us .iba-dh-feed { padding-top: calc(60 * var(--k)); }
.iba-dh.is-anim .iba-dh-track { transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1); }

/* Both phones start stacked in the middle; the ABC phone hides behind ours
   and its heads sit on the left of it, ours on the right. */
.iba-dh.is-anim .iba-dh-panel { transition: left 1.2s cubic-bezier(0.65, 0, 0.35, 1); }
.iba-dh.is-intro .iba-dh-panel--them,
.iba-dh.is-intro .iba-dh-panel--us { left: calc(460 * var(--u)); }
.iba-dh.is-intro .iba-dh-panel--them { z-index: 3; }

.iba-dh.is-anim .iba-dh-panel--them .iba-dh-panel__label,
.iba-dh.is-anim .iba-dh-panel--them .iba-dh-panel__crop { transition: opacity 0.6s 0.3s; }
.iba-dh.is-intro .iba-dh-panel--them .iba-dh-panel__label,
.iba-dh.is-intro .iba-dh-panel--them .iba-dh-panel__crop { opacity: 0; transition: none; }

/* Our phone tilts like the ABC phone until it scrolls to our ad. */
.iba-dh.is-anim .iba-dh-phone { transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1); }
.iba-dh.is-anim:not(.is-scrolled) .iba-dh-panel--us .iba-dh-phone { transform: rotate(-4deg); }

/* Label flip. */
.iba-dh.is-anim .iba-dh-panel__labels > .iba-dh-panel__label {
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s, opacity 0.25s 0.2s;
}
.iba-dh.is-anim:not(.is-scrolled) .iba-dh-panel__label--intro { opacity: 1; }
.iba-dh.is-anim:not(.is-scrolled) .iba-dh-panel__labels > .iba-dh-panel__label:last-child {
	opacity: 0;
	transform: rotate(4deg) translateY(30%) scale(0.7);
}
.iba-dh.is-anim.is-scrolled .iba-dh-panel__labels > .iba-dh-panel__label--intro {
	opacity: 0;
	transform: rotate(-4deg) translateY(-30%) scale(0.7);
	transition: transform 0.3s ease-in, opacity 0.2s;
}

/* Heads and VS pop. */
.iba-dh.is-anim .iba-dh-panel .iba-dh-sticker {
	opacity: 0;
	transform: translateX(-50%) rotate(var(--r)) scale(0.2);
	transition: transform 0.28s ease-in, opacity 0.2s ease-in;
}
.iba-dh.is-anim .iba-dh-panel .iba-dh-sticker.is-on,
.iba-dh.is-anim .iba-dh-vs.is-on {
	opacity: 1;
	transform: translateX(-50%) rotate(var(--r)) scale(1);
	transition: transform 0.5s cubic-bezier(0.34, 1.7, 0.64, 1), opacity 0.15s;
}
.iba-dh.is-anim .iba-dh-vs { opacity: 0; transform: scale(0.2); transition: transform 0.2s ease-in, opacity 0.2s; }
.iba-dh.is-anim .iba-dh-vs.is-on { transform: none; }

/* --------------------------------------------------------------------------
   Mobile: headline, phone 01 + stickers, VS, phone 02 + stickers.
   Each phone is cropped partway down with a fade; stickers sit in a column
   down the outer side, overlapping the phone edge.
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
	/* Phones: plain white (desktop keeps the canola photo). */
	.iba-dh {
		overflow: hidden;
		background: #fff;
	}

	/* A tight shadow, so no grey box shows where the crop cuts it off. */
	.iba-dh-panel .iba-dh-phone,
	.iba-dh-panel--us .iba-dh-phone {
		box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
	}

	.iba-dh__title span { white-space: nowrap; }

	.iba-dh__stage {
		display: flex;
		flex-direction: column;
		--u: 0.9px;
		--pnl: min(100cqw - 32px, 396px);
		width: auto;
		height: auto;
		padding: 32px 16px 40px;
	}

	/* Phones: your feed with IBA first, then everyone else's. */
	.iba-dh__head        { order: 0; }
	.iba-dh-panel--us    { order: 1; }
	.iba-dh-vs           { order: 2; margin-top: -4px; }
	.iba-dh-panel--them  { order: 3; margin-top: 24px; }

	.iba-dh__eyebrow { margin-bottom: 8px; font-size: clamp(0.95rem, 4vw, 1.1rem); }
	.iba-dh__kicker { font-size: clamp(1.125rem, 5.4vw, 1.8rem); }
	.iba-dh__title  { margin-top: 5px; font-size: clamp(1.75rem, 8.2vw, 2.75rem); line-height: 1.1; }

	/* Phones: each phone sits straight and centred; its three stickers are
	   larger and placed around it (top-left, middle-right, bottom-left),
	   overlapping the frame. */
	.iba-dh-panel {
		--pw: calc(var(--pnl) * 0.66);
		position: relative;
		inset: auto;
		width: var(--pnl);
		margin: 44px auto 0;
	}

	.iba-dh-panel__label,
	.iba-dh-panel--them .iba-dh-panel__label,
	.iba-dh-panel--us .iba-dh-panel__label { margin-bottom: 18px; gap: 8px; transform: none; }
	.iba-dh-panel__labels { margin-bottom: 18px; }
	.iba-dh-panel__labels > .iba-dh-panel__label { margin: 0; }
	.iba-dh-panel__num { font-size: 24px; }
	.iba-dh-panel__mark { width: 28px; height: 28px; }
	.iba-dh-panel__pill { font-size: 11.5px; padding: 7px 12px; white-space: nowrap; }
	.iba-dh__eyebrow { text-wrap: balance; }

	/* Crop the phone and fade it out at the bottom. */
	.iba-dh-panel__crop {
		box-sizing: border-box;
		height: calc(var(--pw) * 1.42);
		padding-top: 4px;
		overflow: hidden;
		-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
		mask-image: linear-gradient(180deg, #000 78%, transparent);
	}

	.iba-dh-panel--them .iba-dh-panel__crop,
	.iba-dh-panel--us .iba-dh-panel__crop { justify-content: center; padding-left: 0; padding-right: 0; }

	.iba-dh-panel .iba-dh-phone,
	.iba-dh-panel--us .iba-dh-phone { transform: none; }

	.iba-dh-vs {
		position: relative;
		left: auto;
		top: auto;
		width: 65px;
		height: 65px;
		margin: -7px auto -14px;
		font-size: 22px;
	}

	.iba-dh-panel .iba-dh-sticker {
		width: auto;
		height: calc(var(--pnl) * 0.43);
		transform: rotate(var(--r));
		z-index: 4;
	}

	/* One smaller sticker top-left, then a pair level with each other lower down. */
	.iba-dh-panel .iba-dh-sticker--1 { top: calc(var(--pw) * 0.06 + 40px); left: -2px; right: auto; --r: -7deg; height: calc(var(--pnl) * 0.333); }
	/* The lower pair sits out in the side gutters, so they cover less of the ad. */
	.iba-dh-panel .iba-dh-sticker--2 { top: calc(var(--pw) * 0.7 + 40px); left: auto; right: calc(-1 * min(44px, (100cqw - var(--pnl)) / 2 - 9px)); --r: 6deg; height: calc(var(--pnl) * 0.386); }
	.iba-dh-panel .iba-dh-sticker--3 { top: calc(var(--pw) * 0.7 + 40px); left: calc(-1 * min(44px, (100cqw - var(--pnl)) / 2 - 9px)); right: auto; --r: -5deg; height: calc(var(--pnl) * 0.386); }
}

/* ==========================================================================
   Dealerships page: "The anatomy of an IBA dealership ad"

   The ad sits in the centre. Each numbered marker sits on a feature of the
   ad (--x/--y are percentages of the ad image); on desktop a line runs from
   the marker out past the ad's edge to its note. Below 1024px the lines go
   and the notes stack under the ad, matched by number.
   ========================================================================== */

.iba-anat {
	--dh-ink: #0b1220;
	--dh-blue: #3979f4;
	--gap: clamp(40px, 5.5vw, 80px);
	--note-w: clamp(200px, 18vw, 265px);
	background: #fff;
	color: var(--dh-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	padding: clamp(64px, 8vw, 110px) 16px clamp(72px, 9vw, 120px);
	/* The markers' pulse rings must never widen the page. */
	overflow-x: clip;
}

.iba-anat__head {
	max-width: 760px;
	margin: 0 auto clamp(40px, 5vw, 72px);
	text-align: center;
}

.iba-anat__title {
	margin: 0;
	font-family: inherit;
	font-weight: 800;
	font-size: clamp(2rem, 4.3vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	text-transform: none;
	color: var(--dh-ink);
}

.iba-anat__title span { color: var(--dh-blue); }

.iba-anat__lead {
	margin: 18px auto 0;
	max-width: 640px;
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	line-height: 1.55;
	color: #4a515c;
}

/* Two ads side by side; the second sits lower so the line from the first
   ad's price can run out over its top. Note positions (--y) are fractions of
   an ad's height; markers and lines use percentages of their own ad. */
.iba-anat__figure {
	--ad-w: clamp(250px, 20.5vw, 300px);
	--ad-h: calc(var(--ad-w) * 1127 / 669);
	--ad-gap: 40px;
	--drop: 0.4;
	position: relative;
	width: calc(2 * var(--ad-w) + var(--ad-gap));
	/* Tall enough for the dropped second ad or the search ad under the first. */
	height: max(calc(var(--ad-h) * (1 + var(--drop))), calc(var(--ad-h) + var(--ad-gap) + var(--ad-w) * 1155 / 726));
	margin: 0 auto;
}

.iba-anat__ad {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--ad-w);
}

.iba-anat__ad--b {
	left: calc(var(--ad-w) + var(--ad-gap));
	top: calc(var(--ad-h) * var(--drop));
}

/* The search ad sits under the first ad. */
.iba-anat__ad--c {
	top: calc(var(--ad-h) + var(--ad-gap));
}

.iba-anat__ad img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.12)) drop-shadow(0 24px 48px rgba(15, 23, 42, 0.16));
}

.iba-anat__marker {
	position: absolute;
	z-index: 2;
	left: var(--x);
	top: var(--y);
	width: 28px;
	height: 28px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translate(-50%, -50%);
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--dh-blue);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.iba-anat__marker:hover,
.iba-anat__marker:focus { color: #fff; }

.iba-anat__marker:focus-visible {
	outline: 3px solid var(--dh-ink);
	outline-offset: 2px;
}

/* Tapping a marker jumps to its note; leave room for the sticky header. */
.iba-anat__note { scroll-margin-top: 110px; }

/* Brief highlight on the note you jumped to */
.iba-anat__note.is-target h3 {
	background: linear-gradient(transparent 55%, rgba(57, 121, 244, 0.25) 55%);
	transition: background 0.3s;
}

/* A soft ring that pulses out from each marker */
.iba-anat__marker::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px solid var(--dh-blue);
	animation: iba-anat-ping 2.4s ease-out infinite;
}

@keyframes iba-anat-ping {
	from { transform: scale(1); opacity: 0.7; }
	to   { transform: scale(2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.iba-anat__marker::after { animation: none; opacity: 0; }
}

/* Leader lines are drawn by main.js: out of the ad's edge, a short dogleg
   in the gutter, then level into the note's heading. */
.iba-anat__wires {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.iba-anat__wires path {
	fill: none;
	stroke: var(--dh-blue);
	stroke-width: 2;
	stroke-linejoin: round;
}

/* Notes: the heading's first line sits level with its line. */
.iba-anat__note {
	position: absolute;
	top: calc(var(--ad-h) * var(--y));
	width: var(--note-w);
	transform: translateY(-46px);
}

.iba-anat__note--left  { right: calc(100% + var(--gap) + 16px); text-align: right; }

/* A note set under the second ad; its line comes down the gutter beside it. */
.iba-anat__note--below {
	left: calc(var(--ad-w) + var(--ad-gap));
	top: calc(var(--ad-h) * (1 + var(--drop)) + 56px);
	width: calc(var(--ad-w) - 24px);
	transform: none;
	text-align: right;
}

.iba-anat__note--below h3::after { margin-left: auto; }
.iba-anat__note--right { left: calc(100% + var(--gap) + 16px); }

.iba-anat__num {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--dh-blue);
}

.iba-anat__note h3 {
	margin: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--dh-ink);
}

/* Short separating rule under the heading */
.iba-anat__note h3::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin: 14px 0 12px;
	border-radius: 2px;
	background: var(--dh-blue);
}

.iba-anat__note--left h3::after { margin-left: auto; }

.iba-anat__note p:not(.iba-anat__num) {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #4a515c;
}

/* Below 1240px: no lines; the two ads sit side by side, notes listed under
   them and matched by number. */
@media (max-width: 1239px) {
	.iba-anat__figure {
		--ad-w: min(calc((100vw - 32px - 24px) / 2), 300px);
		--ad-gap: 24px;
		width: min(100%, 624px);
		height: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: var(--ad-gap);
		counter-reset: iba-anat;
	}

	.iba-anat__ad,
	.iba-anat__ad--b,
	.iba-anat__ad--c {
		position: relative;
		top: auto;
		left: auto;
		margin-bottom: 48px;
	}

	.iba-anat__wires { display: none; }

	.iba-anat__marker { width: 24px; height: 24px; font-size: 11px; border-width: 2px; }

	.iba-anat__note {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		width: 100%;
		transform: none;
		text-align: left;
		margin: 0 0 32px;
		padding-left: 44px;
		box-sizing: border-box;
		counter-increment: iba-anat;
	}

	.iba-anat__note:last-child { margin-bottom: 0; }

	.iba-anat__note--left h3::after,
	.iba-anat__note--below h3::after { margin-left: 0; }

	/* The number becomes a badge matching the marker on the ad. */
	.iba-anat__num {
		position: absolute;
		left: 0;
		top: -2px;
		width: 28px;
		height: 28px;
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: var(--dh-blue);
		color: #fff;
		font-size: 0;
		letter-spacing: 0;
	}

	.iba-anat__num::before {
		font-size: 12px;
		content: counter(iba-anat);
	}
}


/* Phones: one column, full-width ads, each followed by its own notes. */
@media (max-width: 640px) {
	.iba-anat__figure {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		width: 100%;
	}

	.iba-anat__ad,
	.iba-anat__ad--b,
	.iba-anat__ad--c {
		width: 100%;
		max-width: 460px;
		align-self: center;
		margin: 8px 0 32px;
	}

	.iba-anat__marker { width: 28px; height: 28px; font-size: 12px; }

	.iba-anat__ad--a                       { order: 1; }
	.iba-anat__note[data-for="1"],
	.iba-anat__note[data-for="2"],
	.iba-anat__note[data-for="3"],
	.iba-anat__note[data-for="5"]          { order: 2; }
	.iba-anat__ad--b                       { order: 3; margin-top: 40px; }
	.iba-anat__note[data-for="4"],
	.iba-anat__note[data-for="6"],
	.iba-anat__note[data-for="8"]          { order: 4; }
	.iba-anat__ad--c                       { order: 5; margin-top: 40px; }
	.iba-anat__note[data-for="7"]          { order: 6; }

	.iba-anat__note:last-child { margin-bottom: 32px; }
}

/* ==========================================================================
   Dealerships page: "What can IBA do for you?"
   Uses the site's own language: cream ground, Anton display type, black
   rules, navy and cyan. Left-aligned and asymmetric on purpose.
   ========================================================================== */

.iba-svc {
	--ink: #111;
	--navy: #00305b;
	--cyan: #2bffe6;
	--coral: #ff6161;
	--rule: #111;
	background: #edede4;
	color: var(--ink);
	font-family: var(--wp--preset--font-family--body);
	padding: clamp(64px, 8vw, 112px) 16px clamp(72px, 9vw, 120px);
	overflow-x: clip;
}

.iba-svc__inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* Headline left, intro right, on one baseline */
.iba-svc__head {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: end;
	gap: 24px 64px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.iba-svc__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(2.75rem, 6.4vw, 5.5rem);
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--navy);
}

.iba-svc__lead {
	margin: 0;
	font-size: clamp(1rem, 1.3vw, 1.175rem);
	line-height: 1.6;
	color: #333;
}

/* Platforms: one ruled strip, logos on top, plain text under */
.iba-svc__platforms {
	list-style: none;
	margin: 0 0 clamp(56px, 7vw, 96px);
	padding: 0;
	display: grid;
	grid-template-columns: 1.55fr 1.3fr 1fr 1fr 1fr 0.7fr 1.2fr;
	border-top: 2px solid var(--rule);
	border-bottom: 2px solid var(--rule);
}

.iba-svc__platforms li {
	padding: 22px 20px 24px;
	border-left: 1px solid rgba(0, 0, 0, 0.18);
}

.iba-svc__platforms li:first-child { border-left: 0; padding-left: 0; }

.iba-svc__mark {
	display: block;
	height: 28px;
	margin-bottom: 12px;
}

.iba-svc__mark img,
.iba-svc__mark svg {
	display: block;
	width: 28px;
	height: 28px;
	fill: var(--ink);
}

.iba-svc__platforms h3 {
	margin: 0 0 4px;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink);
}

.iba-svc__platforms p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}

/* Sub-platforms with their own logos */
.iba-svc__platforms .iba-svc__subs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-top: 4px;
}

.iba-svc__subs span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.iba-svc__sub-icon {
	display: block;
	width: 16px;
	height: 16px;
}

/* Partner: centred heading, then zig-zag rows of a photo and two points */
.iba-svc__partner {
	margin-bottom: clamp(56px, 7vw, 96px);
}

.iba-svc__partner-head {
	max-width: 760px;
	margin: 0 auto clamp(32px, 4vw, 48px);
	text-align: center;
}

.iba-svc__partner-head .iba-svc__local {
	justify-content: center;
	text-align: left;
	margin: 0;
	padding: 0;
	border: 0;
}

.iba-svc__row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(32px, 4.5vw, 64px);
	align-items: center;
	padding: clamp(28px, 3vw, 40px) 0;
	border-top: 2px solid var(--rule);
}

.iba-svc__row.is-flip img { order: 2; }

.iba-svc__row img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 2px solid var(--ink);
	box-shadow: 10px 10px 0 var(--navy);
	background: #fff;
}

.iba-svc__subtitle {
	margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--ink);
}

.iba-svc__local {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 28px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--rule);
	font-size: 19px;
	line-height: 1.5;
	color: #333;
}

.iba-svc__local strong { color: var(--ink); }

.iba-svc__leaf {
	flex: none;
	width: 40px;
	height: 40px;
	margin-top: -4px;
	fill: #d52b1e;
}

.iba-svc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.iba-svc__list li {
	position: relative;
	padding: 0 0 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.iba-svc__list li:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }

/* Short coral bar above each point instead of a tick */
.iba-svc__list li::before {
	content: "";
	display: block;
	width: 36px;
	height: 5px;
	margin-bottom: 12px;
	background: var(--coral);
}

.iba-svc__list h4 {
	margin: 0 0 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--navy);
}

.iba-svc__list p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #444;
}

/* Offer: navy price block with the cyan no-contract bar attached */
/* Pricing: price card with a cyan "No term contracts" panel on the right. */
.iba-svc__offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px;
	filter: drop-shadow(10px 10px 0 var(--ink));
}

.iba-svc__price {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
	padding: 42px clamp(24px, 4vw, 50px);
	border: 2px solid var(--ink);
	border-right: 0;
	background: #fff;
	color: var(--ink);
}

.iba-svc__price-eyebrow {
	display: inline-block;
	margin: 0;
	padding: 5px 10px;
	background: var(--navy);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cyan);
}

.iba-svc__price-amount {
	margin: 12px 0 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
	color: var(--navy);
}

.iba-svc__price-num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(84px, 8vw, 112px);
	line-height: 0.9;
}

.iba-svc__price-per {
	font-size: 20px;
	color: #555;
}

.iba-svc__price-plus {
	margin: 10px 0 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--coral);
}

.iba-svc__price-notes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
}

.iba-svc__price-notes li {
	position: relative;
	padding-left: 34px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ink);
}

.iba-svc__price-notes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 22px;
	height: 4px;
	background: var(--coral);
}

.iba-svc__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 24px;
}

/* Handwritten aside beside the button */
.iba-svc__note {
	margin: 0;
	font-family: var(--wp--preset--font-family--caveat);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--navy);
	transform: rotate(-4deg);
}

.iba-svc__btn {
	display: inline-block;
	padding: 16px 30px;
	border: 2px solid var(--coral);
	background: var(--coral);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	transition: background 0.15s, color 0.15s;
}

.iba-svc__btn:hover { background: transparent; color: var(--coral); }

.iba-svc__btn:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
}

/* "No term contracts" panel, with a shield badge. */
.iba-svc__noterm {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 30px 26px;
	border: 2px solid var(--ink);
	background: var(--cyan);
	text-align: center;
	color: var(--navy);
}

.iba-svc__noterm-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 4px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--navy);
	box-shadow: 3px 3px 0 var(--ink);
}

.iba-svc__noterm-badge svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--cyan);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.iba-svc__noterm-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 34px;
	line-height: 1;
	text-transform: uppercase;
}

.iba-svc__noterm-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
}

/* Tablet */
@media (max-width: 1023px) {
	.iba-svc__head { grid-template-columns: minmax(0, 1fr); }

	.iba-svc__platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.iba-svc__platforms li:nth-child(5) { border-left: 0; padding-left: 0; }
	.iba-svc__platforms li:nth-child(n + 5) { border-top: 1px solid rgba(0, 0, 0, 0.18); }

	.iba-svc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

	.iba-svc__offer { grid-template-columns: minmax(0, 1fr); }
	.iba-svc__price { border-right: 2px solid var(--ink); border-bottom: 0; }
	.iba-svc__noterm { padding: 24px; }
}

/* Phone */
@media (max-width: 640px) {
	.iba-svc__head { text-align: center; }

	.iba-svc__platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iba-svc__platforms li,
	.iba-svc__platforms li:first-child,
	.iba-svc__platforms li:nth-child(5) {
		padding: 18px 12px;
		border-left: 0;
		text-align: center;
	}
	.iba-svc__platforms li:nth-child(even) { border-left: 1px solid rgba(0, 0, 0, 0.18); }
	.iba-svc__platforms li:nth-child(n + 3) { border-top: 1px solid rgba(0, 0, 0, 0.18); }
	.iba-svc__platforms li:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
	.iba-svc__mark img,
	.iba-svc__mark svg { margin: 0 auto; }
	.iba-svc__platforms .iba-svc__subs { justify-content: center; }

	.iba-svc__row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.iba-svc__row.is-flip img { order: 0; }
	.iba-svc__row img { box-shadow: 6px 6px 0 var(--navy); }
	.iba-svc__partner-head .iba-svc__local { text-align: left; }


	.iba-svc__offer { filter: drop-shadow(6px 6px 0 var(--ink)); }
	.iba-svc__price { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 22px; text-align: center; }
	.iba-svc__price-amount { justify-content: center; }
	.iba-svc__price-notes { text-align: left; }
	.iba-svc__cta { flex-direction: column; align-items: stretch; }
	.iba-svc__btn { text-align: center; }
	.iba-svc__note { align-self: center; }
}

/* iba-build:start */
/* Dealerships: "how an IBA ad gets built" animation. The stage is drawn at
   1080px and scaled to fit (--k is set in main.js). Generated; edit the
   generator, not this block. */
/* Full-bleed band; the square stage sits centred and scales to its height. */
.iba-build {
	margin: 0 calc(50% - 50vw) clamp(56px, 7vw, 96px);
}

.iba-build__frame {
	position: relative;
	height: min(100vw, 820px);
	overflow: hidden;
	background: #eef1f5;
}

.iba-build__stage {
	position: absolute;
	left: 50%;
	top: 0;
	width: 1080px;
	height: 1080px;
	transform: translateX(-50%) scale(var(--k, 0.7));
	transform-origin: 50% 0;
	font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #0b1220;
	pointer-events: none;
}

.iba-build__stage p { margin: 0; }

.iba-build__replay {
	position: absolute;
	right: max(16px, calc(50% - var(--k, 0.7) * 540px + 16px));
	bottom: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	border: 2px solid #0b1220;
	border-radius: 999px;
	background: #fff;
	color: #0b1220;
	font: 700 14px/1 Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	cursor: pointer;
}

.iba-build__replay:hover,
.iba-build__replay:focus-visible { background: #0b1220; color: #fff; }
@keyframes ab-in{from{opacity:0}to{opacity:1}}
@keyframes ab-out{from{opacity:1}to{opacity:0}}
@keyframes ab-photoOut{from{opacity:1;filter:none;transform:none}to{opacity:0;filter:blur(10px);transform:scale(1.08)}}
@keyframes ab-photoIn{from{opacity:0;transform:scale(1.18);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes ab-land{from{opacity:0;transform:translateY(-18px) scale(1.45);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes ab-slideL{from{opacity:0;transform:translateX(-60px) skewX(-12deg);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
@keyframes ab-drop{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes ab-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes ab-band{from{clip-path:inset(0 100% 0 0);transform:translateX(-40px)}to{clip-path:inset(0 0 0 0);transform:none}}
@keyframes ab-pop{0%{opacity:0;transform:scale(.3) rotate(-18deg)}55%{opacity:1;transform:scale(1.14) rotate(4deg)}78%{transform:scale(.96) rotate(-1deg)}100%{opacity:1;transform:none}}
@keyframes ab-fade{from{opacity:0}to{opacity:1}}
@keyframes ab-ltIn{from{opacity:0;transform:translateY(40px) scale(.96);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes ab-ltOut{from{opacity:1;transform:none;filter:none}to{opacity:0;transform:translateY(-24px) scale(.98);filter:blur(6px)}}
@keyframes ab-chip{from{transform:scale(.4) rotate(-20deg)}to{transform:none}}
@keyframes ab-before{from{opacity:0;transform:translateX(-520px) rotateY(48deg) scale(.6)}to{opacity:1;transform:rotateY(14deg) scale(.6)}}
@keyframes ab-pill{from{opacity:0;transform:translateY(16px) rotate(-4deg)}to{opacity:1;transform:rotate(-2deg)}}
@keyframes ab-pill2{from{opacity:0;transform:translateY(16px) rotate(4deg)}to{opacity:1;transform:rotate(2deg)}}
@keyframes ab-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes ab-glow{0%{transform:translate(-120px,-80px) scale(1)}50%{transform:translate(160px,60px) scale(1.25)}100%{transform:translate(-40px,140px) scale(1.1)}}
@keyframes ab-glow2{0%{transform:translate(120px,100px) scale(1.1)}50%{transform:translate(-140px,-40px) scale(.9)}100%{transform:translate(60px,-120px) scale(1.2)}}
.ab-a{animation-duration:.7s;animation-timing-function:cubic-bezier(.2,.8,.2,1);animation-fill-mode:both}
.ab-in{animation-name:ab-in}.ab-out{animation-name:ab-out}
.ab-photoOut{animation-name:ab-photoOut;animation-duration:.8s}.ab-photoIn{animation-name:ab-photoIn;animation-duration:.9s}
.ab-land{animation-name:ab-land}.ab-slideL{animation-name:ab-slideL}.ab-drop{animation-name:ab-drop;animation-duration:.55s}
.ab-wipe{animation-name:ab-wipe;animation-duration:.8s}.ab-band{animation-name:ab-band;animation-duration:1s;animation-timing-function:cubic-bezier(.65,0,.35,1)}
.ab-pop{animation-name:ab-pop;animation-duration:.8s}
.ab-cam{animation:ab-cam 35.85s linear both}
.ab-camFade{animation:ab-fade .5s ease-out both}
.ab-lt{animation-name:ab-ltIn,ab-ltOut;animation-duration:.6s,.45s;animation-timing-function:cubic-bezier(.2,.8,.2,1),cubic-bezier(.5,0,.75,0);animation-fill-mode:both,forwards}
.ab-chip{animation:ab-chip .6s cubic-bezier(.34,1.56,.64,1) both}
.ab-beforeCard{animation:ab-before 1.1s cubic-bezier(.16,1,.3,1) both}
.ab-pill{animation:ab-pill .6s cubic-bezier(.34,1.56,.64,1) both}.ab-pill2{animation:ab-pill2 .6s cubic-bezier(.34,1.56,.64,1) both}
.ab-rise{animation:ab-rise .7s cubic-bezier(.2,.8,.2,1) both}
.ab-glow{animation:ab-glow 35.85s ease-in-out both}.ab-glow2{animation:ab-glow2 35.85s ease-in-out both}
@media (prefers-reduced-motion: reduce){.ab-a,.ab-cam,.ab-camFade,.ab-lt,.ab-chip,.ab-beforeCard,.ab-pill,.ab-pill2,.ab-rise,.ab-glow,.ab-glow2{animation-duration:.01s!important;animation-delay:0s!important}}
@keyframes qx-in{from{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}
@keyframes qx-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-70%)}}
.ibb-qx{animation-name:qx-in,qx-out;animation-duration:.4s,.3s;animation-timing-function:cubic-bezier(.2,.8,.2,1),cubic-bezier(.5,0,.75,0);animation-fill-mode:both,forwards}
@keyframes qbb-in{from{transform:translateX(110%) rotate(3deg)}to{transform:rotate(3deg)}}
@keyframes qbb-out{from{transform:rotate(3deg)}to{transform:translateX(-110%) rotate(3deg)}}
@keyframes qbf-in{from{transform:translateX(-110%) rotate(-4deg)}to{transform:rotate(-4deg)}}
@keyframes qbf-out{from{transform:rotate(-4deg)}to{transform:translateX(110%) rotate(-4deg)}}
.ibb-qb-back{animation-name:qbb-in,qbb-out;animation-duration:.5s,.45s;animation-timing-function:cubic-bezier(.2,.8,.2,1),cubic-bezier(.5,0,.75,0);animation-fill-mode:both,forwards}
.ibb-qb-front{animation-name:qbf-in,qbf-out;animation-duration:.5s,.45s;animation-timing-function:cubic-bezier(.2,.8,.2,1),cubic-bezier(.5,0,.75,0);animation-fill-mode:both,forwards}
@media (prefers-reduced-motion: reduce){.ibb-qx,.ibb-qb-back,.ibb-qb-front{animation-duration:.01s!important;animation-delay:0s!important}}
@keyframes ab-grow{from{opacity:0;transform:scaleX(.2)}to{opacity:1;transform:none}}
.ab-grow{animation-name:ab-grow;animation-duration:.6s;transform-origin:0 50%}
@keyframes lg-out{from{opacity:1}to{opacity:0}}
@keyframes lst-in{0%{opacity:0;transform:scale(2.4) rotate(-9deg)}70%{opacity:1;transform:scale(.94) rotate(-9deg)}100%{opacity:1;transform:rotate(-9deg)}}
.ibb-lst{animation:lst-in .4s cubic-bezier(.3,0,.4,1) both}
@keyframes lp-in{from{opacity:0;transform:scale(0)}to{opacity:1;transform:none}}
@keyframes lpr-ping{from{transform:scale(1);opacity:.7}to{transform:scale(2.3);opacity:0}}
@keyframes ll-draw{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}
@keyframes lc-in{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
.ibb-lg{animation:lg-out .35s cubic-bezier(.5,0,.75,0) forwards}
.ibb-lp{animation:lp-in .45s cubic-bezier(.34,1.56,.64,1) both}
.ibb-lpr{animation:lpr-ping 1.6s ease-out infinite}
.ibb-ll{stroke-dasharray:1000;animation:ll-draw .4s cubic-bezier(.65,0,.35,1) both}
.ibb-lc{animation:lc-in .5s cubic-bezier(.2,.8,.2,1) both}
@media (prefers-reduced-motion: reduce){.ibb-lg,.ibb-lp,.ibb-ll,.ibb-lc,.ibb-lpr,.ibb-lst{animation-duration:.01s!important;animation-delay:0s!important}}
@keyframes ab-cam{0.0%{transform:translate(380px,330px) rotateX(26deg) rotateY(-42deg) rotateZ(6deg) scale(2.6);animation-timing-function:cubic-bezier(.25,1,.5,1)}4.742%{transform:translate(0px,40px) rotateX(5deg) rotateY(-11deg) rotateZ(0deg) scale(1.12);animation-timing-function:cubic-bezier(.37,0,.63,1)}10.042%{transform:translate(0px,40px) rotateX(3deg) rotateY(-5deg) rotateZ(0deg) scale(1.08);animation-timing-function:cubic-bezier(.65,0,.35,1)}12.134%{transform:translate(0.0px,138.2px) rotateX(-4deg) rotateY(10deg) rotateZ(0deg) scale(1.5);animation-timing-function:cubic-bezier(.37,0,.63,1)}17.155%{transform:translate(0.0px,145.8px) rotateX(-2.0deg) rotateY(5.0deg) rotateZ(0deg) scale(1.55);animation-timing-function:cubic-bezier(.65,0,.35,1)}19.247%{transform:translate(0.0px,-139.6px) rotateX(6deg) rotateY(-8deg) rotateZ(0deg) scale(1.35);animation-timing-function:cubic-bezier(.37,0,.63,1)}24.268%{transform:translate(0.0px,-141.5px) rotateX(3.0deg) rotateY(-4.0deg) rotateZ(0deg) scale(1.4000000000000001);animation-timing-function:cubic-bezier(.65,0,.35,1)}26.36%{transform:translate(1.4px,-201.1px) rotateX(-3deg) rotateY(7deg) rotateZ(0deg) scale(2.0);animation-timing-function:cubic-bezier(.37,0,.63,1)}31.381%{transform:translate(1.4px,-203.8px) rotateX(-1.5deg) rotateY(3.5deg) rotateZ(0deg) scale(2.05);animation-timing-function:cubic-bezier(.65,0,.35,1)}33.473%{transform:translate(135.1px,-299.0px) rotateX(2deg) rotateY(-10deg) rotateZ(0deg) scale(2.1);animation-timing-function:cubic-bezier(.37,0,.63,1)}38.494%{transform:translate(138.4px,-303.9px) rotateX(1.0deg) rotateY(-5.0deg) rotateZ(0deg) scale(2.15);animation-timing-function:cubic-bezier(.65,0,.35,1)}40.586%{transform:translate(-193.5px,-304.3px) rotateX(4deg) rotateY(12deg) rotateZ(0deg) scale(2.2);animation-timing-function:cubic-bezier(.37,0,.63,1)}45.607%{transform:translate(-197.9px,-309.2px) rotateX(2.0deg) rotateY(6.0deg) rotateZ(0deg) scale(2.25);animation-timing-function:cubic-bezier(.65,0,.35,1)}47.699%{transform:translate(0.0px,-358.7px) rotateX(-5deg) rotateY(-6deg) rotateZ(0deg) scale(1.9);animation-timing-function:cubic-bezier(.37,0,.63,1)}53.835%{transform:translate(0.0px,-365.7px) rotateX(-2.5deg) rotateY(-3.0deg) rotateZ(0deg) scale(1.95);animation-timing-function:cubic-bezier(.65,0,.35,1)}55.927%{transform:translate(0.0px,-412.0px) rotateX(5deg) rotateY(5deg) rotateZ(0deg) scale(1.8);animation-timing-function:cubic-bezier(.37,0,.63,1)}60.948%{transform:translate(0.0px,-421.0px) rotateX(2.5deg) rotateY(2.5deg) rotateZ(0deg) scale(1.85);animation-timing-function:cubic-bezier(.65,0,.35,1)}63.04%{transform:translate(0.0px,-426.4px) rotateX(-4deg) rotateY(-6deg) rotateZ(0deg) scale(1.7);animation-timing-function:cubic-bezier(.37,0,.63,1)}68.061%{transform:translate(0.0px,-436.3px) rotateX(-2.0deg) rotateY(-3.0deg) rotateZ(0deg) scale(1.75);animation-timing-function:cubic-bezier(.65,0,.35,1)}70.153%{transform:translate(0.0px,105.0px) rotateX(-4deg) rotateY(-6deg) rotateZ(0deg) scale(1.3);animation-timing-function:cubic-bezier(.37,0,.63,1)}73.222%{transform:translate(0.0px,112.5px) rotateX(-2.0deg) rotateY(-3.0deg) rotateZ(0deg) scale(1.35);animation-timing-function:cubic-bezier(.65,0,.35,1)}76.569%{transform:translate(170px,40px) rotateX(0deg) rotateY(-10deg) rotateZ(0deg) scale(0.92);animation-timing-function:cubic-bezier(.37,0,.63,1)}100.0%{transform:translate(170px,40px) rotateX(2deg) rotateY(-6deg) rotateZ(0deg) scale(0.92);animation-timing-function:cubic-bezier(.37,0,.63,1)}}
.iba-build:not(.is-playing) .iba-build__stage *{animation-play-state:paused!important}
/* iba-build:end */

/* --------------------------------------------------------------------------
   Blog post body: tables, lists, dividers and links carried over from Wix
   -------------------------------------------------------------------------- */

.iba-single .wp-block-table.iba-post-table {
	margin-block: 2rem;
	overflow-x: auto;
}

.iba-single .iba-post-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
	text-align: center;
}

.iba-single .iba-post-table th,
.iba-single .iba-post-table td {
	padding: 0.85rem 1rem;
	border: 1px solid #c9ccd3;
}

.iba-single .iba-post-table thead th {
	background: #e8f0fd;
	font-weight: 700;
	border-bottom: 1px solid #c9ccd3;
}

.iba-single .wp-block-post-content :where(ul, ol) {
	padding-left: 1.4em;
}

.iba-single .wp-block-post-content li + li {
	margin-top: 0.5em;
}

.iba-single .wp-block-post-content .wp-block-separator {
	margin-block: 2.5rem;
	border: 0;
	border-top: 1px solid #d5d7dc;
	opacity: 1;
}

.iba-single .wp-block-post-content p a,
.iba-single .wp-block-post-content li a {
	color: var(--wp--preset--color--blue, #116dff);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.iba-single .wp-block-post-content .wp-block-image img {
	border-radius: 6px;
}
