/*
 * Home v18: section styles for the Homepage v18 design rebuilt as core blocks.
 * Source of every value: design/claude/homepage-v18/ (Homepage v18.html, styles/home-v18.css, styles/v18-widgets.css),
 * measured in the rendered design at 393/768/1024/1440. Scoped to .dgn-v18-* class names set on the blocks.
 * Loaded by includes/home-v18.php on the front end and in the editor canvas.
 */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base text of every v18 section, as in the design (Inter 14px/1.45): inline elements such as the eyebrow sit in
   line boxes of this size, so it sets the spacing around them. */
.dgn-v18.wp-block-group {
	font: 400 14px/1.45 "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

:where(.dgn-v18) {
	--v18-ink: #07080a;
	--v18-mut: #6b7184;
	--v18-blue: #2051f9;
	--v18-orange: #fb923c;
	--v18-hf: "Plus Jakarta Sans", "Outfit", ui-sans-serif, system-ui, sans-serif;
	--v18-bf: "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
	--v18-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------- Section 1: hero */

.dgn-v18-hero.wp-block-group {
	position: relative;
	/* Clip sideways only (the design scrolled sideways here, the build does not); the service cards fly down out of
	   the hero into the Services grid, so the vertical axis stays visible. The orb is clipped by .dgn-v18-hero__bg. */
	overflow-x: clip;
	overflow-y: visible;
	display: grid;
	place-items: start center;
	box-sizing: border-box;
	min-height: calc(100svh - 40px);
	margin-block: 0;
	padding: 100px 24px 72px;
	background: #fff;
	color: var(--v18-ink);
}

.dgn-v18-hero .dgn-v18-hero__in.wp-block-group {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
	max-width: min(820px, 100%);
	margin: clamp(8px, 4svh, 56px) auto 0;
	padding: 0;
	text-align: center;
}

.dgn-v18-hero .dgn-v18-hero__in > * {
	margin-block: 0;
}

/* Headline */
.dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h {
	margin: 0;
	font-family: var(--v18-hf);
	font-size: clamp(38px, 4.8vw, 76px);
	font-weight: 700;
	line-height: 1.1; /* design: 1.04 plus .06em under each line */
	letter-spacing: -.035em;
	color: var(--v18-ink);
	text-wrap: balance;
	animation: dgnV18Fd 1s var(--v18-ease) both;
}

.dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h mark {
	background: none;
	color: var(--v18-blue);
	font-weight: 500;
}

/* Inline icon tile in the headline (inline image in the heading) */
.dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h img {
	display: inline-block;
	box-sizing: border-box;
	width: .9em !important;
	height: .9em !important;
	margin: 0 .08em;
	padding: .09em;
	vertical-align: -.06em;
	border-radius: .2em;
	background: linear-gradient(160deg, #fff, #eef2ff);
	box-shadow: inset 0 0 0 1px #dce5ff, 0 10px 22px -10px rgba(32, 81, 249, .45);
	object-fit: contain;
	animation: dgnV18Tile 4s ease-in-out infinite;
}

/* Intro */
.dgn-v18-hero p.dgn-v18-hero__p {
	max-width: 480px;
	margin: 26px 0 34px;
	font: 400 16px/1.6 var(--v18-bf);
	color: var(--v18-mut);
	animation: dgnV18Fd 1s .45s both;
}

/* Buttons row */
.dgn-v18-hero .dgn-v18-hero__ctas.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px 28px;
	margin: 0;
	animation: dgnV18Fd 1s .6s both;
}

/* Pill button with arrow chip; hover grows a dark circle out of the chip (also the section 12 form submit button) */
.dgn-v18 .dgn-v18-btn .wp-block-button__link,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 5px 5px 5px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--v18-blue);
	color: #fff;
	font: 600 14px/1.2 var(--v18-bf);
	letter-spacing: -.005em;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 18px -8px rgba(32, 81, 249, .6);
	transition: color .4s var(--v18-ease), box-shadow .4s var(--v18-ease), transform .4s var(--v18-ease);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link::before,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 50%;
	right: 5px;
	width: 42px; /* design .dg-cl.dg-pc::after 42px; scale(20) so the fill covers even the widest pill */
	height: 42px;
	border-radius: 50%;
	background: #07080a;
	transform: translateY(-50%) scale(0);
	transition: transform .55s cubic-bezier(.7, 0, .2, 1);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link::after,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button::after {
	content: "";
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232051F9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / 20px no-repeat;
	transform: rotate(-45deg);
	transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link:hover,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:hover,
.dgn-v18 .dgn-v18-btn .wp-block-button__link:focus-visible,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 14px 32px -12px rgba(32, 81, 249, .7);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link:hover::before,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:hover::before,
.dgn-v18 .dgn-v18-btn .wp-block-button__link:focus-visible::before,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:focus-visible::before {
	transform: translateY(-50%) scale(20);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link:hover::after,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:hover::after,
.dgn-v18 .dgn-v18-btn .wp-block-button__link:focus-visible::after,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:focus-visible::after {
	transform: rotate(0);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link:active,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:active {
	transform: translateY(0) scale(.98);
}

.dgn-v18 .dgn-v18-btn .wp-block-button__link:focus-visible,
.dgn-v18 .gt-card .gform_wrapper:is(.gform-theme, .gravity-theme) .gform_button.button:focus-visible {
	outline: 2px solid var(--v18-blue);
	outline-offset: 3px;
}

/* Underlined text link with a down-right arrow */
.dgn-v18 .dgn-v18-link .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 0;
	padding: 0 0 4px;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: none;
	color: var(--v18-ink);
	font: 500 14px/1.2 var(--v18-bf);
	text-decoration: none;
	box-shadow: none;
	transition: color .3s, gap .3s;
}

.dgn-v18 .dgn-v18-link .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 7 10 10'/%3E%3Cpath d='M17 7v10H7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 7 10 10'/%3E%3Cpath d='M17 7v10H7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dgn-v18 .dgn-v18-link .wp-block-button__link:hover,
.dgn-v18 .dgn-v18-link .wp-block-button__link:focus-visible {
	color: var(--v18-blue);
	gap: 12px;
}

/* Floating chips beside the headline (desktop only) */
.dgn-v18-hero .dgn-v18-chip {
	position: absolute;
	z-index: 6;
	box-sizing: border-box;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(11, 13, 18, .05), 0 18px 36px -18px rgba(16, 24, 60, .3);
	text-align: left;
	animation: dgnV18Fd .9s both, dgnV18Float 6s 1.2s ease-in-out infinite;
}

.dgn-v18-hero .dgn-v18-chip--grow {
	right: calc(100% + 48px);
	top: 6%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 170px;
	padding: 12px 14px 14px;
	animation-delay: .8s, 1.4s;
}

.dgn-v18-hero .dgn-v18-chip--grow .hd {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 600 12px/1 var(--v18-bf);
	color: var(--v18-ink);
	white-space: nowrap;
}

.dgn-v18-hero .dgn-v18-chip--grow .hd::before {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: #e7f8ef;
	color: #059669;
}

.dgn-v18-hero .dgn-v18-chip--grow .bars {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 46px;
}

.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb {
	flex: 1;
	border-radius: 4px 4px 2px 2px;
	background: repeating-linear-gradient(135deg, #d9dbe1 0 3px, #e9eaee 3px 6px);
	transform-origin: bottom;
	animation: dgnV18Up .9s calc(1s + var(--i) * .1s) cubic-bezier(.2, .7, .2, 1) both;
}

.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb:last-child {
	background: repeating-linear-gradient(135deg, #8ab4ff 0 3px, #a9c4ff 3px 6px);
}

.dgn-v18-hero .dgn-v18-chip--ring {
	left: calc(100% + 48px);
	top: 34%;
	display: grid;
	grid-template-columns: 44px auto;
	grid-template-rows: auto auto;
	column-gap: 10px;
	align-items: center;
	padding: 10px 16px 10px 10px;
	animation-delay: 1.1s, 2.6s;
}

.dgn-v18-hero .dgn-v18-chip--ring .rgc {
	grid-row: span 2;
	width: 44px;
	height: 44px;
	transform: rotate(-90deg);
}

.dgn-v18-hero .dgn-v18-chip--ring .rgc-unused {
	fill: none;
	stroke-width: 5;
	stroke: #ffe8d6;
}

.dgn-v18-hero .dgn-v18-chip--ring .rgc-unused-p {
	stroke: var(--v18-orange);
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: dgnV18Ring 1.6s 1.3s cubic-bezier(.4, 0, .2, 1) forwards;
}

.dgn-v18-hero .dgn-v18-chip--ring b {
	font: 700 18px/1 var(--v18-hf);
	color: var(--v18-ink);
}

.dgn-v18-hero .dgn-v18-chip--ring .rl {
	font: 500 11px/1.2 var(--v18-bf);
	color: var(--v18-mut);
}

/* Service card (J18Card): used in the Services grid (.jc-static) and, for three of them, flying from the hero. */
.dgn-v18 .dgn-v18-jc {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: 22px 24px;
	border: 1px solid rgba(11, 13, 18, .07);
	border-radius: 18px;
	background: #fff;
	color: var(--v18-ink);
	text-decoration: none;
	box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(16, 30, 90, .06), 0 calc(28px - var(--p, 1) * 20px) calc(56px - var(--p, 1) * 36px) -24px rgba(32, 60, 180, .28);
	transition: border-color .35s, box-shadow .35s, background .35s;
}

.dgn-v18-jc .jc-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.dgn-v18-jc .jc-ic {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #f2f1ec;
	color: #0b0d12;
	transition: transform .35s, background .35s, color .35s;
}

.dgn-v18-jc .jc-t {
	margin-top: 14px;
	font: 700 16px/1.2 var(--v18-hf);
	letter-spacing: -.02em;
}

.dgn-v18-jc .jc-go {
	position: absolute;
	top: 22px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 500 12px/1 var(--v18-bf);
	color: var(--v18-blue);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .3s, transform .3s;
}

.dgn-v18-jc.jc-static:hover,
.dgn-v18-jc.dock:hover {
	border-color: var(--v18-blue);
	box-shadow: 0 24px 48px -26px rgba(32, 81, 249, .5);
}

.dgn-v18-jc.jc-static:hover .jc-ic,
.dgn-v18-jc.dock:hover .jc-ic {
	background: #0b0d12;
	color: #fff;
	transform: rotate(-8deg) scale(1.06);
}

.dgn-v18-jc.jc-static:hover .jc-go,
.dgn-v18-jc.dock:hover .jc-go {
	opacity: 1;
	transform: none;
}

/* Flying cards: three Services cards parked at the hero edges (design positions --x/--y in % of the hero, tilt --r,
   drawn at hw / card width). assets/home-v18.js places them and flies them into their Services slots on scroll;
   this CSS is the no-JS and editor fallback. */
.dgn-v18-hero .dgn-v18-fly {
	position: absolute;
	inset: 0;
	z-index: 8;
	margin: 0; /* the theme's block gap would push the layer down */
	pointer-events: none;
}

.dgn-v18-fly .dgn-v18-jc {
	--p: 0;
	position: absolute;
	left: calc(var(--x) * 1%);
	top: calc(var(--y) * 1%);
	width: 194px;
	height: 148px;
	transform: translate(-50%, -50%) rotate(var(--r)) scale(.742);
	transform-origin: center;
	pointer-events: auto;
}

.dgn-v18-fly .dgn-v18-jc:not(.dock) {
	cursor: pointer;
}

.dgn-v18-fly.is-js .dgn-v18-jc {
	left: 0;
	top: 0;
	will-change: transform;
}

.dgn-v18-fly .dgn-v18-jc:not(.dock) .jc-ic {
	animation: dgnV18JcPulse 3.4s ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * .3s);
}

/* Orbit rings behind the hero, clipped to the hero box */
.dgn-v18-hero .dgn-v18-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
	overflow: hidden;
	pointer-events: none;
}

.dgn-v18 .dgn-v18-orb {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 0;
	width: min(1100px, 120vw);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	pointer-events: none;
	-webkit-mask-image: radial-gradient(circle, #000 45%, transparent 70%);
	mask-image: radial-gradient(circle, #000 45%, transparent 70%);
}

.dgn-v18-orb .o {
	position: absolute;
	left: 50%;
	top: 50%;
	border: 1px solid #e6e8ee;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.dgn-v18-orb .o1 { width: 38%; height: 38%; border-color: #dce5ff; animation: dgnV18Orb 30s linear infinite; }
.dgn-v18-orb .o2 { width: 58%; height: 58%; border-style: dashed; animation: dgnV18Orb 50s linear infinite reverse; }
.dgn-v18-orb .o3 { width: 78%; height: 78%; animation: dgnV18Orb 70s linear infinite; }
.dgn-v18-orb .o4 { width: 98%; height: 98%; border-color: #f0f1f4; }

.dgn-v18-orb .o > .ob {
	position: absolute;
	left: 50%;
	top: -5px;
	width: 10px;
	height: 10px;
	margin-left: -5px;
	border-radius: 50%;
	background: var(--v18-blue);
	box-shadow: 0 0 0 5px rgba(32, 81, 249, .12);
}

.dgn-v18-orb .o2 > .ob:nth-child(2) {
	top: auto;
	bottom: -4px;
	width: 8px;
	height: 8px;
	background: #8ab4ff;
	box-shadow: 0 0 0 4px rgba(138, 180, 255, .18);
}

.dgn-v18-orb .pulse {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 38%;
	height: 38%;
	border: 1px solid rgba(32, 81, 249, .25);
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(1);
	animation: dgnV18Pulse 5s ease-out infinite;
}

.dgn-v18-orb .p2 {
	animation-delay: 2.5s;
}

/* ---------------------------------------------------------------- Shared: eyebrow label, page gutter */

.dgn-v18 p.dgn-v18-ey {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font: 500 13px/1 var(--v18-bf);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--v18-ink);
}

.dgn-v18 p.dgn-v18-ey::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: currentColor;
}

/* ---------------------------------------------------------------- Section 2: clients */

.dgn-v18-clients.wp-block-group {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	margin-block: 0;
	padding: 80px 0;
	background: #fff;
	color: var(--v18-ink);
}

.dgn-v18-clients.wp-block-group::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(60% 70% at 85% 10%, rgba(32, 81, 249, .07), transparent 70%);
}

.dgn-v18-clients .dgn-v18-clients__g.wp-block-group {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	box-sizing: border-box;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 48px;
}

.dgn-v18-clients .dgn-v18-clients__g > *,
.dgn-v18-clients .dgn-v18-clients__l > *,
.dgn-v18-clients .dgn-v18-clients__wall > * {
	margin-block: 0;
}

.dgn-v18-clients .dgn-v18-clients__l.wp-block-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.dgn-v18-clients h2.wp-block-heading.dgn-v18-clients__h {
	margin: 0;
	font: 500 clamp(22px, 1.9vw, 28px)/1.2 var(--v18-hf);
	letter-spacing: -.02em;
	color: var(--v18-ink);
	text-wrap: balance;
}

.dgn-v18-clients h2.dgn-v18-clients__h em {
	font-style: normal;
	color: var(--v18-mut);
}

.dgn-v18-clients .dgn-v18-clients__ct.wp-block-group {
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
	padding: 18px 0;
	border-top: 1px solid #e6e7e1;
	border-bottom: 1px solid #e6e7e1;
}

.dgn-v18-clients p.dgn-v18-clients__n {
	margin: 0;
	font: 600 clamp(40px, 4vw, 56px)/1 var(--v18-bf);
	letter-spacing: -.04em;
	color: var(--v18-blue);
}

.dgn-v18-clients p.dgn-v18-clients__t {
	max-width: 240px;
	margin: 0;
	font: 400 15px/1.45 var(--v18-bf);
	color: #3f4654;
}

.dgn-v18-clients .dgn-v18-clients__ctas.wp-block-buttons {
	margin: 0;
}

/* Logo wall: hairline grid, grey logos that colour on hover, blue corner brackets, a spotlight under the cursor */
.dgn-v18-clients .dgn-v18-clients__wall.wp-block-group {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid #e6e7e1;
	border-left: 1px solid #e6e7e1;
}

.dgn-v18-clients .dgn-v18-clients__wall::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: opacity .4s;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(32, 81, 249, .10), transparent 70%);
}

.dgn-v18-clients .dgn-v18-clients__wall:hover::before {
	opacity: 1;
}

.dgn-v18-clients .dgn-v18-cell {
	position: relative;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	aspect-ratio: 1.45;
	margin: 0;
	padding: clamp(14px, 1.8vw, 26px);
	border-right: 1px solid #e6e7e1;
	border-bottom: 1px solid #e6e7e1;
	transition: opacity .7s, transform .9s var(--v18-ease), background .3s;
	transition-delay: calc(var(--i, 0) * 45ms);
}

.dgn-v18-clients figure.dgn-v18-cell img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 52px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .6;
	transition: transform .5s var(--v18-ease), filter .4s, opacity .4s;
}

/* corner brackets */
.dgn-v18-clients figure.dgn-v18-cell::before {
	content: "";
	position: absolute;
	inset: -1px;
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s;
	background:
		linear-gradient(#2051f9, #2051f9) top left / 14px 2px,
		linear-gradient(#2051f9, #2051f9) top left / 2px 14px,
		linear-gradient(#2051f9, #2051f9) bottom right / 14px 2px,
		linear-gradient(#2051f9, #2051f9) bottom right / 2px 14px;
	background-repeat: no-repeat;
}

/* shine sweep on reveal. The design moves the band with transform; here the band moves inside the cell's own box
   (background-position), so the cell needs no overflow clipping and the corner brackets stay whole. */
.dgn-v18-clients figure.dgn-v18-cell::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* Same 20%-of-cell band as the design, drawn on an image 3x the cell wide: band centre = 1.5W - 2W * position,
	   so 110% puts it at -0.7W (design translateX(-120%)) and -10% at 1.7W (translateX(120%)). */
	background: linear-gradient(105deg, transparent 46.667%, rgba(255, 255, 255, .75) 50%, transparent 53.333%) no-repeat;
	background-size: 300% 100%;
	background-position: 110% 0;
}

.dgn-v18-clients figure.dgn-v18-cell:hover {
	background: rgba(255, 255, 255, .7);
}

.dgn-v18-clients figure.dgn-v18-cell:hover::before {
	opacity: 1;
}

.dgn-v18-clients figure.dgn-v18-cell:hover img {
	filter: none;
	opacity: 1;
	transform: scale(1.08);
}

/* "Your brand next" cell */
.dgn-v18-clients p.dgn-v18-cell--you {
	padding: 0;
	border-color: #2051f9;
	background: #2051f9;
}

.dgn-v18-clients p.dgn-v18-cell--you a {
	display: grid;
	grid-auto-flow: column;
	align-content: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: clamp(14px, 1.8vw, 26px);
	color: #fff;
	font: 600 15px/1.2 var(--v18-bf);
	text-decoration: none;
	transition: background .3s;
}

.dgn-v18-clients p.dgn-v18-cell--you a::after {
	content: "";
	align-self: center;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .4s var(--v18-ease);
}

.dgn-v18-clients p.dgn-v18-cell--you a:hover,
.dgn-v18-clients p.dgn-v18-cell--you a:focus-visible {
	background: #1a3fcc;
	color: #fff;
}

.dgn-v18-clients p.dgn-v18-cell--you a:hover::after,
.dgn-v18-clients p.dgn-v18-cell--you a:focus-visible::after {
	transform: translate(3px, -3px);
}

/* Reveal on scroll: only when the script runs (html.dgn-v18-js), so without JS and in the editor all cells show. */
.dgn-v18-js .dgn-v18-clients:not(.in) .dgn-v18-cell {
	opacity: 0;
	transform: translateY(14px);
}

.dgn-v18-clients.in figure.dgn-v18-cell::after {
	animation: dgnV18Shine 1.4s var(--v18-ease) both;
	animation-delay: calc(var(--i, 0) * 60ms + .5s);
}

@media (max-width: 1100px) {
	.dgn-v18-clients .dgn-v18-clients__g.wp-block-group { grid-template-columns: minmax(0, 1fr); }
	.dgn-v18-clients .dgn-v18-clients__l.wp-block-group { max-width: 640px; }
}

@media (max-width: 760px) {
	.dgn-v18-clients .dgn-v18-clients__g.wp-block-group { padding: 0 20px; }
	.dgn-v18-clients .dgn-v18-clients__wall.wp-block-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dgn-v18-clients .dgn-v18-cell { aspect-ratio: 1.2; }
	.dgn-v18-clients figure.dgn-v18-cell img { max-height: 40px; }
}

/* ---------------------------------------------------------------- Header v18 (template part "header") */

/* The design's page is white; the header is transparent, so on the v18 home page the page colour behind it is white
   too, as on the v18 About, Careers and Contact pages (other pages keep the site's surface colour). */
body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) {
	background: #fff;
}

/* The template part wrapper is the sticky element, so the bar stays at the top of every page. */
.wp-block-template-part:has(> .dgn-v18-hd) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	margin: 0;
}

.dgn-v18-hd.wp-block-group {
	position: relative;
	margin: 0;
	padding: 14px 0;
	background: transparent;
	color: var(--v18-ink);
}

.dgn-v18-hd .dgn-v18-hd__in.wp-block-group {
	display: flex;
	align-items: center;
	gap: 32px;
	box-sizing: border-box;
	width: 100%;
	max-width: 1320px;
	height: 64px;
	margin: 0 auto;
	padding: 0 8px 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	transition: background .4s, border-color .4s, box-shadow .4s, height .4s;
}

.dgn-v18-hd.is-scrolled .dgn-v18-hd__in,
.dgn-v18-hd.is-open .dgn-v18-hd__in {
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: blur(18px) saturate(1.5);
	backdrop-filter: blur(18px) saturate(1.5);
	border-color: #e6e7e1;
	box-shadow: 0 12px 36px -18px rgba(11, 13, 18, .22);
}

.dgn-v18-hd.is-open .dgn-v18-hd__in {
	background: #fff;
}

.dgn-v18-hd .dgn-v18-hd__in > * {
	margin: 0;
}

.dgn-v18-hd figure.dgn-v18-hd__logo {
	flex: none;
	margin: 0;
}

.dgn-v18-hd figure.dgn-v18-hd__logo a {
	display: flex;
}

.dgn-v18-hd figure.dgn-v18-hd__logo img {
	display: block;
	width: auto;
	height: 36px;
}

/* Primary navigation (core Navigation block, links only; dropdowns are the panels below) */
.dgn-v18-hd nav.dgn-v18-hd__nav {
	flex: 1;
	min-width: 0;
	justify-content: center;
}

.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation__container {
	gap: 4px;
}

.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	font: 500 15px/1 var(--v18-bf);
	color: #3f4654;
	text-decoration: none;
	transition: color .2s, background .2s;
}

/* underline that draws in from the left */
.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content::before {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 1.5px;
	background: var(--v18-ink);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}

/* chevron on the items that open a panel */
.dgn-v18-hd .dgn-v18-hd__nav [class*="dgn-mega-"] > .wp-block-navigation-item__content::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	opacity: .6;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .3s var(--v18-ease), opacity .3s;
}

.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content:hover,
.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content:focus-visible,
.dgn-v18-hd .dgn-v18-hd__nav .is-on > .wp-block-navigation-item__content {
	color: var(--v18-ink);
	background: transparent;
}

.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content:hover::before,
.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content:focus-visible::before,
.dgn-v18-hd .dgn-v18-hd__nav .is-on > .wp-block-navigation-item__content::before {
	transform: scaleX(1);
	transform-origin: left;
}

.dgn-v18-hd .dgn-v18-hd__nav .is-on > .wp-block-navigation-item__content::after {
	opacity: 1;
	transform: rotate(180deg);
}

/* Right side: CTA and burger */
.dgn-v18-hd .dgn-v18-hd__r.wp-block-group {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
}

.dgn-v18-hd .dgn-v18-hd__r > * {
	margin: 0;
}

.dgn-v18-hd .dgn-v18-hd__cta.wp-block-buttons {
	margin: 0;
}

.dgn-v18 .dgn-v18-btn-sm .wp-block-button__link {
	min-height: 44px;
	padding: 4px 4px 4px 18px;
	gap: 12px;
}

/* Light / dark toggle */
.dgn-v18-hd .dgn-v18-theme {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: #f2f3ee;
	color: var(--v18-ink);
	cursor: pointer;
	transition: border-color .2s, transform .5s var(--v18-ease);
}

.dgn-v18-hd .dgn-v18-theme:hover,
.dgn-v18-hd .dgn-v18-theme:focus-visible {
	border-color: #d2d4cc;
	transform: rotate(20deg);
}

.dgn-v18-hd .dgn-v18-theme > span {
	display: grid;
}

.dgn-v18-hd .dgn-v18-theme .i-sun,
html[data-theme="dark"] .dgn-v18-hd .dgn-v18-theme .i-moon {
	display: none;
}

html[data-theme="dark"] .dgn-v18-hd .dgn-v18-theme .i-sun {
	display: grid;
}

/* Dark mode is built page by page; the toggle shows only on pages that have it: the v18 home, About, Careers and Contact pages. */
body:not(:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp))) .dgn-v18-hd .dgn-v18-theme {
	display: none;
}

.dgn-v18-hd .dgn-v18-burger {
	display: none;
	place-items: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #d2d4cc;
	border-radius: 50%;
	background: transparent;
	color: var(--v18-ink);
	cursor: pointer;
}

.dgn-v18-hd .dgn-v18-burger > span {
	display: grid;
}

.dgn-v18-hd .dgn-v18-burger .i-x,
.dgn-v18-hd.is-mm .dgn-v18-burger .i-menu {
	display: none;
}

.dgn-v18-hd.is-mm .dgn-v18-burger .i-x {
	display: grid;
}

/* Mega panels */
.dgn-v18-hd .dgn-v18-megas {
	margin: 0;
}

.dgn-v18-hd .dgn-v18-mega {
	position: absolute;
	top: calc(100% - 4px);
	left: 0;
	right: 0;
	z-index: 99;
	box-sizing: border-box;
	width: min(calc(100% - 96px), 1320px); /* design: 100% - 2 x --pad (48px) */
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid #e6e7e1;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(11, 13, 18, .3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .25s, transform .35s var(--v18-ease), visibility .25s;
}

.dgn-v18-hd .dgn-v18-mega.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.dgn-v18-mega .dgn-v18-mega__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	padding: 32px 32px 40px;
}

.dgn-v18-mega .dgn-v18-mega__cols {
	display: grid;
	grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
	gap: 8px 24px;
	align-content: start;
}

.dgn-v18-mega .gl {
	padding: 0 14px 10px;
	font: 500 11px/1 var(--v18-bf);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--v18-mut);
}

.dgn-v18-hd .dgn-v18-mi {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	color: var(--v18-blue);
	text-decoration: none;
	transition: background .2s;
}

.dgn-v18-hd .dgn-v18-mi.compact {
	align-items: center;
}

.dgn-v18-hd .dgn-v18-mi .ic {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(32, 81, 249, .1);
	color: var(--v18-blue);
	transition: background .2s, color .2s;
}

.dgn-v18-hd .dgn-v18-mi .t {
	display: block;
	margin-top: 2px;
	font: 600 15px/1.3 var(--v18-bf);
	color: var(--v18-ink);
}

.dgn-v18-hd .dgn-v18-mi.compact .t {
	margin: 0;
}

.dgn-v18-hd .dgn-v18-mi .s {
	display: block;
	margin-top: 3px;
	font: 400 13px/1.45 var(--v18-bf);
	color: var(--v18-mut);
}

.dgn-v18-hd .dgn-v18-mi:hover,
.dgn-v18-hd .dgn-v18-mi:focus-within {
	background: #f2f3ee;
}

.dgn-v18-hd .dgn-v18-mi:hover .ic,
.dgn-v18-hd .dgn-v18-mi:focus-within .ic {
	background: var(--v18-blue);
	color: #fff;
}

/* Featured card */
.dgn-v18-mega .dgn-v18-mfeat {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	min-height: 280px;
	padding: 28px;
	border-radius: 18px;
	background: var(--v18-blue);
	color: #fff;
	text-decoration: none;
}

.dgn-v18-mega .dgn-v18-mfeat::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.5px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
	mask-image: linear-gradient(200deg, #000, transparent 70%);
}

.dgn-v18-mfeat > * {
	position: relative;
}

.dgn-v18-mfeat .e {
	font: 500 11px/1 var(--v18-bf);
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .85;
}

.dgn-v18-mfeat .b,
.dgn-v18-mfeat .h,
.dgn-v18-mfeat .p {
	display: block;
}

.dgn-v18-mfeat .h {
	margin: 14px 0 10px;
	font: 500 24px/1.18 var(--v18-bf);
	letter-spacing: -.015em;
	color: #fff;
}

.dgn-v18-mfeat .p {
	font: 400 16px/1.5 var(--v18-bf);
	color: rgba(255, 255, 255, .86);
}

.dgn-v18-mfeat .c {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	font: 500 14px/1 var(--v18-bf);
}

/* Phone and tablet menu (built by the script from the navigation and the panels) */
.dgn-v18-hd .dgn-v18-mm {
	display: none;
	margin: 0; /* added inside the header group, where the theme's block gap would push it down */
}

.dgn-v18-mm .dgn-v18-mm__in {
	max-width: 720px;
	margin: 0 auto;
	padding: 8px 24px 48px;
}

.dgn-v18-mm .dgn-v18-mm__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	min-height: 64px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e6e7e1;
	background: none;
	font: 500 24px/1 var(--v18-bf);
	letter-spacing: -.02em;
	color: var(--v18-ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.dgn-v18-mm .dgn-v18-mm__row svg {
	flex: none;
	color: var(--v18-mut);
	transition: transform .3s var(--v18-ease);
}

.dgn-v18-mm .dgn-v18-mm__g.is-on .dgn-v18-mm__row svg {
	transform: rotate(180deg);
	color: var(--v18-blue);
}

.dgn-v18-mm .dgn-v18-mm__list {
	max-height: 0;
	overflow: hidden;
	transition: max-height .5s var(--v18-ease);
}

.dgn-v18-mm .dgn-v18-mm__g.is-on .dgn-v18-mm__list {
	max-height: 1400px;
	padding: 10px 0 14px;
}

.dgn-v18-mm .dgn-v18-mm__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	font: 500 14px/1 var(--v18-bf);
	color: var(--v18-blue);
	text-decoration: none;
}

.dgn-v18-mm .dgn-v18-mm__ft {
	margin-top: 32px;
}

@media (max-width: 1240px) {
	.dgn-v18-hd .dgn-v18-hd__in.wp-block-group { gap: 16px; }
	.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content { padding: 0 10px; font-size: 14px; }
	.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content::before { left: 10px; right: 10px; }
	.dgn-v18-hd figure.dgn-v18-hd__logo img { height: 32px; }
}

@media (max-width: 1100px) {
	.dgn-v18-hd .dgn-v18-hd__in.wp-block-group { justify-content: space-between; padding: 0 8px 0 20px; }
	.dgn-v18-hd nav.dgn-v18-hd__nav,
	.dgn-v18-hd .dgn-v18-megas { display: none; }
	.dgn-v18-hd .dgn-v18-burger { display: grid; }
	.dgn-v18-hd .dgn-v18-mm {
		position: fixed;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 92px);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99;
		display: block;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .25s, transform .35s var(--v18-ease), visibility .25s;
	}
	.dgn-v18-hd.is-mm .dgn-v18-mm { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 760px) {
	/* the design keeps "Start a Project" beside the burger down to 761px (home-v11.css: .dg-hd-cta at 760px) */
	.dgn-v18-hd .dgn-v18-hd__cta.wp-block-buttons { display: none; }
	.dgn-v18-hd .dgn-v18-hd__in.wp-block-group { height: 56px; padding: 0 6px 0 16px; }
	.dgn-v18-hd figure.dgn-v18-hd__logo img { height: 28px; }
	.dgn-v18-hd .dgn-v18-mm { top: calc(var(--wp-admin--admin-bar--height, 0px) + 68px); }
}

@media (prefers-reduced-motion: reduce) {
	.dgn-v18-hd .dgn-v18-hd__in,
	.dgn-v18-hd .dgn-v18-mega,
	.dgn-v18-hd .dgn-v18-mm,
	.dgn-v18-mm .dgn-v18-mm__list,
	.dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content::before { transition: none; }
}

/* ---------------------------------------------------------------- Shared: section heading, scroll reveal */

.dgn-v18 h2.wp-block-heading.dgn-v18-h2 {
	max-width: 16em;
	margin: 16px 0 0;
	font: 500 clamp(34px, 3.4vw, 50px)/1.04 var(--v18-hf);
	letter-spacing: -.035em;
	color: var(--v18-ink);
	text-wrap: balance;
}

.dgn-v18 h2.dgn-v18-h2 em {
	font-style: normal;
	font-weight: 500;
}

/* fx18: fade up out of a blur, staggered by sibling index (--fxd, set by the script). Script-only (html.dgn-v18-js). */
.dgn-v18-js .dgn-v18-fx {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(6px);
	transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), filter .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s);
}

.dgn-v18-js .dgn-v18-fx.is-in {
	opacity: 1;
	transform: none;
	filter: none;
}

.dgn-v18-js .dgn-v18-fx.is-in:hover {
	transition-delay: 0s;
}

/* ---------------------------------------------------------------- Section 3: services */

.dgn-v18-svc.wp-block-group {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	margin-block: 0;
	padding: 80px 0;
	background: #fff;
	color: var(--v18-ink);
}

.dgn-v18-svc .dgn-v18-svc__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
	pointer-events: none;
}

.dgn-v18-svc .dgn-v18-orb--svc {
	top: 56%;
	width: min(1300px, 130vw);
}

.dgn-v18-svc .dgn-v18-svc__wrap.wp-block-group {
	position: relative;
	box-sizing: border-box;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 48px;
}

.dgn-v18-svc .dgn-v18-svc__wrap > *,
.dgn-v18-svc .dgn-v18-svc__hd > *,
.dgn-v18-svc .dgn-v18-svc__hdl > * {
	margin-block: 0;
}

.dgn-v18-svc .dgn-v18-svc__hd.wp-block-group {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin: 0 0 60px;
}

.dgn-v18-svc .dgn-v18-svc__hdl h2.dgn-v18-h2 {
	margin-top: 16px;
}

.dgn-v18-svc .dgn-v18-svc__ctas.wp-block-buttons {
	align-self: flex-start; /* design: the pill button keeps .dg-cl's align-self: flex-start inside the flex-end row */
	margin: 0;
}

.dgn-v18-svc .dgn-v18-svc-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.dgn-v18-svc .dgn-v18-svc-slot {
	height: 148px;
}

.dgn-v18-svc .dgn-v18-svc-slot .jc-static {
	height: 100%;
}

/* While the hero cards fly (desktop, motion on), their three grid slots stay empty until the card docks there. */
.dgn-v18-fly-on .dgn-v18-svc-slot.is-fly .jc-static {
	visibility: hidden;
}

/* "All services" tile */
.dgn-v18-svc .dgn-v18-svc-all {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	height: 148px;
	padding: 16px;
	border-radius: 18px;
	background: #0b0d12;
	color: #fff;
	text-decoration: none;
	transition: background .35s;
}

.dgn-v18-svc .dgn-v18-svc-all .dgn-v18-ey {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 500 13px/1 var(--v18-bf);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #7fa0ff;
}

.dgn-v18-svc .dgn-v18-svc-all .dgn-v18-ey::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: currentColor;
}

.dgn-v18-svc .dgn-v18-svc-all .sa-t {
	max-width: 9em;
	font: 700 16px/1.2 var(--v18-hf);
	letter-spacing: -.02em;
	color: #fff;
}

.dgn-v18-svc .dgn-v18-svc-all .dgn-v18-svc-all__ar {
	display: grid;
	place-items: center;
	align-self: flex-end;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #0b0d12;
	transition: transform .4s;
}

.dgn-v18-svc .dgn-v18-svc-all:hover,
.dgn-v18-svc .dgn-v18-svc-all:focus-within {
	background: var(--v18-blue);
}

.dgn-v18-svc .dgn-v18-svc-all:hover .dgn-v18-ey,
.dgn-v18-svc .dgn-v18-svc-all:focus-within .dgn-v18-ey {
	color: #fff;
}

.dgn-v18-svc .dgn-v18-svc-all:hover .dgn-v18-svc-all__ar,
.dgn-v18-svc .dgn-v18-svc-all:focus-within .dgn-v18-svc-all__ar {
	color: var(--v18-blue);
	transform: rotate(45deg);
}

/* Stats row */
.dgn-v18 .dgn-v18-stats.wp-block-group {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 40px 0 0;
	border-top: 1px solid #e6e7e1;
	border-bottom: 1px solid #e6e7e1;
}

.dgn-v18 .dgn-v18-stats > .dgn-v18-st.wp-block-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 26px 28px;
	border-left: 1px solid #e6e7e1;
}

.dgn-v18 .dgn-v18-stats > .dgn-v18-st:first-child {
	padding-left: 0;
	border-left: 0;
}

.dgn-v18 .dgn-v18-st > * {
	margin: 0;
}

.dgn-v18 p.dgn-v18-st__n {
	font: 500 clamp(34px, 3vw, 46px)/1 var(--v18-bf);
	letter-spacing: -.045em;
	font-variant-numeric: tabular-nums;
	color: var(--v18-ink);
}

.dgn-v18 p.dgn-v18-st__n mark {
	background: none;
	color: var(--v18-mut);
}

.dgn-v18 p.dgn-v18-st__l {
	max-width: 9em;
	font: 500 13px/1.35 var(--v18-bf);
	letter-spacing: .01em;
	color: var(--v18-mut);
}

@media (max-width: 1180px) {
	.dgn-v18-svc .dgn-v18-svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.dgn-v18-svc .dgn-v18-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dgn-v18 .dgn-v18-stats.wp-block-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dgn-v18 .dgn-v18-stats > .dgn-v18-st.wp-block-group { padding: 18px 16px; }
	.dgn-v18 .dgn-v18-stats > .dgn-v18-st:first-child,
	.dgn-v18 .dgn-v18-stats > .dgn-v18-st:nth-child(3) { padding-left: 0; border-left: 0; }
	.dgn-v18 .dgn-v18-stats > .dgn-v18-st:nth-child(n+3) { border-top: 1px solid #e6e7e1; }
}

@media (max-width: 760px) {
	.dgn-v18-svc .dgn-v18-svc__wrap.wp-block-group { padding: 0 20px; }
}

@media (max-width: 600px) {
	.dgn-v18-svc .dgn-v18-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Breakpoints (design: chips hide at 1240px, header height drops to 68px at 760px) */
@media (max-width: 1240px) {
	.dgn-v18-hero .dgn-v18-chip { display: none; }
}

@media (max-width: 900px) {
	.dgn-v18-hero .dgn-v18-fly { display: none; }
}

@media (max-width: 760px) {
	.dgn-v18-hero.wp-block-group { padding: 76px 24px 72px; }
}

/* Mobile fix (not in the design, which overflows at phone width): keep the text column inside the screen. */
@media (max-width: 520px) {
	.dgn-v18-hero.wp-block-group { padding-left: 20px; padding-right: 20px; }
	.dgn-v18-hero p.dgn-v18-hero__p { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h,
	.dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h img,
	.dgn-v18-hero p.dgn-v18-hero__p,
	.dgn-v18-hero .dgn-v18-hero__ctas,
	.dgn-v18-hero .dgn-v18-chip,
	.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb,
	.dgn-v18-orb .o,
	.dgn-v18-orb .pulse,
	.dgn-v18-jc .jc-ic { animation: none; }
	.dgn-v18-hero .dgn-v18-fly { display: none; }
	.dgn-v18-clients .dgn-v18-cell { transition: none; }
	.dgn-v18-js .dgn-v18-fx { opacity: 1; transform: none; filter: none; transition: none; }
	.dgn-v18-clients figure.dgn-v18-cell::after { display: none; }
	.dgn-v18-hero .dgn-v18-chip--ring .rgc-unused-p { animation: none; stroke-dashoffset: 22; }
	.dgn-v18 .dgn-v18-btn .wp-block-button__link,
	.dgn-v18 .dgn-v18-btn .wp-block-button__link::before,
	.dgn-v18 .dgn-v18-btn .wp-block-button__link::after { transition: none; }
}

@keyframes dgnV18Fd { from { opacity: 0; transform: translateY(14px); } }
@keyframes dgnV18Up { from { transform: scaleY(0); } }
@keyframes dgnV18Float { 50% { transform: translateY(-6px); } }
@keyframes dgnV18Ring { to { stroke-dashoffset: 22; } }
@keyframes dgnV18Tile { 50% { transform: translateY(-.05em) rotate(-6deg); } }
@keyframes dgnV18Pulse { from { transform: translate(-50%, -50%) scale(1); opacity: .7; } to { transform: translate(-50%, -50%) scale(2.5); opacity: 0; } }
@keyframes dgnV18Shine { from { background-position: 110% 0; } to { background-position: -10% 0; } }
@keyframes dgnV18JcPulse { 50% { box-shadow: 0 0 0 6px color-mix(in oklab, #2051f9 10%, transparent); } }
@keyframes dgnV18Orb { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ================================================================ Dark theme (html[data-theme="dark"])
 * Values measured in the design rendered with localStorage dg-theme=dark (ds/colors_and_type.css dark tokens):
 * canvas #07080A, surface-2 #14171D, hairline #1A1D24, soft line #242832, primary text #F4F6F8, secondary #A1A7B5.
 * Scoped to pages with the v18 home sections or the v18 About / Careers / Contact pages; added one section at a time. */

/* Page and header */
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) {
	background: #07080a;
	color-scheme: dark;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd {
	color: #f4f6f8;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd.is-scrolled .dgn-v18-hd__in,
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd.is-open .dgn-v18-hd__in {
	background: rgba(7, 8, 10, .82);
	border-color: #1a1d24;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd.is-open .dgn-v18-hd__in {
	background: #07080a;
}

/* white logo (same artwork as the design's diginnovators-white.svg) */
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd figure.dgn-v18-hd__logo img {
	content: url("/wp-content/uploads/2023/09/diginnovators-white.svg");
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content {
	color: #a1a7b5;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content:hover,
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content:focus-visible,
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-hd__nav .is-on > .wp-block-navigation-item__content {
	color: #f4f6f8;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-hd__nav .wp-block-navigation-item__content::before {
	background: #f4f6f8;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-theme {
	background: #14171d;
	color: #f4f6f8;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-theme:hover,
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-theme:focus-visible {
	border-color: #242832;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-burger {
	border-color: #242832;
	color: #f4f6f8;
}

/* Mega panels and phone menu */
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-mega {
	border-color: #1a1d24;
	background: #07080a;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-mi .t {
	color: #f4f6f8;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-mi:hover,
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-mi:focus-visible {
	background: #14171d;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-hd .dgn-v18-mm {
	background: #07080a;
}

html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) .dgn-v18-mm .dgn-v18-mm__row {
	border-bottom-color: #1a1d24;
	color: #f4f6f8;
}

/* Section 1: hero */
html[data-theme="dark"] .dgn-v18-hero.wp-block-group {
	background: #07080a;
	color: #f4f6f8;
}

html[data-theme="dark"] .dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h {
	color: #f4f6f8;
}

html[data-theme="dark"] .dgn-v18 .dgn-v18-link .wp-block-button__link {
	color: #f4f6f8;
}

html[data-theme="dark"] .dgn-v18 .dgn-v18-link .wp-block-button__link:hover,
html[data-theme="dark"] .dgn-v18 .dgn-v18-link .wp-block-button__link:focus-visible {
	color: var(--v18-blue);
}
/* The chips and the flying service cards stay white in dark mode, as designed; their text stays dark so it stays
   readable (the design turns it light, which leaves it almost invisible on the white cards). */

/* Section 2: clients (design dark: section #0E1014, logo cells become white tiles on #1A1D24 grid lines) */
html[data-theme="dark"] .dgn-v18-clients.wp-block-group {
	background: #0e1014;
	color: #f4f6f8;
}

html[data-theme="dark"] .dgn-v18 p.dgn-v18-ey,
html[data-theme="dark"] .dgn-v18-clients h2.wp-block-heading.dgn-v18-clients__h {
	color: #f4f6f8;
}

html[data-theme="dark"] .dgn-v18-clients .dgn-v18-clients__ct.wp-block-group {
	border-top-color: #1a1d24;
	border-bottom-color: #1a1d24;
}

html[data-theme="dark"] .dgn-v18-clients p.dgn-v18-clients__t {
	color: #a1a7b5;
}

html[data-theme="dark"] .dgn-v18-clients .dgn-v18-clients__wall.wp-block-group {
	border-top-color: #1a1d24;
	border-left-color: #1a1d24;
}

html[data-theme="dark"] .dgn-v18-clients .dgn-v18-cell {
	border-right-color: #1a1d24;
	border-bottom-color: #1a1d24;
}

html[data-theme="dark"] .dgn-v18-clients figure.dgn-v18-cell,
html[data-theme="dark"] .dgn-v18-clients figure.dgn-v18-cell:hover {
	background: #fff;
}

/* Section 3: services */
html[data-theme="dark"] .dgn-v18-svc.wp-block-group {
	background: #07080a;
	color: #f4f6f8;
}

html[data-theme="dark"] .dgn-v18 h2.wp-block-heading.dgn-v18-h2 {
	color: #f4f6f8;
}

/* The service cards stay white in dark mode, as designed; their titles stay dark so they stay readable (the design
   turns them light, which leaves them almost invisible on the white cards). The "All services" tile keeps #0B0D12. */

html[data-theme="dark"] .dgn-v18 .dgn-v18-stats.wp-block-group {
	border-top-color: #1a1d24;
	border-bottom-color: #1a1d24;
}

html[data-theme="dark"] .dgn-v18 .dgn-v18-stats > .dgn-v18-st.wp-block-group {
	border-left-color: #1a1d24;
	border-top-color: #1a1d24;
}

html[data-theme="dark"] .dgn-v18 p.dgn-v18-st__n {
	color: #f4f6f8;
}

/* ================================================================ Sections 4-6 (light theme; dark rules follow) */

/* Shared: content width + gutter, section head row, intro paragraph */
.dgn-v18 .dgn-v18-wrap.wp-block-group {
	position: relative;
	box-sizing: border-box;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 48px;
}

.dgn-v18 .dgn-v18-sechd.wp-block-group {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin: 0 0 60px;
}

.dgn-v18 .dgn-v18-sechd > *,
.dgn-v18 .dgn-v18-sechd__l > *,
.dgn-v18 .dgn-v18-wrap > * {
	margin-block: 0;
}

.dgn-v18 .dgn-v18-sechd p.dgn-v18-ey,
.dgn-v18 .dgn-v18-ind__h p.dgn-v18-ey {
	display: flex;
}

.dgn-v18 .dgn-v18-sechd h2.wp-block-heading.dgn-v18-h2,
.dgn-v18 .dgn-v18-ind__h h2.wp-block-heading.dgn-v18-h2 {
	margin-top: 24px;
}

.dgn-v18 .dgn-v18-sechd__ctas.wp-block-buttons {
	flex: none;
	align-self: flex-start;
	margin: 0;
}

.dgn-v18 p.dgn-v18-sub {
	max-width: 460px;
	margin: 28px 0 0;
	font: 400 16px/1.55 var(--v18-bf);
	color: #3f4654;
	text-wrap: pretty;
}

@media (max-width: 760px) {
	.dgn-v18 .dgn-v18-wrap.wp-block-group { padding: 0 20px; }
	.dgn-v18 .dgn-v18-sechd.wp-block-group { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- Section 4: solutions */

.dgn-v18-sol.wp-block-group {
	position: relative;
	box-sizing: border-box;
	margin-block: 0;
	padding: 80px 0;
	background: #fff;
	color: var(--v18-ink);
}

.dgn-v18-sol .dgn-v18-sl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.dgn-v18-sol .dgn-v18-sl-c {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
	padding: 28px 26px;
	border: 1px solid #e6e7e1;
	border-radius: 20px;
	background: #fff;
	color: var(--v18-ink);
	text-decoration: none;
	transition: color .5s, transform .6s cubic-bezier(.2, .7, .2, 1);
}

/* dark circle that grows from the bottom-right corner on hover */
.dgn-v18-sol .dgn-v18-sl-c::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #0b0d12;
	clip-path: circle(0% at 100% 100%);
	transition: clip-path .7s cubic-bezier(.7, 0, .2, 1);
}

.dgn-v18-sol .dgn-v18-sl-c:hover,
.dgn-v18-sol .dgn-v18-sl-c:focus-within {
	color: #fff;
	transform: translateY(-6px);
}

.dgn-v18-sol .dgn-v18-sl-c:hover::before,
.dgn-v18-sol .dgn-v18-sl-c:focus-within::before {
	clip-path: circle(150% at 100% 100%);
}

.dgn-v18-sl-c .bd {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dgn-v18-sl-c .hd {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dgn-v18-sl-c .ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f2f3ee;
	color: var(--v18-ink);
	transition: background .5s, color .5s;
}

.dgn-v18-sl-c:hover .ic {
	background: var(--v18-blue);
	color: #fff;
}

.dgn-v18-sl-c .h3 {
	font: 500 clamp(19px, 1.6vw, 23px)/1.15 var(--v18-hf);
	letter-spacing: -.025em;
	color: inherit;
}

.dgn-v18-sl-c .p {
	font: 400 16px/1.55 var(--v18-bf);
	color: var(--v18-mut);
	transition: color .5s;
}

.dgn-v18-sl-c:hover .p {
	color: #b9bec9;
}

.dgn-v18-sl-c .go {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 6px;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font: 600 14px/1 var(--v18-bf);
}

.dgn-v18-sl-c .go::after {
	transition: transform .4s;
}

.dgn-v18-sl-c:hover .go svg {
	transform: rotate(45deg);
}

/* Solution widgets (decorative mini dashboards) */
.dgn-v18-sl-c .w18-p {
	position: relative;
	display: grid;
	place-items: center;
	height: 150px;
	overflow: hidden;
	border-radius: 16px;
	background: #f5f5f3;
	transition: background .5s;
}

.dgn-v18-sl-c:hover .w18-p {
	background: rgba(255, 255, 255, .06);
}

.dgn-v18-sl-c .w18-card {
	position: relative;
	display: block;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(11, 13, 18, .04), 0 18px 36px -18px rgba(16, 24, 60, .28);
	font-family: var(--v18-bf);
	color: var(--v18-ink);
}

.dgn-v18-sl-c:hover .w18-card {
	box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6);
}

.dgn-v18-sl-c .w18-p > .w18-card:first-child {
	width: 76%;
}

.dgn-v18-sl-c .w18-float {
	position: absolute;
	right: 10px;
	bottom: 12px;
	animation: dgnV18Float 5s ease-in-out infinite;
}

.dgn-v18-sl-c .w18-mini {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	font: 600 12px/1 var(--v18-bf);
}

.dgn-v18-sl-c .w18-mini::before {
	color: var(--v18-blue);
}

.dgn-v18-sl-c .k {
	font: 500 11px/1.3 var(--v18-bf);
	color: var(--v18-mut);
}

.dgn-v18-sl-c .k b {
	font: 700 14px/1.2 var(--v18-hf);
	color: var(--v18-ink);
}

.dgn-v18-sl-c .w18-seg {
	padding: 14px;
}

.dgn-v18-sl-c .w18-seg .bars {
	display: flex;
	gap: 4px;
	margin: 10px 0;
}

.dgn-v18-sl-c .w18-seg .bars > .sb {
	height: 8px;
	border-radius: 4px;
	transform-origin: left;
	animation: dgnV18Grow 1s calc(.2s + var(--i, 0) * .1s) both;
}

.dgn-v18-sl-c .w18-seg .lg {
	display: flex;
	gap: 10px;
	font: 500 10.5px/1 var(--v18-bf);
	color: var(--v18-mut);
}

.dgn-v18-sl-c .w18-seg .lg > p {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dgn-v18-sl-c .w18-seg .lg > p::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

.dgn-v18-sl-c .w18-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
}

.dgn-v18-sl-c .w18-avs {
	display: flex;
}

.dgn-v18-sl-c .w18-avs img {
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	margin-left: -8px;
	border: 2px solid #fff;
	border-radius: 50%;
	object-fit: cover;
}

.dgn-v18-sl-c .w18-avs > :first-child img { margin-left: 0; box-shadow: 0 0 0 2px #f472b6; }
.dgn-v18-sl-c .w18-avs > :nth-child(2) img { box-shadow: 0 0 0 2px #ffd54a; }
.dgn-v18-sl-c .w18-avs > :nth-child(3) img { box-shadow: 0 0 0 2px #34d399; }

.dgn-v18-sl-c .w18-chart {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	box-sizing: border-box;
	height: 96px;
	padding: 12px 14px;
	background-image: repeating-linear-gradient(transparent 0 23px, rgba(11, 13, 18, .06) 23px 24px);
}

.dgn-v18-sl-c .w18-chart > .cb {
	flex: 1;
	border-radius: 6px 6px 3px 3px;
	background: repeating-linear-gradient(135deg, #bfd3ff 0 4px, #d6e3ff 4px 8px);
	transform-origin: bottom;
	animation: dgnV18Up 1s calc(.2s + var(--i) * .08s) cubic-bezier(.2, .7, .2, 1) both;
}

.dgn-v18-sl-c .w18-chart > .cb.hi {
	background: repeating-linear-gradient(135deg, #2051f9 0 4px, #4f7bff 4px 8px);
}

.dgn-v18-sl-c .w18-dark {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 10px 14px;
	background: #0b0d12;
	font: 500 10.5px/1.2 var(--v18-bf);
	color: rgba(255, 255, 255, .7);
}

.dgn-v18-sl-c .w18-dark b {
	font: 700 14px/1 var(--v18-hf);
	color: #fff;
}

.dgn-v18-sl-c .w18-donut {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
}

.dgn-v18-sl-c .w18-donut .rg {
	flex: none;
	width: 64px;
	height: 64px;
	transform: rotate(-90deg);
}

.dgn-v18-sl-c .w18-donut .rg-unused {
	fill: none;
	stroke-width: 8;
	stroke: #e7f8ef;
}

.dgn-v18-sl-c .w18-donut .rg-unused-p {
	stroke: #34d399;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: dgnV18Ring2 1.6s .3s cubic-bezier(.4, 0, .2, 1) forwards;
}

.dgn-v18-sl-c .w18-donut .c {
	position: absolute;
	left: 14px;
	top: 12px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: var(--v18-ink);
}

.dgn-v18-sl-c .w18-tag {
	position: absolute;
	right: 10px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 12px 24px -12px rgba(16, 24, 60, .3);
	font: 600 12px/1 var(--v18-bf);
	color: var(--v18-ink);
	animation: dgnV18Float 5s ease-in-out infinite;
}

.dgn-v18-sl-c .w18-tag::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

@media (max-width: 1000px) {
	.dgn-v18-sol .dgn-v18-sl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.dgn-v18-sol.wp-block-group,
	.dgn-v18-ind.wp-block-group { padding: 64px 0; }
}

@media (max-width: 560px) {
	.dgn-v18-sol .dgn-v18-sl { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- Section 5: industries */

.dgn-v18-ind.wp-block-group {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	margin-block: 0;
	padding: 80px 0;
	background: #fff;
	color: var(--v18-ink);
}

.dgn-v18-ind .dgn-v18-ind__g.wp-block-group {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(40px, 5vw, 96px);
	align-items: center;
	width: 100%;
}

.dgn-v18-ind .dgn-v18-ind__h.wp-block-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.dgn-v18-ind .dgn-v18-ind__h > * {
	margin-block: 0;
}

.dgn-v18-ind .dgn-v18-ind__h p.dgn-v18-sub {
	margin-top: 20px; /* + the 8px column gap = the design's 28px */
}

.dgn-v18-ind .dgn-v18-ind__ctas.wp-block-buttons {
	margin: 0;
}

.dgn-v18-ind .dgn-v18-bub {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	max-width: 320px;
	margin: 28px 0 24px;
}

.dgn-v18-bub > * {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: var(--s);
	height: var(--s);
	margin-left: -10px;
	border-radius: 50%;
	background: var(--c);
	color: #0b0d12;
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -8px 14px rgba(0, 0, 0, .08), 0 14px 24px -14px rgba(0, 0, 0, .35);
	animation: dgnV18Pop .7s calc(var(--i) * .1s) cubic-bezier(.3, 1.5, .5, 1) both, dgnV18Float 6s calc(1s + var(--i) * .4s) ease-in-out infinite;
}

.dgn-v18-bub > *:first-child { margin-left: 0; }
.dgn-v18-bub > *:nth-child(1),
.dgn-v18-bub > *:nth-child(2) { color: #fff; }
.dgn-v18-bub > :nth-child(4) .em { display: none; }

.dgn-v18-bub .em {
	font: 600 10px/1 var(--v18-bf);
	font-style: normal;
	color: inherit;
}

.dgn-v18-bub .more {
	flex: none;
	flex-direction: row;
	width: 40px;
	height: 40px;
	background: #fff;
	font: 600 12px/1 var(--v18-bf);
	color: var(--v18-ink);
	box-shadow: 0 0 0 1px #e3e4e8, 0 10px 20px -10px rgba(11, 13, 18, .25);
}

.dgn-v18-ind .dgn-v18-ind-g {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid #e6e7e1;
	border-left: 1px solid #e6e7e1;
}

.dgn-v18-ind .dgn-v18-ind-c {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 3svh, 32px);
	padding: clamp(18px, 2.6svh, 26px) 22px;
	border-right: 1px solid #e6e7e1;
	border-bottom: 1px solid #e6e7e1;
	color: var(--v18-ink);
	text-decoration: none;
	transition: color .45s;
}

/* dark panel that slides up on hover */
.dgn-v18-ind .dgn-v18-ind-c::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #0b0d12;
	transform: translateY(101%);
	transition: transform .55s cubic-bezier(.7, 0, .2, 1);
}

.dgn-v18-ind .dgn-v18-ind-c:hover,
.dgn-v18-ind .dgn-v18-ind-c:focus-within {
	color: #fff;
}

.dgn-v18-ind .dgn-v18-ind-c:hover::before,
.dgn-v18-ind .dgn-v18-ind-c:focus-within::before {
	transform: none;
}

.dgn-v18-ind-c .top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.dgn-v18-ind-c .ic {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #f2f3ee;
	color: var(--v18-ink);
	transition: background .45s, color .45s;
}

.dgn-v18-ind-c:hover .ic {
	background: var(--v18-blue);
	color: #fff;
}

.dgn-v18-ind-c .n {
	font: 500 12px/1 var(--v18-bf);
	color: var(--v18-mut);
	transition: color .45s;
}

.dgn-v18-ind-c .bd {
	display: block;
}

.dgn-v18-ind-c .h3 {
	display: block;
	font: 500 clamp(19px, 1.6vw, 24px)/1.15 var(--v18-hf);
	letter-spacing: -.025em;
	color: inherit;
}

.dgn-v18-ind-c .p {
	display: -webkit-box;
	margin-top: 6px;
	overflow: hidden;
	font: 400 16px/1.5 var(--v18-bf);
	color: var(--v18-mut);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color .45s;
}

.dgn-v18-ind-c:hover .p,
.dgn-v18-ind-c:hover .n {
	color: #b9bec9;
}

.dgn-v18-ind-c .ar {
	position: absolute;
	right: 20px;
	bottom: 20px;
	opacity: 0;
	transform: translate(-6px, 6px);
	transition: opacity .35s, transform .45s;
}

.dgn-v18-ind-c:hover .ar {
	opacity: 1;
	transform: none;
}

@media (min-width: 901px) {
	.dgn-v18-ind.wp-block-group { min-height: calc(100svh - 92px); }
}

@media (max-width: 1100px) {
	.dgn-v18-bub > * { width: calc(var(--s) * .78); height: calc(var(--s) * .78); }
	.dgn-v18-bub .em { font-size: 9px; }
}

@media (max-width: 900px) {
	.dgn-v18-ind .dgn-v18-ind__g.wp-block-group { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.dgn-v18-ind .dgn-v18-ind-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.dgn-v18-ind .dgn-v18-ind-g { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- Section 6: work (pinned horizontal track) */

.dgn-v18-work.wp-block-group {
	position: relative;
	z-index: 7;
	box-sizing: border-box;
	margin-block: 0;
	padding: 0;
	background: #07080a;
	color: #f4f6f8;
}

.dgn-v18-work .dgn-v18-work__sticky.wp-block-group {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-sizing: border-box;
	padding: 80px 0 64px;
	overflow: hidden;
}

.dgn-v18-work .dgn-v18-work__sticky > * {
	margin-block: 0;
}

.dgn-v18-work .dgn-v18-work__hd.wp-block-group {
	width: 100%;
}

.dgn-v18-work p.dgn-v18-ey,
.dgn-v18-work h2.wp-block-heading.dgn-v18-h2 {
	color: #fff;
}

/* the design lines the button up with the heading, not the eyebrow */
.dgn-v18-work .dgn-v18-work__hd .dgn-v18-sechd__ctas.wp-block-buttons {
	margin-top: 43px;
}

.dgn-v18-work .dgn-v18-work__view {
	padding-left: max(48px, calc((100vw - 1320px) / 2 + 48px));
}

.dgn-v18-work .dgn-v18-work__track {
	display: flex;
	gap: 28px;
	width: max-content;
	padding-right: max(48px, calc((100vw - 1320px) / 2 + 48px));
	will-change: transform;
}

.dgn-v18-work .dgn-v18-hcard {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 28px;
	box-sizing: border-box;
	width: min(60vw, 860px);
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 22px;
	background: #14171e;
	color: #fff;
	opacity: .5;
	transition: opacity .5s var(--v18-ease), border-color .5s var(--v18-ease);
}

.dgn-v18-work .dgn-v18-hcard.is-on {
	opacity: 1;
	border-color: rgba(122, 155, 255, .35);
}

.dgn-v18-hcard .media {
	position: relative;
	display: block;
	align-self: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 14px;
	background: #0f1117;
}

.dgn-v18-hcard .media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.dgn-v18-hcard .media .is-contain img {
	object-fit: contain;
}

.dgn-v18-hcard .hole {
	position: absolute;
	right: 16px;
	bottom: 6px;
	font: 600 88px/1 var(--v18-bf);
	letter-spacing: -.05em;
	color: #fff;
	opacity: .9;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

.dgn-v18-hcard .body {
	display: flex;
	flex-direction: column;
	padding: 12px 10px 8px 0;
}

.dgn-v18-hcard .cl {
	font: 500 11px/1 var(--v18-bf);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #7a9bff;
}

.dgn-v18-work .dgn-v18-hcard h3 {
	margin: 14px 0 auto;
	font: 500 clamp(20px, 1.7vw, 26px)/1.22 var(--v18-hf);
	letter-spacing: -.02em;
	color: #fff;
	text-wrap: balance;
}

.dgn-v18-hcard .st {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 16px;
}

.dgn-v18-hcard .st div {
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.dgn-v18-hcard .st .sv {
	display: block;
	font: 500 22px/1 var(--v18-bf);
	color: #fff;
}

.dgn-v18-hcard .st .sl {
	display: block;
	margin-top: 6px;
	font: 400 11px/1.35 var(--v18-bf);
	color: #a1a7b5;
}

.dgn-v18-hcard .go a {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 4px 0 6px;
	font: 500 14px/1.2 var(--v18-bf);
	color: #fff;
	text-decoration: none;
}

.dgn-v18-hcard .go a::after {
	color: var(--v18-blue);
	transition: transform .28s var(--v18-ease);
}

.dgn-v18-hcard .go a:hover::after,
.dgn-v18-hcard .go a:focus-visible::after {
	transform: translate(3px, -3px);
}

.dgn-v18-work .dgn-v18-work__foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	margin-top: 32px;
	padding: 0 48px;
}

.dgn-v18-work__foot .cnt,
.dgn-v18-work__foot .hint {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 500 12px/1 var(--v18-bf);
	letter-spacing: .08em;
	white-space: nowrap;
	color: #a1a7b5;
}

.dgn-v18-work__foot .cnt b {
	font-weight: 500;
	color: #fff;
}

/* Desktop: the section is tall and its content sticks while the track slides sideways (assets/home-v18.js). */
@media (min-width: 901px) {
	.dgn-v18-work.wp-block-group { height: calc(7 * 32vh + 100vh); }
	.dgn-v18-work .dgn-v18-work__sticky.wp-block-group {
		position: sticky;
		top: 0;
		height: 100vh;
		height: 100svh;
		padding-bottom: 0;
	}
}

@media (max-width: 1100px) {
	.dgn-v18-work .dgn-v18-work__hd.wp-block-group { flex-direction: column; align-items: flex-start; gap: 46px; }
	.dgn-v18-work .dgn-v18-work__hd .dgn-v18-sechd__ctas.wp-block-buttons { margin-top: 0; }
}

/* Tablet and phone: a swipeable row (the design's pinned layout overlaps its cards below 900px). */
@media (max-width: 900px) {
	.dgn-v18-work .dgn-v18-work__view {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
		scrollbar-width: none;
	}
	.dgn-v18-work .dgn-v18-work__view::-webkit-scrollbar { display: none; }
	.dgn-v18-work .dgn-v18-work__track { gap: 16px; transform: none !important; }
	.dgn-v18-work .dgn-v18-hcard { grid-template-columns: minmax(0, 1fr); width: 84vw; opacity: 1; scroll-snap-align: start; }
	.dgn-v18-work .dgn-v18-work__foot { justify-content: space-between; gap: 24px; padding: 0 20px; }
}

@media (max-width: 760px) {
	.dgn-v18-work .dgn-v18-work__view { padding-left: 20px; }
	.dgn-v18-work .dgn-v18-work__track { padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.dgn-v18-sl-c .w18-float,
	.dgn-v18-sl-c .w18-tag,
	.dgn-v18-sl-c .w18-seg .bars > .sb,
	.dgn-v18-sl-c .w18-chart > .cb,
	.dgn-v18-bub > * { animation: none; }
	.dgn-v18-sl-c .w18-donut .rg-unused-p { animation: none; stroke-dashoffset: 30; }
	.dgn-v18-sol .dgn-v18-sl-c,
	.dgn-v18-sol .dgn-v18-sl-c::before,
	.dgn-v18-ind .dgn-v18-ind-c::before { transition: none; }
}

@keyframes dgnV18Grow { from { transform: scaleX(0); } }
@keyframes dgnV18Ring2 { to { stroke-dashoffset: 30; } }
@keyframes dgnV18Pop { from { transform: scale(0); } }

/* ---------------------------------------------------------------- Sections 4-6: dark theme */

html[data-theme="dark"] .dgn-v18 p.dgn-v18-sub { color: #a1a7b5; }

/* 4 Solutions: the design sets the dark section to #0E1014 (.v16-sl), but a later !important keeps it white, which
   hides the light heading; the build uses the intended #0E1014. Cards turn dark; widget text stays dark on the white
   widget cards so it stays readable (as in sections 1 and 3). */
html[data-theme="dark"] .dgn-v18-sol.wp-block-group { background: #0e1014; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-sol .dgn-v18-sl-c { border-color: #1a1d24; background: #07080a; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-sol .dgn-v18-sl-c::before { background: #fff; }
html[data-theme="dark"] .dgn-v18-sol .dgn-v18-sl-c:hover,
html[data-theme="dark"] .dgn-v18-sol .dgn-v18-sl-c:focus-visible { color: #0b0d12; }
html[data-theme="dark"] .dgn-v18-sl-c .ic { background: #14171d; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-sl-c:hover .ic { background: var(--v18-blue); color: #fff; }

/* 5 Industries */
html[data-theme="dark"] .dgn-v18-ind.wp-block-group { background: #07080a; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-ind .dgn-v18-ind-g { border-color: #1a1d24; }
html[data-theme="dark"] .dgn-v18-ind .dgn-v18-ind-c { border-color: #1a1d24; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-ind .dgn-v18-ind-c::before { background: #fff; }
html[data-theme="dark"] .dgn-v18-ind .dgn-v18-ind-c:hover,
html[data-theme="dark"] .dgn-v18-ind .dgn-v18-ind-c:focus-visible { color: #0b0d12; }
html[data-theme="dark"] .dgn-v18-ind-c .ic { background: #14171d; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-ind-c:hover .ic { background: var(--v18-blue); color: #fff; }

/* 6 Work: dark in both themes; dark mode uses the design's --work-bg #0E1014 (a later design rule swaps it for the
   light text colour, which washes the section out). */
html[data-theme="dark"] .dgn-v18-work.wp-block-group { background: #0e1014; }

/* Cards that both reveal (fx) and lift on hover keep both transitions. */
.dgn-v18-js .dgn-v18-sol .dgn-v18-sl-c.dgn-v18-fx {
	transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), filter .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), transform .6s cubic-bezier(.2, .7, .2, 1), color .5s;
}

.dgn-v18-js .dgn-v18-ind .dgn-v18-ind-c.dgn-v18-fx {
	transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), filter .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--fxd, 0s), color .45s;
}

/* Section head width (design .dg-eh-body: a 1.3fr / 1fr grid with a 56px gap above 1100px, one column below). The
   Work head keeps its button in that grid, so its heading column is measured from the full row. */
.dgn-v18 .dgn-v18-sechd .dgn-v18-sechd__l.wp-block-group {
	flex: 1;
	min-width: 0;
}

.dgn-v18 .dgn-v18-sechd__l h2.wp-block-heading.dgn-v18-h2 {
	max-width: calc((100% - 56px) * 1.3 / 2.3);
}

.dgn-v18-work .dgn-v18-sechd__l h2.wp-block-heading.dgn-v18-h2 {
	max-width: calc((100% + 176px) * 1.3 / 2.3);
}

@media (max-width: 1100px) {
	.dgn-v18 .dgn-v18-sechd__l h2.wp-block-heading.dgn-v18-h2 { max-width: none; }
}

/* Widget panel: one column as wide as the panel, so the 76% first card is 76% of the panel. */
.dgn-v18-sl-c .w18-p {
	grid-template-columns: minmax(0, 1fr);
}

/* Industries head: the column gap is 8px, so the heading margin is 16px for the design's 24px. */
.dgn-v18 .dgn-v18-ind__h h2.wp-block-heading.dgn-v18-h2 {
	margin-top: 16px;
}

@media (max-width: 760px) {
	.dgn-v18-ind.wp-block-group { padding: 64px 0; }
}

/* The design sizes every box border-box (padding inside the width): the widget cards depend on it. */
.dgn-v18-sl-c,
.dgn-v18-sl-c * {
	box-sizing: border-box;
}

.dgn-v18 .dgn-v18-ind__h h2.wp-block-heading.dgn-v18-h2 {
	align-self: stretch;
}

/* Work head: keep the content-width wrapper centred (the section-head margin rule would reset it). */
.dgn-v18-work .dgn-v18-work__hd.wp-block-group {
	box-sizing: border-box;
	max-width: 1320px;
	margin: 0 auto 60px;
}

/* The design sizes every box border-box (the Read Case Study link keeps its 40px minimum height). */
.dgn-v18-hcard,
.dgn-v18-hcard * {
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.dgn-v18-work.wp-block-group { padding: 64px 0; }
}

/* ---------------------------------------------------------------- Sections 7-9: dark theme fixes
 * The ported design rules (home-v18-port.css) keep the Process and Why sections and their panels white in dark mode
 * while turning their text light, and turn the black testimonial card light with white text (all unreadable). Same
 * approach as sections 1-6: the design's dark surfaces (#07080A canvas, #0E1014 panel - the design's own dark value
 * for .v16-why -, #14171D nested), white widget cards keep dark text, the black card stays dark. */
html[data-theme="dark"] .dgn-v18-port.p21,
html[data-theme="dark"] body.v18 #process.p21 { background: #07080a !important; }
html[data-theme="dark"] .dgn-v18-port .p21-dl,
html[data-theme="dark"] .dgn-v18-port .p21-dr { border-color: #1a1d24; background: #0e1014; }
html[data-theme="dark"] .dgn-v18-port .p21-s:not(.on):not(.done) .nd,
html[data-theme="dark"] .dgn-v18-port .p21-ic,
html[data-theme="dark"] .dgn-v18-port .p21-chips :is(span, p),
html[data-theme="dark"] .dgn-v18-port .p21-dr .o { background: #14171d; color: #f4f6f8; }
html[data-theme="dark"] .dgn-v18-port .p21-s:not(.on):not(.done) .t { color: #a1a7b5; }

html[data-theme="dark"] .dgn-v18-port.w18-why,
html[data-theme="dark"] body.v18 #why.w18-why { background: #0e1014 !important; }
html[data-theme="dark"] .dgn-v18-port .w18-bx { background: #07080a; }
html[data-theme="dark"] .dgn-v18-port .w18-card:not(.w18-dark),
html[data-theme="dark"] .dgn-v18-port .w18-tag,
html[data-theme="dark"] .dgn-v18-port .w18-stack span,
html[data-theme="dark"] .dgn-v18-port .w18-stack > p { color: #07080a; }

html[data-theme="dark"] body.v18 #testimonials .dg-dcard.s2,
html[data-theme="dark"] .dgn-v18-port .dg-dcard.s2 { background: #07080a; color: #fff; }
html[data-theme="dark"] .dgn-v18-port .p21-dl p:not(.ch, .core, .p21-chips p) { color: #a1a7b5; }
html[data-theme="dark"] .dgn-v18-port .w18-ini i,
html[data-theme="dark"] .dgn-v18-port .w18-ini > p { color: #07080a; }
/* Process step icons sit in a 6px ring of the page colour (white in the design); in dark mode the ring is dark. */
html[data-theme="dark"] .dgn-v18-port .p21-s .nd { box-shadow: 0 0 0 6px #07080a; }
html[data-theme="dark"] .dgn-v18-port .p21-s.on .nd { box-shadow: 0 0 0 6px #07080a, 0 0 0 12px rgba(32, 81, 249, .12), 0 18px 30px -12px rgba(32, 81, 249, .6); }

/* ---------------------------------------------------------------- 10 Recognition, 11 Insights
   The a16 reveal from the design (styles/home-v16.css), added by home-v18.js: up, pop, rise. */
:where(.dgn-v18-js) .dgn-v18-a16 {
	transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s;
	transition-delay: var(--a16d, 0s);
}
:where(.dgn-v18-js) .dgn-v18-a16:not(.is-in) { opacity: 0; }
:where(.dgn-v18-js) .dgn-v18-a16-up:not(.is-in) { transform: translateY(36px); }
:where(.dgn-v18-js) .dgn-v18-a16-pop:not(.is-in) { transform: scale(.85); }
:where(.dgn-v18-js) .dgn-v18-a16-rise:not(.is-in) { transform: translateY(56px) scale(.96); filter: blur(4px); }
/* hover is immediate once revealed (the design: .sl-c.a16-in:hover) */
:where(.dgn-v18-js) .dgn-v18-a16.is-in:hover { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
	.dgn-v18-js .dgn-v18-a16 { opacity: 1 !important; transform: none !important; filter: none !important; }
}
/* the design's ".v18 :is(h1,...,h6) { font-family: var(--hf) !important }" and main text colour, for these sections */
.dgn-v18-port:is(.v16-rec, .v16-ins, .v16-cta) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--hf) !important; }
.dgn-v18-port:is(.v16-rec, .v16-ins) { color: var(--fg-primary); }
/* section canvas as in the design: white, #07080A in dark */
.dgn-v18-port:is(.v16-rec, .v16-ins) { background: #fff; }
html[data-theme="dark"] .dgn-v18-port:is(.v16-rec, .v16-ins) { background: #07080a; }

/* ---------------------------------------------------------------- 12 Contact (Final CTA)
   The card renders the site's Gravity Forms contact form (form 1), styled as the design's form (.gt-card .gf):
   each field a rounded glass box with a small uppercase label, two columns (the form's own half/full widths),
   the privacy note and the send button on one row under a hairline. */
.dgn-v18-port.v16-cta .gt2 > *,
.dgn-v18-port.v16-cta .gt-card > * { margin-block: 0; }
.dgn-v18-port.v16-cta .gt-card :is(.gform_wrapper, .gform_wrapper.gform-theme) {
	margin: 0;
	--gf-form-gap-x: 14px;
	--gf-form-gap-y: 14px;
	color: #fff;
}
.dgn-v18-port.v16-cta .gt-card .gform_heading { margin: 0; }
.dgn-v18-port.v16-cta .gt-card .gform_required_legend {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.dgn-v18-port.v16-cta .gt-card .gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	gap: 14px !important;
}
.dgn-v18-port.v16-cta .gt-card .gform_fields > .gfield { grid-column: 1 / -1 !important; width: auto !important; max-width: none !important; margin: 0; }
.dgn-v18-port.v16-cta .gt-card .gform_fields > .gfield--width-half { grid-column: span 6 !important; }
.dgn-v18-port.v16-cta .gt-card .gform_fields > :is(.gform_hidden, .gfield--type-hidden, .gform_validation_container) { display: none !important; }

/* the field box */
.dgn-v18-port.v16-cta .gt-card .gfield:not(.gfield--type-html) {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 14px 18px 12px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 14px;
	background: rgba(255, 255, 255, .04);
	cursor: text;
	transition: border-color .3s, background .3s, box-shadow .3s;
}
.dgn-v18-port.v16-cta .gt-card .gfield:not(.gfield--type-html):hover { border-color: rgba(255, 255, 255, .2); }
.dgn-v18-port.v16-cta .gt-card .gfield:not(.gfield--type-html):focus-within {
	border-color: rgba(122, 155, 255, .7);
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 0 0 4px rgba(32, 81, 249, .18);
}
.dgn-v18-port.v16-cta .gt-card .gfield :is(.gfield_label, legend.gfield_label) {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	font: 600 11px/1 var(--font-body) !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #9ba1ae !important;
	transition: color .3s;
}
.dgn-v18-port.v16-cta .gt-card .gfield:focus-within .gfield_label { color: #fff !important; }
.dgn-v18-port.v16-cta .gt-card .gfield_required { margin-left: 2px; color: rgba(255, 255, 255, .45) !important; font: inherit; }
.dgn-v18-port.v16-cta .gt-card .gfield :is(input:not([type="file"]):not([type="hidden"]), select, textarea) {
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	font: 400 16px/1.4 var(--font-body) !important;
	color: #fff !important;
	appearance: none;
}
.dgn-v18-port.v16-cta .gt-card .gfield :is(input, textarea)::placeholder { color: #5f6573; opacity: 1; }
.dgn-v18-port.v16-cta .gt-card .gfield textarea { min-height: 72px !important; height: 90px !important; resize: vertical; }
.dgn-v18-port.v16-cta .gt-card .gfield input[type="number"] { -moz-appearance: textfield; }
.dgn-v18-port.v16-cta .gt-card .gfield input[type="number"]::-webkit-inner-spin-button,
.dgn-v18-port.v16-cta .gt-card .gfield input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; display: none; margin: 0; background: none !important; }
.dgn-v18-port.v16-cta .gt-card .gfield input:-webkit-autofill {
	-webkit-text-fill-color: #fff;
	caret-color: #fff;
	box-shadow: 0 0 0 40px #15171d inset !important;
}
/* select: the design's chevron, options readable in the native list */
.dgn-v18-port.v16-cta .gt-card .ginput_container_select { position: relative; }
.dgn-v18-port.v16-cta .gt-card .gfield select {
	padding-right: 24px;
	cursor: pointer;
	background-image: none !important;
}
.dgn-v18-port.v16-cta .gt-card .ginput_container_select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BA1AE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.dgn-v18-port.v16-cta .gt-card .gfield select:has(option[value=""]:checked) { color: #5f6573 !important; }
.dgn-v18-port.v16-cta .gt-card .gfield select option { color: #0b0d12; background: #fff; }
/* name: first and last in one box, split by a hairline; the sub-labels stay for screen readers */
.dgn-v18-port.v16-cta .gt-card .ginput_complex {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 0;
}
.dgn-v18-port.v16-cta .gt-card .ginput_complex > span { margin: 0; padding: 0; min-width: 0; }
.dgn-v18-port.v16-cta .gt-card .ginput_complex > span + span { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .1); }
.dgn-v18-port.v16-cta .gt-card .ginput_complex > span:first-child { padding-right: 18px; }
.dgn-v18-port.v16-cta .gt-card .gform-field-label--type-sub {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* file: a dashed box, the native picker button as the design's icon tile */
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload { border-style: dashed; cursor: pointer; }
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload:hover { border-color: rgba(255, 255, 255, .35); }
.dgn-v18-port.v16-cta .gt-card .gfield input[type="file"] {
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: 500 14px/1.2 var(--font-body);
	color: #c9cdd6;
	cursor: pointer;
}
.dgn-v18-port.v16-cta .gt-card .gfield input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 9px 14px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	font: 500 13px/1.2 var(--font-body);
	color: #fff;
	cursor: pointer;
	transition: background .25s;
}
.dgn-v18-port.v16-cta .gt-card .gfield input[type="file"]:hover::file-selector-button { background: rgba(255, 255, 255, .14); }
.dgn-v18-port.v16-cta .gt-card .gform_fileupload_rules {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.dgn-v18-port.v16-cta .gt-card .gfield_description:not(.validation_message):not(.gform_fileupload_rules) {
	margin: 0;
	padding: 0;
	font: 400 11px/1.2 var(--font-body) !important;
	color: #9ba1ae;
}
/* errors (the design's .gf.bad) */
.dgn-v18-port.v16-cta .gt-card .gfield.gfield_error { border-color: #ff6b6b; background: rgba(255, 255, 255, .04); }
.dgn-v18-port.v16-cta .gt-card .gfield.gfield_error .gfield_label { color: #ff8a8a !important; }
.dgn-v18-port.v16-cta .gt-card .validation_message {
	margin: 2px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font: 500 12px/1.4 var(--font-body) !important;
	color: #ff8a8a !important;
}
.dgn-v18-port.v16-cta .gt-card .gform_validation_errors {
	margin: 0 0 16px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 107, 107, .5);
	border-radius: 12px;
	background: rgba(255, 107, 107, .08);
	box-shadow: none;
}
.dgn-v18-port.v16-cta .gt-card .gform_validation_errors :is(h2, .gform_submission_error) {
	margin: 0;
	font: 500 14px/1.4 var(--font-body) !important;
	color: #ff8a8a !important;
}
.dgn-v18-port.v16-cta .gt-card .gform_confirmation_message {
	padding: 24px 0;
	font: 500 18px/1.4 var(--font-body);
	color: #fff;
}
/* privacy note + send button: one row under a hairline (the design's .gt-sb); stacked on phones */
.dgn-v18-port.v16-cta .gt-card form { position: relative; }
.dgn-v18-port.v16-cta .gt-card .gform_footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 10px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.dgn-v18-port.v16-cta .gt-card .dgn-form-privacy {
	position: absolute;
	left: 0;
	bottom: 24px;
	display: block;
	max-width: 260px;
	transform: translateY(50%);
	margin: 0;
	padding: 0;
	font: 400 12px/1.5 var(--font-body) !important;
	color: #9ba1ae;
}
.dgn-v18-port.v16-cta .gt-card .dgn-form-privacy a { color: #fff; text-decoration: none; font-weight: 600; }
.dgn-v18-port.v16-cta .gt-card .dgn-form-privacy a:hover { text-decoration: underline; }
.dgn-v18-port.v16-cta .gt-card .gform_button .dgn-button-icon { display: none; }
.dgn-v18-port.v16-cta .gt-card .gform_button { margin: 0; width: auto; cursor: pointer; }
.dgn-v18-port.v16-cta .gt-card .gform_ajax_spinner,
.dgn-v18-port.v16-cta .gt-card .gform-loader { margin-left: 12px; }
@media (max-width: 600px) {
	.dgn-v18-port.v16-cta .gt-card .gform_fields > .gfield--width-half { grid-column: 1 / -1 !important; }
	.dgn-v18-port.v16-cta .gt-card .gform_footer { justify-content: flex-start; }
	.dgn-v18-port.v16-cta .gt-card .dgn-form-privacy { position: static; transform: none; max-width: none; }
}

/* ---------------------------------------------------------------- Footer v18 (template part) */
.dgn-v18-port.dg-ft > * { margin-block: 0; }

/* the a16 "right" reveal (the form card) */
:where(.dgn-v18-js) .dgn-v18-a16-right:not(.is-in) { transform: translateX(48px); }

/* ---------------------------------------------------------------- Emphasis (em) in the v18 sections
   v8 has a sitewide WPCode CSS snippet that paints every <em> with a moving blue gradient and transparent text.
   The design's emphasis is plain colour (dark, white or muted per section), so inside the v18 sections the
   snippet's gradient is switched off and the text keeps the colour the section rules give it. */
.dgn-v18 em,
.dgn-v18-port em,
.dgn-v18-hd em {
	background: none !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
	-webkit-text-fill-color: currentColor !important;
	animation: none !important;
	font-family: inherit !important; /* the snippet also forces "Nunito Sans" on every em */
}
/* the snippet also sets "em { color: transparent }"; where no section rule colours the em, it inherits again
   (two-element weight: beats the snippet's bare "em", loses to every class-based section rule) */
:where(.dgn-v18, .dgn-v18-port, .dgn-v18-hd) :is(h1, h2, h3, h4, h5, h6, p, span, a, li, div, button, blockquote, figcaption) em { color: inherit; }
/* Testimonials: the client names in the deck list are brand blue in the design (its ".v18 em" loads after
   ".dg-deck-names em"); the port's base em rule loads first, so restate it here. */
.dgn-v18-port .dg-deck-names em { color: var(--b, #2051f9); }

/* ---------------------------------------------------------------- 12 Contact: themed dropdowns (home-v18.js)
   The native select stays in the form, visually hidden; the button shows the value like the other inputs and the
   listbox opens under the field box: as wide as the box, dark glass panel, options inset 18px like the field text. */
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd { position: relative; cursor: pointer; }
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd.is-open { z-index: 30; }
.dgn-v18-port.v16-cta .gt-card .gfield select.dgn-v18-dd__native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0;
	pointer-events: none;
}
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__btn {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 24px 0 0;
	border: 0;
	background: none;
	font: 400 16px/1.4 var(--font-body);
	color: #fff;
	text-align: left;
	cursor: pointer;
	outline: none;
}
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__btn.is-empty { color: #5f6573; }
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__val { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd:has(.dgn-v18-dd__btn:focus-visible) {
	border-color: rgba(122, 155, 255, .7);
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 0 0 4px rgba(32, 81, 249, .18);
}
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd.is-open {
	border-color: rgba(122, 155, 255, .7);
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 0 0 4px rgba(32, 81, 249, .18);
}
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd.is-open .gfield_label { color: #fff !important; }
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd .ginput_container_select::after { transition: transform .25s ease; }
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd.is-open .ginput_container_select::after { transform: rotate(180deg); }
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__list {
	position: absolute;
	z-index: 30;
	top: calc(100% + 8px);
	left: -1px;
	right: -1px;
	max-height: 288px;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: #15171d;
	box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .7, .2, 1), visibility .2s;
	outline: none;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd.is-open .dgn-v18-dd__list { opacity: 1; visibility: visible; transform: none; }
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__opt {
	position: relative;
	margin: 0;
	padding: 11px 40px 11px 12px; /* 6px panel + 12px = the field's 18px text inset */
	border-radius: 9px;
	font: 400 15px/1.35 var(--font-body);
	color: #c9cdd6;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__opt.is-active { background: rgba(255, 255, 255, .07); color: #fff; }
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__opt[aria-selected="true"] { color: #fff; font-weight: 500; }
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__opt[aria-selected="true"]::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A9BFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (prefers-reduced-motion: reduce) {
	.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__list { transition: none; }
}
/* the panel hangs off the whole field box (not the inner select wrapper) and is visible at once when opened, so
   focus can move into it; the chevron sits on the value line, 18px from the box edge */
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd .ginput_container_select { position: static; }
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd .ginput_container_select::after { top: auto; right: 18px; bottom: 16px; margin-top: 0; }
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd.is-open .dgn-v18-dd__list { transition: opacity .2s ease, transform .25s cubic-bezier(.2, .7, .2, 1), visibility 0s; }

/* ---------------------------------------------------------------- 12 Contact: the Home contact form, as designed
   Design (FinalCta16): no required asterisks (aria-required stays on the inputs); an empty select reads "Select" in
   white; the file field is the "Attach a brief" tile: paperclip tile, bold title, small hint, the whole tile is the
   picker. home-v18.js shows the chosen file's name in the title. */
.dgn-v18-port.v16-cta .gt-card .gfield_required { display: none; }
.dgn-v18-port.v16-cta .gt-card .dgn-v18-dd__btn.is-empty { color: #fff; }
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload {
	position: relative;
	display: grid !important;
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 14px;
	row-gap: 4px;
	align-content: center;
	align-items: center;
	padding: 12px 18px !important;
	color: #c9cdd6;
}
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.dgn-v18-port.v16-cta .gt-card .gfield.gfield--type-fileupload label.gfield_label {
	grid-column: 2;
	grid-row: 1;
	overflow: hidden;
	font: 500 14px/1.2 var(--font-body) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #fff !important;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload > .gfield_description {
	grid-column: 2;
	grid-row: 2;
}
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload .ginput_container_fileupload {
	position: absolute;
	inset: 0;
	margin: 0;
}
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload .ginput_container_fileupload .validation_message { display: none; }
.dgn-v18-port.v16-cta .gt-card .gfield--type-fileupload:focus-within {
	border-color: rgba(122, 155, 255, .7);
	box-shadow: 0 0 0 4px rgba(32, 81, 249, .18);
}
/* chevron on the value line whatever the box height (14px padding + 11px label + 6px gap + half a 22px line - 8px) */
.dgn-v18-port.v16-cta .gt-card .gfield.dgn-v18-dd .ginput_container_select::after { top: 34px; bottom: auto; }
/* validation summary: one hairline border, the warning icon in line with the text */
.dgn-v18-port.v16-cta .gt-card .gform_validation_errors {
	border: 1px solid rgba(255, 107, 107, .5) !important;
	outline: 0 !important;
	box-shadow: none !important;
}
.dgn-v18-port.v16-cta .gt-card .gform_validation_errors > h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 !important;
}
.dgn-v18-port.v16-cta .gt-card .gform_validation_errors > h2 .gform-icon {
	position: static !important;
	flex: none;
	inset: auto !important;
	margin: 0 !important;
	transform: none !important;
}

/* ---------------------------------------------------------------- Phones: header fit, spacing, overflow fixes
   (2026-12-02 mobile pass) */

/* Header: the logo shrinks on narrow phones so the theme toggle and the burger stay inside the bar (at 320px the
   206px logo pushed the burger 11px past the screen and the whole page scrolled sideways). */
.dgn-v18-hd .dgn-v18-theme,
.dgn-v18-hd .dgn-v18-burger { flex: none; }
.dgn-v18-hd figure.dgn-v18-hd__logo { min-width: 0; flex: 0 1 auto; }
@media (max-width: 380px) {
	.dgn-v18-hd figure.dgn-v18-hd__logo img { height: clamp(20px, 7vw, 28px); width: auto; max-width: 100%; }
	.dgn-v18-hd .dgn-v18-hd__in.wp-block-group { gap: 10px; padding: 0 6px 0 14px; }
}

@media (max-width: 760px) {
	/* Less space under the header: no gap before the page content, a smaller hero top */
	body.v18 main.wp-block-group:has(.dgn-v18-hero) { margin-block-start: 0 !important; }
	/* the design ports weigh up to 7 ids (:not(#_a)... chains); these mobile rules carry 8-9 to win */
	body.v18 section.dgn-v18.dgn-v18-hero.wp-block-group:not(#_m1):not(#_m2):not(#_m3):not(#_m4):not(#_m5):not(#_m6):not(#_m7):not(#_m8) { padding-top: 24px !important; }
	body.v18 .dgn-v18-hero .dgn-v18-hero__in.wp-block-group { margin-top: 16px !important; }

	/* Every section a little tighter: 48px above and below (was 64-80px; two sections met with 128-160px of space) */
	body.v18 section:is(#clients, #services, #solutions, #industries, #work, #process, #why, #testimonials, #recognition, #insights, #contact).dgn-v18:not(#_m1):not(#_m2):not(#_m3):not(#_m4):not(#_m5):not(#_m6):not(#_m7):not(#_m8) {
		padding-top: 48px !important;
		padding-bottom: 48px !important;
	}

	/* Contact: the email and phone cards fit the column (the design's .gt-ct had min-width: 340px) and long
	   addresses shrink instead of running out of the card */
	.dgn-v18-port.v16-cta .gt-ct { min-width: 0; }
	.dgn-v18-port.v16-cta .gt-ct .gt-c { min-width: 0; }
	.dgn-v18-port.v16-cta .gt-ct .tx2 { min-width: 0; flex: 1 1 auto; }
	.dgn-v18-port.v16-cta .gt-ct .tx2 .v { display: block; font-size: clamp(13px, 4.1vw, 18px); overflow-wrap: anywhere; }

	/* Work card figures (Stable / Minimal / 301) scale with the screen so the three columns never collide */
	.dgn-v18-hcard .st .sv { font-size: clamp(15px, 5vw, 22px); overflow-wrap: anywhere; }

	/* Work: the counter shortens (ellipsis) so "Scroll to explore" never runs off the screen */
	.dgn-v18-work .dgn-v18-work__foot { gap: 16px; }
	.dgn-v18-work__foot .cnt { min-width: 0; overflow: hidden; }
	.dgn-v18-work__foot .cnt .nm { overflow: hidden; text-overflow: ellipsis; }
	.dgn-v18-work__foot .hint { flex: none; }
}

/* Contact: the Cloudflare check (a fixed 300px frame) is scaled down by home-v18.js to fit the card; it keeps its own
   row above the button, and the privacy note stays on the button's row. */
.dgn-v18-port.v16-cta .gt-card .gform_footer { flex-wrap: wrap; row-gap: 14px; }
.dgn-v18-port.v16-cta .gt-card .gform_footer .digikit-turnstile { flex: 0 0 100%; max-width: 100%; transform-origin: left top; }
/* until the widget renders, the box takes no room; not display:none, which would keep the plugin's viewport check
   (IntersectionObserver) from ever loading Turnstile, so every submission failed the human check */
.dgn-v18-port.v16-cta .gt-card .gform_footer .digikit-turnstile:empty { height: 1px; margin: 0; overflow: hidden; }

/* Client voices on phones and tablets: the cards are a sideways swipe row; a counter and "Scroll to explore" under
   it, like Work (home-v18.js adds it only while the row scrolls). */
.dgn-v18-port .dgn-v18-tst__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 20px;
}
.dgn-v18-port .dgn-v18-tst__foot .cnt,
.dgn-v18-port .dgn-v18-tst__foot .hint {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 500 12px/1 var(--v18-bf, var(--font-body));
	letter-spacing: .08em;
	white-space: nowrap;
	color: var(--fg-muted, #6b7184);
}
.dgn-v18-port .dgn-v18-tst__foot .cnt { min-width: 0; overflow: hidden; }
.dgn-v18-port .dgn-v18-tst__foot .cnt .nm { overflow: hidden; text-overflow: ellipsis; }
.dgn-v18-port .dgn-v18-tst__foot .cnt b { font-weight: 600; color: var(--fg-primary, #07080a); }
.dgn-v18-port .dgn-v18-tst__foot .hint { flex: none; }
.dgn-v18-port .dgn-v18-tst__foot .hint svg { transition: transform .3s; }
.dgn-v18-port .dgn-v18-tst__foot.is-end .hint svg { transform: rotate(180deg); }

/* Contact cards on narrow phones: a smaller icon and gaps so the address stays on one line */
@media (max-width: 380px) {
	.dgn-v18-port.v16-cta .gt-ct .gt-c { gap: 12px; padding: 12px 14px 12px 12px; }
	.dgn-v18-port.v16-cta .gt-ct .ic { width: 40px; height: 40px; }
}
/* Phones: the hero sizes to its content (the near-full-screen height left ~300px empty under the buttons; the flying
   cards that use that room run on desktop only) */
@media (max-width: 760px) {
	body.v18 section.dgn-v18.dgn-v18-hero.wp-block-group:not(#_m1):not(#_m2):not(#_m3):not(#_m4):not(#_m5):not(#_m6):not(#_m7):not(#_m8) {
		min-height: 0;
		padding-bottom: 56px !important;
	}
}
/* Tablets up to 900px: the flying cards are off there too, so the hero also sizes to its content */
@media (min-width: 761px) and (max-width: 900px) {
	body.v18 section.dgn-v18.dgn-v18-hero.wp-block-group:not(#_m1):not(#_m2):not(#_m3):not(#_m4):not(#_m5):not(#_m6):not(#_m7):not(#_m8) {
		min-height: 0;
		padding-bottom: 72px !important;
	}
}

/* ---------------------------------------------------------------- Phones, pass 2 (2026-12-02): text overlaps */
@media (max-width: 760px) {
	/* Hero left-aligned like every other section's heading */
	.dgn-v18-hero.wp-block-group { place-items: start stretch; }
	.dgn-v18-hero .dgn-v18-hero__in.wp-block-group {
		align-items: flex-start;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		text-align: left;
	}
	.dgn-v18-hero h1.wp-block-heading.dgn-v18-hero__h,
	.dgn-v18-hero p.dgn-v18-hero__p { text-align: left; margin-left: 0; margin-right: 0; }
	.dgn-v18-hero .dgn-v18-hero__ctas.wp-block-buttons { justify-content: flex-start !important; }

	/* Wrapped small labels get a real line height (they were 1, so two lines touched) */
	.dgn-v18-port.v16-cta .gt-card .gfield.gfield label.gfield_label,
	.dgn-v18-port.v16-cta .gt-card .gfield.gfield legend.gfield_label { line-height: 1.3 !important; }
	.dgn-v18-svc .dgn-v18-svc-all .dgn-v18-ey { line-height: 1.3; }
	.dgn-v18-hcard .cl { line-height: 1.35; }

	/* Why · Modern technology: badge and chips stack instead of the chips (absolutely placed) climbing into the badge
	   when they wrap to two rows */
	.dgn-v18-port .w18-v:has(.w18-ai) {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 14px;
	}
	.dgn-v18-port .w18-v:has(.w18-ai) .w18-ai { position: static; transform: none; }
	.dgn-v18-port .w18-v:has(.w18-ai) .w18-stack { position: static; padding: 0 12px; }
}

@media (max-width: 480px) {
	/* Counter and "Scroll to explore" on two rows (Work and Client voices), so they never collide */
	.dgn-v18-work .dgn-v18-work__foot,
	.dgn-v18-port .dgn-v18-tst__foot {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 10px;
	}
	.dgn-v18-work__foot .cnt,
	.dgn-v18-port .dgn-v18-tst__foot .cnt { max-width: 100%; }

	/* Services stats: number above its label, so labels never run into the divider or off the screen */
	.dgn-v18 .dgn-v18-stats > .dgn-v18-st.wp-block-group {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		min-width: 0;
	}
	.dgn-v18 p.dgn-v18-st__n { font-size: clamp(30px, 9vw, 40px); }
	.dgn-v18 p.dgn-v18-st__l { max-width: none; }
}

/* ================================================================ Core-block versions of the ported sections
   Sections 07-12 and the footer were Custom HTML; they are now core blocks (Group, Heading, Paragraph, Image, Buttons,
   Quote) carrying the design's class names. These rules cover what the blocks changed: elements that became blocks
   (spans -> paragraphs, links -> buttons, inline SVG icons -> CSS), so the sections render as before. */

/* Eyebrow markers: the design's empty <i> square is now drawn by CSS */
.dgn-v18-port :is(.rc-hd, .ins-h) .ey::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--fg-primary);
}

/* 10 Recognition: the CTA is a core button (the design pill) */
.dgn-v18-port .rc-hd > * { margin: 0; }
.dgn-v18-port .rc-hd__t .ey { display: flex; }
.dgn-v18-port .rc > .rc-i { margin: 0; }
.dgn-v18-port .rc .lg.wp-block-image { margin: 0 0 14px; }
.dgn-v18-port .rc .lg.wp-block-image img { width: auto; height: auto; }

/* 11 Insights: card = group; the image and the title link to the post, and the title's link covers the whole card */
.dgn-v18-port .ins-h__cta { margin-top: 6px; }
.dgn-v18-port .ins-c { color: inherit; }
.dgn-v18-port .ins-c .m.wp-block-image { margin: 0; }
.dgn-v18-port .ins-c .m.wp-block-image a { display: block; height: 100%; }
.dgn-v18-port .ins-c .m.wp-block-image img { height: 100%; }
.dgn-v18-port .ins-c h3 a { color: inherit; text-decoration: none; }
.dgn-v18-port .ins-c h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.dgn-v18-port .ins-c h3 a:focus-visible { outline: none; }
.dgn-v18-port .ins-c:has(h3 a:focus-visible) { outline: 2px solid var(--brand-blue); outline-offset: 4px; border-radius: 12px; }
/* the arrow (was an inline SVG) */
.dgn-v18-port .ins-c::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 20px;
	width: 18px;
	height: 18px;
	background: currentColor;
	color: var(--fg-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: transform .3s, color .3s;
}
.dgn-v18-port .ins-c:hover::after { color: var(--brand-blue); transform: translate(2px, -2px); }
/* the design's pill link sat at the top of its row (.dg-cl.dg-pc { align-self: flex-start }); its Buttons block too */
.dgn-v18-port :is(.rc-hd__cta, .ins-h__cta).wp-block-buttons { align-self: flex-start; }

/* 09 Testimonials (core blocks): the deck's card count and each card's stack index and tilt (were inline styles) */
.dgn-v18-port .dg-deck { --n: 5; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(1) { --i: 0; --r: -2.5; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(2) { --i: 1; --r: 2; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(3) { --i: 2; --r: -1.2; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(4) { --i: 3; --r: 2.8; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(5) { --i: 4; --r: -1.8; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(6) { --i: 5; --r: 2; }
.dgn-v18-port .dg-deck > .dg-dcard:nth-child(7) { --i: 6; --r: -2; }
/* the quote: a Quote block whose paragraph takes the card's quote type; no theme quote border */
.dgn-v18-port .dg-dcard .wp-block-quote { border: 0; padding: 0; font-style: normal; quotes: none; }
.dgn-v18-port .dg-dcard .wp-block-quote p { margin: 0; font: inherit !important; letter-spacing: inherit; color: inherit; }
/* the quote icon (was an SVG in .mk): the circle is .hd::before, the icon .hd::after, coloured per card style */
.dgn-v18-port .dg-dcard .hd { position: relative; }
.dgn-v18-port .dg-dcard .hd::before { content: ""; flex: none; }
.dgn-v18-port .dg-dcard .hd::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 42px;
	height: 42px;
	transform: translateY(-50%);
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / 22px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.dgn-v18-port .dg-dcard.s1 .hd::after { background: var(--brand-blue); }
/* caption: image block + name/role paragraphs */
.dgn-v18-port .dg-dcard .fc .av.wp-block-image { margin: 0; }
.dgn-v18-port .dg-dcard .fc__t { min-width: 0; }
/* client list: a List block (the script builds each row's button); no theme list padding/markers */
.dgn-v18-port ol.dg-deck-names.wp-block-list { padding: 0; margin: 0; list-style: none; }
.dgn-v18-port .dg-deck-names > li { margin: 0; }
.dgn-v18-port .dg-eh-r__cta.wp-block-buttons { align-self: flex-start; }
/* the eyebrow paragraph is the row itself (the design's inline-flex was for the label span inside a flex row) */
.dgn-v18-port p.dg-eh-rule.dg-eh-rule { display: flex; }

/* 08 Why (core blocks): per-item values that were inline styles, and the CTA's place in the head row */
.dgn-v18-port .w18-why-hd__cta.wp-block-buttons { align-self: flex-end; }
.dgn-v18-port .w18-bento > .w18-bx:nth-child(1) { --i: 0; }
.dgn-v18-port .w18-bento > .w18-bx:nth-child(2) { --i: 1; }
.dgn-v18-port .w18-bento > .w18-bx:nth-child(3) { --i: 2; }
.dgn-v18-port .w18-bento > .w18-bx:nth-child(4) { --i: 3; }
.dgn-v18-port .w18-bento > .w18-bx:nth-child(5) { --i: 4; }
.dgn-v18-port .w18-list > .li:nth-child(2) { --i: 0; }
.dgn-v18-port .w18-list > .li:nth-child(3) { --i: 1; }
.dgn-v18-port .w18-list > .li:nth-child(4) { --i: 2; }
.dgn-v18-port .w18-stack > p:nth-child(1) { --i: 0; }
.dgn-v18-port .w18-stack > p:nth-child(2) { --i: 1; }
.dgn-v18-port .w18-stack > p:nth-child(3) { --i: 2; }
.dgn-v18-port .w18-stack > p:nth-child(4) { --i: 3; }
.dgn-v18-port .w18-stack > p:nth-child(5) { --i: 4; }
.dgn-v18-port .w18-chart > .w18-bar:nth-child(1) { height: 30%; --i: 0; }
.dgn-v18-port .w18-chart > .w18-bar:nth-child(2) { height: 44%; --i: 1; }
.dgn-v18-port .w18-chart > .w18-bar:nth-child(3) { height: 58%; --i: 2; }
.dgn-v18-port .w18-chart > .w18-bar:nth-child(4) { height: 74%; --i: 3; }
.dgn-v18-port .w18-chart > .w18-bar:nth-child(5) { height: 92%; --i: 4; }
.dgn-v18-port .w18-wire .sw > .w18-swb:nth-child(1) { background: rgb(32, 81, 249); }
.dgn-v18-port .w18-wire .sw > .w18-swb:nth-child(2) { background: rgb(255, 213, 74); }
.dgn-v18-port .w18-wire .sw > .w18-swb:nth-child(3) { background: rgb(251, 146, 60); }
.dgn-v18-port .w18-wire .sw > .w18-swb:nth-child(4) { background: rgb(52, 211, 153); }
.dgn-v18-port .w18-ini > p:nth-child(1) { --c: #FFD54A; }
.dgn-v18-port .w18-ini > p:nth-child(2) { --c: #8AB4FF; }
.dgn-v18-port .w18-ini > p:nth-child(3) { --c: #34D399; }
.dgn-v18-port .w18-ini > p { margin-top: 0; margin-bottom: 0; }
.dgn-v18-port .w18-ai.wp-block-paragraph b,
.dgn-v18-port .w18-ai b { font-weight: inherit; }

/* 07 Process (core blocks): panels, step circles, icon sizes and the per-item values that were inline styles */
.dgn-v18-port .p21-det:not(.is-on) { display: none; }
.dgn-v18-port .p21-flow { --k: 0; }
.dgn-v18-port .p21-s { cursor: pointer; }
.dgn-v18-port .p21-s:focus-visible { outline: 2px solid var(--b, #2051f9); outline-offset: 4px; border-radius: 12px; }
.dgn-v18-port .p21-s .nd::before { width: 20px; height: 20px; }
.dgn-v18-port .p21-s.done .nd { --dg-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.dgn-v18-port .p21-ic.dg-ic::before { width: 24px; height: 24px; }
.dgn-v18-port .p21-chips > p.dg-ic::before { width: 13px; height: 13px; }
.dgn-v18-port .p21-dr .o.dg-ic::before { width: 15px; height: 15px; }
.dgn-v18-port .vz-hub .core.dg-ic::before { width: 18px; height: 18px; }
.dgn-v18-port .vz-loop .core.dg-ic::before { width: 20px; height: 20px; }
.dgn-v18-port .vz-wire .cur.dg-ic::before { width: 18px; height: 18px; }
.dgn-v18-port .vz-wire .cur { display: grid; }
.dgn-v18-port .vz-pipe .st.dg-ic::before,
.dgn-v18-port .vz-chart .tag.dg-ic::before { width: 14px; height: 14px; }
.dgn-v18-port .vz-hub::before,
.dgn-v18-port .vz-chart::before { pointer-events: none; }
.dgn-v18-port .p21-dr .o:nth-child(2) { --i: 0; }
.dgn-v18-port .p21-dr .o:nth-child(3) { --i: 1; }
.dgn-v18-port .p21-dr .o:nth-child(4) { --i: 2; }
.dgn-v18-port .vz-gantt .row:nth-child(1) .gb { left: 0%; width: 30%; --k: 0; }
.dgn-v18-port .vz-gantt .row:nth-child(2) .gb { left: 18%; width: 34%; --k: 1; }
.dgn-v18-port .vz-gantt .row:nth-child(3) .gb { left: 40%; width: 30%; --k: 2; }
.dgn-v18-port .vz-gantt .row:nth-child(4) .gb { left: 62%; width: 32%; --k: 3; }
.dgn-v18-port .vz-pipe > .st:nth-child(1) { --k: 0; }
.dgn-v18-port .vz-pipe > .ln:nth-child(2), .dgn-v18-port .vz-pipe > .st:nth-child(3) { --k: 1; }
.dgn-v18-port .vz-pipe > .ln:nth-child(4), .dgn-v18-port .vz-pipe > .st:nth-child(5) { --k: 2; }
.dgn-v18-port .vz-pipe > .ln:nth-child(6), .dgn-v18-port .vz-pipe > .st:nth-child(7) { --k: 3; }
.dgn-v18-port .vz-pipe .code > .ci:nth-child(1) { width: 62%; }
.dgn-v18-port .vz-pipe .code > .ci:nth-child(2) { width: 40%; margin-left: 8%; }
.dgn-v18-port .vz-pipe .code > .ci:nth-child(3) { width: 54%; margin-left: 8%; }
.dgn-v18-port .vz-pipe .code > .ci:nth-child(4) { width: 30%; }
.dgn-v18-port .vz-chart > .vb:nth-child(1) { height: 34%; --k: 0; }
.dgn-v18-port .vz-chart > .vb:nth-child(2) { height: 48%; --k: 1; }
.dgn-v18-port .vz-chart > .vb:nth-child(3) { height: 40%; --k: 2; }
.dgn-v18-port .vz-chart > .vb:nth-child(4) { height: 60%; --k: 3; }
.dgn-v18-port .vz-chart > .vb:nth-child(5) { height: 54%; --k: 4; }
.dgn-v18-port .vz-chart > .vb:nth-child(6) { height: 76%; --k: 5; }
.dgn-v18-port .vz-chart > .vb:nth-child(7) { height: 70%; --k: 6; }
.dgn-v18-port .vz-chart > .vb:nth-child(8) { height: 88%; --k: 7; }
.dgn-v18-port .vz .core { white-space: nowrap; }

/* 12 Contact (core blocks): contact cards are groups; the address/number link covers the card; icons are CSS */
.dgn-v18-port .gt-l2 > p.gt-ey { display: inline-flex; }
.dgn-v18-port .gt-ey::before { content: ""; flex: none; }
.dgn-v18-port .gt-ct .gt-c { color: rgb(255, 255, 255); }
.dgn-v18-port .gt-ct .tx2 .v a { color: inherit; text-decoration: none; }
.dgn-v18-port .gt-ct .tx2 .v a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dgn-v18-port .gt-ct .tx2 .v a:focus-visible { outline: none; }
.dgn-v18-port .gt-ct .gt-c:has(.v a:focus-visible) { outline: 2px solid #7a9bff; outline-offset: 3px; }
.dgn-v18-port .gt-ct .ic.dg-ic::before { width: 20px; height: 20px; }
.dgn-v18-port .gt-ct .ic::after { content: ""; }
.dgn-v18-port .gt-ct .gt-c::after {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dgn-v18-port .gt-as > p.dg-ic::before { width: 16px; height: 16px; }
.dgn-v18-port .gt-ct .tx2 > p { margin: 0; }

/* Footer v18 (core blocks): link rows are paragraphs; email/phone icons are CSS; Social Icons block; bottom bar */
.dgn-v18-port.dg-ft .dg-ft-b .dg-ft-logo.wp-block-image { margin: 0; }
.dgn-v18-port.dg-ft .dg-ft-b .dg-ft-logo img { width: auto; }
.dgn-v18-port.dg-ft .dg-ft-c > p { margin: 0; font-size: 14px; line-height: 1.35; }
.dgn-v18-port.dg-ft .dg-ft-b .ct > p { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 15px/1 var(--font-body); color: rgb(230, 233, 240); }
.dgn-v18-port.dg-ft .dg-ft-b .ct > p::before { width: 16px; height: 16px; }
.dgn-v18-port.dg-ft .dg-ft-b .ct a { color: inherit; text-decoration: none; }
.dgn-v18-port.dg-ft .dg-ft-b .ct a:hover { color: #fff; }
.dgn-v18-port.dg-ft .ft-cta.wp-block-buttons { margin-top: 22px; }
.dgn-v18-port.dg-ft .dg-soc.wp-block-social-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-bottom: 0; }
.dgn-v18-port.dg-ft .dg-soc .wp-social-link { margin: 0; padding: 0; border-radius: 50%; background: none !important; color: inherit; }
.dgn-v18-port.dg-ft .dg-soc.wp-block-social-links .wp-block-social-link-anchor { padding: 0; }
.dgn-v18-port.dg-ft .dg-ft-bt p { margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.dgn-v18-port.dg-ft .dg-ft-bt a { text-decoration: none; }
.dgn-v18-port.dg-ft p.dg-ft-top { position: relative; }
.dgn-v18-port.dg-ft p.dg-ft-top a { position: absolute; inset: 0; border-radius: 50%; font-size: 0; color: transparent; }
.dgn-v18-port.dg-ft p.dg-ft-top::before {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 05 Industries (core blocks): bubbles are groups (name paragraph, icon ::before), cards are groups whose title link
   covers the card; the bubble sizes/colours were inline styles */
.dgn-v18-bub > :nth-child(1) { --c: #2A2D35; --s: 92px; --i: 0; }
.dgn-v18-bub > :nth-child(2) { --c: #5B606C; --s: 72px; --i: 1; }
.dgn-v18-bub > :nth-child(3) { --c: #A3A7B1; --s: 58px; --i: 2; }
.dgn-v18-bub > :nth-child(4) { --c: #E3E4E8; --s: 46px; --i: 3; }
.dgn-v18-bub > :nth-child(5) { --i: 4; }
.dgn-v18-bub > * { margin-top: 0; margin-bottom: 0; }
.dgn-v18-bub .bb.dg-ic::before { width: 16px; height: 16px; }
.dgn-v18-bub .bb:nth-child(-n+2).dg-ic::before { width: 20px; height: 20px; }
.dgn-v18-bub .em { margin: 0; }
.dgn-v18-ind-c .top > *, .dgn-v18-ind-c .bd > * { margin-top: 0; margin-bottom: 0; }
.dgn-v18-ind-c .ic.dg-ic::before { width: 22px; height: 22px; }
.dgn-v18-ind-c .ar.dg-ic::before { width: 18px; height: 18px; }
.dgn-v18-ind-c .ar { display: grid; }
.dgn-v18-ind-c .bd .h3 { margin: 0; }
.dgn-v18-ind-c .h3 a { color: inherit; text-decoration: none; }
.dgn-v18-ind-c .h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dgn-v18-ind-c .h3 a:focus-visible { outline: none; }
.dgn-v18-ind-c:has(.h3 a:focus-visible) { outline: 2px solid var(--v18-blue); outline-offset: -2px; }
.dgn-v18-ind-c .p.wp-block-paragraph { margin-top: 6px; }

/* 04 Solutions (core blocks): card = group (title link covers it), visual labels are paragraphs, bars/ring locked
   groups, avatars images; per-item values that were inline styles */
.dgn-v18-sl-c > *, .dgn-v18-sl-c .bd > *, .dgn-v18-sl-c .hd > *, .dgn-v18-sl-c .w18-p > *, .dgn-v18-sl-c .w18-card > * { margin-top: 0; margin-bottom: 0; }
.dgn-v18-sl-c .hd .h3 { margin: 0; }
.dgn-v18-sl-c .h3 a { color: inherit; text-decoration: none; }
.dgn-v18-sl-c .h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.dgn-v18-sl-c .h3 a:focus-visible { outline: none; }
.dgn-v18-sl-c:has(.h3 a:focus-visible) { outline: 2px solid var(--v18-blue); outline-offset: 2px; }
.dgn-v18-sl-c .ic.dg-ic::before { width: 20px; height: 20px; }
.dgn-v18-sl-c .go::after { content: ""; width: 16px; height: 16px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.dgn-v18-sl-c .w18-mini.dg-ic::before { width: 16px; height: 16px; }
.dgn-v18-sl-c .w18-mini.dg-ic--sol-heart::before { color: #F472B6; }
.dgn-v18-sl-c .w18-seg .lg > p::before { content: ""; flex: none; }
.dgn-v18-sl-c .w18-seg .bars > .sb:nth-child(1) { width: 44%; background: #FB923C; --i: 0; }
.dgn-v18-sl-c .w18-seg .bars > .sb:nth-child(2) { width: 30%; background: #FFD54A; --i: 1; }
.dgn-v18-sl-c .w18-seg .bars > .sb:nth-child(3) { width: 18%; background: #34D399; --i: 2; }
.dgn-v18-sl-c .w18-seg .lg > p:nth-child(1)::before { background: #FB923C; }
.dgn-v18-sl-c .w18-seg .lg > p:nth-child(2)::before { background: #FFD54A; }
.dgn-v18-sl-c .w18-seg .lg > p:nth-child(3)::before { background: #34D399; }
.dgn-v18-sl-c .w18-avs > figure { margin: 0; flex: none; }
.dgn-v18-sl-c .w18-avs > :first-child img { margin-left: 0; }
.dgn-v18-sl-c .w18-chart > .cb:nth-child(1) { height: 46%; --i: 0; }
.dgn-v18-sl-c .w18-chart > .cb:nth-child(2) { height: 70%; --i: 1; }
.dgn-v18-sl-c .w18-chart > .cb:nth-child(3) { height: 58%; --i: 2; }
.dgn-v18-sl-c .w18-chart > .cb:nth-child(4) { height: 88%; --i: 3; }
.dgn-v18-sl-c .w18-chart > .cb:nth-child(5) { height: 64%; --i: 4; }
.dgn-v18-sl-c .w18-tag::before { content: ""; flex: none; background: #34D399; }
.dgn-v18-sl > .dgn-v18-sl-c:nth-child(1) { --i: 0; }
.dgn-v18-sl > .dgn-v18-sl-c:nth-child(2) { --i: 1; }
.dgn-v18-sl > .dgn-v18-sl-c:nth-child(3) { --i: 2; }
.dgn-v18-sl > .dgn-v18-sl-c:nth-child(4) { --i: 3; }
/* the progress ring (was an SVG circle drawing to 70%): a conic ring that fills the same way */
@property --dgn-rp { syntax: "<number>"; inherits: false; initial-value: 0; }
.dgn-v18-sl-c .w18-donut .rg {
	transform: none;
	border-radius: 50%;
	background: conic-gradient(#34d399 calc(var(--dgn-rp) * 1%), #e7f8ef 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 8px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 8px));
	animation: dgnV18RingFill 1.6s .3s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes dgnV18RingFill { to { --dgn-rp: 70; } }
@media (prefers-reduced-motion: reduce) { .dgn-v18-sl-c .w18-donut .rg { animation: none; --dgn-rp: 70; } }
.dgn-v18-sl-c .w18-donut .c.dg-ic::before { width: 18px; height: 18px; }

/* 06 Work (core blocks): cover = linked image (+ number paragraph), figures and link are paragraphs; the short name
   for the counter is a paragraph shown only in the editor */
.dgn-v18-hcard .short { display: none; }
.editor-styles-wrapper .dgn-v18-hcard .short { display: block; font: 500 11px/1.3 var(--v18-bf); color: var(--v18-mut); }
.dgn-v18-hcard .st > div > * { margin-top: 0; margin-bottom: 0; }
.dgn-v18-hcard .media .mi.wp-block-image { margin: 0; height: 100%; }
.dgn-v18-hcard .media .mi.wp-block-image a { display: block; height: 100%; }
.dgn-v18-hcard .go a::after { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.dgn-v18-hcard .go { margin: 0; }

/* 01 Hero + 03 Services (core blocks): orb rings/dots and chip bars are locked groups; the ring chip is a conic ring;
   service cards are groups whose title link covers the card; per-card positions were inline styles */
.dgn-v18-hero .dgn-v18-chip--grow .hd::before { content: ""; flex: none; background: #e7f8ef url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23059669'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M16%207h6v6'%2F%3E%3Cpath%20d%3D'm22%207-8.5%208.5-5-5L2%2017'%2F%3E%3C%2Fsvg%3E") center / 14px no-repeat; }
.dgn-v18-hero .dgn-v18-chip > * { margin: 0; }
.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb:nth-child(1) { height: 34%; --i: 0; }
.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb:nth-child(2) { height: 48%; --i: 1; }
.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb:nth-child(3) { height: 42%; --i: 2; }
.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb:nth-child(4) { height: 66%; --i: 3; }
.dgn-v18-hero .dgn-v18-chip--grow .bars > .gb:nth-child(5) { height: 90%; --i: 4; }
@property --dgn-hr { syntax: "<number>"; inherits: false; initial-value: 0; }
.dgn-v18-hero .dgn-v18-chip--ring .rgc {
	transform: none;
	border-radius: 50%;
	background: conic-gradient(var(--v18-orange) calc(var(--dgn-hr) * 1%), #ffe8d6 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
	animation: dgnV18HeroRing 1.6s 1.3s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes dgnV18HeroRing { to { --dgn-hr: 78; } }
@media (prefers-reduced-motion: reduce) { .dgn-v18-hero .dgn-v18-chip--ring .rgc { animation: none; --dgn-hr: 78; } }
.dgn-v18-fly > .dgn-v18-jc:nth-child(1) { --x: 89; --y: 16; --r: 6deg; --i: 0; }
.dgn-v18-fly > .dgn-v18-jc:nth-child(2) { --x: 11; --y: 66; --r: 5deg; --i: 1; }
.dgn-v18-fly > .dgn-v18-jc:nth-child(3) { --x: 89; --y: 66; --r: -6deg; --i: 2; }
.dgn-v18-jc .jc-top > *, .dgn-v18-jc > * { margin-top: 0; margin-bottom: 0; }
.dgn-v18 .dgn-v18-jc .jc-t { margin-top: 14px; }
.dgn-v18-jc .jc-ic.dg-ic::before { width: 20px; height: 20px; }
.dgn-v18-jc .jc-go::after { content: ""; flex: none; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M7%207h10v10'%2F%3E%3Cpath%20d%3D'M7%2017%2017%207'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M7%207h10v10'%2F%3E%3Cpath%20d%3D'M7%2017%2017%207'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.dgn-v18-jc .jc-t a { color: inherit; text-decoration: none; }
.dgn-v18-jc .jc-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dgn-v18-jc .jc-t a:focus-visible { outline: none; }
.dgn-v18-jc:has(.jc-t a:focus-visible) { outline: 2px solid var(--v18-blue); outline-offset: 3px; }
.dgn-v18-svc .dgn-v18-svc-all { position: relative; }
.dgn-v18-svc .dgn-v18-svc-all > * { margin: 0; }
.dgn-v18-svc .dgn-v18-svc-all .sa-t a { color: inherit; text-decoration: none; }
.dgn-v18-svc .dgn-v18-svc-all .sa-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.dgn-v18-svc .dgn-v18-svc-all .dgn-v18-svc-all__ar.dg-ic::before { width: 22px; height: 22px; }

/* Header mega panels (core blocks): each item is a group whose title link covers it; the featured card likewise;
   icons are CSS; column counts were inline styles */
.dgn-v18-mega .dgn-v18-mega__cols.cols-1 { --cols: 1; }
.dgn-v18-mega .dgn-v18-mega__cols.cols-2 { --cols: 2; }
.dgn-v18-mega .dgn-v18-mega__cols.cols-3 { --cols: 3; }
.dgn-v18-hd .dgn-v18-mi { position: relative; }
.dgn-v18-hd .dgn-v18-mi > *, .dgn-v18-hd .dgn-v18-mi .mi-tx > *, .dgn-v18-mega .col > *, .dgn-v18-mfeat > *, .dgn-v18-mfeat .b > * { margin-top: 0; margin-bottom: 0; }
.dgn-v18-hd .dgn-v18-mi .t { margin-top: 2px; }
.dgn-v18-hd .dgn-v18-mi.compact .t { margin: 0; }
.dgn-v18-hd .dgn-v18-mi .s { margin-top: 3px; }
.dgn-v18-hd .dgn-v18-mi .ic.dg-ic::before { width: 18px; height: 18px; }
.dgn-v18-hd .dgn-v18-mi .t a { color: inherit; text-decoration: none; }
.dgn-v18-hd .dgn-v18-mi .t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dgn-v18-hd .dgn-v18-mi .t a:focus-visible { outline: none; }
.dgn-v18-hd .dgn-v18-mi:has(.t a:focus-visible) { outline: 2px solid var(--v18-blue); outline-offset: -2px; }
.dgn-v18-mfeat .h { margin: 14px 0 10px; }
.dgn-v18-mfeat .h a { color: inherit; text-decoration: none; }
.dgn-v18-mfeat .h a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dgn-v18-mfeat .b { position: static; }
.dgn-v18-mfeat:has(.h a:focus-visible) { outline: 2px solid #fff; outline-offset: -4px; }
.dgn-v18-mfeat .c { margin-top: 20px; }
.dgn-v18-mfeat .c::after { content: ""; width: 16px; height: 16px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* About and Resources panels: one column of items on a narrower panel (design home-v15.css .dg-mega--about /
   .dg-mega--resources: up to 860px wide, featured card column 340px) */
.dgn-v18-hd .dgn-v18-mega:is(.mega-about, .mega-resources) { width: min(calc(100% - 96px), 860px); }
.dgn-v18-hd .dgn-v18-mega:is(.mega-about, .mega-resources) .dgn-v18-mega__in { grid-template-columns: minmax(0, 1fr) 340px; }

/* ------------------------------------------------------------------ QA fixes (bug sheet, December 2026), as the design
   Footer: the theme's block gap put 24px of page background (a white strip) between the last section and the footer;
   the design has none. */
.wp-site-blocks > footer.wp-block-template-part:has(.dg-ft) { margin-block-start: 0; }
/* Same gap under the header: every page started 24px below the header (design: the page starts right under it). */
.wp-site-blocks > header.wp-block-template-part:has(.dgn-v18-hd) + main { margin-block-start: 0; }

/* Footer social icons on hover: white circle with the blue icon (design home-v13 ".dg-ft .dg-soc a:hover"); the core
   social-links rule kept the icon white (currentColor of the list item), so it vanished on the white circle. */
.dgn-v18-port.dg-ft .dg-soc .wp-social-link:is(:hover, :focus-within) { color: var(--brand-blue); }
.dgn-v18-port.dg-ft .dg-soc .wp-social-link .wp-block-social-link-anchor:is(:hover, :focus-visible) { color: var(--brand-blue); }
.dgn-v18-port.dg-ft .dg-soc .wp-social-link .wp-block-social-link-anchor:is(:hover, :focus-visible) svg { fill: currentColor; color: inherit; }

/* Get in touch: the e-mail / phone strips turn white on hover with dark text (design ".gt-ct > a:hover"); the white
   text rule had the same weight and came later, so the value disappeared on the white strip. */
.dgn-v18-port .gt-ct .gt-c:hover { color: #0b0d12; }

/* Our Work: the pinned horizontal section has no padding of its own (design "main.v18 section#work.dg-hpin",
   padding 0); the general section rule gave it 80px, so the heading sat lower than the design. Above 760px. */
@media (min-width: 761px) {
	body.v18 section#work.dgn-v18:not(#_w1):not(#_w2):not(#_w3):not(#_w4):not(#_w5):not(#_w6):not(#_w7):not(#_w8) { padding-top: 0 !important; padding-bottom: 0 !important; }
}

/* Why Diginnovators: a card lifts 4px on hover (design ".w18-bx:hover"); the reveal's "transform: none" on revealed
   blocks outweighed it, so the cards gave no hover feedback. */
.dgn-v18-js .w18-bx.dgn-v18-fx.is-in:hover,
.dgn-v18 .w18-bx:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------------ Blog post v18 (template "single", design
   pages/blog-post.html, BlogPost.jsx + pages.css ".ed-*"). Values are the design's computed styles at 1440/393, light
   and dark. Wrapper: main.dgn-v18-bp.ed-post (template content/design-port/templates/single-v18.html). */
.dgn-v18-bp {
	--bp-fg: #07080a; --bp-fg2: #3f4654; --bp-muted: #6b7184; --bp-faint: #a6abb6; --bp-line: #e6e7e1;
	--bp-surface: #fff; --bp-canvas: #fff; --bp-blue: #2051f9; --bp-cyan: #68a3f7;
	--bp-display: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
	--bp-body: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
	--bp-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3 L4 6 L8 9'/%3E%3C/svg%3E");
	--bp-arr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 L9 3 M5 3 H9 V7'/%3E%3C/svg%3E");
	--bp-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7 V12 L15.5 14'/%3E%3C/svg%3E");
	padding: 48px 0 0; margin: 0; font-family: var(--bp-body); font-size: 14px; line-height: 1.45; color: var(--bp-fg);
}
html[data-theme="dark"] .dgn-v18-bp {
	--bp-fg: #f4f6f8; --bp-fg2: #a1a7b5; --bp-faint: #444a58; --bp-line: #1a1d24; --bp-surface: #0e1014; --bp-canvas: #07080a;
}
.dgn-v18-bp :where(h1, h2, h3, h4, p, ul, figure) { margin-block: 0; }
.dgn-v18-bp > .ed-post-head > .ed-wrap,
.dgn-v18-bp > .ed-body { box-sizing: border-box; max-width: 1392px; margin: 0 auto; padding-inline: 48px; }
.dgn-v18-bp > .ed-body { padding-block: 8px 96px; }

/* Head: back link + tag, title, meta, share */
.dgn-v18-bp .ed-head-top.wp-block-group { gap: 18px; margin: 0 0 22px; }
.dgn-v18-bp .ed-back { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.45; }
.dgn-v18-bp .ed-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--bp-fg2); text-decoration: none; transition: color 180ms ease, gap 180ms ease; }
.dgn-v18-bp .ed-back a::before { content: ""; width: 12px; height: 12px; background: currentColor; flex: none; -webkit-mask: var(--bp-chev) center / contain no-repeat; mask: var(--bp-chev) center / contain no-repeat; }
.dgn-v18-bp .ed-back a:hover { color: var(--bp-blue); gap: 9px; }
.dgn-v18-bp .ed-eyebrow { margin: 0; }
.dgn-v18-bp .ed-eyebrow a { display: inline-block; font-size: 11px; line-height: 1.45; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bp-blue); text-decoration: none;
	background: linear-gradient(180deg, rgba(32, 81, 249, 0.10), rgba(32, 81, 249, 0.04)); border: 1px solid rgba(32, 81, 249, 0.20); padding: 6px 14px; border-radius: 999px; }
/* the design shows one tag: the post's first category */
.dgn-v18-bp :is(.ed-eyebrow, .ed-side-tag, .ed-side-rank-tag) :is(a ~ a, .wp-block-post-terms__separator) { display: none; }
.dgn-v18-bp .ed-title.wp-block-post-title { font-family: var(--bp-display); font-weight: 500; font-size: 60px; line-height: 1.08; letter-spacing: -0.025em; color: var(--bp-fg); margin: 0 0 28px; max-width: none; text-wrap: balance; }
.dgn-v18-bp .ed-meta.wp-block-group { gap: 12px; margin: 0; padding: 0 0 32px; border-bottom: 1px solid var(--bp-line); font-size: 13.5px; line-height: 1.45; color: var(--bp-muted); }
.dgn-v18-bp .ed-meta > * { margin: 0; font-size: 13.5px; line-height: 1.45; }
.dgn-v18-bp .ed-meta-author { display: inline-flex; align-items: center; gap: 10px; color: var(--bp-fg); font-weight: 500; }
.dgn-v18-bp .ed-meta-author a { color: inherit; text-decoration: none; }
.dgn-v18-bp .ed-meta-avatar { width: 32px; height: 32px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: #fff;
	background: linear-gradient(160deg, oklch(0.74 0.10 232), oklch(0.48 0.14 232)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px rgba(15, 30, 80, 0.18); }
.dgn-v18-bp :is(.ed-meta-date, .ed-meta-read) { display: inline-flex; align-items: center; gap: 12px; color: var(--bp-muted); }
.dgn-v18-bp :is(.ed-meta-author, .ed-meta-date)::after { content: ""; width: 4px; height: 4px; margin-left: 2px; border-radius: 999px; background: var(--bp-faint); flex: none; }
.dgn-v18-bp .ed-meta-date::after { margin-left: 0; }
.dgn-v18-bp .ed-meta-read .ed-clock { width: 14px; height: 14px; margin-right: -6px; background: currentColor; flex: none; -webkit-mask: var(--bp-clock) center / contain no-repeat; mask: var(--bp-clock) center / contain no-repeat; }
.dgn-v18-bp .ed-share.wp-block-group { gap: 14px; margin: 24px 0 0; padding: 20px 0 4px; border-top: 1px solid var(--bp-line); }
.dgn-v18-bp .ed-share-lbl { margin: 0; font-size: 11px; line-height: 1.45; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bp-muted); }
.dgn-v18-bp .ed-share .dgk-share__list { display: inline-flex; gap: 10px; margin: 0; padding: 0; }
.dgn-v18-bp .ed-share .wp-block-digikit-share-buttons .dgk-share__link { width: 38px; height: 38px; background: var(--bp-surface); border: 1px solid var(--bp-line); color: var(--bp-fg2);
	transition: color 200ms ease, border-color 200ms ease, transform 200ms ease, background 200ms ease; }
.dgn-v18-bp .ed-share .wp-block-digikit-share-buttons .dgk-share__link svg { width: 16px; height: 16px; }
.dgn-v18-bp .ed-share .wp-block-digikit-share-buttons .dgk-share__link:hover { color: #fff; background: linear-gradient(180deg, #3f6bff, var(--bp-blue)); border-color: var(--bp-blue); transform: translateY(-1px); }

/* Body: article + sidebar */
.dgn-v18-bp .ed-layout.wp-block-group { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.dgn-v18-bp .ed-layout > * { margin: 0; }
.dgn-v18-bp .ed-main { min-width: 0; }
.dgn-v18-bp .ed-hero-img.wp-block-post-featured-image { margin: 24px 0 28px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bp-canvas);
	box-shadow: 0 24px 60px -24px rgba(15, 30, 80, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.dgn-v18-bp .ed-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }

/* Summary box: the post's opening "Summary:" paragraph (home-v18.js adds .ed-summary and the label) */
.dgn-v18-bp .ed-prose p.ed-summary { position: relative; padding: 20px 22px; margin: 0 0 36px; border: 1px solid var(--bp-line); border-left: 3px solid var(--bp-blue); border-radius: 14px;
	background: linear-gradient(180deg, rgba(32, 81, 249, 0.06), transparent 90%), var(--bp-surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	font-size: 16px; line-height: 1.6; color: var(--bp-fg); }
.dgn-v18-bp .ed-prose .ed-summary-lbl { display: block; margin: 0 0 8px; font-size: 10.5px; line-height: 1.45; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bp-blue); font-weight: 400; }

/* Article prose */
.dgn-v18-bp .ed-prose.wp-block-post-content { font-size: 17px; line-height: 1.75; color: var(--bp-fg2); margin: 0 0 48px; }
.dgn-v18-bp .ed-prose > * { margin-block: 0; }
.dgn-v18-bp .ed-prose p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--bp-fg2); text-wrap: pretty; }
.dgn-v18-bp .ed-prose h2 { font-family: var(--bp-display); font-weight: 500; font-size: 28px; line-height: 1.18; letter-spacing: -0.025em; color: var(--bp-fg); margin: 40px 0 14px; text-wrap: balance; }
.dgn-v18-bp .ed-prose :is(h3, h4) { font-family: var(--bp-display); font-weight: 500; font-size: 21px; line-height: 1.22; letter-spacing: -0.015em; color: var(--bp-fg); margin: 28px 0 10px; }
.dgn-v18-bp .ed-prose ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dgn-v18-bp .ed-prose ul li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.75; color: var(--bp-fg); }
.dgn-v18-bp .ed-prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 999px; background: var(--bp-cyan); }
.dgn-v18-bp .ed-prose ol { margin: 0 0 24px; padding-left: 22px; }
.dgn-v18-bp .ed-prose a { color: var(--bp-blue); text-decoration: underline; text-underline-offset: 2px; }
.dgn-v18-bp .ed-prose a:hover { text-decoration: none; }
.dgn-v18-bp .ed-prose strong { color: var(--bp-fg); font-weight: 600; }
.dgn-v18-bp .ed-prose figure.wp-block-image { margin: 8px 0 28px; }
.dgn-v18-bp .ed-prose figure.wp-block-image img { border-radius: 16px; height: auto; }
.dgn-v18-bp .ed-prose .wp-block-details { margin: 0 0 12px; padding: 16px 20px; border: 1px solid var(--bp-line); border-radius: 14px; background: var(--bp-surface); color: var(--bp-fg2); }
.dgn-v18-bp .ed-prose .wp-block-details summary { font-family: var(--bp-display); font-weight: 500; font-size: 17px; color: var(--bp-fg); cursor: pointer; }
.dgn-v18-bp .ed-prose .wp-block-details > :not(summary) { margin: 10px 0 0; }
.dgn-v18-bp .ed-prose > .alignfull { margin-inline: 0; padding-inline: 0; }

/* Inline CTA card */
.dgn-v18-bp .ed-cta-card.wp-block-group { gap: 24px; padding: 28px 32px; margin: 16px 0 40px; border-radius: 24px; color: #fff;
	background: radial-gradient(ellipse 80% 80% at 0% 0%, rgba(255, 255, 255, 0.12), transparent 60%), radial-gradient(ellipse 80% 100% at 100% 100%, rgba(104, 163, 247, 0.30), transparent 60%), linear-gradient(135deg, #1a3fcc 0%, #2051f9 100%);
	box-shadow: 0 20px 50px -20px rgba(32, 81, 249, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18); transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.dgn-v18-bp .ed-cta-card:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -20px rgba(32, 81, 249, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.dgn-v18-bp .ed-cta-card-text.wp-block-group > * { margin: 0; }
.dgn-v18-bp .ed-cta-card-text .ed-cta-eyebrow { display: inline-block; margin: 0 0 8px; font-size: 10.5px; line-height: 1.45; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.dgn-v18-bp .ed-cta-card-text h3 { font-family: var(--bp-display); font-weight: 500; font-size: 24px; line-height: 1.22; letter-spacing: -0.025em; color: var(--bp-fg); margin: 0 0 6px; max-width: 32ch; text-wrap: balance; }
.dgn-v18-bp .ed-cta-card-text p:not(.ed-cta-eyebrow) { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); max-width: 48ch; }
.dgn-v18-bp .ed-cta-card-btn { margin: 0; }
.dgn-v18-bp .ed-cta-card-btn a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: #fff; color: var(--bp-blue); border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.45; white-space: nowrap; text-decoration: none; transition: gap 180ms ease; }
.dgn-v18-bp :is(.ed-cta-card-btn, .ed-side-view-all) a::after { content: ""; width: 11px; height: 11px; background: currentColor; flex: none; -webkit-mask: var(--bp-arr) center / contain no-repeat; mask: var(--bp-arr) center / contain no-repeat; }
.dgn-v18-bp .ed-cta-card-btn a:hover { gap: 12px; }

/* Sidebar */
.dgn-v18-bp .ed-sidebar.wp-block-group { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 28px; }
.dgn-v18-bp .ed-sidebar > * { margin: 0; }
.dgn-v18-bp .ed-side-block.wp-block-group { background: var(--bp-surface); border: 1px solid var(--bp-line); border-radius: 16px; padding: 20px 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.dgn-v18-bp .ed-side-block.wp-block-group > * { margin: 0; }
.dgn-v18-bp .ed-side-block .ed-side-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bp-blue); }
.dgn-v18-bp .ed-side-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; flex: none; }
.dgn-v18-bp .ed-side-block .ed-side-title { font-family: var(--bp-display); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: -0.025em; color: var(--bp-fg); margin: 0 0 16px; }
.dgn-v18-bp .ed-side-list .wp-block-post-template { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dgn-v18-bp :is(.ed-side-list, .ed-side-rank) .wp-block-post-template > li { margin: 0; }
.dgn-v18-bp .ed-side-row.wp-block-group { gap: 12px; border-radius: 10px; transition: background 180ms ease, transform 180ms ease; }
.dgn-v18-bp .ed-side-row:hover { background: rgba(32, 81, 249, 0.05); transform: translateX(2px); }
.dgn-v18-bp .ed-side-thumb.wp-block-post-featured-image { flex: 0 0 76px; width: 76px; height: 60px; margin: 0; border-radius: 8px; overflow: hidden; background: var(--bp-canvas); aspect-ratio: auto; }
.dgn-v18-bp .ed-side-thumb :is(a, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.dgn-v18-bp .ed-side-body.wp-block-group { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.dgn-v18-bp .ed-side-body.wp-block-group > * { margin: 0; }
.dgn-v18-bp :is(.ed-side-tag, .ed-side-rank-tag) { margin: 0; font-size: 9.5px; line-height: 1.45; letter-spacing: 0.16em; text-transform: uppercase; }
.dgn-v18-bp :is(.ed-side-tag, .ed-side-rank-tag) a { color: inherit; text-decoration: none; position: relative; z-index: 1; }
.dgn-v18-bp .ed-side-tag { color: var(--bp-blue); }
.dgn-v18-bp .ed-side-rank-tag { color: var(--bp-muted); }
.dgn-v18-bp :is(.ed-side-title-text, .ed-side-rank-title).wp-block-post-title { margin: 0; font-family: var(--bp-body); font-weight: 500; font-size: 13.5px; line-height: 1.3; letter-spacing: -0.005em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dgn-v18-bp .ed-side-rank-title.wp-block-post-title { -webkit-line-clamp: 3; }
.dgn-v18-bp :is(.ed-side-title-text, .ed-side-rank-title) a { color: var(--bp-fg); text-decoration: none; }
.dgn-v18-bp :is(.ed-side-title-text, .ed-side-rank-title) a::after { content: ""; position: absolute; inset: 0; }
.dgn-v18-bp :is(.ed-side-row, .ed-side-rank-row) { position: relative; }
.dgn-v18-bp .ed-side-meta.wp-block-group { gap: 0; margin: 0; font-size: 9.5px; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bp-muted); }
.dgn-v18-bp .ed-side-meta.wp-block-group > * { margin: 0; font-size: inherit; line-height: inherit; }
.dgn-v18-bp .ed-side-meta > * + *::before { content: "\00a0\00b7\00a0"; }
.dgn-v18-bp .ed-side-block .ed-side-view-all { margin: 16px 0 0; font-size: 10.5px; line-height: 1.45; letter-spacing: 0.16em; text-transform: uppercase; }
.dgn-v18-bp .ed-side-view-all a { display: inline-flex; align-items: center; gap: 8px; color: var(--bp-blue); text-decoration: none; transition: gap 180ms ease; }
.dgn-v18-bp .ed-side-view-all a:hover { gap: 11px; }
.dgn-v18-bp .ed-side-rank .wp-block-post-template { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: ed-rank; }
.dgn-v18-bp .ed-side-rank .wp-block-post-template > li { counter-increment: ed-rank; }
.dgn-v18-bp .ed-side-rank-row.wp-block-group { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 10px 4px; border-radius: 10px;
	border-top: 1px solid var(--bp-line); transition: background 180ms ease; }
.dgn-v18-bp .ed-side-rank li:first-child .ed-side-rank-row { border-top: 0; padding-top: 4px; }
.dgn-v18-bp .ed-side-rank-row:hover { background: rgba(32, 81, 249, 0.05); }
.dgn-v18-bp .ed-side-rank-row::before { content: "/" counter(ed-rank, decimal-leading-zero); grid-row: 1 / span 2; padding-top: 2px; font-size: 12px; line-height: 1.45; letter-spacing: 0.12em; color: var(--bp-blue); }
.dgn-v18-bp .ed-side-rank-row.wp-block-group > * { grid-column: 2; margin: 0; }

@media (max-width: 1100px) {
	.dgn-v18-bp .ed-layout.wp-block-group { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.dgn-v18-bp .ed-sidebar.wp-block-group { position: static; }
}
@media (max-width: 1000px) {
	.dgn-v18-bp .ed-title.wp-block-post-title { font-size: 38px; }
	.dgn-v18-bp .ed-cta-card.wp-block-group { padding: 22px 24px; }
	.dgn-v18-bp .ed-cta-card-text h3 { font-size: 21px; }
}
@media (max-width: 600px) {
	.dgn-v18-bp .ed-title.wp-block-post-title { font-size: 30px; }
	.dgn-v18-bp .ed-prose.wp-block-post-content { font-size: 16px; }
	.dgn-v18-bp .ed-prose h2 { font-size: 23px; }
}
/* posts wrap their copy in a full-width constrained group (global padding, content width): the design column is the
   article width, so that wrapper adds nothing here */
.dgn-v18-bp .ed-prose :is(.has-global-padding, .alignfull) { padding-inline: 0; margin-inline: 0; }
.dgn-v18-bp .ed-prose .is-layout-constrained > * { max-width: none; margin-inline: 0; }
.dgn-v18-bp .ed-prose .wp-block-group > * { margin-block-start: 0; }
.dgn-v18-bp .ed-share .dgk-share__status:empty { display: none; }
/* Guide detail v18 (template "single-guide", design GuideDetail.jsx): the blog post layout; the summary box is the
   guide's own excerpt (hidden by home-v18.js when the excerpt is only the opening text repeated) */
.dgn-v18-bp aside.ed-summary-box.wp-block-group { position: relative; padding: 20px 22px; margin: 0 0 36px; border: 1px solid var(--bp-line); border-left: 3px solid var(--bp-blue); border-radius: 14px;
	background: linear-gradient(180deg, rgba(32, 81, 249, 0.06), transparent 90%), var(--bp-surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.dgn-v18-bp aside.ed-summary-box > * { margin: 0; }
.dgn-v18-bp aside.ed-summary-box .ed-summary-lbl { display: block; margin: 0 0 8px; font-size: 10.5px; line-height: 1.45; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bp-blue); }
.dgn-v18-bp aside.ed-summary-box .wp-block-post-excerpt__excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: var(--bp-fg); }
.dgn-v18-bp aside.ed-summary-box.is-hidden,
.dgn-v18-bp aside.ed-summary-box:not(:has(.wp-block-post-excerpt__excerpt)) { display: none; }
/* the design's first heading margin collapses into the summary box margin (40px total); the post content wrapper
   does not collapse, so the first heading gives back the difference */
.dgn-v18-bp .ed-prose > :is(h2, h3, h4):first-child { margin-top: 4px; }
/* Guides listing v18: the grid is a Query Loop of the guide posts (content/design-port/pages.js guidesQuery); its
   list wrappers step aside so the cards stay the design's grid items. The first card is the wide .featured card
   (class added by home-v18.js); the excerpt shows on that card only, as the design. */
.dgn-v18-pg .blog-grid > .blog-grid-q,
.dgn-v18-pg .blog-grid > .blog-grid-q > .wp-block-post-template,
.dgn-v18-pg .blog-grid > .blog-grid-q > .wp-block-post-template > li { display: contents; }
.dgn-v18-pg .blog-grid .blog-card:not(.featured) .blog-excerpt { display: none; }
.dgn-v18-pg .blog-grid .blog-thumb .wp-block-post-featured-image { margin: 0; height: 100%; }
.dgn-v18-pg .blog-grid .blog-thumb .wp-block-post-featured-image :is(a, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.dgn-v18-pg .blog-grid .blog-tag a { color: inherit; text-decoration: none; }
.dgn-v18-pg .blog-grid .blog-tag a ~ a, .dgn-v18-pg .blog-grid .blog-tag .wp-block-post-terms__separator { display: none; }
.dgn-v18-pg .blog-grid .blog-title a { color: inherit; text-decoration: none; }
.dgn-v18-pg .blog-grid .blog-title a::after { content: ""; position: absolute; inset: 0; }
.dgn-v18-pg .blog-grid .blog-card { position: relative; }
.dgn-v18-pg .blog-grid .blog-read.wp-block-read-more { color: var(--brand-blue, #2051f9); text-decoration: none; position: relative; z-index: 1; }
.dgn-v18-pg .blog-grid .blog-excerpt .wp-block-post-excerpt__excerpt { margin: 0; }
.dgn-v18-pg .blog-grid .blog-excerpt .wp-block-post-excerpt__more-text { display: none; }

/* ------------------------------------------------------------------ Dark theme, December 2026 update (design
   styles/dark-v18.css + components/dark-fix.js, loaded on every design page). Pure black page, the new surface /
   line / text tokens, and the design's own card rules; assets/dark-fix.js then darkens any light surface left and
   lifts low-contrast text, as in the design. */
html[data-theme="dark"] body .dgn-v18-port,
html[data-theme="dark"] body .dgn-v18 {
	--bg-canvas: #000; --bg-surface: #0D0F13; --bg-surface-2: #14171D; --bg-surface-3: #1B1F27;
	--line-hairline: #23272F; --line-soft: #2C313B; --hl: #23272F;
	--fg-primary: #F4F6F8; --fg-secondary: #B4BAC6; --fg-muted: #8E94A3; --ink: #F4F6F8;
}
html[data-theme="dark"] body .dgn-v18-bp { --bp-fg2: #B4BAC6; --bp-muted: #8E94A3; --bp-line: #23272F; --bp-surface: #0D0F13; --bp-canvas: #000; }
html[data-theme="dark"],
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)),
html[data-theme="dark"] body:has(:is(.dgn-v18-hero, .dgn-v18-ab, .dgn-v18-tc, .dgn-v18-ip, .dgn-v18-pg, .dgn-v18-pk, .dgn-v18-bp)) main { background: #000 !important; }
html[data-theme="dark"] body :is(input, textarea, select) { background-color: #0D0F13; color: #F4F6F8; border-color: #2C313B; }
html[data-theme="dark"] body ::placeholder { color: #7A8090; }
html[data-theme="dark"] body .vz-chart path { stroke: #fff !important; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
html[data-theme="dark"] body .vz-chart .tag { background: rgba(52, 199, 123, .16) !important; color: #5BE39A !important; }
html[data-theme="dark"] body .dg-cl15-wall .cell { overflow: hidden; }
html[data-theme="dark"] body .dg-cl15-wall .cell::after { background: linear-gradient(105deg, transparent 40%, rgba(104, 163, 247, .18) 50%, transparent 60%); }
html[data-theme="dark"] body .dg-cl15-wall .cell:hover { background: rgba(32, 81, 249, .12) !important; }
/* solution and industry cards: the hover fill is the design's deep blue, text stays white */
html[data-theme="dark"] body :is(.sl-c, .dgn-v18-sl-c)::before,
html[data-theme="dark"] body :is(.ind-c, .dgn-v18-ind-c)::before { background: linear-gradient(160deg, #16255C, #0B1330) !important; }
html[data-theme="dark"] body :is(.sl-c, .dgn-v18-sl-c):hover { color: #fff !important; border-color: rgba(104, 163, 247, .45) !important; }
html[data-theme="dark"] body :is(.sl-c, .dgn-v18-sl-c):hover .code { color: rgba(255, 255, 255, .14) !important; }
html[data-theme="dark"] body :is(.sl-c, .dgn-v18-sl-c):hover .w18-p { background: rgba(255, 255, 255, .06) !important; }
html[data-theme="dark"] body :is(.ind-c, .dgn-v18-ind-c):hover { color: #fff !important; }
html[data-theme="dark"] body :is(.ind-c, .dgn-v18-ind-c):hover .ic { background: #2051F9 !important; color: #fff !important; }
html[data-theme="dark"] body :is(.ind-c, .dgn-v18-ind-c):hover :is(p, .n) { color: #C3CADB !important; }
html[data-theme="dark"] body :is(.ind-c, .dgn-v18-ind-c) .ar { color: #7C9BFF; }
/* presskit */
html[data-theme="dark"] body .pk { --pk-line: #262B36; --pk-ink: #F4F6F8; --pk-tx: #B4BAC6; }
html[data-theme="dark"] body .pkf-dots i { background: #262B38; }
html[data-theme="dark"] body .pkf-ig span { background: #1B1F2A; color: #E6E9F0; }
html[data-theme="dark"] body .pkf-ig span:hover { background: #2051F9; color: #fff; }
html[data-theme="dark"] body :is(.pkf dd, .pkf-big) { color: #fff !important; }
/* The design's dock links take "var(--mut)", which its pages do not define, so they inherit the text colour (ink in
   light, white in dark); the port had defined --mut as grey */
.dgn-v18-ip .tc2-dock { --mut: initial; }
/* Contact section: the heading's second line is the design's light blue in both themes; in dark the plain links
   (email, phone, privacy policy) are the design's link blue (dark-v18.css "a:not([class])") */

html[data-theme="dark"] body #contact :is(.gt-c a, .gfield--type-html a, .gform_footer a, .gt-pp a) { color: #7C9BFF; }
/* only the top divider of these rows is a border: the other sides were 3px wide and transparent, which the dark
   normaliser (it recolours every side) turned into a box */
#contact :is(.gt-as, .gform_footer) { border-right-width: 0; border-bottom-width: 0; border-left-width: 0; }
/* Dark theme, more of the design's values: card titles that are links take the heading colour (the design's whole
   card is the link); legal contents and in-mockup links use the design's link blue; presskit labels are its
   secondary text */
body .dgn-v18-port .a-main > a { color: inherit !important; } /* both themes: the design card title takes the heading colour */
html[data-theme="dark"] body :is(.legal-toc a, .iv-lh .a) { color: #7C9BFF !important; }
html[data-theme="dark"] body .pkf :is(dt, .dt),
html[data-theme="dark"] body .pkv-rt :is(small, .sm) { color: #B4BAC6 !important; }
body.v18:not(.home) #contact#contact .gt-l2 h2 em { color: #7A9BFF !important; } /* inner pages only: the home contact heading stays white */
/* Dark theme: the current breadcrumb is the design's primary text; the home "All services" label is its link blue;
   presskit timeline years and mock labels are its secondary text */
html[data-theme="dark"] body .dgn-v18-port :is(.crumbs, .tc2-bc, .ind-bc, .ii-bc):not(#_i):not(#_j) > :last-child { color: #F4F6F8 !important; }
html[data-theme="dark"] body .dgn-v18-svc-all .dgn-v18-ey { color: #7FA0FF !important; }
html[data-theme="dark"] body :is(.pkf-tl-y:not(:last-child) .sp, .pkv-mail-l .sm, .pkv-mail-bar .sp, .pkv-sla .sp, .pkf-co, .pkg-lk-tabs small, .pkg-min-c .dt) { color: #B4BAC6 !important; }
/* the current breadcrumb item is the design's primary text in light too */
body .dgn-v18-port :is(.crumbs, .tc2-bc, .ind-bc, .ii-bc):not(#_i):not(#_j) > :last-child { color: var(--fg-primary, #07080A) !important; }
html[data-theme="dark"] body .pkg-zip a { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #0D0F13; border: 1px solid #23272F; }
/* Case study "Your turn" card (Work bug sheet BUG_011 / BUG_012): an older inline rule (".ed-cta-card p", from the
   previous blog template styles) turned the button label white on the white button; the label takes the button's
   blue, and the heading is the design's primary text colour (ink in light, white in dark) */
.dgn-v18-pg .ed-cta-card .ed-cta-card-btn :is(p, .tx):not(#_i) { color: inherit !important; }
.dgn-v18-pg .ed-cta-card .ed-cta-card-text h3:not(#_i) { color: var(--fg-primary, #07080A) !important; }
/* Work bug sheet BUG_001: the design's tab hover (".ow-pill:hover:not(:disabled)") also applies to the active tab,
   which turns light grey with dark text while hovered */
@media (hover: hover) and (pointer: fine) {
	.dgn-v18-pg .ow-pill.on:not([aria-disabled="true"]):not(.just-on):hover { color: var(--fg-primary); background: rgba(11, 13, 18, .05); }
}

/* About bug sheet BUG_008: with the phone menu open, the header bar sits above the menu panel, so its bottom border line
   (the panel used to start 2px over it) is visible */
@media (max-width: 1100px) {
	.dgn-v18-hd .dgn-v18-hd__in { position: relative; z-index: 101; }
}

/* About bug sheet BUG_011: on phones, less space under the leader cards (80 -> 40px before "And the people who build it
   with us") and under the team grid (the section's 100px bottom padding -> 48px before the Careers card) */
@media (max-width: 760px) {
	.dgn-v18-ab .ab-team .ab-tbar:not(#_a) { margin-top: 40px !important; }
	.dgn-v18-ab > section.ab-sec.ab-team:not(#_a):not(#_b):not(#_c):not(#_ab1):not(#_ab2):not(#_ab3):not(#_ab4):not(#_ab5):not(#_ab6) { padding-bottom: 48px !important; }
}

/* About bug sheet BUG_016 (Careers perks) and Services: in the "why work with us" lists the title sits right on its text
   (the icon spans two rows and used to stretch the title row when the text is short) */
.tc2-why-l > :is(li, .li) { grid-template-rows: auto 1fr; align-items: start; }

/* Homepage bug sheet BUG_021: the floating label on the solution cards ("Synced") sat on the legend line of the card
   behind it ("Data"); it now floats 12px lower, clear of the card text even at the top of its float */
.dgn-v18-sl-c .w18-p .w18-float:not(#_a) { bottom: 0; }

/* Homepage bug sheet BUG_008: menu item titles stay on one line ("Technology Consultancy") */
.dgn-v18-hd .dgn-v18-mega .dgn-v18-mi .t:not(#_a) { white-space: nowrap; }

/* Homepage bug sheet BUG_045 / BUG_048 / BUG_026 / BUG_027: on phones and tablets the Work swipe row snapped its first
   card to the screen edge (x 0); the snap now keeps the page gutter, so every card lines up with the heading */
@media (max-width: 1023px) {
	.dgn-v18-work__view.dgn-v18-cards:not(#_a) { scroll-padding-inline: 48px; }
}
@media (max-width: 760px) {
	.dgn-v18-work__view.dgn-v18-cards:not(#_a) { scroll-padding-inline: 20px; }
}

/* Homepage bug sheet BUG_028: a mega menu opens solid at once (no 0.25s see-through fade where the page text showed
   through the menu items); it still slides down 6px and fades out when it closes */
.dgn-v18-hd .dgn-v18-mega.is-on:not(#_a) { transition: opacity 0s, transform .35s var(--v18-ease), visibility 0s; }

/* Homepage bug sheet BUG_046: on phones the cards follow their button 32px lower (was 100px under "Discover Our Story" and
   92px under "Read All Insights": a 60px margin on top of the grid gap) */
@media (max-width: 760px) {
	.dgn-v18-port .dg-tst-g .dg-eh:not(#_a) { margin-bottom: 0 !important; }
	.dgn-v18-port .dg-tst-g:not(#_a) { row-gap: 32px !important; }
	.dgn-v18-port .dg-wrap.ins > .ins-h:not(#_a) { margin-bottom: 0 !important; }
}

/* Homepage bug sheet BUG_022: the Industries intro breaks into even lines (no short last line) */
.dgn-v18-ind__h .dgn-v18-sub:not(#_a) { text-wrap: balance; }

/* BUG_035: the Get in touch e-mail and phone use the approved design's label style (11px, 500, uppercase, 0.14em,
   grey; darker grey on the white hover card), as in the live design. */
.dgn-v18-port .gt-ct .tx2 .v,
.dgn-v18-port.v16-cta .gt-ct .tx2 .v { font: 500 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(155, 161, 174); transition: color 0.45s; }
.dgn-v18-port .gt-ct .gt-c:hover .tx2 .v { color: rgb(107, 113, 132); }

/* Header Resources menu: the Blog item's newspaper icon (design update 2026-12-04; same stroke as the other menu icons) */
:is(.dgn-v18, .dgn-v18-port, .dgn-v18-hd) .dg-ic--mi-newspaper { --dg-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E"); }

/* Header on phones (Blogs bug sheet BUG_005, 022): the bar keeps 12px from the screen edges, and once scrolled it is
   near-opaque so page text does not show through it */
@media (max-width: 760px) {
	.dgn-v18-hd.wp-block-group:not(#_a) { padding-left: 12px; padding-right: 12px; }
	.dgn-v18-hd.is-scrolled .dgn-v18-hd__in:not(#_a) { background: rgba(255, 255, 255, .96); }
	html[data-theme="dark"] .dgn-v18-hd.is-scrolled .dgn-v18-hd__in:not(#_a) { background: rgba(11, 13, 18, .96); }
}
