/* IBS content pages — shared design layer ("ibp" = IBS pages)
   Used by /vstar/ /tkn/ /dhammajak/ /project/executive/ /history-of-path-of-progres/ /contact/ (and any page rebuilt later).

   How a page uses it
     <link rel="stylesheet" id="ibs-pages-css" href="/assets/css/ibs-pages.css?v=N">   (last stylesheet in <head>)
     <div id="main-content"><main class="ibp ibp--vstar"> … </main></div>               (directly inside #main-content,
                                                                                        NOT inside Divi's .entry-content)
   - One theme class per page sets the programme's colours (.ibp--vstar, .ibp--tkn, .ibp--dhammajak, .ibp--executive);
     no theme class = IBS blue. Components only read the --ibp-* tokens, never hard-coded colours.
   - Buttons: ONE primary action per group (.ibp-btn), the rest .ibp-btn--ghost. Lists of destinations (documents,
     downloads, sub-pages) are .ibp-links cards, never a pile of coloured buttons.
   - Page-only rules go in the page's own <style id="ibp-page-css">, prefixed with the page name.
   - Change this file -> bump ?v= in every page that links it (Cloudflare caches /assets/* for 4 hours). */

.ibp {
	--ibp-brand: #0c71c3;
	--ibp-brand-deep: #00208a;
	--ibp-brand-rgb: 12, 113, 195;
	--ibp-brand-soft: #e6f1fd;
	--ibp-accent: #f5b324;
	--ibp-accent-ink: #4a3200;
	--ibp-ink: #14213d;
	--ibp-body: #3b475d;
	--ibp-muted: #66728a;
	--ibp-line: #e2e8f2;
	--ibp-tint: #f4f8fd;
	--ibp-surface: #fff;
	--ibp-hero-bg: linear-gradient(135deg, var(--ibp-brand), var(--ibp-brand-deep));
	--ibp-hero-ink: #fff;
	--ibp-hero-sub: rgba(255, 255, 255, .86);
	--ibp-radius: 20px;
	--ibp-radius-sm: 14px;
	--ibp-shadow: 0 20px 40px -30px rgba(20, 33, 61, .55);
	--ibp-shadow-lift: 0 26px 44px -28px rgba(var(--ibp-brand-rgb), .55);
	--ibp-font: 'Prompt', 'Sarabun', Helvetica, Arial, sans-serif;
	--ibp-font-text: 'Sarabun', 'Prompt', Helvetica, Arial, sans-serif;
	font-family: var(--ibp-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ibp-body);
	background: var(--ibp-surface);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
/* programme themes */
.ibp--vstar { --ibp-brand: #d5281f; --ibp-brand-deep: #a3160f; --ibp-brand-rgb: 213, 40, 31; --ibp-brand-soft: #fdecea; --ibp-accent: #ffc928; --ibp-accent-ink: #4d2c00; --ibp-ink: #2c1a12; --ibp-body: #4d3f38; --ibp-muted: #7b6a62; --ibp-line: #f1e3d6; --ibp-tint: #fff8e8; --ibp-hero-bg: radial-gradient(120% 90% at 50% 0%, #ffe07a 0%, #ffc928 45%, #ffb30f 100%); --ibp-hero-ink: #3d1408; --ibp-hero-sub: #6b3a12; }
.ibp--tkn { --ibp-brand: #2340c8; --ibp-brand-deep: #14237e; --ibp-brand-rgb: 35, 64, 200; --ibp-brand-soft: #e9edfc; --ibp-accent: #f5b324; --ibp-ink: #121a45; --ibp-body: #3c4466; --ibp-muted: #69719a; --ibp-line: #e1e5f6; --ibp-tint: #f4f6ff; }
.ibp--dhammajak { --ibp-brand: #a8501a; --ibp-brand-deep: #7a350d; --ibp-brand-rgb: 168, 80, 26; --ibp-brand-soft: #fdeed6; --ibp-accent: #f7b733; --ibp-ink: #3a1e08; --ibp-body: #55402f; --ibp-muted: #856b55; --ibp-line: #f1e1c8; --ibp-tint: #fff7e6; --ibp-hero-bg: linear-gradient(180deg, #ffe3a3 0%, #ffc85c 100%); --ibp-hero-ink: #5a2a06; --ibp-hero-sub: #7a4a1c; }
.ibp--executive { --ibp-brand: #0b74aa; --ibp-brand-deep: #0a4f78; --ibp-brand-rgb: 11, 116, 170; --ibp-brand-soft: #e2f2fa; --ibp-accent: #f5a43a; --ibp-ink: #0f2a3d; --ibp-body: #3a5062; --ibp-muted: #64798a; --ibp-line: #dbe9f1; --ibp-tint: #f1f8fc; }

/* ---------- reset inside .ibp (Divi sets paddings/bullets/link colours globally) ---------- */
.ibp, .ibp *, .ibp *::before, .ibp *::after { box-sizing: border-box; }
.ibp :where(p, h1, h2, h3, h4, h5, ul, ol, li, figure, blockquote, dl, dd) { margin: 0; padding: 0; }
.ibp :where(h1, h2, h3, h4, h5) { font-family: var(--ibp-font); color: var(--ibp-ink); line-height: 1.3; font-weight: 700; }
.ibp :where(ul, ol) { list-style: none; }
.ibp :where(blockquote) { border: 0; }
.ibp :where(a) { color: inherit; text-decoration: none; }
.ibp :where(img, svg, video, iframe) { display: block; max-width: 100%; }
.ibp :where(img) { height: auto; }
.ibp :where(a, button):focus-visible { outline: 3px solid var(--ibp-brand); outline-offset: 3px; border-radius: 6px; }
.ibp :where([id]) { scroll-margin-top: 104px; }
.ibp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ibp-nb { display: inline-block; white-space: nowrap; }
.ibp-ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ibp-ico--fill { fill: currentColor; stroke: none; }

/* ---------- layout ---------- */
.ibp-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.ibp-wrap--narrow { width: min(820px, 100% - 40px); }
.ibp-section { padding: 72px 0; }
.ibp-section--tight { padding: 48px 0; }
.ibp-section--tint { background: var(--ibp-tint); }
.ibp-section--line { border-top: 1px solid var(--ibp-line); }
.ibp-section--brand { background: var(--ibp-hero-bg); color: var(--ibp-hero-sub); }
.ibp-section--brand :where(h2, h3) { color: var(--ibp-hero-ink); }
.ibp-grid { display: grid; gap: 22px; }
.ibp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ibp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ibp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ibp-grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ibp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.ibp-split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ibp-split--top { align-items: start; }
.ibp-stack > * + * { margin-top: 16px; }
.ibp-stack--lg > * + * { margin-top: 28px; }
.ibp-center { text-align: center; }
.ibp-mt { margin-top: 32px; }
.ibp-mt-lg { margin-top: 48px; }

/* ---------- headings ---------- */
.ibp-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.ibp-head--left { margin-inline: 0; text-align: left; }
.ibp-eyebrow { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.ibp-h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.ibp-eyebrow + .ibp-h2 { margin-top: 14px; }
.ibp-h2::after { content: ""; display: block; width: 56px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: var(--ibp-accent); }
.ibp-head--left .ibp-h2::after { margin-left: 0; }
.ibp-h2--plain::after { display: none; }
.ibp-h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; line-height: 1.4; }
.ibp-lead { margin-top: 14px; font-family: var(--ibp-font-text); font-size: clamp(17px, 1.7vw, 19px); line-height: 1.75; color: var(--ibp-muted); text-wrap: pretty; }
.ibp-section--brand .ibp-lead { color: var(--ibp-hero-sub); }

/* long-form text */
.ibp-prose { font-family: var(--ibp-font-text); font-size: 17.5px; line-height: 1.85; color: var(--ibp-body); }
.ibp-prose > * + * { margin-top: 14px; }
.ibp-prose :where(h3, h4) { margin-top: 26px; font-size: 20px; }
.ibp-prose strong, .ibp-prose b { color: var(--ibp-ink); font-weight: 700; }
.ibp-prose a { color: var(--ibp-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ibp-prose a:hover { color: var(--ibp-brand-deep); }
.ibp-prose ul, .ibp-prose ol { padding-left: 4px; }
.ibp-prose li { position: relative; padding-left: 26px; }
.ibp-prose li + li { margin-top: 8px; }
.ibp-prose ul > li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--ibp-accent); }
.ibp-prose ol { counter-reset: ibp-ol; }
.ibp-prose ol > li { counter-increment: ibp-ol; padding-left: 34px; }
.ibp-prose ol > li::before { content: counter(ibp-ol); position: absolute; left: 0; top: .28em; width: 24px; height: 24px; border-radius: 50%; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font: 700 13px/24px var(--ibp-font); text-align: center; }

/* ---------- buttons ---------- */
.ibp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 26px; border: 1.5px solid transparent; border-radius: 999px; background: var(--ibp-brand); color: #fff; font: 600 16px/1.35 var(--ibp-font); text-align: center; cursor: pointer; box-shadow: 0 12px 22px -14px rgba(var(--ibp-brand-rgb), .9); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.ibp-btn:hover { background: var(--ibp-brand-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 26px -14px rgba(var(--ibp-brand-rgb), .95); }
.ibp-btn:active { transform: translateY(0); }
.ibp-btn--accent { background: var(--ibp-accent); color: var(--ibp-accent-ink); box-shadow: 0 12px 22px -14px rgba(74, 50, 0, .55); }
.ibp-btn--accent:hover { background: var(--ibp-accent); color: var(--ibp-accent-ink); filter: brightness(1.06); }
.ibp-btn--ghost { background: #fff; color: var(--ibp-brand-deep); border-color: rgba(var(--ibp-brand-rgb), .32); box-shadow: none; }
.ibp-btn--ghost:hover { background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); border-color: var(--ibp-brand); box-shadow: none; }
.ibp-btn--light { background: #fff; color: var(--ibp-brand-deep); box-shadow: 0 12px 22px -14px rgba(0, 0, 0, .5); }
.ibp-btn--light:hover { background: #fff; color: var(--ibp-brand); }
.ibp-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); box-shadow: none; }
.ibp-btn--outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; box-shadow: none; }
.ibp-btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; gap: 8px; }
.ibp-btn--lg { min-height: 56px; padding: 14px 34px; font-size: 18px; }
.ibp-btn--block { display: flex; width: 100%; }
.ibp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ibp-actions--center { justify-content: center; }
.ibp-textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--ibp-brand); font-weight: 600; }
.ibp-textlink:hover { color: var(--ibp-brand-deep); }
.ibp-textlink .ibp-ico { transition: transform .18s ease; }
.ibp-textlink:hover .ibp-ico { transform: translateX(3px); }

/* status pills */
.ibp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.ibp-badge--open { background: #e3f6ea; color: #14633a; }
.ibp-badge--closed { background: #fde8e6; color: #a3160f; }
.ibp-badge--solid { background: var(--ibp-brand); color: #fff; }
.ibp-badge--onhero { background: rgba(255, 255, 255, .92); color: var(--ibp-brand-deep); }
.ibp-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ibp-badge--plain::before { display: none; }

/* ---------- hero ---------- */
.ibp-hero { position: relative; padding: 64px 0 72px; background: var(--ibp-hero-bg); color: var(--ibp-hero-sub); text-align: center; overflow: hidden; }
.ibp-hero > .ibp-wrap { position: relative; z-index: 1; }
.ibp-hero__logo { width: auto; height: 96px; margin: 0 auto 22px; }
.ibp-hero__logo--round { width: 104px; height: 104px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); object-fit: contain; }
.ibp-hero__kicker { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--ibp-hero-sub); }
.ibp-hero__title { margin-top: 10px; font-size: clamp(30px, 4.8vw, 52px); font-weight: 800; line-height: 1.22; color: var(--ibp-hero-ink); text-wrap: balance; }
.ibp-hero__kicker + .ibp-hero__title, .ibp-hero__logo + .ibp-hero__title { margin-top: 8px; }
.ibp-hero__sub { max-width: 720px; margin: 14px auto 0; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: var(--ibp-hero-sub); text-wrap: balance; }
.ibp-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.ibp-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.ibp-hero__art { margin: 36px auto -72px; width: min(860px, 100%); }
.ibp-hero--split { text-align: left; }
.ibp-hero--split > .ibp-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ibp-hero--split :where(.ibp-hero__sub, .ibp-hero__logo) { margin-inline: 0; }
.ibp-hero--split :where(.ibp-hero__meta, .ibp-hero__actions) { justify-content: flex-start; }
.ibp-hero--compact { padding: 48px 0 52px; }
/* breadcrumb (optional, top of hero) */
.ibp-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--ibp-hero-sub); }
.ibp-hero--split .ibp-crumbs { justify-content: flex-start; }
.ibp-crumbs a:hover { color: var(--ibp-hero-ink); text-decoration: underline; }
.ibp-crumbs span[aria-hidden] { opacity: .6; }

/* ---------- cards ---------- */
.ibp-card { background: var(--ibp-surface); border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius); box-shadow: var(--ibp-shadow); overflow: hidden; }
.ibp-card__body { padding: 24px 26px 26px; }
.ibp-card__title { font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ibp-ink); }
.ibp-card__text { margin-top: 8px; font-family: var(--ibp-font-text); font-size: 16.5px; line-height: 1.75; color: var(--ibp-body); }
.ibp-card__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ibp-card__media { display: block; background: var(--ibp-tint); }
.ibp-card__media img { width: 100%; }
a.ibp-card, .ibp-card--hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.ibp-card:hover, .ibp-card--hover:hover { transform: translateY(-4px); border-color: rgba(var(--ibp-brand-rgb), .45); box-shadow: var(--ibp-shadow-lift); }

/* destination cards: documents, downloads, sub-pages — the tidy replacement for a pile of buttons */
.ibp-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ibp-links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ibp-links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ibp-link { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 18px; background: #fff; border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius-sm); color: var(--ibp-ink); text-align: left; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ibp-link:hover { transform: translateY(-3px); border-color: var(--ibp-brand); box-shadow: 0 18px 30px -22px rgba(var(--ibp-brand-rgb), .7); color: var(--ibp-ink); }
.ibp-link__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font-size: 19px; }
.ibp-link__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ibp-link__title { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.ibp-link__note { font-size: 13.5px; line-height: 1.5; color: var(--ibp-muted); }
.ibp-link > .ibp-ico:last-child { color: var(--ibp-brand); transition: transform .2s ease; }
.ibp-link:hover > .ibp-ico:last-child { transform: translateX(4px); }
.ibp-link--primary { background: var(--ibp-brand); border-color: var(--ibp-brand); color: #fff; box-shadow: 0 16px 28px -18px rgba(var(--ibp-brand-rgb), .9); }
.ibp-link--primary:hover { background: var(--ibp-brand-deep); border-color: var(--ibp-brand-deep); color: #fff; }
.ibp-link--primary .ibp-link__ico { background: rgba(255, 255, 255, .18); color: #fff; }
.ibp-link--primary .ibp-link__note { color: rgba(255, 255, 255, .85); }
.ibp-link--primary > .ibp-ico:last-child { color: #fff; }

/* callout */
.ibp-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--ibp-radius-sm); background: var(--ibp-brand-soft); color: var(--ibp-ink); font-size: 16px; line-height: 1.65; }
.ibp-note > .ibp-ico { margin-top: 3px; color: var(--ibp-brand-deep); font-size: 18px; }
.ibp-note a { color: var(--ibp-brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ibp-note--accent { background: #fff6dc; }

/* call-to-action band */
.ibp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 30px 36px; border-radius: 24px; background: linear-gradient(120deg, var(--ibp-brand-deep), var(--ibp-brand)); color: rgba(255, 255, 255, .9); box-shadow: var(--ibp-shadow-lift); }
.ibp-cta__title { font-size: clamp(21px, 2.5vw, 28px); font-weight: 700; line-height: 1.35; color: #fff; }
.ibp-cta__text { margin-top: 4px; font-size: 16px; }

/* ---------- media ---------- */
.ibp-figure { border-radius: var(--ibp-radius); overflow: hidden; background: var(--ibp-tint); box-shadow: var(--ibp-shadow); }
.ibp-figure img { width: 100%; }
.ibp-figure--plain { background: none; box-shadow: none; border-radius: 0; }
.ibp-cap { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ibp-ink); text-align: center; }
.ibp-cap small { display: block; font-size: 13.5px; font-weight: 400; color: var(--ibp-muted); }
.ibp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ibp-radius); overflow: hidden; background: #0d1424; box-shadow: var(--ibp-shadow); }
.ibp-video iframe, .ibp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* posters / photos that open Divi's lightbox: <a class="ibp-zoom et_pb_lightbox_image" href="big.jpg"><img …></a> */
.ibp-zoom { display: block; border-radius: var(--ibp-radius-sm); overflow: hidden; background: var(--ibp-tint); box-shadow: var(--ibp-shadow); cursor: zoom-in; transition: transform .22s ease, box-shadow .22s ease; }
.ibp-zoom:hover { transform: translateY(-4px); box-shadow: var(--ibp-shadow-lift); }
.ibp-zoom img { width: 100%; }
.ibp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ibp-gallery .ibp-zoom img { aspect-ratio: 4 / 3; object-fit: cover; }
/* horizontal shelf (books, covers, logos) — scrolls with touch/trackpad, no script */
.ibp-shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 18px; padding: 6px 4px 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ibp-shelf > * { scroll-snap-align: start; }

/* feature rows: picture + text (+ action) */
.ibp-feature { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px 30px; background: #fff; border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius); box-shadow: var(--ibp-shadow); }
.ibp-feature__img { width: 100%; max-height: 190px; object-fit: contain; }
.ibp-feature__title { font-size: 19px; font-weight: 600; color: var(--ibp-brand-deep); line-height: 1.4; }
.ibp-feature__text { margin-top: 8px; font-family: var(--ibp-font-text); font-size: 16.5px; line-height: 1.75; }
.ibp-feature .ibp-btn { margin-top: 16px; }

/* numbered steps / objectives */
.ibp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: ibp-step; }
.ibp-step { counter-increment: ibp-step; position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius); font-family: var(--ibp-font-text); font-size: 16.5px; line-height: 1.75; }
.ibp-step::before { content: counter(ibp-step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--ibp-brand); color: #fff; font: 700 18px/1 var(--ibp-font); }
.ibp-step__title { margin-bottom: 6px; font-size: 18px; font-weight: 600; }

/* key figures */
.ibp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.ibp-stat { padding: 22px 18px; border-radius: var(--ibp-radius-sm); background: #fff; border: 1px solid var(--ibp-line); text-align: center; }
.ibp-stat__num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.15; color: var(--ibp-brand-deep); font-variant-numeric: tabular-nums; }
.ibp-stat__label { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ibp-muted); }

/* testimonials */
.ibp-quote { display: flex; flex-direction: column; height: 100%; padding: 26px 24px; background: #fff; border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius); box-shadow: var(--ibp-shadow); }
.ibp-quote__who { display: flex; align-items: center; gap: 14px; }
.ibp-quote__img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ibp-brand-soft); }
.ibp-quote__name { font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--ibp-ink); }
.ibp-quote__role { font-size: 13.5px; line-height: 1.45; color: var(--ibp-brand); }
.ibp-quote__text { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ibp-line); font-family: var(--ibp-font-text); font-size: 16px; line-height: 1.8; color: var(--ibp-body); }

/* timeline */
.ibp-timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.ibp-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--ibp-brand), var(--ibp-accent)); border-radius: 2px; }
.ibp-timeline__item { position: relative; }
.ibp-timeline__item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--ibp-brand); }
.ibp-timeline__when { display: inline-block; margin-bottom: 6px; padding: 3px 12px; border-radius: 999px; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font-size: 13.5px; font-weight: 600; }
.ibp-timeline__title { font-size: 20px; font-weight: 600; }

/* contact rows */
.ibp-contact { display: grid; gap: 12px; }
.ibp-contact__row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius-sm); background: #fff; color: var(--ibp-ink); transition: border-color .2s ease, transform .2s ease; }
a.ibp-contact__row:hover { border-color: var(--ibp-brand); transform: translateX(3px); color: var(--ibp-ink); }
.ibp-contact__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font-size: 18px; }
.ibp-contact__label { display: block; font-size: 13px; color: var(--ibp-muted); line-height: 1.4; }
.ibp-contact__value { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.ibp-social { display: flex; flex-wrap: wrap; gap: 10px; }
.ibp-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font-size: 19px; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.ibp-social a:hover { background: var(--ibp-brand); color: #fff; transform: translateY(-2px); }

/* tables scroll inside their own box on small screens */
.ibp-table { overflow-x: auto; border: 1px solid var(--ibp-line); border-radius: var(--ibp-radius-sm); background: #fff; }
.ibp-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-family: var(--ibp-font-text); font-size: 16px; }
.ibp-table th { padding: 12px 16px; background: var(--ibp-brand-soft); color: var(--ibp-brand-deep); font: 600 15px/1.4 var(--ibp-font); text-align: left; }
.ibp-table td { padding: 12px 16px; border-top: 1px solid var(--ibp-line); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.ibp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ibp-grid--3, .ibp-links--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ibp-split, .ibp-split--wide-text, .ibp-hero--split > .ibp-wrap { grid-template-columns: 1fr; gap: 32px; }
	.ibp-hero--split { text-align: center; }
	.ibp-hero--split :where(.ibp-hero__sub, .ibp-hero__logo) { margin-inline: auto; }
	.ibp-hero--split :where(.ibp-hero__meta, .ibp-hero__actions) { justify-content: center; }
	.ibp-hero--split .ibp-crumbs { justify-content: center; }
}
@media (max-width: 767px) {
	.ibp { font-size: 15.5px; }
	.ibp-wrap, .ibp-wrap--narrow { width: min(1120px, 100% - 32px); }
	.ibp-section { padding: 48px 0; }
	.ibp-section--tight { padding: 36px 0; }
	.ibp-head { margin-bottom: 28px; }
	.ibp-hero { padding: 44px 0 52px; }
	.ibp-hero__logo { height: 80px; }
	.ibp-hero__logo--round { width: 88px; height: 88px; }
	.ibp-hero__art { margin-bottom: -52px; }
	.ibp-grid--2, .ibp-grid--3, .ibp-links--2, .ibp-links--3 { grid-template-columns: 1fr; }
	.ibp-prose { font-size: 17px; }
	.ibp-feature { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; text-align: center; }
	.ibp-feature__img { max-height: 160px; margin-inline: auto; }
	.ibp-cta { padding: 24px 22px; justify-content: center; text-align: center; }
	.ibp-card__body { padding: 20px; }
}
@media (max-width: 480px) {
	.ibp-grid--4 { grid-template-columns: 1fr; }
	/* stacked buttons take the same full width, so a group always lines up */
	.ibp-actions, .ibp-hero__actions, .ibp-card__foot { flex-direction: column; align-items: stretch; }
	.ibp-actions .ibp-btn, .ibp-hero__actions .ibp-btn, .ibp-card__foot .ibp-btn { width: 100%; }
	.ibp-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.ibp *, .ibp *::before, .ibp *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
