/*
 * DeltaBridge design system ("db-" classes), taken from the AI Training page design.
 * Sections are full-width bands; content sits in a 1240px container. Type is Montserrat.
 *
 *   Bands:      .db-section--white  #ffffff   .db-section--light  #f8f9fb
 *               .db-section--dark   #013954   .db-section--navy   #024b78
 *   Accent:     #00cffe (cyan)  #08779c (teal text)  #024b78 (navy)
 *   Greys:      text #3d4f61  muted #5a6b7b  borders #e1e8ee / #e6ebf0
 *   Cards:      14px radius, 1px #e1e8ee border.   Buttons: pill, 14px bold.
 */

/* In-page links (Know more, Explore, anchors) glide to their section */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Page frame: bands run edge to edge ---------- */
.page-content:has(.db-section) { padding: 0; }
body:has(.db-section) { overflow-x: clip; }
.db-section {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	font-family: 'Montserrat', system-ui, sans-serif;
	color: #0b1f33;
	background: #ffffff;
}
.db-section[id] { scroll-margin-top: 90px; }
.db-section--white { background: #ffffff; }
.db-section--light { background: #f8f9fb; }
.db-section--dark { background: #013954; color: #ffffff; }
.db-section--navy { background: #024b78; color: #ffffff; }
.db-container { max-width: 1240px; margin: 0 auto; padding: 88px 24px; }
.db-container--tight { padding-top: 80px; padding-bottom: 80px; }
.db-container--hero { padding: 28px 24px 88px; }
.db-container--narrow { max-width: 880px; }
:where(.db-section) :is(p, h1, h2, h3, h4) { margin: 0; font-family: inherit; }
.db-section a { color: #08779c; }
.db-section a:hover { color: #024b78; }

/* ---------- Headings ---------- */
.db-section .db-h1 { margin: 0 0 22px; font-size: 52px; line-height: 1.12; font-weight: 700; letter-spacing: -0.8px; color: inherit; }
.db-section .db-h1.db-h1--long { font-size: 46px; line-height: 1.15; }
.db-section .db-h2 { margin: 0 0 14px; font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -0.4px; color: inherit; }
.db-section .db-h2::before { content: ""; display: block; width: 48px; height: 3px; margin: 0 auto 18px; background: #00cffe; }
.db-section .db-h2--left::before { margin-left: 0; }
.db-section .db-h2--plain { font-size: 38px; }
.db-section .db-h2--plain::before { display: none; }
.db-section .db-h2--medium { font-size: 34px; margin-bottom: 16px; }
.db-section .db-h2--left { margin-bottom: 16px; }
.db-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.db-head--wide-gap { margin-bottom: 52px; }
.db-head--cta { margin-bottom: 44px; }
.db-section .db-lead { font-size: 16px; line-height: 1.7; color: #3d4f61; }
.db-section--dark .db-lead, .db-section--navy .db-lead { color: #d4e4ee; }
.db-section .db-lead--spaced { margin-bottom: 22px; }
.db-section .db-lead--spaced-lg { margin-bottom: 28px; }
.db-section .db-strong-line { font-size: 18px; line-height: 1.5; font-weight: 700; color: #024b78; }

/* ---------- Buttons (Buttons block) ---------- */
.db-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.db-buttons--center { justify-content: center; }
.db-btn .wp-block-button__link {
	display: inline-block;
	padding: 16px 26px;
	border: 0;
	border-radius: 30px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 1.5;
	text-decoration: none;
	text-transform: none;
	transition: filter 0.15s;
}
.db-btn--accent .wp-block-button__link { background: #00cffe; color: #013954; }
.db-btn--outline .wp-block-button__link { padding: 15px 24px; background: transparent; color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.db-btn .wp-block-button__link:hover { filter: brightness(1.08); color: inherit; }
.db-btn--accent .wp-block-button__link:hover { color: #013954; }
.db-btn--outline .wp-block-button__link:hover { color: #ffffff; }
.db-buttons--cta .db-btn--accent .wp-block-button__link { padding: 16px 28px; }
.db-buttons--cta .db-btn--outline .wp-block-button__link { padding: 15px 26px; }

/* ---------- Hero ---------- */
.db-breadcrumb { margin: 0 0 56px; font-size: 13px; color: #a9c6d8; }
.db-section .db-breadcrumb a { color: #a9c6d8; text-decoration: none; }
.db-section .db-breadcrumb a:hover { color: #ffffff; }
.db-breadcrumb strong { font-weight: 400; color: #ffffff; }
.db-hero__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.db-hero__copy { flex: 999 1 520px; min-width: 0; }
.db-section .db-pill {
	display: inline-block;
	margin: 0 0 26px;
	padding: 7px 14px;
	border: 1px solid rgba(0, 207, 254, 0.45);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #00cffe;
}
.db-hero__text { max-width: 600px; margin: 0 0 34px; font-size: 18px; line-height: 1.65; color: #d4e4ee; }
.db-hero .db-buttons { margin-bottom: 36px; }
/* Hero quick links: glass chips that link straight to each service */
.db-hero ul.db-quicknav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; max-width: 640px; }
.db-hero ul.db-quicknav li { margin: 0; padding: 0; }
.db-hero ul.db-quicknav a {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.005em;
	color: #e9f6fb;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.12s ease-out;
}
.db-hero ul.db-quicknav a:hover { background: rgba(0, 207, 254, 0.2); border-color: #00cffe; color: #ffffff; }
.db-hero ul.db-quicknav a:focus-visible { outline: 2px solid #00cffe; outline-offset: 2px; }
.db-hero ul.db-quicknav a:active { transform: scale(0.97); }
.db-hero ul.db-quicknav--alt { margin-bottom: 0; }
.db-hero ul.db-quicknav--alt a { background: transparent; border-color: #00cffe; color: #00cffe; }
.db-hero ul.db-quicknav--alt a:hover { background: #00cffe; color: #013954; }
@media (prefers-reduced-motion: reduce) { .db-hero ul.db-quicknav a { transition: none; } .db-hero ul.db-quicknav a:active { transform: none; } }
@media (prefers-reduced-transparency: reduce) { .db-hero ul.db-quicknav a { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, 0.14); } }
.db-section ul.db-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.db-section ul.db-chips li { margin: 0; padding: 7px 14px; border-radius: 16px; font-size: 12px; font-weight: 600; color: #bfe9f7; background: rgba(0, 207, 254, 0.12); }

/* Scorecard */
.db-score { flex: 1 1 380px; min-width: 0; padding: 28px; border-radius: 18px; background: #ffffff; color: #0b1f33; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); }
.db-score__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.db-section .db-score__title { font-size: 16px; font-weight: 700; }
.db-section .db-score__tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #5a6b7b; }
.db-section .db-score__sub { margin-bottom: 22px; font-size: 12px; color: #5a6b7b; }
.db-score__levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 8px; }
.db-section .db-score__levels p { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: #5a6b7b; }
.db-score__item { margin-bottom: 18px; }
.db-score__item:last-of-type { margin-bottom: 22px; }
.db-section .db-score__label { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.db-bar { height: 10px; margin-bottom: 5px; border-radius: 6px; background: #edf1f5; overflow: hidden; }
.db-bar + .db-bar { margin-bottom: 0; }
.db-bar__fill { height: 10px; border-radius: 6px; }
.db-bar__fill--before { background: #9aa9b7; }
.db-bar__fill--after { background: #024b78; }
.db-w-22 { width: 22%; } .db-w-26 { width: 26%; } .db-w-30 { width: 30%; }
.db-w-70 { width: 70%; } .db-w-72 { width: 72%; } .db-w-78 { width: 78%; }
.db-score__legend { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 14px; border-top: 1px solid #e6ebf0; }
.db-section .db-score__legend p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #3d4f61; }
.db-section .db-score__legend p::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: #9aa9b7; }
.db-section .db-score__legend p + p::before { background: #024b78; }
.db-section .db-score__note { margin-top: 12px; font-size: 11px; color: #5a6b7b; }

/* ---------- Cards and grids ---------- */
.db-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.db-grid--250, .db-grid--260 { gap: 18px; }
.db-grid--250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.db-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.db-grid--270 { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.db-grid--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* Cards whose title, label, text and dropdown line up across a grid row (4 rows each, via subgrid) */
.db-grid--aligned > .db-module { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.db-card { padding: 28px 24px; border: 1px solid #e1e8ee; border-radius: 14px; background: #ffffff; }

/* Statistic cards */
.db-section .db-stat__num { margin-bottom: 10px; font-size: 44px; font-weight: 800; letter-spacing: -1px; color: #024b78; }
.db-section .db-stat__text { margin-bottom: 16px; font-size: 15px; line-height: 1.55; font-weight: 500; color: #0b1f33; }
.db-section .db-stat__src { font-size: 11px; color: #5a6b7b; }

/* "Why it fails" split and rows */
.db-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.db-split--wide { gap: 56px; align-items: stretch; }
.db-split__side { flex: 1 1 340px; min-width: 0; }
.db-split__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.db-row { display: flex; gap: 22px; align-items: flex-start; padding: 24px 26px; border-radius: 14px; background: #f8f9fb; }
.db-section .db-row__num { min-width: 44px; font-size: 30px; font-weight: 800; color: #08779c; }
.db-section .db-row__title { margin-bottom: 6px; font-size: 18px; font-weight: 700; color: #0b1f33; }
.db-section .db-row__text { font-size: 15px; line-height: 1.65; color: #3d4f61; }

/* Approach steps (on navy) */
.db-step { padding: 28px 24px; border-top: 3px solid #00cffe; border-radius: 14px; background: #14587f; }
.db-section .db-step__label { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: #00cffe; }
.db-section .db-step__title { margin-bottom: 10px; font-size: 20px; font-weight: 700; color: #ffffff; }
.db-section .db-step__text { font-size: 14px; line-height: 1.7; color: #d4e4ee; }

/* Signature track */
.db-track { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 22px; padding: 34px 36px; border-radius: 18px; background: #013954; color: #ffffff; }
.db-track__copy { flex: 999 1 520px; min-width: 0; }
.db-section .db-track__label { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #00cffe; }
.db-section .db-track__title { margin-bottom: 12px; font-size: 26px; font-weight: 700; color: #ffffff; }
.db-section .db-track__text { font-size: 15px; line-height: 1.7; color: #d4e4ee; }
.db-track__box { flex: 1 1 260px; min-width: 0; padding: 20px 22px; border-radius: 12px; background: #14587f; }
.db-section .db-track__box-label { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #00cffe; }
.db-section .db-track__box-text { font-size: 15px; font-weight: 600; line-height: 1.5; color: #ffffff; }

/* Module cards */
.db-module { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid #e1e8ee; border-radius: 14px; background: #ffffff; }
.db-section .db-module__num { margin-bottom: 10px; font-size: 13px; font-weight: 800; color: #08779c; }
.db-section .db-module__title { margin-bottom: 8px; font-size: 18px; font-weight: 700; color: #0b1f33; }
.db-section .db-module__text { flex-grow: 1; font-size: 14px; line-height: 1.65; color: #3d4f61; }
.db-module__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e6ebf0; }
.db-section .db-module__foot-label { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: #08779c; }
.db-section .db-module__foot-text { font-size: 14px; font-weight: 600; color: #0b1f33; }

/* Programme cards */
.db-prog { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid #e1e8ee; border-top: 4px solid #024b78; border-radius: 14px; background: #ffffff; }
.db-section .db-prog__label { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: #08779c; }
.db-section .db-prog__title { margin-bottom: 6px; font-size: 22px; font-weight: 700; color: #0b1f33; }
.db-section .db-prog__meta { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: #024b78; }
.db-section .db-prog__text { flex-grow: 1; font-size: 14px; line-height: 1.65; color: #3d4f61; }
.db-section .db-prog__best { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e6ebf0; font-size: 13px; color: #0b1f33; }
.db-prog--featured { border-color: #013954; border-top-color: #00cffe; background: #013954; color: #ffffff; }
.db-section .db-prog--featured .db-prog__label { color: #00cffe; }
.db-section .db-prog--featured .db-prog__title { color: #ffffff; }
.db-section .db-prog--featured .db-prog__meta { color: #bfe9f7; }
.db-section .db-prog--featured .db-prog__text { color: #d4e4ee; }
.db-section .db-prog--featured .db-prog__best { color: #ffffff; border-top-color: rgba(255, 255, 255, 0.2); }

/* "Who we train" cards */
.db-audience { padding: 30px 26px; border: 1px solid #e1e8ee; border-radius: 14px; }
.db-audience::before { content: ""; display: block; width: 34px; height: 34px; background-repeat: no-repeat; background-size: contain; }
.db-audience--corporate::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308779c' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1.5'/%3E%3Cpath d='M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2M10 21v-3h4v3'/%3E%3C/svg%3E"); }
.db-audience--enterprise::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308779c' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 21h18M5 21V10M19 21V10M9 21V10M15 21V10M2 10l10-6 10 6z'/%3E%3C/svg%3E"); }
.db-audience--education::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308779c' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c0 1.5 3 3 6 3s6-1.5 6-3v-5M22 9v6'/%3E%3C/svg%3E"); }
.db-section .db-audience__title { margin: 16px 0 10px; font-size: 20px; font-weight: 700; color: #0b1f33; }
.db-section .db-audience__text { font-size: 14px; line-height: 1.7; color: #3d4f61; }

/* "Why DeltaBridge" (dark) */
.db-split__half { flex: 1 1 420px; min-width: 0; }
.db-checks { display: flex; flex-direction: column; gap: 18px; }
.db-section .db-check { position: relative; padding-left: 36px; font-size: 15px; line-height: 1.6; color: #d4e4ee; }
.db-section .db-check strong { color: #ffffff; }
.db-section .db-check::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cffe' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.db-rulebook { flex: 1 1 420px; min-width: 0; padding: 32px 30px; border-radius: 18px; background: #14587f; }
.db-section .db-rulebook__label { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #00cffe; }
.db-rulebook__item { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.db-rulebook__item:last-child { padding-bottom: 0; border-bottom: 0; }
.db-section .db-rulebook__title { margin-bottom: 4px; font-size: 16px; font-weight: 700; color: #ffffff; }
.db-section .db-rulebook__text { font-size: 14px; line-height: 1.6; color: #d4e4ee; }

/* FAQ (Details block) */
.db-faq { display: flex; flex-direction: column; gap: 12px; }
.db-section .db-faq .wp-block-details { margin: 0; padding: 0 22px; border: 1px solid #e1e8ee; border-radius: 12px; background: #ffffff; }
.db-section .db-faq .wp-block-details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.db-section .db-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.db-section .db-faq .wp-block-details summary::after { content: "+"; font-size: 24px; font-weight: 400; color: #08779c; transition: transform 0.2s; }
.db-section .db-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.db-section .db-faq .wp-block-details p { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: #3d4f61; }

/* Closing call-to-action cards */
.db-ctacard { padding: 28px 24px; border-radius: 14px; background: #14587f; }
.db-section .db-ctacard__label { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: #00cffe; }
.db-section .db-ctacard__title { margin-bottom: 10px; font-size: 20px; font-weight: 700; color: #ffffff; }
.db-section .db-ctacard__text { font-size: 14px; line-height: 1.7; color: #d4e4ee; }
.db-grid--cta { margin-bottom: 40px; }

/* ---------- Shared building blocks used by the home page and the pages after it ---------- */
.db-grid--480 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.db-grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.db-grid--360 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.db-section .db-subhead { margin: 0 0 14px; font-size: 22px; line-height: 1.3; font-weight: 700; color: #024b78; }
.db-section--dark .db-subhead, .db-section--navy .db-subhead { color: #ffffff; }
.db-section .db-label { margin: 0 0 28px; font-size: 16px; font-weight: 600; text-align: center; color: #5a6b7b; }
.db-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.db-logos .wp-block-image { margin: 0; }
.db-logos img { display: block; width: auto; height: 52px; max-width: 170px; object-fit: contain; opacity: 0.8; }

.db-section ul.db-list { margin: 14px 0 0; padding: 0; list-style: none; }
.db-section ul.db-list li { position: relative; margin: 0 0 8px; padding-left: 24px; font-size: 14px; line-height: 1.55; color: #3d4f61; }
.db-section ul.db-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 15px;
	height: 15px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308779c' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.db-section .db-link { margin-top: 20px; font-size: 14px; font-weight: 700; }
.db-section .db-link a { color: #08779c; text-decoration: none; }
.db-section .db-link a::after { content: " \2192"; }
.db-section .db-link a:hover { color: #024b78; }

/* Service cards */
.db-service { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid #e1e8ee; border-radius: 14px; background: #ffffff; }
.db-icon-tile { margin: 0 0 18px; }
.db-icon-tile img { display: block; box-sizing: content-box; width: 28px; height: 28px; padding: 12px; border-radius: 12px; background: #024b78; object-fit: contain; }
.db-section .db-service__title { margin-bottom: 4px; font-size: 20px; font-weight: 700; color: #0b1f33; }
.db-section .db-service__sub { margin-bottom: 12px; font-size: 14px; font-weight: 700; color: #08779c; }
.db-section .db-service__text { font-size: 14px; line-height: 1.65; color: #3d4f61; }
.db-service ul.db-list { flex-grow: 1; }

/* What We Do: six columns so the last row is never a lone, half-empty card.
   A single leftover card spans the row (copy left, list right); two leftovers share it. */
.db-grid--services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.db-grid--services > .db-service { grid-column: span 2; }
.db-grid--services > .db-service:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.db-grid--services > .db-service:last-child:nth-child(3n + 2),
.db-grid--services > .db-service:nth-last-child(2):nth-child(3n + 1) { grid-column: span 3; }
@media (min-width: 680px) {
	.db-grid--services > .db-service:last-child:nth-child(3n + 1) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 48px; align-content: start; }
	.db-grid--services > .db-service:last-child:nth-child(3n + 1) > * { grid-column: 1; }
	.db-grid--services > .db-service:last-child:nth-child(3n + 1) > ul.db-list { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; align-self: center; }
}
@media (max-width: 1019px) {
	.db-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-grid--services > .db-service,
	.db-grid--services > .db-service:last-child:nth-child(3n + 2),
	.db-grid--services > .db-service:nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
	.db-grid--services > .db-service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 679px) {
	.db-grid--services { grid-template-columns: minmax(0, 1fr); }
	.db-grid--services > .db-service:last-child:nth-child(odd) { grid-column: auto; }
}

/* "Who we support" */
.db-callout { margin: 0 0 28px; padding: 26px 30px; border-left: 4px solid #00cffe; border-radius: 12px; background: #f8f9fb; }
.db-section .db-callout__text { margin-top: 8px; font-size: 15px; line-height: 1.7; color: #3d4f61; }
.db-section .db-callout .db-subhead { margin: 0; }
.db-support { overflow: hidden; border: 1px solid #e1e8ee; border-radius: 14px; background: #ffffff; }
.db-support .wp-block-image { margin: 0; }
.db-support img { display: block; width: 100%; height: 210px; object-fit: cover; }
.db-support__body { padding: 24px; }
.db-support--natural img { height: auto; object-fit: contain; }
.db-section .db-support__title { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: #0b1f33; }
.db-section .db-support__text { font-size: 14px; line-height: 1.65; color: #3d4f61; }

/* Dark feature cards ("Why choose us") */
.db-feature { padding: 28px 24px; border-top: 3px solid #00cffe; border-radius: 14px; background: #14587f; }
.db-feature .wp-block-image { margin: 0 0 16px; }
.db-feature img { display: block; width: 40px; height: 40px; object-fit: contain; }
.db-section .db-feature__title { margin-bottom: 8px; font-size: 18px; font-weight: 700; color: #ffffff; }
.db-section .db-feature__text { font-size: 14px; line-height: 1.7; color: #d4e4ee; }

/* Card that keeps its tool tiles pinned to the bottom edge */
.db-feature--stack { display: flex; flex-direction: column; }
.db-feature--stack .db-brands { margin-top: auto; }

/* Leadership card: portrait at a fixed small size (never above the file's real width) beside the text */
.db-leader { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 28px; border: 1px solid #e1e8ee; border-radius: 14px; background: #ffffff; }
.db-leader .wp-block-image { flex: 0 0 220px; margin: 0; }
.db-leader img { display: block; width: 220px; max-width: 100%; height: auto; border-radius: 30px; }
.db-leader__body { flex: 1 1 260px; min-width: 0; }

/* Tool tiles under a card: equal 2 x 2 tiles, logo in a fixed square slot + name */
.db-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.db-brand { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #ffffff; }
.db-brand .wp-block-image { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; height: 28px; margin: 0; }
.db-feature .db-brand img { display: block; width: 28px; height: 28px; object-fit: contain; }
.db-section .db-brand__name { font-size: 13px; font-weight: 600; line-height: 1.3; color: #0b1f33; }

/* Dashboard card picture and highlighted outcome line */
.db-shot { margin: 16px 0; }
.db-shot .wp-block-image { margin: 0; }
.db-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.db-section .db-highlight { margin: 0 0 4px; padding: 11px 14px; border-radius: 10px; background: #eaf6fb; font-size: 14px; line-height: 1.5; font-weight: 600; color: #024b78; }

/* Three-column block: features, picture, features */
.db-triptych { display: grid; grid-template-columns: 1fr minmax(240px, 320px) 1fr; gap: 24px; align-items: center; }
.db-triptych__col { display: flex; flex-direction: column; gap: 18px; }
.db-triptych__pic .wp-block-image { margin: 0; }
.db-triptych__pic img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(2, 75, 120, 0.18); }

/* Outcomes card: label, arrow, result */
.db-outcomes { padding: 44px 40px; border-radius: 20px; background: #013954; color: #ffffff; }
.db-section .db-outcomes .db-lead { color: #d4e4ee; }
.db-outcomes .db-head { margin-bottom: 36px; }
.db-outcomes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.db-outcome { display: flex; flex-direction: column; }
.db-section .db-outcome__top { position: relative; margin-bottom: 24px; padding: 14px 16px; border-radius: 12px; background: #14587f; font-size: 14px; font-weight: 700; text-align: center; color: #00cffe; }
.db-section .db-outcome__top::after { content: ""; position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); border: 8px solid transparent; border-top-color: #00cffe; }
.db-section .db-outcome__bottom { flex-grow: 1; padding: 16px; border-radius: 12px; background: #ffffff; font-size: 14px; line-height: 1.6; text-align: center; color: #0b1f33; }

/* Tool logo rows (logo + name) on light cards */
.db-tool { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid #e6ebf0; }
.db-tool .wp-block-image { flex: 0 0 34px; margin: 0; }
.db-tool img { display: block; width: auto; max-width: 34px; max-height: 28px; object-fit: contain; }
.db-section .db-tool__name { font-size: 14px; font-weight: 600; color: #0b1f33; }

/* Partner logo rows (logo + label) on dark cards */
.db-partner { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.db-partner:last-child { padding-bottom: 0; border-bottom: 0; }
.db-partner .wp-block-image { flex: 0 0 104px; margin: 0; }
.db-partner img { display: block; width: auto; max-width: 104px; max-height: 34px; object-fit: contain; }
.db-section .db-partner__label { font-size: 14px; font-weight: 600; color: #ffffff; }

/* Delivery stepper: numbered circles joined by arrows, icon, duration pill, name, description */
.db-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: start; }
.db-phase { position: relative; padding: 0 14px; text-align: center; }
.db-section .db-phase__num { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #0a9fc2; font-size: 22px; font-weight: 700; color: #ffffff; }
.db-phase:not(:last-child)::after { content: "\2192"; position: absolute; top: 16px; right: -12px; width: 24px; font-size: 26px; line-height: 30px; text-align: center; color: #0a9fc2; }
.db-phase .wp-block-image { margin: 0 0 14px; }
.db-phase img { display: block; width: 36px; height: 36px; margin: 0 auto; object-fit: contain; }
.db-section .db-phase__time { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 12px; background: #e3f6fb; font-size: 11px; font-weight: 700; color: #08779c; }
.db-section .db-phase__time::before { content: "\2022"; margin-right: 6px; }
.db-section .db-phase__title { margin-bottom: 8px; font-size: 20px; font-weight: 700; color: #0b1f33; }
.db-section .db-phase__text { font-size: 14px; line-height: 1.65; color: #5a6b7b; }

/* Statistic cards: outlined, icon, label, big number */
.db-statcard { padding: 28px 20px; border: 1px solid #0a9fc2; border-radius: 16px; background: #ffffff; text-align: center; }
.db-statcard .wp-block-image { margin: 0 0 14px; }
.db-statcard img { display: block; width: 32px; height: 32px; margin: 0 auto; object-fit: contain; }
.db-section .db-statcard__label { margin-bottom: 6px; font-size: 18px; font-weight: 600; color: #0b1f33; }
.db-section .db-statcard__num { font-size: 46px; line-height: 1.1; font-weight: 800; color: #0a9fc2; }

/* Picture-and-text rows ("Who we are") */
.db-rows { display: flex; flex-direction: column; gap: 56px; }
.db-frow { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.db-frow--flip { flex-direction: row-reverse; }
.db-frow__pic { flex: 1 1 380px; min-width: 0; }
.db-frow__pic .wp-block-image { margin: 0; }
.db-frow__pic img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(2, 75, 120, 0.14); }
.db-frow__text { flex: 1 1 420px; min-width: 0; }
.db-frow--natural .db-frow__pic img { height: auto; object-fit: contain; }
.db-section .db-frow__title { margin-bottom: 12px; font-size: 26px; line-height: 1.25; font-weight: 700; color: #0b1f33; }
.db-section .db-frow__lead { font-size: 16px; line-height: 1.7; color: #3d4f61; }
.db-section .db-frow__text ul.db-list li { font-size: 15px; }

/* Home hero picture */
/* Hero image collage: three photos cut to rounded triangles with a glowing cyan outline (shapes and positions follow the live site) */
.db-hero__pic .db-collage { position: relative; width: 100%; max-width: 600px; aspect-ratio: 6 / 5; margin: 0 auto; }
.db-hero__pic .db-collage__item {
	position: absolute;
	margin: 0;
	transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.db-hero__pic .db-collage__item:hover { transform: scale(1.05); z-index: 2; }
.db-hero__pic .db-collage__item .wp-block-image { position: absolute; inset: 0; margin: 0; }
.db-hero__pic .db-collage__item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.db-hero__pic .db-collage__item::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-position: center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	filter: drop-shadow(0 0 6px #00d2ff);
}
.db-hero__pic .db-collage__item--1 { left: 11.667%; top: 31.6%; width: 58.333%; height: 70.4%; }
.db-hero__pic .db-collage__item--1 .wp-block-image { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 396 398%22%3E%3Cpath d=%22M226.813 18.1789C257.737 -11.9194 309.484 2.39617 320.729 43.8014L320.987 44.7846L392.213 325.767C402.9 367.927 363.939 405.846 322.084 394.022L43.1332 315.214C1.27815 303.389 -12.0802 250.689 19.0878 220.353L226.813 18.1789Z%22 fill=%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 396 398%22%3E%3Cpath d=%22M226.813 18.1789C257.737 -11.9194 309.484 2.39617 320.729 43.8014L320.987 44.7846L392.213 325.767C402.9 367.927 363.939 405.846 322.084 394.022L43.1332 315.214C1.27815 303.389 -12.0802 250.689 19.0878 220.353L226.813 18.1789Z%22 fill=%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.db-hero__pic .db-collage__item--1::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 396 398%22 fill=%22none%22%3E%3Cpath d=%22M226.813 18.1789C257.737 -11.9194 309.484 2.39617 320.729 43.8014L320.987 44.7846L392.213 325.767C402.9 367.927 363.939 405.846 322.084 394.022L43.1332 315.214C1.27815 303.389 -12.0802 250.689 19.0878 220.353L226.813 18.1789Z%22 stroke=%22%2300D2FF%22 stroke-width=%223%22 vector-effect=%22non-scaling-stroke%22/%3E%3C/svg%3E"); }
.db-hero__pic .db-collage__item--2 { left: 6.667%; top: 8%; width: 36.667%; height: 43.6%; }
.db-hero__pic .db-collage__item--2 .wp-block-image { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 254 252%22%3E%3Cpath d=%22M118.336 237.971C98.0733 259.281 62.4618 250.898 53.713 223.001L53.5111 222.339L3.12478 51.6058C-5.26375 23.1805 20.2653 -3.66621 49.0767 3.2816L222.128 45.0126C250.939 51.9605 261.425 87.4921 241.002 108.97L118.336 237.971Z%22 fill=%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 254 252%22%3E%3Cpath d=%22M118.336 237.971C98.0733 259.281 62.4618 250.898 53.713 223.001L53.5111 222.339L3.12478 51.6058C-5.26375 23.1805 20.2653 -3.66621 49.0767 3.2816L222.128 45.0126C250.939 51.9605 261.425 87.4921 241.002 108.97L118.336 237.971Z%22 fill=%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.db-hero__pic .db-collage__item--2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 254 252%22 fill=%22none%22%3E%3Cpath d=%22M118.336 237.971C98.0733 259.281 62.4618 250.898 53.713 223.001L53.5111 222.339L3.12478 51.6058C-5.26375 23.1805 20.2653 -3.66621 49.0767 3.2816L222.128 45.0126C250.939 51.9605 261.425 87.4921 241.002 108.97L118.336 237.971Z%22 stroke=%22%2300D2FF%22 stroke-width=%223%22 vector-effect=%22non-scaling-stroke%22/%3E%3C/svg%3E"); }
.db-hero__pic .db-collage__item--3 { right: 14%; top: 4%; width: 21.667%; height: 25.8%; }
.db-hero__pic .db-collage__item--3 .wp-block-image { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 148 147%22%3E%3Cpath d=%22M111.944 2.70806C132.534 -2.21083 150.727 17.0038 144.692 37.2948L118.539 125.229C112.503 145.52 86.7654 151.669 72.2104 136.297L9.13476 69.6802C-5.30655 54.4283 2.00683 29.3401 22.2333 24.1444L22.7132 24.0249L111.944 2.70806Z%22 fill=%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 148 147%22%3E%3Cpath d=%22M111.944 2.70806C132.534 -2.21083 150.727 17.0038 144.692 37.2948L118.539 125.229C112.503 145.52 86.7654 151.669 72.2104 136.297L9.13476 69.6802C-5.30655 54.4283 2.00683 29.3401 22.2333 24.1444L22.7132 24.0249L111.944 2.70806Z%22 fill=%22%23000%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.db-hero__pic .db-collage__item--3::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 148 147%22 fill=%22none%22%3E%3Cpath d=%22M111.944 2.70806C132.534 -2.21083 150.727 17.0038 144.692 37.2948L118.539 125.229C112.503 145.52 86.7654 151.669 72.2104 136.297L9.13476 69.6802C-5.30655 54.4283 2.00683 29.3401 22.2333 24.1444L22.7132 24.0249L111.944 2.70806Z%22 stroke=%22%2300D2FF%22 stroke-width=%223%22 vector-effect=%22non-scaling-stroke%22/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .db-hero__pic .db-collage__item { transition: none; } .db-hero__pic .db-collage__item:hover { transform: none; } }
.db-hero__pic { flex: 1 1 380px; min-width: 0; }
.db-hero__pic:has(.db-collage) { flex: 0 1 520px; align-self: flex-start; }
.db-hero__pic .wp-block-image { margin: 0; }
.db-hero__pic img { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); }

/* Value proposition: intro, six points, and a stack of tiles on the right */
.db-vp .db-head { margin-bottom: 56px; }
.db-vp__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 226px; gap: 40px; align-items: center; }
.db-vp__intro { text-align: center; }
.db-section .db-vp__kicker { margin-bottom: 14px; font-size: 18px; font-weight: 600; color: #00a1c7; }
.db-section .db-vp__title { margin-bottom: 16px; font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -0.8px; color: #0b1f33; }
.db-section .db-vp__lead { font-size: 18px; line-height: 1.7; font-weight: 500; color: #3d4f61; }
.db-vp__items { display: flex; flex-direction: column; gap: 26px; }
.db-section .db-vp__item-title { margin-bottom: 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: #0b1f33; }
.db-section .db-vp__item-text { font-size: 16px; line-height: 1.6; font-weight: 500; color: #3d4f61; }
/* The six tile images are layers of one picture, stacked on top of each other (top tile in front) */
.db-stack { position: relative; width: 226px; max-width: 100%; aspect-ratio: 226 / 383; margin: 0 auto; }
.db-stack .db-stack__tile { position: absolute; inset: 0; margin: 0; }
.db-stack .db-stack__tile img { display: block; width: 100%; height: 100%; object-fit: contain; }
.db-stack .db-stack__tile:nth-child(1) { z-index: 6; }
.db-stack .db-stack__tile:nth-child(2) { z-index: 5; }
.db-stack .db-stack__tile:nth-child(3) { z-index: 4; }
.db-stack .db-stack__tile:nth-child(4) { z-index: 3; }
.db-stack .db-stack__tile:nth-child(5) { z-index: 2; }
.db-stack .db-stack__tile:nth-child(6) { z-index: 1; }

/* "Who we are" cards: picture on top (or at the side), title, text, uppercase link */
.db-section .db-subhead--lg { margin-bottom: 16px; font-size: 32px; line-height: 1.25; font-weight: 600; color: #00a1c7; }
.db-who__row + .db-who__row { margin-top: 22px; }
.db-whocard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6ebf0; border-radius: 12px; background: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.db-whocard .wp-block-image { flex: 0 0 auto; margin: 0; }
.db-whocard img { display: block; width: 100%; height: 220px; object-fit: cover; }
.db-whocard__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 24px 26px 26px; }
.db-section .db-whocard__title { margin-bottom: 12px; font-size: 20px; line-height: 1.35; font-weight: 700; color: #0b1f33; }
.db-section .db-whocard__text { font-size: 16px; line-height: 1.6; color: #3d4f61; }
.db-whocard ul.db-list { margin-top: 12px; }
.db-whocard ul.db-list li { font-size: 15px; }
.db-whocard .db-link { margin-top: auto; padding-top: 20px; }
.db-section .db-link--caps a { text-transform: uppercase; letter-spacing: 0.02em; color: #00a1c7; }
.db-section .db-link--caps a:hover { color: #08779c; }
.db-whocard--row { flex-direction: row; }
.db-whocard--row .wp-block-image { position: relative; flex: 0 0 268px; align-self: stretch; }
.db-whocard--row img { position: absolute; inset: 0; height: 100%; }
@media (max-width: 1000px) {
	.db-vp__row { grid-template-columns: minmax(0, 1fr) 226px; }
	.db-vp__intro { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.db-vp__row { grid-template-columns: 1fr; gap: 32px; }
	.db-section .db-vp__title { font-size: 34px; }
	.db-section .db-subhead--lg { font-size: 24px; }
	.db-whocard--row { flex-direction: column; }
	.db-whocard--row .wp-block-image { flex-basis: auto; height: 220px; }
}

/* Statistic row on a light band */
.db-section .db-stat__num--center, .db-section .db-stat__label { text-align: center; }
.db-section .db-stat__label { font-size: 15px; font-weight: 500; color: #3d4f61; }
.db-card--stat { padding: 32px 24px; }

/* ---------- Small screens ---------- */
@media (max-width: 1000px) {
	.db-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 0; }
	.db-phase::after { display: none; }
	.db-triptych { grid-template-columns: 1fr; }
	.db-triptych__pic { max-width: 360px; margin: 0 auto; }
	.db-outcomes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
	.db-steps { grid-template-columns: 1fr; }
	.db-outcomes { padding: 32px 22px; }
	.db-outcomes__grid { grid-template-columns: 1fr; }
	.db-container, .db-container--tight { padding-top: 56px; padding-bottom: 56px; }
	.db-container--hero { padding-bottom: 56px; }
	.db-section .db-h1, .db-section .db-h1.db-h1--long { font-size: 34px; }
	.db-section .db-h2 { font-size: 28px; }
	.db-section .db-h2--plain { font-size: 30px; }
	.db-breadcrumb { margin-bottom: 36px; }
	.db-hero__row { gap: 36px; }
	.db-track { padding: 26px 22px; }
}

/* ======================================================================
   Varied section layouts (Fractional CFO page first). Each pattern lays the same kind of information out
   differently so a page does not read as one card grid after another:
     .db-intro  photo collage + copy        .db-flow  zig-zag journey on a rail
     .db-bento  one lead tile + small tiles .db-why   sticky intro + ruled rows
   ====================================================================== */

/* ---- Photo collage + copy ---- */
.db-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.db-intro__media { position: relative; min-height: 470px; }
.db-intro__media::before {
	content: "";
	position: absolute;
	left: -22px;
	bottom: -22px;
	width: 150px;
	height: 150px;
	background: radial-gradient(circle, #00cffe 2px, transparent 2.5px) 0 0 / 18px 18px;
	opacity: 0.55;
}
.db-intro__media .wp-block-image { margin: 0; }
.db-intro__img { position: absolute; overflow: hidden; }
.db-intro__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.db-intro__img--a { left: 0; top: 0; width: 74%; height: 410px; border-radius: 22px; box-shadow: 0 22px 48px rgba(1, 57, 84, 0.18); }
.db-intro__img--b { right: 0; bottom: 0; z-index: 1; width: 46%; height: 320px; border: 8px solid #ffffff; border-radius: 26px; box-shadow: 0 18px 40px rgba(1, 57, 84, 0.2); }
.db-intro__copy .db-lead { font-size: 17px; line-height: 1.8; }

/* ---- How it works: zig-zag journey ---- */
.db-flow { --db-rail: 44px; position: relative; }
.db-flow::before, .db-flow::after { content: ""; position: absolute; left: 50%; top: 24px; bottom: 24px; width: 2px; margin-left: -1px; border-radius: 2px; }
.db-flow::before { background: #d6e3ec; }
.db-flow::after { background: linear-gradient(#00cffe, #08779c); transform-origin: top; transform: scaleY(var(--p, 1)); }
.db-flow__step { position: relative; width: calc(50% - var(--db-rail)); margin: 0 0 26px; padding: 26px 28px 28px; border: 1px solid #e1e8ee; border-radius: 16px; background: #ffffff; }
.db-flow__step:last-child { margin-bottom: 0; }
.db-flow__step:nth-child(even) { margin-left: auto; }
.db-flow__step .db-flow__icon { position: absolute; top: 20px; z-index: 1; width: 54px; height: 54px; margin: 0; display: grid; place-items: center; border: 2px solid #cfe3ee; border-radius: 50%; background: #ffffff; }
.db-flow__step:nth-child(odd) .db-flow__icon { right: calc(-1 * (var(--db-rail) + 27px)); }
.db-flow__step:nth-child(even) .db-flow__icon { left: calc(-1 * (var(--db-rail) + 27px)); }
.db-flow__icon img { display: block; width: 24px; height: 24px; object-fit: contain; }
.db-section .db-flow__num { position: absolute; top: 14px; right: 22px; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -1px; color: #e6eff5; }
.db-section .db-flow__title { position: relative; max-width: 80%; margin-bottom: 8px; font-size: 20px; line-height: 1.3; font-weight: 700; color: #0b1f33; }
.db-section .db-flow__text { position: relative; font-size: 15px; line-height: 1.7; color: #3d4f61; }
.db-flow__step.is-lit .db-flow__icon { border-color: #00cffe; }

/* ---- What you get: lead tile + small tiles (dark band) ---- */
.db-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.db-bento__card { position: relative; grid-column: span 2; display: flex; flex-direction: column; padding: 28px 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: #0f4a6b; }
.db-bento__card--feature { grid-column: span 4; justify-content: flex-end; min-height: 270px; padding: 38px 40px; border-color: rgba(0, 207, 254, 0.35); background: radial-gradient(120% 150% at 0% 0%, #1d77a3 0%, #14587f 52%, #0f4a6b 100%); }
.db-bento__card--feature::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 207, 254, 0.28), transparent 68%); pointer-events: none; }
.db-bento__card--accent { border-color: transparent; background: #00cffe; }
.db-bento .db-bento__icon { margin: 0 0 auto; padding-bottom: 22px; }
.db-bento__icon img { display: block; box-sizing: content-box; width: 30px; height: 30px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.09); object-fit: contain; }
.db-bento__card--accent .db-bento__icon img { background: #013954; }
.db-section .db-bento__title { margin-bottom: 8px; font-size: 19px; line-height: 1.3; font-weight: 700; color: #ffffff; }
.db-section .db-bento__card--feature .db-bento__title { font-size: 28px; line-height: 1.2; letter-spacing: -0.3px; }
.db-section .db-bento__text { font-size: 14.5px; line-height: 1.7; color: #d4e4ee; }
.db-section .db-bento__card--feature .db-bento__text { max-width: 560px; font-size: 16px; }
.db-section .db-bento__card--accent .db-bento__title { color: #012a3f; }
.db-section .db-bento__card--accent .db-bento__text { color: #0a3a52; }

/* ---- Why it works: sticky intro + ruled rows ---- */
.db-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.db-why__intro { position: sticky; top: 120px; }
.db-section .db-why__intro .db-subhead { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid #e1e8ee; font-size: 18px; }
.db-why__rows { border-top: 1px solid #e1e8ee; }
.db-why__row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; padding: 28px 12px; border-bottom: 1px solid #e1e8ee; }
.db-why__row .db-icon-tile { margin: 0; }
.db-section .db-why__title { margin-bottom: 6px; font-size: 22px; line-height: 1.3; font-weight: 700; color: #0b1f33; }
.db-section .db-why__text { font-size: 15px; line-height: 1.7; color: #3d4f61; }

@media (max-width: 1019px) {
	.db-intro { gap: 56px; }
	.db-why { gap: 48px; }
}
@media (max-width: 859px) {
	.db-intro { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.db-intro__media { min-height: 420px; max-width: 560px; }
	.db-intro__img--a { height: 360px; }
	.db-intro__img--b { height: 280px; }
	.db-flow { --db-rail: 0px; }
	.db-flow::before, .db-flow::after { left: 27px; }
	.db-flow__step, .db-flow__step:nth-child(even) { width: auto; margin: 0 0 22px 74px; }
	.db-flow__step:nth-child(odd) .db-flow__icon, .db-flow__step:nth-child(even) .db-flow__icon { left: -74px; right: auto; }
	.db-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-bento__card, .db-bento__card--feature { grid-column: auto; }
	.db-bento__card--feature { grid-column: 1 / -1; min-height: 0; padding: 30px 26px; }
	.db-bento__card--accent:last-child { grid-column: auto; }
	.db-why { grid-template-columns: minmax(0, 1fr); }
	.db-why__intro { position: static; }
}
@media (max-width: 559px) {
	.db-bento { grid-template-columns: minmax(0, 1fr); }
	.db-section .db-flow__num { font-size: 34px; }
	.db-why__row { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px 4px; }
}

/* ======================================================================
   Layout variants that can be switched on from a block's "Additional CSS class(es)" in the editor
     db-grid--bento   dark feature cards: one lead tile + smaller tiles (4 to 7 cards)
     db-grid--mosaic  image cards: wide and narrow cards alternate (6 cards)
     db-sec--split    section heading sticks on one side, content scrolls on the other (+ db-sec--flip)
     db-sec--rows     modules become ruled rows: title | activities | outcome
     db-sec--cards    cards stay as cards (only the "Impact" strip changes)
   ====================================================================== */

/* ---- Bento (feature cards on a dark band) ---- */
.db-grid--bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.db-grid--bento > .db-feature { position: relative; grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; padding: 28px 26px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: #0f4a6b; }
.db-grid--bento > .db-feature:first-child { justify-content: flex-end; min-height: 270px; padding: 36px 38px; border-color: rgba(0, 207, 254, 0.35); background: radial-gradient(120% 150% at 0% 0%, #1d77a3 0%, #14587f 52%, #0f4a6b 100%); }
.db-grid--bento > .db-feature:first-child::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 207, 254, 0.28), transparent 68%); pointer-events: none; }
.db-grid--bento > .db-feature:nth-child(4) { border-color: transparent; background: #00cffe; }
.db-grid--bento > :nth-child(1):nth-last-child(4) { grid-column: span 4; }
.db-grid--bento > :nth-child(3):nth-last-child(2) { grid-column: span 3; }
.db-grid--bento > :nth-child(4):nth-last-child(1) { grid-column: span 3; }
.db-grid--bento > :nth-child(1):nth-last-child(5) { grid-column: span 4; }
.db-grid--bento > :nth-child(1):nth-last-child(6) { grid-column: span 4; }
.db-grid--bento > :nth-child(4):nth-last-child(3) { grid-column: span 4; }
.db-grid--bento > :nth-child(5):nth-last-child(2) { grid-column: span 3; }
.db-grid--bento > :nth-child(6):nth-last-child(1) { grid-column: span 3; }
.db-grid--bento > :nth-child(1):nth-last-child(7) { grid-column: span 4; }
.db-grid--bento > :nth-child(6):nth-last-child(2) { grid-column: span 3; }
.db-grid--bento > :nth-child(7):nth-last-child(1) { grid-column: span 3; }
.db-grid--bento > .db-feature .wp-block-image { margin: 0 0 auto; padding-bottom: 22px; }
.db-grid--bento > .db-feature img { box-sizing: content-box; width: 30px; height: 30px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.09); object-fit: contain; }
.db-grid--bento > .db-feature:nth-child(4) img { background: #013954; }
.db-section .db-grid--bento > .db-feature:first-child .db-feature__title { font-size: 26px; line-height: 1.2; letter-spacing: -0.3px; }
.db-section .db-grid--bento > .db-feature:first-child .db-feature__text { max-width: 560px; font-size: 15.5px; }
.db-section .db-grid--bento > .db-feature:nth-child(4) .db-feature__title { color: #012a3f; }
.db-section .db-grid--bento > .db-feature:nth-child(4) .db-feature__text { color: #0a3a52; }

/* db-grid--tiles: dark feature cards that all share one style, 4 on the first row and 3 on the second (7 cards) */
.db-grid--tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.db-grid--tiles > .db-feature { grid-column: span 3; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: #0f4a6b; }
.db-grid--tiles > .db-feature:nth-child(n + 5) { grid-column: span 4; }
.db-grid--tiles > .db-feature .wp-block-image { margin: 0 0 20px; }
.db-grid--tiles > .db-feature img { box-sizing: content-box; width: 30px; height: 30px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.09); object-fit: contain; }
.db-section .db-grid--tiles > .db-feature .db-feature__title { font-size: 19px; line-height: 1.3; }
.db-section .db-grid--tiles > .db-feature .db-feature__text { font-size: 14.5px; }
/* five cards: 3 on the first row, 2 on the second */
.db-grid--tiles > :nth-child(1):nth-last-child(5), .db-grid--tiles > :nth-child(2):nth-last-child(4), .db-grid--tiles > :nth-child(3):nth-last-child(3) { grid-column: span 4; }
.db-grid--tiles > :nth-child(4):nth-last-child(2), .db-grid--tiles > :nth-child(5):nth-last-child(1) { grid-column: span 6; }

/* ---- Mosaic (image cards) ---- */
.db-grid--mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.db-grid--mosaic > * { grid-column: span 2; }
.db-grid--mosaic > :nth-child(6n + 1), .db-grid--mosaic > :nth-child(6n + 4) { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.db-grid--mosaic > :nth-child(6n + 5), .db-grid--mosaic > :nth-child(6n + 6) { grid-column: span 3; }
.db-grid--mosaic > :nth-child(6n + 1) .wp-block-image, .db-grid--mosaic > :nth-child(6n + 4) .wp-block-image { height: 100%; }
.db-grid--mosaic > :nth-child(6n + 1) img, .db-grid--mosaic > :nth-child(6n + 4) img { height: 100%; min-height: 260px; object-fit: cover; }
.db-grid--mosaic > :nth-child(6n + 1) .db-support__body, .db-grid--mosaic > :nth-child(6n + 4) .db-support__body { align-self: center; padding: 28px; }
.db-grid--mosaic > :nth-child(6n + 4) .wp-block-image { order: 2; }

/* ---- "Impact" strip (modules that have no list) ---- */
.db-sec .db-subhead { display: flex; align-items: center; gap: 16px; margin: 56px 0 24px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #08779c; }
.db-sec .db-subhead::after { content: ""; flex: 1; height: 1px; background: #d6e3ec; }
.db-sec .db-grid:not(:has(.db-list)) { gap: 28px 32px; }
.db-sec .db-grid > .db-module:not(:has(.db-list)) { padding: 4px 0 4px 20px; border: 0; border-left: 3px solid #00cffe; border-radius: 0; background: transparent; }
.db-sec .db-grid > .db-module:not(:has(.db-list)) .db-module__title { font-size: 17px; }

/* ---- Split: sticky heading + content ---- */
.db-sec--split > .db-container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
.db-sec--split .db-head { position: sticky; top: 120px; grid-column: 1; grid-row: 1 / span 8; max-width: none; margin: 0; text-align: left; }
.db-sec--split .db-head .db-h2::before { margin-left: 0; }
.db-sec--split > .db-container > :not(.db-head) { grid-column: 2; min-width: 0; }
.db-sec--split .db-grid:has(.db-list) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.db-sec--split .db-grid:has(.db-list) .db-list { columns: 2; column-gap: 28px; }
.db-sec--split .db-grid:has(.db-list) .db-list li { break-inside: avoid; }
.db-sec--split .db-subhead { margin-top: 40px; }
.db-sec--flip > .db-container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.db-sec--flip .db-head { grid-column: 2; }
.db-sec--flip > .db-container > :not(.db-head) { grid-column: 1; }

/* ---- Rows: title | activities | outcome ---- */
.db-sec--rows .db-grid:has(.db-list) { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid #d6e3ec; }
.db-sec--rows .db-grid:has(.db-list) > .db-module { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 40px; align-items: start; padding: 30px 8px; border: 0; border-bottom: 1px solid #d6e3ec; border-radius: 0; background: transparent; }
.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-module__title { grid-column: 1; grid-row: 1 / span 2; margin: 0; font-size: 20px; }
.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-service__sub { grid-column: 2; grid-row: 1; margin: 0; }
.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-list { grid-column: 2; grid-row: 2; margin-top: 8px; columns: 2; column-gap: 28px; }
.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-list li { break-inside: avoid; }
.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-module__foot { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 2px 0 2px 22px; border-top: 0; border-left: 3px solid #00cffe; }
.db-sec--rows .db-grid:has(.db-list) > .db-module:not(:has(.db-module__foot)) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.5fr); }

@media (max-width: 1019px) {
	.db-sec--split > .db-container, .db-sec--flip > .db-container { column-gap: 44px; }
	.db-sec--rows .db-grid:has(.db-list) > .db-module { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); row-gap: 14px; }
	.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-module__title { grid-row: 1; }
	.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-list { grid-column: 1 / -1; grid-row: 2; }
	.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-module__foot { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 859px) {
	.db-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-grid--tiles > .db-feature, .db-grid--tiles > .db-feature:nth-child(n + 5) { grid-column: auto; }
	.db-grid--tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.db-grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-grid--bento > :nth-child(n) { grid-column: auto; }
	.db-grid--bento > .db-feature:first-child { grid-column: 1 / -1; min-height: 0; padding: 30px 26px; }
	.db-grid--bento > :last-child:nth-child(even) { grid-column: 1 / -1; }
	.db-grid--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-grid--mosaic > :nth-child(n) { grid-column: auto; display: block; }
	.db-grid--mosaic > :nth-child(6n + 1), .db-grid--mosaic > :nth-child(6n + 4) { grid-column: 1 / -1; }
	.db-grid--mosaic > :nth-child(6n + 1) img, .db-grid--mosaic > :nth-child(6n + 4) img { height: auto; min-height: 0; }
	.db-sec--split > .db-container, .db-sec--flip > .db-container { display: block; }
	.db-sec--split .db-head { position: static; margin-bottom: 36px; }
	.db-sec--rows .db-grid:has(.db-list) > .db-module { display: flex; flex-direction: column; gap: 12px; }
	.db-sec--rows .db-grid:has(.db-list) > .db-module > .db-module__foot { margin-top: 6px; }
}
@media (max-width: 559px) {
	.db-grid--bento, .db-grid--mosaic, .db-grid--tiles { grid-template-columns: minmax(0, 1fr); }
	.db-grid--tiles > :last-child:nth-child(odd) { grid-column: auto; }
	.db-grid--bento > :last-child:nth-child(even) { grid-column: auto; }
	.db-sec--split .db-grid:has(.db-list) .db-list, .db-sec--rows .db-grid:has(.db-list) > .db-module > .db-list { columns: 1; }
}

/* ======================================================================
   People filter + uniform portrait cards (Meet Our CFOs), and tabbed modules (db-sec--tabs)
   ====================================================================== */

/* ---- Filter bar (Buttons block; assets/js/interactive.js does the filtering) ---- */
.db-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 40px; max-width: 980px; }
.db-filter .wp-block-button__link { padding: 10px 18px; border: 1px solid #cfe0ea; border-radius: 999px; background: #ffffff; font-family: inherit; font-size: 14px; line-height: 1.2; font-weight: 600; color: #024b78; text-decoration: none; cursor: pointer; }
.db-filter__btn.is-active .wp-block-button__link { border-color: #013954; background: #013954; color: #ffffff; }
.db-filter .wp-block-button__link:focus-visible { outline: 3px solid rgba(0, 207, 254, 0.55); outline-offset: 2px; }

/* ---- People cards: every portrait shares one frame, size and background ---- */
.db-cfogrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.db-cfo { flex: 0 1 calc((100% - 72px) / 4); min-width: 240px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e1e8ee; border-radius: 18px; background: #ffffff; }
.db-cfo[hidden] { display: none; }
.db-cfo .db-cfo__photo { margin: 0; aspect-ratio: 8 / 9; overflow: hidden; background: #d8ecf6; }
.db-cfo__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.db-cfo__body { flex: 1; padding: 22px 22px 26px; }
.db-section .db-cfo__name { margin-bottom: 4px; font-size: 19px; line-height: 1.3; font-weight: 700; color: #0b1f33; }
.db-section .db-cfo__role { margin-bottom: 12px; font-size: 13.5px; line-height: 1.45; font-weight: 700; color: #08779c; }
.db-section .db-cfo__text { font-size: 14px; line-height: 1.65; color: #3d4f61; }

/* ---- Tabs: modules become one panel per tab (only once the script has run: .is-tabbed) ---- */
.db-sec--tabs.is-tabbed .db-tabs { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: 28px; align-items: start; }
.db-tabs__list { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 8px; }
.db-tabs__tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border: 1px solid #dbe6ee; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 15px; line-height: 1.35; font-weight: 700; text-align: left; color: #0b1f33; cursor: pointer; }
.db-tabs__tab:focus-visible { outline: 3px solid rgba(0, 207, 254, 0.55); outline-offset: 2px; }
.db-tabs__idx { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eaf4f9; font-size: 12px; font-weight: 800; color: #08779c; }
.db-tabs__tab[aria-selected="true"] { border-color: #013954; background: #013954; color: #ffffff; box-shadow: 0 12px 26px rgba(1, 57, 84, 0.18); }
.db-tabs__tab[aria-selected="true"] .db-tabs__idx { background: #00cffe; color: #013954; }
.db-sec--tabs.is-tabbed .db-tabs .db-grid { display: block; border: 0; }
.db-sec--tabs.is-tabbed .db-tabs .db-module { padding: 36px 38px; border: 1px solid #e1e8ee; border-radius: 20px; background: #f8fbfd; }
.db-sec--tabs.is-tabbed .db-tabs .db-module[hidden] { display: none; }
.db-sec--tabs.is-tabbed .db-section .db-module__title, .db-sec--tabs.is-tabbed .db-tabs .db-module__title { margin-bottom: 6px; font-size: 24px; line-height: 1.25; letter-spacing: -0.2px; }
.db-sec--tabs.is-tabbed .db-tabs .db-list li { font-size: 15.5px; }
.db-sec--tabs.is-tabbed .db-tabs .db-module__foot { margin-top: 26px; padding: 18px 22px; border: 0; border-left: 3px solid #00cffe; border-radius: 12px; background: #e9f6fb; }

@media (max-width: 1019px) {
	.db-cfo { flex-basis: calc((100% - 48px) / 3); }
}
@media (max-width: 859px) {
	.db-cfo { flex-basis: calc((100% - 24px) / 2); min-width: 0; }
	.db-sec--tabs.is-tabbed .db-tabs { display: block; }
	.db-tabs__list { position: static; flex-direction: row; gap: 10px; margin: 0 -24px 18px; padding: 2px 24px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
	.db-tabs__list::-webkit-scrollbar { display: none; }
	.db-tabs__tab { flex: none; width: auto; max-width: 78vw; scroll-snap-align: start; }
	.db-sec--tabs.is-tabbed .db-tabs .db-module { padding: 26px 22px; }
}
@media (max-width: 559px) {
	.db-cfo { flex-basis: 100%; }
	.db-filter { gap: 8px; }
	.db-filter .wp-block-button__link { padding: 9px 14px; font-size: 13px; }
}

/* ======================================================================
   Layout variants, set 2: switched on with a block's "Additional CSS class(es)", content untouched.
     db-grid--timeline  numbered steps along a horizontal rail (vertical on phones)
     db-grid--index     hairline editorial columns instead of boxed cards (light bands)
     db-grid--stats     big numbers in a strip with dividers
     db-grid--quotes    testimonials: one featured quote + two (3 cards) or masonry (4 or more)
     db-grid--duo       two cards, the first solid navy, the second outlined
     db-grid--chips     compact icon + label pills, centred
     db-grid--versus    challenge | solution rows
     db-grid--numbered  two columns of large outlined numerals
     db-grid--stairs    three cards stepped down the page
     db-sec--splitrows  sticky heading + plain ruled rows (with db-sec--split)
     db-sec--accordion  modules become an accordion      db-sec--grouptabs  sub-headed groups become tabs
   ====================================================================== */

/* ---- Timeline ---- */
.db-grid--timeline { position: relative; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); gap: 22px; padding-top: 42px; }
.db-grid--timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: #d6e3ec; }
.db-section--dark .db-grid--timeline::before, .db-section--navy .db-grid--timeline::before { background: rgba(255, 255, 255, 0.22); }
.db-grid--timeline > * { position: relative; }
.db-grid--timeline > *::before { content: ""; position: absolute; top: -37px; left: 24px; width: 14px; height: 14px; border-radius: 50%; background: #00cffe; box-shadow: 0 0 0 5px rgba(0, 207, 254, 0.22); }

/* ---- Index ---- */
.db-grid--index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 44px; }
.db-grid--index:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 34px; }
.db-grid--index > * { position: relative; padding: 24px 0 0; border: 0; border-top: 1px solid #d6e3ec; border-radius: 0; background: transparent; box-shadow: none; }
.db-grid--index > *::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 3px; background: #00cffe; }
.db-section .db-grid--index [class*="__title"] { font-size: 19px; line-height: 1.3; }

/* ---- Stats ---- */
.db-grid--stats { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); gap: 0; }
.db-grid--stats > * { padding: 12px 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.db-grid--stats > * + * { border-left: 1px solid #d6e3ec; }
.db-section .db-grid--stats [class*="__num"] { margin: 0 0 8px; font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -1.5px; color: #08779c; }
.db-section .db-grid--stats [class*="__label"], .db-section .db-grid--stats [class*="__text"] { font-size: 14px; line-height: 1.55; font-weight: 600; color: #3d4f61; }
.db-section .db-grid--stats [class*="__src"] { margin-top: 6px; font-size: 11.5px; color: #6b7c8c; }

/* ---- Quotes ---- */
.db-grid--quotes { display: block; columns: 3; column-gap: 20px; }
.db-grid--quotes > * { break-inside: avoid; margin: 0 0 20px; }
.db-grid--quotes:has(> :nth-child(3):last-child) { display: grid; columns: auto; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.db-grid--quotes:has(> :nth-child(3):last-child) > * { margin: 0; }
.db-grid--quotes:has(> :nth-child(3):last-child) > :first-child { grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; padding: 44px 44px 40px; border-color: transparent; background: #013954; }
.db-grid--quotes:has(> :nth-child(3):last-child) > :first-child::before { content: "\201C"; display: block; height: 52px; font-size: 96px; line-height: 1; font-weight: 800; color: #00cffe; }
.db-section .db-grid--quotes:has(> :nth-child(3):last-child) > :first-child .db-module__foot-text { font-size: 22px; line-height: 1.5; font-weight: 600; color: #ffffff; }
.db-section .db-grid--quotes:has(> :nth-child(3):last-child) > :first-child .db-service__text { margin-top: 18px; color: #9fd8ec; }
.db-section .db-grid--quotes:has(> :nth-child(3):last-child) > :first-child .db-prog__label { margin-bottom: 14px; color: #00cffe; }

/* ---- Duo ---- */
.db-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.db-grid--duo > :first-child { border-color: transparent; background: #013954; }
.db-grid--duo > :nth-child(2) { border-top: 4px solid #00cffe; }
.db-section .db-grid--duo > :first-child [class*="__title"] { color: #ffffff; }
.db-section .db-grid--duo > :first-child [class*="__sub"] { color: #00cffe; }
.db-section .db-grid--duo > :first-child [class*="__text"], .db-section .db-grid--duo > :first-child li { color: #d4e4ee; }
.db-section .db-grid--duo > :first-child .db-link a { color: #00cffe; }

/* ---- Chips ---- */
.db-grid--chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.db-grid--chips > * { flex: 0 1 auto; max-width: 360px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 22px 14px 14px; border: 1px solid #dbe6ee; border-radius: 18px; background: #ffffff; }
.db-grid--chips > *:not(:has(.wp-block-image)) { display: block; padding: 14px 22px; }
.db-grid--chips > * > .wp-block-image { grid-row: 1 / span 4; margin: 0; }
.db-grid--chips > * > :not(.wp-block-image) { grid-column: 2; }
.db-grid--chips .db-icon-tile img { width: 22px; height: 22px; padding: 10px; border-radius: 12px; }
.db-grid--chips .db-logos { display: contents; }
.db-grid--chips .db-logos img { width: auto; max-width: 74px; height: 38px; padding: 0; background: transparent; opacity: 1; }
.db-section .db-grid--chips [class*="__title"] { margin: 0; font-size: 16px; line-height: 1.3; }
.db-section .db-grid--chips [class*="__sub"] { margin: 2px 0 0; font-size: 12.5px; }
.db-section .db-grid--chips [class*="__text"] { margin-top: 3px; font-size: 12.5px; line-height: 1.5; }

/* ---- Versus ---- */
.db-grid--versus { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid #d6e3ec; }
.db-grid--versus > .db-module { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 56px; align-items: start; padding: 28px 8px; border: 0; border-bottom: 1px solid #d6e3ec; border-radius: 0; background: transparent; }
.db-grid--versus > .db-module > :not(.db-module__foot) { grid-column: 1; }
.db-grid--versus > .db-module > .db-module__foot { grid-column: 2; grid-row: 1 / span 4; margin: 0; padding: 2px 0 2px 24px; border-top: 0; border-left: 3px solid #00cffe; }
.db-section .db-grid--versus > .db-module .db-module__title { font-size: 19px; }

/* ---- Numbered ---- */
.db-grid--numbered { counter-reset: n; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; }
.db-grid--numbered > * { position: relative; counter-increment: n; padding: 28px 0 28px 88px; border: 0; border-bottom: 1px solid #d6e3ec; border-radius: 0; background: transparent; box-shadow: none; }
.db-grid--numbered > *::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -1px; color: transparent; -webkit-text-stroke: 1.5px #00a6d6; }

/* ---- Stairs ---- */
.db-grid--stairs { align-items: start; }
.db-grid--stairs > :nth-child(3n + 2) { margin-top: 36px; }
.db-grid--stairs > :nth-child(3n + 3) { margin-top: 72px; }

/* ---- Split with plain ruled rows ---- */
.db-sec--splitrows .db-grid:not(:has(.db-list)) { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid #d6e3ec; }
.db-sec--splitrows .db-grid:not(:has(.db-list)) > * { padding: 24px 6px; border: 0; border-bottom: 1px solid #d6e3ec; border-radius: 0; background: transparent; box-shadow: none; }

/* ---- Accordion (script adds .is-accordion) ---- */
.db-sec--accordion.is-accordion .db-acc { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid #d6e3ec; }
.db-sec--accordion.is-accordion .db-acc > .db-module { padding: 0; border: 0; border-bottom: 1px solid #d6e3ec; border-radius: 0; background: transparent; box-shadow: none; }
.db-acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 6px; border: 0; background: transparent; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.db-acc__btn:focus-visible { outline: 3px solid rgba(0, 207, 254, 0.55); outline-offset: 2px; }
.db-acc__btn::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid #08779c; border-bottom: 2px solid #08779c; transform: rotate(45deg) translateY(-3px); }
.db-acc__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.db-acc__body { display: grid; grid-template-rows: 0fr; }
.db-acc__body > div { min-height: 0; overflow: hidden; }
.is-open > .db-acc__body { grid-template-rows: 1fr; }
.db-acc__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4px 44px; padding: 0 6px 26px; }
.db-acc__inner > .db-service__sub { grid-column: 1; margin: 0; }
.db-acc__inner > .db-list { grid-column: 1; margin-top: 6px; }
.db-acc__inner > .db-module__foot { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 2px 0 2px 22px; border-top: 0; border-left: 3px solid #00cffe; align-self: start; }

/* ---- Group tabs (script adds .is-gtabbed): each sub-headed group becomes a tab ---- */
.db-gtabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 36px; max-width: 980px; }
.db-gtabs__tab { padding: 10px 18px; border: 1px solid #cfe0ea; border-radius: 999px; background: #ffffff; font: inherit; font-size: 14px; line-height: 1.2; font-weight: 600; color: #024b78; cursor: pointer; }
.db-gtabs__tab[aria-selected="true"] { border-color: #013954; background: #013954; color: #ffffff; }
.db-gtabs__tab:focus-visible { outline: 3px solid rgba(0, 207, 254, 0.55); outline-offset: 2px; }
.db-gtabs__panel[hidden] { display: none; }
.db-gtabs__panel > .db-subhead { display: none; }
.db-gtabs__panel > .wp-block-spacer { display: none; }

/* ---- Tabs on dark bands ---- */
.db-section--dark .db-tabs__tab { border-color: rgba(255, 255, 255, 0.14); background: #0f4a6b; color: #ffffff; }
.db-section--dark .db-tabs__idx { background: rgba(255, 255, 255, 0.1); color: #00cffe; }
.db-section--dark .db-tabs__tab[aria-selected="true"] { border-color: #00cffe; background: #00cffe; color: #013954; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25); }
.db-section--dark .db-tabs__tab[aria-selected="true"] .db-tabs__idx { background: #013954; color: #00cffe; }
.db-section--dark.db-sec--tabs.is-tabbed .db-tabs .db-feature { padding: 34px 36px; }

@media (max-width: 1019px) {
	.db-grid--index, .db-grid--index:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-grid--quotes { columns: 2; }
	.db-grid--versus > .db-module { column-gap: 36px; }
	.db-grid--stairs > :nth-child(n) { margin-top: 0; }
}
@media (max-width: 859px) {
	.db-grid--timeline { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0 0 0 36px; }
	.db-grid--timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.db-grid--timeline > *::before { top: 26px; left: -32px; }
	.db-grid--stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
	.db-grid--stats > * + * { border-left: 0; }
	.db-grid--stats > :nth-child(even) { border-left: 1px solid #d6e3ec; }
	.db-grid--quotes:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
	.db-grid--quotes:has(> :nth-child(3):last-child) > :first-child { grid-row: auto; padding: 34px 28px; }
	.db-grid--duo { grid-template-columns: minmax(0, 1fr); }
	.db-grid--versus > .db-module { display: flex; flex-direction: column; gap: 14px; }
	.db-grid--versus > .db-module > .db-module__foot { margin-top: 4px; }
	.db-grid--numbered { grid-template-columns: minmax(0, 1fr); }
	.db-acc__inner { grid-template-columns: minmax(0, 1fr); }
	.db-acc__inner > .db-module__foot { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
@media (max-width: 559px) {
	.db-grid--index, .db-grid--index:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
	.db-grid--stats { grid-template-columns: minmax(0, 1fr); }
	.db-grid--stats > :nth-child(even) { border-left: 0; }
	.db-grid--quotes { columns: 1; }
	.db-grid--chips > * { max-width: 100%; }
	.db-grid--numbered > * { padding-left: 70px; }
	.db-grid--numbered > *::before { font-size: 38px; }
	.db-section .db-grid--stats [class*="__num"] { font-size: 44px; }
}

/* ---- Team directory rows (db-people): circular portraits in two columns ---- */
.db-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.db-people .db-person { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 22px; align-items: start; padding: 26px 4px; border-bottom: 1px solid #d6e3ec; }
.db-people .db-person:nth-child(-n + 2) { border-top: 1px solid #d6e3ec; }
.db-person .db-person__photo { width: 96px; height: 96px; margin: 0; overflow: hidden; border-radius: 50%; background: #d8ecf6; box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px #cfe3ee; }
.db-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; scale: 1.75; transform-origin: 50% 22%; }
.db-section .db-person__name { margin-bottom: 3px; font-size: 18px; line-height: 1.3; font-weight: 700; color: #0b1f33; }
.db-section .db-person__role { margin-bottom: 8px; font-size: 13.5px; line-height: 1.45; font-weight: 700; color: #08779c; }
.db-section .db-person__text { font-size: 14px; line-height: 1.65; color: #3d4f61; }
@media (max-width: 859px) {
	.db-people { grid-template-columns: minmax(0, 1fr); }
	.db-people .db-person:nth-child(2) { border-top: 0; }
}
@media (max-width: 559px) {
	.db-people .db-person { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; }
	.db-person .db-person__photo { width: 76px; height: 76px; }
}

/* ---- Bento (light): twelve boxed cards in a repeating wide / narrow rhythm ---- */
.db-grid--bentolight { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.db-grid--bentolight > * { grid-column: span 2; }
.db-grid--bentolight > :nth-child(12n + 1), .db-grid--bentolight > :nth-child(12n + 2) { grid-column: span 3; }
.db-grid--bentolight > :nth-child(12n + 6), .db-grid--bentolight > :nth-child(12n + 9) { grid-column: span 4; }
.db-grid--bentolight > :nth-child(12n + 1) .db-list, .db-grid--bentolight > :nth-child(12n + 2) .db-list,
.db-grid--bentolight > :nth-child(12n + 6) .db-list, .db-grid--bentolight > :nth-child(12n + 9) .db-list { columns: 2; column-gap: 28px; }
.db-grid--bentolight > * .db-list li { break-inside: avoid; }
.db-grid--index-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.db-acc__inner:not(:has(.db-module__foot)) { grid-template-columns: minmax(0, 1fr); }
.db-acc__inner:not(:has(.db-module__foot)) > .db-list { columns: 2; column-gap: 40px; }
@media (max-width: 1019px) {
	.db-grid--bentolight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-grid--bentolight > :nth-child(n) { grid-column: auto; }
	.db-grid--bentolight .db-list { columns: 1 !important; }
}
@media (max-width: 559px) {
	.db-grid--bentolight { grid-template-columns: minmax(0, 1fr); }
	.db-acc__inner:not(:has(.db-module__foot)) > .db-list { columns: 1; }
}

/* Accordion rows that carry an icon tile: the icon sits beside the heading, not above it */
.db-sec--accordion.is-accordion .db-acc > .db-module { position: relative; }
.db-sec--accordion.is-accordion .db-acc > .db-module > .db-icon-tile { position: absolute; left: 6px; top: 14px; margin: 0; }
.db-sec--accordion.is-accordion .db-acc > .db-module:has(> .db-icon-tile) .db-acc__btn { min-height: 80px; padding-left: 70px; }
.db-sec--accordion.is-accordion .db-acc > .db-module:has(> .db-icon-tile) .db-acc__inner { padding-left: 70px; }

/* Tabbed case studies on dark bands: breathing room between the labelled blocks */
.db-sec--tabs.is-tabbed .db-feature .db-feature__text + .db-step__label,
.db-sec--tabs.is-tabbed .db-feature .db-chips + .db-step__label { margin-top: 20px; }
.db-sec--tabs.is-tabbed .db-feature .db-step__label + .db-feature__text { margin-top: 4px; }

/* ======================================================================
   db-lp  "left text, right tabbed panel" section (the live Fractional CFO service sections)
   Section: .db-lp (+ .db-lp--flip puts the panel on the left). Inside: .db-lp__intro (title, tagline, text)
   and .db-lp__panel (.db-lp__tabs buttons, then one .db-lp__pane per tab holding .db-lp__item details blocks).
   Without JS every pane is shown one under the other; interactive.js turns them into tabs.
   ====================================================================== */
.db-section.db-lp { padding: 72px 20px 0; }
.db-lp > .db-container { padding-top: 0; padding-bottom: 0; }
.db-section.db-lp:has(+ :not(.db-lp)) { padding-bottom: 72px; }
.db-lp__row { display: flex; align-items: flex-start; gap: 40px; max-width: 1200px; margin: 0 auto; }
.db-lp--flip .db-lp__row { flex-direction: row-reverse; }
.db-lp__intro { flex: 1 1 0; min-width: 300px; }
.db-lp__panel { flex: 1 1 0; min-width: 300px; padding: 25px; border-radius: 16px; background: linear-gradient(180deg, #063970, #0a4377); color: #ffffff; }
.db-section .db-lp__title { margin: 0 0 16px; font-size: 32px; font-weight: 700; line-height: 42px; text-align: left; color: #002b3a; }
.db-section .db-lp__text, .db-section .db-lp__tag { margin: 0 0 16px; font-size: 20px; line-height: 28px; color: #333333; }
.db-section .db-lp__tag { font-weight: 700; }
.db-lp .db-lp__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.db-lp .db-lp__tab .wp-block-button__link { padding: 8px 18px; border: 2px solid #1c78d0; border-radius: 25px; background: transparent; font-size: 14px; font-weight: 400; line-height: 1.5; text-transform: none; color: #ffffff; transition: background-color 300ms ease; }
.db-lp .db-lp__tab.is-active .wp-block-button__link { background: #1c78d0; }
.db-lp__pane { display: flex; flex-direction: column; gap: 10px; }
.db-lp .db-lp__item { margin: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.db-lp .db-lp__item > summary { display: block; padding: 14px 18px; font-size: 18px; font-weight: 600; line-height: 28px; color: #ffffff; cursor: pointer; list-style: none; }
.db-lp .db-lp__item > summary::-webkit-details-marker { display: none; }
.db-lp .db-lp__item > summary:focus-visible { outline: 2px solid #00cffe; outline-offset: -2px; border-radius: 10px; }
.db-lp .db-lp__item > :not(summary) { margin: 10px 18px; font-size: 15px; line-height: 24px; color: #ffffff; }
.db-lp .db-lp__item > ul { padding-left: 18px; list-style: disc; }
.db-lp .db-lp__item li { margin: 6px 0; }
.db-lp .db-lp__item[open] { padding-bottom: 14px; }
.db-lp.is-tabbed .db-lp__pane:not(.is-active) { display: none; }
@media (max-width: 768px) {
	.db-lp__row, .db-lp--flip .db-lp__row { flex-direction: column; gap: 20px; }
	.db-lp__intro, .db-lp__panel { flex: none; width: 100%; min-width: 0; }
	.db-section .db-lp__title { font-size: 26px; line-height: 34px; }
	.db-section .db-lp__text, .db-section .db-lp__tag { font-size: 16px; line-height: 24px; }
}
