/**
 * GliteDigital site styles that theme.json can't express:
 * the smart header, framed icons, light/dark colours and the "glide".
 * Design tokens (colours, fonts, sizes, spacing) come from theme.json.
 */

/* ---------- Hidden text for screen readers ---------- */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

/* ---------- Light/dark colours (D1, D3, D11) ---------- */
:root {
	--gd-bg: var(--wp--preset--color--white);
	--gd-text: var(--wp--preset--color--midnight);
	--gd-line: var(--wp--preset--color--cloud-ash);
	--gd-link: var(--wp--preset--color--dark-teal);
	--gd-link-hover: var(--wp--preset--color--midnight);
	--gd-focus: var(--wp--preset--color--dark-teal);
}

/* Dark: Impact pages always (D11), and light pages when the reader chooses dark. */
body.gd-half-work,
html[data-gd-scheme="dark"] body:not(.gd-half-work) {
	--gd-bg: var(--wp--preset--color--midnight);
	--gd-text: var(--wp--preset--color--white);
	--gd-line: var(--wp--preset--color--midnight-80);
	--gd-link: var(--wp--preset--color--signal-teal);
	--gd-link-hover: var(--wp--preset--color--neon-lime);
	--gd-focus: var(--wp--preset--color--neon-lime);
	background-color: var(--gd-bg);
	color: var(--gd-text);
}

/* Headings: strong enough to beat the theme's default (Midnight) heading colour. */
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) :is(h1, h2, h3, h4, h5, h6, .wp-block-post-title, .wp-block-site-title) {
	color: var(--gd-text);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) a:not(.wp-element-button) {
	color: var(--gd-link);
}

@media (hover: hover) {
	:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) a:not(.wp-element-button):hover {
		color: var(--gd-link-hover);
	}
}

:focus-visible {
	outline-color: var(--gd-focus);
}

/* ---------- The header: one row, full width (owner 2026-10-21) ----------
 * Three zones: left (logo + tabs), centre (truly centred on the page),
 * right (About · Contact, icons, main button). Logo hugs the left edge,
 * the button hugs the right edge, with generous space between elements.
 */
/* Floating header (owner 2026-10-22): it stays at the top while the page scrolls, on every page and screen size. */
:root {
	--gd-header-h: 88px;
	scroll-padding-top: calc(var(--gd-header-h) + 16px);
}

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

body.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 46px;
	}
}

.gd-header {
	background-color: transparent;
	border-bottom: 1px solid var(--gd-line);
	color: var(--gd-text);
	isolation: isolate;
	position: relative;
}

/* Frosted glass (owner 2026-10-22): the page shows through, softly blurred. The tint is strong
   enough to keep the header text readable over anything. The blur sits on a background layer,
   so the phone menu panel and other parts keep working normally. */
.gd-header::before {
	background-color: color-mix(in srgb, var(--gd-bg) 72%, transparent);
	content: "";
	inset: 0;
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	position: absolute;
	z-index: -1;
}

/* Browsers without blur, or readers who ask for less transparency: a solid header. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.gd-header::before {
		background-color: var(--gd-bg);
	}
}

@media (prefers-reduced-transparency: reduce) {
	.gd-header::before {
		background-color: var(--gd-bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

.gd-header__inner {
	align-items: center;
	box-sizing: border-box;
	column-gap: clamp(16px, 2.5vw, 48px);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	min-height: 88px;
	padding: var(--wp--preset--spacing--20) clamp(24px, 3vw, 48px);
	width: 100%;
}

/* Desktop: the collapsible wrapper adds no box of its own, so the centre and
 * right zones sit straight in the row. The compact search + ☰ are hidden. */
.gd-header__nav {
	display: contents;
}

.gd-header__actions {
	display: none;
}

.gd-header__left,
.gd-header__right,
.gd-header__icons {
	align-items: center;
	display: flex;
}

.gd-header__left {
	gap: clamp(16px, 2.5vw, 48px);
	justify-self: start;
}

.gd-header__center {
	align-items: center;
	display: flex;
	justify-content: center;
	justify-self: center;
}

.gd-header__right {
	gap: clamp(16px, 1.8vw, 32px);
	justify-self: end;
}

.gd-header__icons {
	gap: var(--wp--preset--spacing--20);
}

.gd-header .gd-logo,
.gd-header .gd-header__logo {
	flex-shrink: 0;
	margin: 0;
}

.gd-logo a {
	display: inline-flex;
}

.gd-logo img {
	display: block;
	height: 44px;
	max-width: none;
	width: auto;
}

.gd-logo__on-dark {
	display: none !important;
}

body.gd-half-work .gd-logo__on-light,
html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-logo__on-light {
	display: none !important;
}

body.gd-half-work .gd-logo__on-dark,
html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-logo__on-dark {
	display: block !important;
}

/* Show only what belongs to the half the visitor is in.
 * Neutral pages (home, About, Contact): the tabs sit in the centre.
 * Learn / Work pages: the tabs sit next to the logo, the half's links in the centre. */
body:not(.gd-half-learn) .gd-only-learn,
body:not(.gd-half-work) .gd-only-work,
body.gd-half-work .gd-not-work,
body.gd-half-neutral .gd-only-half,
body:not(.gd-half-neutral) .gd-only-neutral {
	display: none !important;
}

/* ---------- About · Contact on desktop (owner 2026-11-20) ----------
 * Desktop (1280px and up): About · Contact always sit in the row, no ☰ (it used to fold them under a ☰
 * below 1536px). On Home the desktop row shows only the Learn / Work with us tabs ("Home: tabs only").
 * Phones and tablets: About · Contact are in the Menu panel (see the section below 1280px).
 */
.gd-more {
	align-items: center;
	display: flex;
	position: relative;
}

.gd-header .gd-more .gd-menu-toggle,
.gd-menu-toggle__close,
.gd-menu-toggle[aria-expanded="true"] .gd-menu-toggle__open {
	display: none;
}

.gd-menu-toggle[aria-expanded="true"] .gd-menu-toggle__close {
	display: inline-flex;
}

@media (min-width: 1280px) {
	body.home .gd-header .gd-more {
		display: none;
	}

	/* In Learn and Work with us: the half's links and About · Contact read as one evenly spaced row
	 * (owner 2026-11-20, "keep it even"): the links sit at the right, next to About, with the same gap. */
	body:not(.gd-half-neutral) .gd-header__inner {
		column-gap: clamp(16px, 1.8vw, 32px);
		grid-template-columns: auto 1fr auto;
	}

	body:not(.gd-half-neutral) .gd-header__center {
		justify-self: end;
	}
}

/* Smaller laptops (up to 1439px): slightly tighter spacing and 15px links, still one row. */
@media (max-width: 1439px) {
	.gd-header__inner,
	.gd-header__left {
		column-gap: 20px;
		gap: 20px;
	}

	.gd-header__right,
	.gd-header .wp-block-navigation {
		gap: 18px;
	}

	.gd-header__icons {
		gap: 10px;
	}

	.gd-header .wp-block-navigation {
		font-size: 15px;
	}

	.gd-tabs .gd-tab {
		padding: 12px 14px;
	}
}

/* Smallest laptops (up to 1365px): a touch tighter again, still one row. */
@media (max-width: 1365px) {
	.gd-header__inner,
	.gd-header__left {
		column-gap: 16px;
		gap: 16px;
	}

	.gd-header__right,
	.gd-header .wp-block-navigation {
		gap: 15px;
	}

	.gd-logo img {
		height: 38px;
	}
}

/* ---------- "All articles" submenu: AI · Healthcare · Marketing (owner 2026-10-21) ----------
 * Desktop: a square dropdown under "All articles" (opens on hover, click or keyboard;
 * WordPress's own submenu behaviour). Phone panel: an indented list, tap ▾ to open.
 */
.gd-header .wp-block-navigation .wp-block-navigation-submenu__toggle {
	color: inherit;
}

.gd-header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--gd-bg);
	border: 2px solid currentColor;
	border-radius: 0;
	box-shadow: none;
	color: var(--gd-text);
	min-width: 200px;
	padding: 8px 0;
}

.gd-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 20px;
}

@media (hover: hover) {
	.gd-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
		background-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
		text-decoration: none;
	}
}

/* ---------- Phones and tablets (below 1280px): compact header (C3, owner 2026-10-21) ----------
 * Top line: logo · search · ☰. Underneath: the tabs, always visible.
 * ☰ opens a panel that slides down under the header (page stays visible below):
 * the half's links, About · Contact, light/dark switch, main button.
 */
@media (max-width: 1279px) {
	.gd-header {
		position: relative;
	}

	.gd-header__inner {
		column-gap: 12px;
		grid-template-areas:
			"logo actions"
			"tabs tabs";
		grid-template-columns: 1fr auto;
		min-height: 0;
		padding: 12px clamp(16px, 4vw, 32px);
		row-gap: 12px;
	}

	.gd-header .gd-header__left {
		display: contents;
	}

	.gd-header .gd-header__left .gd-logo,
	.gd-header .gd-header__left .gd-header__logo {
		grid-area: logo;
	}

	.gd-logo img {
		height: 36px;
	}

	/* Tabs: always visible on phones, on every page (also home, About, Contact). */
	body .gd-header__left .gd-only-half {
		display: block !important;
		grid-area: tabs;
	}

	.gd-header__left .gd-tabs {
		display: flex;
		width: 100%;
	}

	.gd-tabs .gd-tab {
		flex: 1;
		padding: 12px 8px;
		text-align: center;
	}

	.gd-header .gd-header__actions {
		align-items: center;
		display: flex;
		gap: 10px;
		grid-area: actions;
	}

	/* The slide-down panel. */
	.gd-header .gd-header__nav {
		background-color: var(--gd-bg);
		border-bottom: 2px solid var(--gd-text);
		box-sizing: border-box;
		color: var(--gd-text);
		display: none;
		left: 0;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		padding: var(--wp--preset--spacing--30) clamp(16px, 4vw, 32px) var(--wp--preset--spacing--40);
		position: absolute;
		right: 0;
		top: 100%;
		z-index: 60;
	}

	.gd-header.is-open .gd-header__nav {
		display: block;
		animation: gd-slide-down 0.25s ease-out;
	}

	.gd-header .gd-header__nav .gd-header__center,
	.gd-header .gd-header__nav .gd-header__right {
		align-items: stretch;
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--30);
		justify-self: auto;
	}

	.gd-header .gd-header__nav .gd-header__right {
		margin-top: var(--wp--preset--spacing--30);
	}

	/* The tabs are already visible above, so the centre's copy stays hidden. */
	.gd-header .gd-header__nav .gd-only-neutral {
		display: none !important;
	}

	/* Links as a clear list with big tap targets (at least 48px tall). */
	.gd-header .gd-header__nav .wp-block-navigation,
	.gd-header .gd-header__nav .wp-block-navigation__container {
		align-items: stretch;
		flex-direction: column;
		font-size: 20px;
		gap: 0;
		width: 100%;
	}

	.gd-header .gd-header__nav .wp-block-navigation-item {
		border-bottom: 1px solid var(--gd-line);
		width: 100%;
	}

	.gd-header .gd-header__nav .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 8px 0;
	}

	/* "All articles" submenu in the panel: link + ▾ on one line, the list indented below. */
	.gd-header .gd-header__nav .has-child {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
	}

	.gd-header .gd-header__nav .has-child > .wp-block-navigation-item__content {
		flex: 1;
	}

	.gd-header .gd-header__nav .wp-block-navigation-submenu__toggle {
		height: 48px;
		justify-content: center;
		width: 48px;
	}

	.gd-header .gd-header__nav .wp-block-navigation-submenu__toggle svg {
		height: 16px;
		width: 16px;
	}

	.gd-header .gd-header__nav .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
		border: 0;
		flex-basis: 100%;
		left: auto;
		min-width: 0;
		padding: 0 0 8px 20px;
		position: static;
		top: auto;
	}

	.gd-header .gd-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
		border-bottom: 0;
	}

	.gd-header .gd-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		font-size: 18px;
		min-height: 44px;
		padding: 6px 0;
	}

	/* About · Contact: shown straight in the panel (no second ☰). */
	.gd-header .gd-header__nav .gd-more {
		display: block;
	}

	.gd-header .gd-header__nav .gd-more .gd-menu-toggle {
		display: none;
	}

	.gd-header .gd-header__nav .gd-more__panel {
		background: none;
		border: 0;
		display: block;
		min-width: 0;
		padding: 0;
		position: static;
	}

	/* Search already sits in the top line. */
	.gd-header .gd-header__nav .gd-header__icons .gd-icon-link {
		display: none;
	}

	.gd-header .gd-header__nav .gd-header__cta,
	.gd-header .gd-header__nav .gd-header__cta .wp-block-button,
	.gd-header .gd-header__nav .gd-header__cta .wp-block-button__link {
		width: 100%;
	}
}

/* Slides down without fading, so the panel is always solid. */
@keyframes gd-slide-down {
	from {
		transform: translateY(-8px);
	}

	to {
		transform: translateY(0);
	}
}

/* ---------- The "Learn | Work with us" tabs (square, like the buttons) ---------- */
.gd-tabs {
	border: 2px solid currentColor;
	display: inline-flex;
	view-transition-name: gd-tabs;
}

.gd-tabs .gd-tab {
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 16px;
	text-decoration: none;
	white-space: nowrap;
}

@media (hover: hover) {
	.gd-tabs .gd-tab:hover {
		background-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
		text-decoration: none;
	}
}

.gd-tabs .gd-tab.is-active {
	background-color: var(--gd-text);
	color: var(--gd-bg);
}

/* ---------- The half's own links + About · Contact ---------- */
.gd-header .wp-block-navigation {
	font-size: 16px;
	font-weight: 500;
	gap: clamp(16px, 1.8vw, 32px);
}

/* WordPress adds "space above" to items inside groups; the header row must sit on one line. */
.gd-header .gd-header__inner > *,
.gd-header .gd-header__nav > *,
.gd-header .gd-header__actions > *,
.gd-header .gd-header__left > *,
.gd-header .gd-header__center > *,
.gd-header .gd-header__right > *,
.gd-header .gd-header__icons > *,
.gd-header .gd-more > *,
.gd-header .gd-more__panel > *,
.gd-header .gd-header__center .wp-block-navigation {
	margin-block: 0;
}

.gd-header .wp-block-navigation .wp-block-navigation-item__content {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

@media (hover: hover) {
	.gd-header .wp-block-navigation .wp-block-navigation-item__content:hover {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 4px;
	}
}

/* ---------- Framed icons (square, slightly curved corners: owner rule) ---------- */
.gd-header .gd-icon-frame,
.gd-icon-frame {
	align-items: center;
	background: transparent;
	border: 2px solid currentColor;
	border-radius: 4px;
	box-sizing: border-box;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	width: 40px;
}

@media (hover: hover) {
	.gd-header .gd-icon-frame:hover,
	.gd-icon-frame:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

.gd-icon {
	display: block;
	height: 22px;
	width: 22px;
}

/* The switch shows the moon in light mode and the sun in dark mode. */
.gd-scheme-toggle__to-light,
html[data-gd-scheme="dark"] .gd-scheme-toggle__to-dark {
	display: none;
}

html[data-gd-scheme="dark"] .gd-scheme-toggle__to-light {
	display: inline-flex;
}

.gd-header .gd-header__cta {
	flex-shrink: 0;
	gap: var(--wp--preset--spacing--20);
}

/* ---------- The glide (D10): calm, ~0.45s, ease-out ---------- */
@view-transition {
	navigation: auto;
}

::view-transition-group(gd-tabs) {
	animation-duration: 0.45s;
	animation-timing-function: ease-out;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.25s;
}

/* Crossing between the halves (light ↔ dark): a gentler fade (owner 2026-10-21). */
html:active-view-transition-type(gd-half-change)::view-transition-old(root),
html:active-view-transition-type(gd-half-change)::view-transition-new(root) {
	animation-duration: 0.5s;
	animation-timing-function: ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
}

/* ---------- Footer (DS2 §8, site map v0.5; owner 2026-10-21) ----------
 * Always dark. Four columns · "Stay in touch" icons + Subscribe · bottom line with © and legal links.
 * Phones: the link columns fold into tap-to-open sections (assets/js/menu.js); Stay in touch stays open.
 */
.gd-footer {
	--gd-bg: var(--wp--preset--color--midnight);
	--gd-text: var(--wp--preset--color--white);
	--gd-line: var(--wp--preset--color--midnight-80);
	--gd-link: var(--wp--preset--color--cloud-ash);
	--gd-link-hover: var(--wp--preset--color--neon-lime);
	--gd-focus: var(--wp--preset--color--neon-lime);
	background-color: var(--gd-bg);
	color: var(--gd-text);
	margin-top: 0;
}

.gd-footer__inner {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--60) clamp(24px, 3vw, 48px) var(--wp--preset--spacing--40);
	width: 100%;
}

.gd-footer .gd-footer__inner > *,
.gd-footer .gd-footer__columns > *,
.gd-footer .gd-footer__col > *,
.gd-footer .gd-footer__bottom > * {
	margin-block: 0;
}

.gd-footer__columns {
	display: grid;
	gap: var(--wp--preset--spacing--50) clamp(24px, 4vw, 64px);
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
}

/* Brand column (owner's reference, 2026-10-22): logo + registration no., a short line, the newsletter box
   with room to breathe, then the social icons. The three link columns sit to its right. */
.gd-footer__brandcol {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	max-width: 460px;
}

.gd-footer .gd-footer__tagline {
	color: var(--wp--preset--color--cloud-ash);
	font-size: 16px;
	margin: 0;
	max-width: 42ch;
}

/* Footer brand column: logo, then the registration number (if filled in) right under it. */
.gd-footer__brand {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.gd-footer__logo {
	display: inline-block;
	line-height: 0;
}

.gd-footer__logo img {
	height: auto;
	max-width: 161px;
	width: 100%;
}

.gd-footer .gd-footer__reg {
	color: var(--wp--preset--color--cloud-ash);
	font-size: 13px;
	margin: 0;
}

.gd-footer__col {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.gd-footer .gd-footer__title {
	color: var(--wp--preset--color--signal-teal);
	font-family: var(--wp--preset--font-family--satoshi);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: var(--wp--preset--spacing--10);
	text-transform: uppercase;
}

.gd-footer .wp-block-navigation {
	font-size: 16px;
	gap: 10px;
}

.gd-footer .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--gd-link);
	text-decoration: none;
}

@media (hover: hover) {
	.gd-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
		color: var(--gd-link-hover);
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 4px;
	}
}

/* Stay in touch: square icons with slightly curved corners (owner rule). */
.gd-stay-in-touch {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-footer .gd-icon-frame {
	border-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--white);
}

@media (hover: hover) {
	.gd-footer .gd-icon-frame:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

.gd-footer__note {
	font-size: 16px;
	margin-top: var(--wp--preset--spacing--20) !important;
}

.gd-hint {
	font-size: 14px;
	opacity: 0.8;
}

/* Bottom line: © on the left, legal links on the right. */
.gd-footer__bottom {
	align-items: center;
	border-top: 1px solid var(--gd-line);
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	justify-content: space-between;
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: var(--wp--preset--spacing--30);
}

.gd-copyright {
	font-size: 14px;
	margin: 0;
}

.gd-footer .gd-footer__legal {
	font-size: 14px;
	gap: var(--wp--preset--spacing--30);
}

/* Tablets: two columns. */
@media (max-width: 1023px) {
	.gd-footer__columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gd-footer__brandcol {
		grid-column: 1 / -1;
	}
}

/* Phones (owner 2026-10-30, after aeratechnology.com): one column. The logo, line and newsletter box first,
 * then every link list open under its title (no folding), then the social icons, then the copyright and
 * legal links. The links themselves are unchanged. */
@media (max-width: 767px) {
	.gd-footer__columns {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--30);
	}

	.gd-footer__brandcol {
		display: contents;
	}

	.gd-footer__col {
		margin-top: var(--wp--preset--spacing--30);
	}

	.gd-footer__brandcol > .gd-stay-in-touch {
		margin-top: var(--wp--preset--spacing--30);
		order: 1;
	}

	.gd-footer .wp-block-navigation {
		gap: 14px;
	}

	.gd-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* =====================================================================
 * Components (step 5a; design system 02: C1–C4, D2, D12)
 * ===================================================================== */

/* ---------- Links on any Midnight area (D3): Signal Teal, Neon Lime on hover ---------- */
.has-midnight-background-color a:not(.wp-element-button):not(.gd-pillar) {
	color: var(--wp--preset--color--signal-teal);
}

@media (hover: hover) {
	.has-midnight-background-color a:not(.wp-element-button):not(.gd-pillar):hover {
		color: var(--wp--preset--color--neon-lime);
	}
}

/* Links inside a dark card: white (teal only scores 3.28 on #485561). */
.has-midnight-background-color .gd-card a:not(.gd-pillar),
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-card a:not(.gd-pillar) {
	color: var(--wp--preset--color--white);
}

/* ---------- Section heading + "See all →" (DS2 §9) ---------- */
/* Owner 2026-11-09 (spacing review): 48px, then 2026-11-11 "more space reduced": 32px above and below each
   section (originally 64px). */
.gd-section {
	padding-block: var(--wp--preset--spacing--40);
}

.gd-section-head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	justify-content: space-between;
	margin-bottom: var(--wp--preset--spacing--40);
}

.gd-section-head > * {
	margin-block: 0;
}

.gd-see-all a {
	font-weight: 700;
	text-decoration: none;
}

.gd-see-all a::after {
	content: " \2192";
}

@media (hover: hover) {
	.gd-see-all a:hover {
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}
}

/* ---------- Cards (C1, C2) ---------- */
.gd-cards {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-cards--work {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gd-card {
	background-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--midnight);
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
}

/* On a Cloud Ash band: white cards. On dark: Midnight 80% cards with light text. */
.has-cloud-ash-background-color .gd-card {
	background-color: var(--wp--preset--color--white);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work), .has-midnight-background-color) .gd-card {
	background-color: var(--wp--preset--color--midnight-80);
	color: var(--wp--preset--color--white);
}

.gd-card > * {
	margin-block: 0;
}

.gd-card__image,
.gd-card .wp-block-post-featured-image {
	aspect-ratio: 3 / 2;
	margin: 0;
	overflow: hidden;
}

.gd-card__image img,
.gd-card .wp-block-post-featured-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.25s ease-out;
	width: 100%;
}

.gd-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	padding: var(--wp--preset--spacing--30);
}

.gd-card__body > * {
	margin-block: 0;
}

.gd-card .gd-card__title,
.gd-card .wp-block-post-title {
	color: inherit;
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(22px, 1.8vw, 26px);
	font-weight: 600;
	line-height: 1.2;
}

.gd-card .gd-card__title a,
.gd-card .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is clickable: the headline link stretches over the card. */
.gd-card .gd-card__title a::after,
.gd-card .wp-block-post-title a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.gd-card .gd-card__title a:focus-visible,
.gd-card .wp-block-post-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

@media (hover: hover) {
	.gd-card:hover .gd-card__title a,
	.gd-card:hover .wp-block-post-title a {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 4px;
	}
}

@media (hover: hover) {
	.gd-card:hover .gd-card__image img,
	.gd-card:hover .wp-block-post-featured-image img,
	.gd-card:hover .gd-type-tile {
		opacity: 0.85;
	}
}

.gd-card__meta,
.gd-card__label {
	font-size: 14px;
	gap: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	margin-top: auto;
}

.gd-card__meta > * {
	margin: 0;
}

.gd-card__label {
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-top: 0;
	text-transform: uppercase;
}

.gd-card__outcome {
	font-size: 16px;
}

/* Pillar labels and other links inside a card stay clickable above the stretched link. */
.gd-card .gd-pillar-labels,
.gd-card .gd-card__meta a {
	position: relative;
	z-index: 1;
}

/* ---------- Pillar labels (D2): square, small caps, pillar colour, Midnight text ---------- */
.gd-pillar-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gd-pillar {
	background-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--midnight) !important;
	font-size: 13px;
	font-variant: small-caps;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 6px 8px;
	text-decoration: none !important;
	text-transform: lowercase;
}

.gd-pillar--ai {
	background-color: var(--wp--preset--color--signal-teal);
}

.gd-pillar--healthcare {
	background-color: var(--wp--preset--color--neon-lime);
}

.gd-pillar--marketing {
	background-color: var(--wp--preset--color--blush-coral);
}

@media (hover: hover) {
	.gd-pillar:hover {
		outline: 2px solid currentColor;
		outline-offset: 1px;
	}
}

/* ---------- Typographic tile for articles without a photo (D12) ---------- */
.gd-type-tile {
	align-items: flex-end;
	aspect-ratio: 3 / 2;
	background-color: var(--wp--preset--color--midnight);
	box-sizing: border-box;
	color: var(--wp--preset--color--white);
	display: flex;
	padding: var(--wp--preset--spacing--30);
	position: relative;
	transition: opacity 0.25s ease-out;
}

.gd-type-tile::before {
	background-color: var(--wp--preset--color--signal-teal);
	content: "";
	height: 6px;
	left: var(--wp--preset--spacing--30);
	position: absolute;
	top: var(--wp--preset--spacing--30);
	width: 48px;
}

.gd-type-tile--healthcare::before {
	background-color: var(--wp--preset--color--neon-lime);
}

.gd-type-tile--marketing::before {
	background-color: var(--wp--preset--color--blush-coral);
}

.gd-type-tile__text {
	display: -webkit-box;
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(20px, 1.7vw, 26px);
	font-weight: 600;
	line-height: 1.15;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

/* Pillar-name tiles: the word, big. */
.gd-type-tile--word .gd-type-tile__text {
	font-size: clamp(40px, 4vw, 64px);
	letter-spacing: -0.01em;
	line-height: 1;
}

/* On dark pages the tile takes the card's Midnight 80% panel colour, so a card without a photo
   still reads as one card (a Midnight tile vanished into the Midnight page; owner 2026-10-22).
   A thin Midnight line separates the tile from the text. */
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work), .has-midnight-background-color) .gd-type-tile {
	background-color: var(--wp--preset--color--midnight-80);
	border-bottom: 1px solid var(--wp--preset--color--midnight);
}

/* ---------- Quotes (C4): large Clash text, big outlined teal quotation mark, small-caps credit ---------- */
.wp-block-quote {
	border: 0;
	margin-inline: 0;
	padding: var(--wp--preset--spacing--60) 0 0 var(--wp--preset--spacing--10);
	position: relative;
}

.wp-block-quote::before {
	color: transparent;
	content: "\201C";
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 120px;
	font-weight: 600;
	left: -4px;
	line-height: 1;
	position: absolute;
	top: -8px;
	-webkit-text-stroke: 2px var(--wp--preset--color--signal-teal);
	z-index: 0;
}

.wp-block-quote > * {
	position: relative;
	z-index: 1;
}

/* =====================================================================
 * Patterns (step 5b; design system 02: P1–P5)
 * ===================================================================== */

/* Small label above titles ("kicker"). */
.gd-kicker {
	color: var(--gd-link);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.has-midnight-background-color .gd-kicker {
	color: var(--wp--preset--color--signal-teal);
}

/* Bands: full-width colour areas: 56px (originally 96px; owner 2026-11-09 then 2026-11-11, "more space reduced"). */
.gd-band {
	padding-block: calc(var(--wp--preset--spacing--10) * 7);
}

/* Sections and bands follow each other with no extra gap: their own space is enough (was +24px). */
.gd-section + .gd-section,
.gd-section + .gd-band,
.gd-band + .gd-section,
.gd-band + .gd-band {
	margin-block-start: 0;
}

/* Clear edges without lines: when two plain sections follow each other, the second sits on a band:
   a light Cloud Ash in light mode, the deeper Midnight in dark mode and on the Work with us side. */
html:not([data-gd-scheme="dark"]) body:not(.gd-half-work) .gd-section:not(.gd-deep):not(.gd-band) + .gd-section:not(.gd-deep):not(.gd-band) {
	background-color: color-mix(in srgb, var(--wp--preset--color--cloud-ash) 40%, #fff);
	box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--wp--preset--color--cloud-ash) 40%, #fff);
	clip-path: inset(0 -100vmax);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-section:not(.gd-deep):not(.gd-band) + .gd-section:not(.gd-deep):not(.gd-band) {
	background-color: var(--wp--preset--color--midnight-deep);
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--midnight-deep);
	clip-path: inset(0 -100vmax);
}

/* ---------- P1 · Hero / brand line ---------- */
.gd-hero {
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
	text-align: center;
}

/* The hero is a Cover block: without a photo or video it looks exactly like the plain brand line. */
.gd-hero.wp-block-cover {
	color: var(--gd-text);
	min-height: 0;
	padding-inline: var(--wp--preset--spacing--30);
}

.gd-hero.wp-block-cover .wp-block-cover__inner-container {
	color: inherit;
}

/* With a photo OR a silent video behind it (owner 2026-10-22): a Midnight tint keeps the words readable. */
.gd-hero.wp-block-cover:has(.wp-block-cover__image-background, .wp-block-cover__video-background) {
	color: var(--wp--preset--color--white);
	min-height: min(72vh, 720px);
}

.gd-hero.wp-block-cover:has(.wp-block-cover__image-background, .wp-block-cover__video-background) .wp-block-cover__background {
	background-color: var(--wp--preset--color--midnight) !important;
	opacity: 0.68 !important;
}

.gd-hero.wp-block-cover:has(.wp-block-cover__image-background, .wp-block-cover__video-background) :is(h1, h2, .gd-hero__line) {
	color: var(--wp--preset--color--white);
}

.gd-hero.wp-block-cover:has(.wp-block-cover__image-background, .wp-block-cover__video-background) .gd-kicker {
	color: var(--wp--preset--color--neon-lime);
}

.gd-hero .gd-hero__line {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-block: var(--wp--preset--spacing--20);
}

.gd-hero .gd-hero__sub {
	font-size: clamp(18px, 1.4vw, 20px);
	margin-inline: auto;
	max-width: 640px;
}

/* ---------- P2 · The two doors ---------- */
.gd-doors {
	align-items: stretch !important;
}

.gd-door {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	padding: clamp(24px, 4vw, 56px);
}

.gd-door > * {
	margin-block: 0;
}

.gd-door .gd-door__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.gd-door .gd-door__taste {
	margin-top: var(--wp--preset--spacing--20);
}

.gd-door .gd-door__taste ul,
.gd-door .gd-door__taste .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-door .gd-door__headline {
	font-family: var(--wp--preset--font-family--satoshi);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.gd-door .gd-door__headline a {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) {
	.gd-door .gd-door__headline a:hover {
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}
}

.gd-door .wp-block-buttons {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--30);
}

.gd-door .gd-cards--work {
	grid-template-columns: 1fr;
}

/* Dark mode (owner 2026-10-22): the Learn door becomes a Midnight 80% panel with white text, like the newsletter band;
   its label turns Neon Lime (teal only scores 3.28 there). */
html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-door--learn {
	background-color: var(--wp--preset--color--midnight-80) !important;
	color: var(--wp--preset--color--white);
}

html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-door--learn .gd-kicker {
	color: var(--wp--preset--color--neon-lime);
}

/* Dark mode: the Work door keeps its Midnight colour but gets a visible edge, so it still reads as a card on the Midnight page. */
html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-door--work {
	border: 2px solid var(--wp--preset--color--midnight-80);
}

/* Phones (owner 2026-10-30, a trial): the two doors stay side by side, everything inside scaled down to fit
 * half a phone screen. Buttons keep a 44 px tap height; the work example shows its picture and title only. */
@media (max-width: 781px) {
	.wp-block-columns.gd-doors {
		flex-wrap: nowrap !important;
		gap: 8px !important;
	}

	.wp-block-columns.gd-doors > .wp-block-column.gd-door {
		flex: 1 1 0 !important;
		gap: 8px;
		min-width: 0;
		padding: 14px 12px;
	}

	.gd-door .gd-kicker {
		font-size: 10px;
		letter-spacing: 0.06em;
	}

	.gd-door .gd-door__title {
		font-size: 20px;
		line-height: 1.1;
		overflow-wrap: anywhere;
	}

	.gd-door p:not(.gd-kicker) {
		font-size: 13px;
		line-height: 1.45;
	}

	/* AI · Healthcare · Marketing one under another, like the service chips in the other door (owner 2026-10-30). */
	.gd-door .gd-pillar-labels {
		align-items: flex-start;
		display: flex;
		flex-direction: column;
		gap: 4px;
	}

	/* Exactly the service chips' lettering: 11 px bold, normal letters (owner 2026-10-30); pillar colours kept. */
	.gd-door .gd-pillar-labels .gd-pillar {
		font-size: 11px;
		font-variant: normal;
		letter-spacing: 0.02em;
		line-height: 1.2;
		padding: 4px 6px;
		text-transform: uppercase;
	}

	.gd-door .gd-door__taste {
		margin-top: 4px;
	}
}

/* Articles in the Learn door on phones (owner 2026-10-30): three where there is room, two on narrow phones
 * (under 400 px), so nothing is squeezed. */
@media (max-width: 399px) {
	.gd-door .gd-door__taste .wp-block-post-template > li:nth-child(n + 3) {
		display: none;
	}
}

@media (max-width: 781px) {
	.gd-door .gd-door__headline {
		font-size: 13px;
		line-height: 1.35;
	}

	.gd-door .gd-chips {
		gap: 4px;
	}

	.gd-door .gd-chips .gd-chip {
		font-size: 11px;
		padding: 4px 6px;
		white-space: normal;
	}

	.gd-door .gd-cards--work .gd-card__body > :not(.gd-card__title):not(h3) {
		display: none;
	}

	.gd-door .gd-cards--work .gd-card__body {
		padding: 8px;
	}

	.gd-door .gd-cards--work .gd-card__title,
	.gd-door .gd-cards--work h3 {
		font-size: 13px;
		line-height: 1.3;
	}

	.gd-door .wp-block-buttons {
		padding-top: 12px;
	}

	.gd-door .wp-block-button,
	.gd-door .wp-block-button__link {
		width: 100%;
	}

	.gd-door .wp-block-button__link {
		font-size: 13px;
		min-height: 44px;
		min-width: 0;
		padding: 8px;
	}
}

/* Service chips: small square outlined labels. */
.gd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gd-chip,
.has-midnight-background-color .gd-chip {
	border: 2px solid currentColor;
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 6px 10px;
	text-decoration: none;
}

@media (hover: hover) {
	.gd-chip:hover,
	.has-midnight-background-color .gd-chip:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

/* ---------- P3 · Services list ---------- */
.gd-services-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-services-list li {
	border-bottom: 1px solid var(--wp--preset--color--midnight-80);
}

.gd-services-list li:first-child {
	border-top: 1px solid var(--wp--preset--color--midnight-80);
}

.gd-services-list .gd-services-list__row {
	align-items: center;
	color: inherit;
	display: grid;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto;
	padding-block: var(--wp--preset--spacing--30);
	text-decoration: none;
}

.has-midnight-background-color .gd-services-list .gd-services-list__row {
	color: var(--wp--preset--color--white);
}

.gd-services-list__name {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(26px, 2.2vw, 32px);
	font-weight: 600;
	line-height: 1.15;
}

.gd-services-list__promise {
	color: var(--wp--preset--color--cloud-ash);
	font-size: 18px;
}

:where(.has-cloud-ash-background-color, .has-white-background-color) .gd-services-list__promise {
	color: inherit;
}

.gd-services-list__arrow .gd-icon {
	height: 32px;
	width: 32px;
}

.gd-services-list .gd-services-list__row:focus-visible .gd-services-list__name {
	color: var(--wp--preset--color--neon-lime);
}

@media (hover: hover) {
	.gd-services-list .gd-services-list__row:hover .gd-services-list__name,
	.gd-services-list .gd-services-list__row:hover .gd-services-list__arrow {
		color: var(--wp--preset--color--neon-lime);
	}
}

@media (max-width: 767px) {
	.gd-services-list .gd-services-list__row {
		grid-template-columns: 1fr auto;
	}

	.gd-services-list__promise {
		grid-column: 1 / 2;
	}

	.gd-services-list__arrow {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* ---------- P4 · Sentence filter: "We help [who] with [what]" ---------- */
.gd-sentence {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.gd-sentence__line {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(28px, 2.6vw, 34px);
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}

.gd-sentence__select {
	background: transparent;
	border: 0;
	border-bottom: 3px solid currentColor;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	margin-inline: 4px;
	max-width: 100%;
	padding: 0 4px;
}

.gd-sentence__select option {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--midnight);
	font-family: var(--wp--preset--font-family--satoshi);
	font-size: 18px;
}

.gd-sentence .wp-block-button__link {
	cursor: pointer;
}

/* ---------- P5 · Newsletter band ---------- */
.gd-newsletter-band__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
	justify-content: space-between;
}

.gd-newsletter-band__inner > * {
	margin-block: 0;
}

.gd-newsletter-band .gd-newsletter-band__statement {
	flex: 1 1 420px;
	font-size: var(--wp--preset--font-size--x-large);
}

.gd-newsletter-band__action {
	display: flex;
	flex: 0 1 360px;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.gd-newsletter-band__action > * {
	margin-block: 0;
}

.gd-privacy-note {
	font-size: 14px;
}

/* On Impact pages the band turns Midnight (P5). */
body.gd-half-work .gd-newsletter-band {
	background-color: var(--wp--preset--color--midnight) !important;
	color: var(--wp--preset--color--white);
}

/* Dark mode on light pages: the band is the darkest Midnight (#101923) with white text (owner 2026-10-30;
 * was the Midnight 80% grey panel from 2026-10-22). */
html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-newsletter-band {
	background-color: var(--wp--preset--color--midnight-deep) !important;
	color: var(--wp--preset--color--white);
}

/* Dispatch page, dark mode (owner 2026-10-30): no Midnight strip between the last dark row and the dark band;
 * the page's bottom space and the gap above the band are dropped there, so the dark areas meet. */
html[data-gd-scheme="dark"] body:not(.gd-half-work) .wp-site-blocks > main.gd-dispatch:has(+ .gd-newsletter-band) {
	padding-bottom: 0;
}

html[data-gd-scheme="dark"] body:not(.gd-half-work) .wp-site-blocks > main.gd-dispatch + .gd-newsletter-band {
	margin-block-start: 0;
}

/* Links on the dark band: Neon Lime (kept from the Midnight 80% days; it reads well on the darker band too). */
html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-newsletter-band a:not(.wp-element-button) {
	color: var(--wp--preset--color--neon-lime);
}

@media (hover: hover) {
	html[data-gd-scheme="dark"] body:not(.gd-half-work) .gd-newsletter-band a:not(.wp-element-button):hover {
		color: var(--wp--preset--color--white);
	}
}

/* Dark areas: service rows and chips stay white (P3, P2); Neon Lime on hover. More specific than the general Midnight link rule. */
.has-midnight-background-color .gd-services-list a.gd-services-list__row,
.has-midnight-background-color .gd-chips a.gd-chip {
	color: var(--wp--preset--color--white);
}

.has-midnight-background-color .gd-services-list a.gd-services-list__row:focus-visible {
	color: var(--wp--preset--color--white);
}

@media (hover: hover) {
	.has-midnight-background-color .gd-services-list a.gd-services-list__row:hover {
		color: var(--wp--preset--color--white);
	}
}

@media (hover: hover) {
	.has-midnight-background-color .gd-services-list a.gd-services-list__row:hover .gd-services-list__name,
	.has-midnight-background-color .gd-services-list a.gd-services-list__row:hover .gd-services-list__arrow {
		color: var(--wp--preset--color--neon-lime);
	}
}

@media (hover: hover) {
	.has-midnight-background-color .gd-chips a.gd-chip:hover {
		color: var(--wp--preset--color--midnight);
	}
}

/* =====================================================================
 * Article page (step 6; wireframe p5)
 * ===================================================================== */

/* Reading progress bar: fills as you scroll (no script). Hidden with "reduce motion". */
.gd-progress {
	background-color: var(--wp--preset--color--signal-teal);
	height: 4px;
	left: 0;
	position: fixed;
	top: 0;
	transform: scaleX(0);
	transform-origin: left center;
	width: 100%;
	z-index: 100;
}

@supports (animation-timeline: scroll()) {
	.gd-progress {
		animation: gd-progress linear both;
		animation-timeline: scroll(root block);
	}
}

@keyframes gd-progress {
	to {
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gd-progress {
		display: none;
	}
}

.gd-article {
	padding-block: var(--wp--preset--spacing--60) 0;
}

.gd-article__head > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-article .gd-article__title {
	font-size: var(--wp--preset--font-size--xx-large);
}

.gd-article__summary {
	font-size: clamp(19px, 1.5vw, 22px);
	line-height: 1.5;
}

.gd-byline {
	border-bottom: 1px solid var(--gd-line);
	font-size: 14px;
	padding-bottom: var(--wp--preset--spacing--20);
}

.gd-article .gd-article__image {
	margin-block: var(--wp--preset--spacing--40);
}

.gd-article__body {
	margin-block: var(--wp--preset--spacing--40);
}

.gd-article__foot > * {
	margin-block: var(--wp--preset--spacing--40);
}

/* Key takeaways box. */
.gd-takeaways {
	background-color: var(--wp--preset--color--cloud-ash);
	border-left: 6px solid var(--wp--preset--color--signal-teal);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.gd-takeaways .gd-takeaways__title {
	font-size: var(--wp--preset--font-size--large);
	margin-top: 0;
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-takeaways {
	background-color: var(--wp--preset--color--midnight-80);
}

/* Share row. */
.gd-share {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.gd-share__label {
	font-weight: 700;
}

/* Author box. */
.gd-author-box {
	align-items: flex-start;
	border: 2px solid currentColor;
	box-sizing: border-box;
	display: flex;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30);
}

.gd-author-box p {
	margin: 0 0 6px;
}

.gd-author-box__photo {
	flex: 0 0 80px;
	height: 80px;
	object-fit: cover;
	width: 80px;
}

.gd-author-box__photo--empty {
	background-color: var(--wp--preset--color--cloud-ash);
	display: block;
}

.gd-author-box__name {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 22px;
	font-weight: 600;
}

.gd-author-box__role {
	font-size: 14px;
}

/* Related service ("bridge" to Impact). */
.gd-related-service {
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--40);
}

.gd-related-service p {
	margin: 0 0 var(--wp--preset--spacing--10);
}

.gd-related-service__name {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}

/* =====================================================================
 * Dispatch pages (step 6; wireframes p4, p15)
 * ===================================================================== */

.gd-dispatch,
.gd-listing,
.gd-profile {
	padding-block: var(--wp--preset--spacing--60);
}

.gd-page-head {
	margin-bottom: var(--wp--preset--spacing--50);
}

.gd-page-head > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

/* Filter row: All · AI · Healthcare · Marketing (square, like the tabs). */
.gd-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--wp--preset--spacing--30);
}

.gd-filter .gd-filter__item {
	border: 2px solid currentColor;
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	padding: 10px 16px;
	text-decoration: none;
}

@media (hover: hover) {
	.gd-filter .gd-filter__item:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

.gd-filter .gd-filter__item.is-active {
	background-color: var(--gd-text);
	border-color: var(--gd-text);
	color: var(--gd-bg);
}

/* Card grids built by the Dispatch blocks (3 across, 1 on phones). */
.gd-card-grid {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

/* Lead story: big card, image and text side by side on wide screens. */
.gd-lead {
	margin-bottom: var(--wp--preset--spacing--40); /* 32px, in line with the tighter spacing (owner 2026-11-11). */
}

.gd-card--lead {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.gd-card--lead .gd-card__body {
	justify-content: center;
	padding: var(--wp--preset--spacing--50);
}

.gd-card--lead .gd-card__title {
	font-size: clamp(28px, 3vw, 44px);
}

.gd-card__excerpt {
	font-size: 18px;
}

@media (max-width: 767px) {
	.gd-card--lead {
		grid-template-columns: 1fr;
	}

	.gd-card--lead .gd-card__body {
		padding: var(--wp--preset--spacing--30);
	}
}

/* Pillar rows on the Dispatch front page. */
.gd-pillar-row {
	padding-block: var(--wp--preset--spacing--40);
}

.gd-pillar-dot {
	display: inline-block;
	height: 18px;
	margin-right: 12px;
	vertical-align: middle;
	width: 18px;
}

.gd-pillar-dot--ai {
	background-color: var(--wp--preset--color--signal-teal);
}

.gd-pillar-dot--healthcare {
	background-color: var(--wp--preset--color--neon-lime);
}

.gd-pillar-dot--marketing {
	background-color: var(--wp--preset--color--blush-coral);
}

/* Page numbers. */
.gd-pagination {
	font-weight: 700;
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--50);
}

/* Profile page. */
.gd-profile__photo img {
	object-fit: cover;
}

.gd-profile__role {
	font-size: 20px;
	font-weight: 700;
	margin-top: 0;
}

.gd-profile__links {
	align-items: center;
	margin-block: var(--wp--preset--spacing--20);
}

.gd-person-articles {
	margin-top: var(--wp--preset--spacing--60);
}

/* Profile without a photo: initials. */
.gd-profile__initials {
	align-items: center;
	aspect-ratio: 1;
	background-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--midnight);
	display: flex;
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 72px;
	font-weight: 600;
	justify-content: center;
}

/* =====================================================================
 * Impact pages (step 7; wireframes p6, p7, p10, p11). Impact is always dark (D11).
 * ===================================================================== */

/* Breadcrumb: "Impact › Services". */
.gd-crumbs {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 var(--wp--preset--spacing--20);
}

.gd-crumbs a {
	text-decoration: none;
}

@media (hover: hover) {
	.gd-crumbs a:hover {
		text-decoration: underline;
	}
}

/* Full-width pages (no title): Impact, Speaking, landing. */
/* No space below: these pages end with a full-width band or their own ending section. */
.gd-wide {
	padding-block: 0;
}

/* ---------- Impact opener: the title stays still while project images drift past (WF p6) ---------- */
.gd-story {
	position: relative;
}

.gd-story__title {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: calc(100vh - var(--gd-header-h));
	height: calc(100svh - var(--gd-header-h));
	justify-content: center;
	padding-inline: var(--wp--preset--spacing--30);
	pointer-events: none;
	position: sticky;
	text-align: center;
	top: var(--gd-header-h);
	z-index: 1;
}

.gd-story__title > * {
	margin-block: 0;
}

.gd-story .gd-story__heading {
	font-size: clamp(64px, 9vw, 140px);
	letter-spacing: -0.02em;
	line-height: 0.95;
	margin-block: var(--wp--preset--spacing--20);
}

.gd-story__line {
	font-size: 20px;
	max-width: 28ch;
}

.gd-story__images {
	column-gap: 44%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	list-style: none;
	margin: calc(var(--gd-header-h) - 100vh) 0 0;
	margin-top: calc(var(--gd-header-h) - 100svh);
	padding: 70vh var(--wp--preset--spacing--40) 20vh;
	position: relative;
	row-gap: 30vh;
	z-index: 0;
}

.gd-story__item:nth-child(even) {
	transform: translateY(35vh);
}

.gd-story__item a {
	color: inherit;
	display: block;
	text-decoration: none;
}

.gd-story__img,
.gd-story__tile {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.gd-story__tile {
	align-items: flex-end;
	background-color: var(--wp--preset--color--midnight-80);
	box-sizing: border-box;
	display: flex;
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(24px, 2.4vw, 36px);
	font-weight: 600;
	line-height: 1.1;
	padding: var(--wp--preset--spacing--30);
}

.gd-story__caption {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-top: var(--wp--preset--spacing--10);
}

@media (hover: hover) {
	.gd-story__item a:hover .gd-story__caption {
		text-decoration: underline;
	}
}

.gd-story--plain .gd-story__title {
	height: auto;
	padding-block: var(--wp--preset--spacing--80);
	position: static;
}

/* Phones (owner 2026-10-30, a trial): the same effect as on computers, sized for a phone. "Impact" holds still
 * in the middle while the project pictures come up one at a time, alternating left and right, about two-thirds
 * of the screen wide, passing behind the title. A soft dark glow behind the letters keeps the title readable
 * over the pictures (a readability glow, not a box shadow). */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
	.gd-story:not(.gd-story--plain) .gd-story__heading {
		font-size: clamp(56px, 18vw, 96px);
	}

	.gd-story:not(.gd-story--plain) .gd-story__title > * {
		text-shadow: 0 0 18px rgb(16 25 35 / 0.95), 0 0 42px rgb(16 25 35 / 0.8);
	}

	.gd-story__images {
		column-gap: 0;
		display: flex;
		flex-direction: column;
		padding: 80vh var(--wp--preset--spacing--20) 30vh;
		row-gap: 24vh;
	}

	.gd-story__item {
		width: 66%;
	}

	.gd-story__item:nth-child(even) {
		align-self: flex-end;
		transform: none;
	}
}

/* Phones that ask for less motion: the lighter version, the title then a row of images to swipe. */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.gd-story__title {
		height: auto;
		padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40);
		position: static;
	}

	.gd-story__images {
		display: flex;
		gap: var(--wp--preset--spacing--20);
		margin: 0;
		overflow-x: auto;
		padding: 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
		scroll-snap-type: x mandatory;
	}

	.gd-story__item {
		flex: 0 0 80%;
		scroll-snap-align: start;
	}

	.gd-story__item:nth-child(even) {
		transform: none;
	}
}

/* ---------- What & why (WF p6 bands 3-4) ---------- */
.gd-why .gd-why__statement {
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1.05;
	margin-bottom: var(--wp--preset--spacing--50);
}

.gd-why__points h3 {
	font-size: 24px;
}

/* The three subtitles stand out in Neon Lime (owner 2026-10-28). A colour picked for one heading in the
 * editor still wins (WordPress's colour classes are stronger). */
.gd-why .gd-why__points h3 {
	color: var(--wp--preset--color--neon-lime);
}

/* Photo band (owner 2026-10-28): a section with a photo behind it, edge to edge, words keep their place.
 * The tint is the block's own "Overlay opacity" (starts at 70; keep it at 60 or more). Without a photo,
 * the band keeps its usual dark colour. */
.gd-photo-band.wp-block-cover {
	min-height: 0;
	padding-inline: var(--wp--preset--spacing--30);
}

.gd-photo-band.wp-block-cover:has(.wp-block-cover__image-background) .wp-block-cover__inner-container :is(h2, p) {
	color: var(--wp--preset--color--white);
}

.gd-photo-band.wp-block-cover:not(:has(.wp-block-cover__image-background)) .wp-block-cover__background {
	display: none;
}

/* ---------- Team teaser, speaking band, client words ---------- */
.gd-link-row a {
	font-weight: 700;
	margin-right: var(--wp--preset--spacing--40);
	text-decoration: none;
}

@media (hover: hover) {
	.gd-link-row a:hover {
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}
}

.gd-speaking-band {
	background-color: var(--wp--preset--color--midnight-80);
}

.gd-speaking-band > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-speaking-band a:not(.wp-element-button) {
	color: var(--wp--preset--color--neon-lime);
}

@media (hover: hover) {
	.gd-speaking-band a:not(.wp-element-button):hover {
		color: var(--wp--preset--color--white);
	}
}

.gd-speaking-band .gd-kicker {
	color: var(--wp--preset--color--neon-lime);
}

/* The grey speaking band sits directly on the closing section, with no strip of page colour between the
   two bands (owner 2026-11-05: "make them touch"). */
.gd-speaking-band + .gd-closing {
	margin-block-start: 0;
}

/* ---------- One clear ending (WF p6 band 11, p7 band 11) ---------- */
.gd-closing {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	text-align: center;
}

.gd-closing > * {
	margin-block: 0;
}

.gd-closing .gd-closing__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.gd-closing .wp-block-buttons {
	justify-content: center;
}

.gd-closing__promise {
	font-size: 15px;
}

/* ---------- Service page (WF p7): the same order on every service ---------- */
.gd-service {
	padding-block: var(--wp--preset--spacing--60);
}

.gd-service-hero {
	padding-bottom: var(--wp--preset--spacing--60);
}

.gd-service-hero > * {
	margin-block: 0 var(--wp--preset--spacing--30);
}

.gd-service-hero .gd-service-hero__title {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1;
}

.gd-service-hero__promise {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(24px, 2.5vw, 32px);
	max-width: 30ch;
}

.gd-svc {
	border-top: 1px solid var(--gd-line);
	padding-block: var(--wp--preset--spacing--50);
}

.gd-svc:empty,
.gd-svc--check:not(:has(*)),
.gd-svc--work:not(:has(*)),
.gd-svc--pricing:not(:has(*)),
.gd-svc--articles:not(:has(*)) {
	display: none;
}

.gd-svc .gd-section {
	padding-block: 0;
}

/* Service sections touch: no 24px gap between them, which showed as a strip between two same-colour bands
   (owner 2026-11-12). */
.wp-block-group.gd-svc + .wp-block-group.gd-svc {
	margin-block-start: 0;
}

/* "Who it's for": square labels. */
.gd-who {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
}

.gd-who li {
	border: 2px solid currentColor;
	font-size: 15px;
	font-weight: 700;
	padding: 6px 12px;
}

/* Outcomes: panels side by side. */
.gd-outcomes {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	list-style: none;
	padding: 0;
}

.gd-outcomes li {
	background-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--midnight);
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 22px;
	padding: var(--wp--preset--spacing--40);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-outcomes li {
	background-color: var(--wp--preset--color--midnight-80);
	color: var(--wp--preset--color--white);
}

/* How it works: numbered steps in a row. */
.gd-steps {
	counter-reset: gd-step;
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	list-style: none;
	padding: 0;
}

.gd-steps li {
	border-top: 4px solid var(--wp--preset--color--signal-teal);
	counter-increment: gd-step;
	font-size: 20px;
	font-weight: 700;
	padding-top: var(--wp--preset--spacing--20);
}

.gd-steps li::before {
	content: counter(gd-step);
	display: block;
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 40px;
	line-height: 1.1;
}

/* FAQs: square open/close rows. */
.gd-faq {
	border-bottom: 1px solid var(--gd-line);
	padding-block: var(--wp--preset--spacing--20);
}

.gd-faq summary {
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
}

.gd-pricing-note p {
	max-width: 70ch;
}

/* ---------- Case study (WF p10) ---------- */
.gd-case {
	padding-block: var(--wp--preset--spacing--60);
}

.gd-case-head > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-case-head .gd-case-head__title {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1;
}

.gd-case-head__outcome {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(22px, 2.4vw, 30px);
	max-width: 36ch;
}

.gd-case__image {
	margin-block: var(--wp--preset--spacing--40);
}

.gd-facts {
	border-block: 1px solid var(--gd-line);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0 0 var(--wp--preset--spacing--50);
	padding-block: var(--wp--preset--spacing--30);
}

.gd-facts dt {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gd-facts dd {
	margin: 4px 0 0;
}

.gd-stat {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(56px, 7vw, 96px);
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0;
}

.gd-case-nav {
	align-items: center;
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: 1fr auto 1fr;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--40);
}

.gd-case-nav p {
	font-weight: 700;
	margin: 0;
}

.gd-case-nav a:not(.wp-element-button) {
	text-decoration: none;
}

.gd-case-nav__next {
	text-align: right;
}

@media (max-width: 767px) {
	.gd-case-nav {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.gd-case-nav__next {
		text-align: center;
	}

	.gd-case-nav .wp-block-buttons {
		justify-content: center;
	}
}

/* ---------- Work list (WF p10) ---------- */
.gd-work-grid {
	margin-top: var(--wp--preset--spacing--40);
}

/* ---------- Speaking (WF p11) ---------- */
.gd-speak-hero {
	align-items: center;
	display: grid;
	gap: var(--wp--preset--spacing--50);
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.gd-speak-hero__text > * {
	margin-block: 0 var(--wp--preset--spacing--30);
}

.gd-speak-hero__line {
	font-size: 20px;
	max-width: 36ch;
}

.gd-video-spot {
	align-items: center;
	aspect-ratio: 16 / 9;
	background-color: var(--wp--preset--color--midnight-80);
	box-sizing: border-box;
	display: flex;
	padding: var(--wp--preset--spacing--40);
	text-align: center;
}

@media (max-width: 767px) {
	.gd-speak-hero {
		grid-template-columns: 1fr;
	}
}

.gd-topics {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-topic {
	background-color: var(--wp--preset--color--midnight-80);
	padding: var(--wp--preset--spacing--40);
}

.gd-topic > * {
	margin-block: 0 var(--wp--preset--spacing--10);
}

.gd-topic .gd-topic__title {
	font-size: 24px;
}

/* Parked topics: "greyed out" as an empty dashed panel; the text stays readable (WCAG AA). */
.gd-topic.is-parked {
	background-color: transparent;
	border: 2px dashed var(--wp--preset--color--midnight-80);
}

.gd-topic__parked {
	border: 2px solid currentColor;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: var(--wp--preset--spacing--20);
	padding: 2px 8px;
	text-transform: uppercase;
}

.gd-topic__formats {
	font-size: 15px;
}

.gd-format-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
}

.gd-format-list li {
	border: 2px solid currentColor;
	font-weight: 700;
	padding: 8px 14px;
}

.gd-fee {
	font-weight: 700;
}

/* Space between a section heading and its content (talk topics, formats). */
.gd-section > .wp-block-heading:first-child {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* =====================================================================
 * Landing page (step 8; wireframes p2-3)
 * ===================================================================== */

.gd-from-impact .gd-sentence {
	margin-bottom: var(--wp--preset--spacing--50);
}

.gd-trust__points h3 {
	font-size: 24px;
}

/* Swipe rows (WF p3; owner 2026-10-30, after aeratechnology.com): cards slide sideways, the next one
 * peeking in at the edge. No scroll bar under the row: two square arrows sit by the section title instead
 * (assets/js/rails.js; they only show while there is more to see). Touch swiping and tabbing still work.
 * Phones: the article row, the project rows and the four standards. Tablets and laptops: the article row
 * on the landing page, once it has more than fits. */
.gd-swipe .wp-block-post-template,
.gd-swipe .gd-cards--work,
.gd-trust .gd-trust__points {
	scrollbar-width: none;
}

.gd-swipe .wp-block-post-template::-webkit-scrollbar,
.gd-swipe .gd-cards--work::-webkit-scrollbar,
.gd-trust .gd-trust__points::-webkit-scrollbar {
	display: none;
}

@media (max-width: 767px) {
	.gd-swipe .wp-block-post-template,
	.gd-swipe .gd-cards--work,
	.gd-trust .wp-block-columns.gd-trust__points {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: var(--wp--preset--spacing--20);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.gd-swipe .wp-block-post-template > li,
	.gd-swipe .gd-cards--work > li,
	.gd-trust .wp-block-columns.gd-trust__points > .wp-block-column {
		box-sizing: border-box;
		flex: 0 0 82% !important;
		scroll-snap-align: start;
	}
}

@media (min-width: 768px) {
	.gd-swipe .wp-block-post-template:has(> li:nth-child(3)) {
		display: flex !important;
		gap: var(--wp--preset--spacing--30);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.gd-swipe .wp-block-post-template:has(> li:nth-child(3)) > li {
		flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--30)) / 2.25);
		scroll-snap-align: start;
	}
}

@media (min-width: 1024px) {
	.gd-swipe .wp-block-post-template:has(> li:nth-child(3)) {
		display: grid !important;
		overflow-x: visible;
	}

	.gd-swipe .wp-block-post-template:has(> li:nth-child(4)) {
		display: flex !important;
		overflow-x: auto;
	}

	.gd-swipe .wp-block-post-template:has(> li:nth-child(4)) > li {
		flex-basis: calc((100% - 3 * var(--wp--preset--spacing--30)) / 3.25);
	}
}

/* The arrows: square, like every button (owner rule); Neon Lime on mouse hover; faded at either end. */
.gd-section-head__end {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--30);
	margin-left: auto;
}

.gd-section-head__end > * {
	margin-block: 0;
}

.gd-rail-nav {
	display: flex;
	gap: var(--wp--preset--spacing--10);
}

.gd-rail-nav[hidden] {
	display: none;
}

.gd-rail-nav__button {
	align-items: center;
	background: transparent;
	border: 2px solid currentColor;
	border-radius: 0;
	box-sizing: border-box;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	width: 48px;
}

.gd-rail-nav__button .gd-icon {
	height: 20px;
	width: 20px;
}

.gd-rail-nav__button--back .gd-icon {
	transform: scaleX(-1);
}

.gd-rail-nav__button:disabled {
	cursor: default;
	opacity: 0.35;
}

@media (hover: hover) {
	.gd-rail-nav__button:not(:disabled):hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

/* =====================================================================
 * Forms + message bars (step 9; DS2 §5, D4, O2, O3, R04)
 * Labels above boxes · 48px square boxes with a 2px border · optional fields
 * marked · square radios and tick boxes · errors: #A84646 border + message +
 * warning icon (never colour alone) · what was typed is kept.
 * ===================================================================== */

.gd-form-wrap {
	--gd-field-bg: var(--wp--preset--color--white);
	--gd-field-text: var(--wp--preset--color--midnight);
	--gd-field-border: var(--wp--preset--color--midnight);
	--gd-error: #a84646;
	max-width: 720px;
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work), .has-midnight-background-color) .gd-form-wrap {
	--gd-field-border: var(--wp--preset--color--white);
	--gd-error: var(--wp--preset--color--blush-coral);
}

.gd-form-wrap > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-form-wrap .gd-form__heading {
	font-size: var(--wp--preset--font-size--large);
}

.gd-form [hidden] {
	display: none !important;
}

.gd-form {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.gd-form__step {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding: 0;
}

.gd-form__step-title {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 24px;
	font-weight: 600;
	margin-bottom: var(--wp--preset--spacing--10);
	padding: 0;
}

.gd-form__step-title span {
	border: 2px solid currentColor;
	display: inline-block;
	font-size: 16px;
	line-height: 28px;
	margin-right: 8px;
	text-align: center;
	vertical-align: middle;
	width: 28px;
}

/* One field: label above, optional marked, hint, box, error. */
.gd-field {
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.gd-field__label {
	font-weight: 700;
	padding: 0;
}

.gd-field__optional {
	font-weight: 400;
}

.gd-field__hint {
	font-size: 15px;
	margin: 0;
}

.gd-field input[type="text"],
.gd-field input[type="email"],
.gd-field input[type="tel"],
.gd-field select,
.gd-field textarea {
	background-color: var(--gd-field-bg);
	border: 2px solid var(--gd-field-border);
	border-radius: 0;
	box-sizing: border-box;
	color: var(--gd-field-text);
	font-family: var(--wp--preset--font-family--satoshi);
	font-size: 18px;
	min-height: 48px;
	padding: 10px 14px;
	width: 100%;
}

.gd-field textarea {
	min-height: 140px;
	resize: vertical;
}

.gd-field.has-error input,
.gd-field.has-error select,
.gd-field.has-error textarea {
	border-color: #a84646;
	border-width: 3px;
}

.gd-field__error {
	align-items: center;
	color: var(--gd-error);
	display: flex;
	font-weight: 700;
	gap: 8px;
	margin: 0;
}

.gd-field__error .gd-icon,
.gd-message .gd-icon {
	flex: 0 0 auto;
	height: 22px;
	width: 22px;
}

/* Square radio buttons (filled square = chosen) and square tick boxes. */
.gd-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.gd-choice {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	gap: 10px;
	min-height: 44px;
}

.gd-choice input {
	appearance: none;
	background-clip: content-box;
	background-color: transparent;
	border: 2px solid var(--gd-field-border);
	border-radius: 0;
	box-sizing: border-box;
	cursor: pointer;
	flex: 0 0 auto;
	height: 24px;
	margin: 0;
	padding: 4px;
	width: 24px;
}

/* Chosen radio: a filled square inside the square. */
.gd-choice input[type="radio"]:checked {
	background-color: var(--gd-field-border);
}

/* Ticked box: filled, with a tick (Midnight box + white tick on light; white box + Midnight tick on dark). */
.gd-choice input[type="checkbox"]:checked {
	background-clip: border-box;
	background-color: var(--wp--preset--color--midnight);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ffffff' stroke-width='3'/%3E%3C/svg%3E");
	background-position: center;
	background-size: 20px;
	padding: 0;
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work), .has-midnight-background-color) .gd-choice input[type="checkbox"]:checked {
	background-color: var(--wp--preset--color--white);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231a2a3a' stroke-width='3'/%3E%3C/svg%3E");
}

.gd-field.has-error .gd-choice input {
	border-color: #a84646;
	border-width: 3px;
}

/* Spam trap: hidden from people and screen readers. */
.gd-hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.gd-form__send {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

/* Start a project, step 2: Send and "← Back" side by side with a gap (owner 2026-11-20); they wrap on phones. */
.gd-form__send .wp-block-buttons:has(.gd-form__back) {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.gd-form__privacy {
	font-size: 14px;
	margin: 0;
}

/* Newsletter (band and footer): email + Subscribe in one row. */
.gd-form-wrap--compact .gd-form {
	align-items: flex-end;
	flex-direction: row;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
}

.gd-form-wrap--compact .gd-field {
	flex: 1 1 220px;
}

.gd-form-wrap--compact .gd-form__send {
	display: contents;
}

.gd-form-wrap--compact .gd-form__send .wp-block-buttons {
	flex: 0 0 auto;
}

.gd-form-wrap--compact .gd-form__privacy {
	flex: 1 0 100%;
}

.gd-form-wrap--compact .wp-element-button {
	min-width: 160px;
}

/* ---------- Message bars (D4): Midnight text, a guide-colour bar, an icon ---------- */
.gd-message {
	align-items: flex-start;
	background-color: var(--wp--preset--color--cloud-ash);
	border-left: 8px solid var(--wp--preset--color--signal-teal);
	color: var(--wp--preset--color--midnight);
	display: flex;
	gap: 12px;
	padding: 14px 18px;
}

.gd-message p {
	font-weight: 700;
	margin: 0;
}

.gd-message--error {
	border-left-color: var(--wp--preset--color--blush-coral);
}

.gd-message--info {
	border-left-color: var(--wp--preset--color--clay-amber);
}

/* ---------- Form pages (Start a project, Contact, Book a call, Speaking) ---------- */
.gd-form-page {
	display: grid;
	gap: var(--wp--preset--spacing--60);
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

@media (max-width: 899px) {
	.gd-form-page {
		grid-template-columns: 1fr;
	}
}

.gd-reassure {
	align-self: start;
	background-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--midnight);
	padding: var(--wp--preset--spacing--40);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-reassure {
	background-color: var(--wp--preset--color--midnight-80);
	color: var(--wp--preset--color--white);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-reassure a:not(.wp-element-button) {
	color: var(--wp--preset--color--neon-lime);
}

.gd-reassure > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-reassure h2 {
	font-size: 24px;
}

.gd-next-steps {
	counter-reset: gd-next;
	list-style: none;
	padding: 0;
}

.gd-next-steps li {
	counter-increment: gd-next;
	margin-bottom: 12px;
	padding-left: 40px;
	position: relative;
}

.gd-next-steps li::before {
	border: 2px solid currentColor;
	content: counter(gd-next);
	font-weight: 700;
	height: 26px;
	left: 0;
	line-height: 26px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 26px;
}

.gd-routes .wp-block-button {
	flex: 1 1 220px;
}

.gd-routes .wp-block-button__link {
	width: 100%;
}

.gd-parked {
	border: 2px dashed currentColor;
	display: inline-block;
	padding: 8px 14px;
}

/* Full-width bands sit flush: no white strip between two bands, or between the last band and the footer. */
.wp-block-post-content > .alignfull + .alignfull {
	margin-block-start: 0;
}

.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

/* Short pages (owner 2026-11-23, Subscribe): the footer always reaches the bottom of the screen; any spare
   space sits above it, inside the page. Pages taller than the screen are unchanged. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

body.admin-bar .wp-site-blocks {
	min-height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .wp-site-blocks {
		min-height: calc(100dvh - 46px);
	}
}

.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: auto;
}

/* No gap under the floating header: a photo or video hero meets it directly (pages keep their own top spacing). */
.wp-site-blocks > header.wp-block-template-part + * {
	margin-block-start: 0;
}

/* Dark mode: every other section a deeper Midnight (#101923, "Midnight 40% darker"; owner 2026-10-22).
   The thin divider lines were taken off at the owner's request (they didn't line up with the bands). Not one of the brand guide's tints (those only go lighter); added at the
   owner's request. The colour runs edge to edge; light mode is unchanged. */
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-deep,
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-pillar-row:nth-of-type(even),
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-svc:nth-of-type(even) {
	background-color: var(--wp--preset--color--midnight-deep) !important;
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--midnight-deep);
	clip-path: inset(0 -100vmax);
}

/* The Africa network motif (D12; owner's file, text removed) on Learn-side article tiles only, not on
   Impact project tiles (owner 2026-10-22). It sits on the right and fades out towards the words, so
   the pillar name stays readable. Self-hosted, one small shared file; decorative only. */
.gd-type-tile--word::after {
	background: url("../images/motif-africa-network.webp") no-repeat right 4% center / auto 104%;
	content: "";
	inset: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 62%);
	mask-image: linear-gradient(90deg, transparent 12%, #000 62%);
	mix-blend-mode: screen;
	opacity: 0.9;
	pointer-events: none;
	position: absolute;
}

.gd-type-tile--word::before,
.gd-type-tile--word .gd-type-tile__text {
	position: relative;
	z-index: 1;
}

.gd-type-tile--word::before {
	position: absolute;
}

/* Dark mode: no divider line between service-page sections; the deeper bands separate them (owner 2026-10-22). */
:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-svc {
	border-top: 0;
}

/* The four standards on the landing page sit on frosted glass cards, like the floating header
   (owner 2026-10-22). Square corners and no shadow, as everywhere else. The tint keeps the text
   readable; devices that ask for less transparency get a plain panel. */
.gd-trust .gd-trust__points {
	gap: var(--wp--preset--spacing--30);
}

.gd-trust .gd-trust__points > .wp-block-column {
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	background-color: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-top: 4px solid var(--wp--preset--color--signal-teal);
	padding: var(--wp--preset--spacing--40);
}

/* A coloured bar on top of each card (owner's reference, 2026-10-22), in the brand accents in turn. */
.gd-trust .gd-trust__points > .wp-block-column:nth-child(4n + 2) {
	border-top-color: var(--wp--preset--color--neon-lime);
}

.gd-trust .gd-trust__points > .wp-block-column:nth-child(4n + 3) {
	border-top-color: var(--wp--preset--color--blush-coral);
}

.gd-trust .gd-trust__points > .wp-block-column:nth-child(4n + 4) {
	border-top-color: var(--wp--preset--color--clay-amber);
}

.gd-trust .gd-trust__points > .wp-block-column > * {
	margin-block: 0 var(--wp--preset--spacing--10);
}

@media (prefers-reduced-transparency: reduce) {
	.gd-trust .gd-trust__points > .wp-block-column {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background-color: var(--wp--preset--color--midnight-80);
	}
}

/* Links inside the footer's forms (e.g. "Privacy policy" under the email box): light on the Midnight
   footer, like the footer's other links (dark teal was too faint there). */
.gd-footer .gd-form-wrap a:not(.wp-element-button) {
	color: var(--gd-link);
}

@media (hover: hover) {
	.gd-footer .gd-form-wrap a:not(.wp-element-button):hover {
		color: var(--gd-link-hover);
	}
}

/* =====================================================================
 * Work pages, stage 1 (Research 08, Option B; owner 2026-10-23)
 * Shared showcase blocks · Results · Before → after · mosaic Work list.
 * ===================================================================== */

/* Showcase blocks: big images, silent loops, pairs and galleries. */
.gd-show {
	margin-block: var(--wp--preset--spacing--50);
}

.gd-show-full img,
.gd-show-video video {
	display: block;
	height: auto;
	width: 100%;
}

.gd-show-gallery,
.gd-show-pair {
	gap: var(--wp--preset--spacing--20) !important;
}

.gd-show figcaption,
.gd-show .wp-element-caption {
	font-size: 14px;
	margin-top: var(--wp--preset--spacing--10);
	opacity: 0.85;
}

/* Results: 2-4 key figures side by side, each under a teal line (like "How it works"). */
.gd-results {
	margin-block: var(--wp--preset--spacing--60);
}

.gd-results__items {
	gap: var(--wp--preset--spacing--30);
}

.gd-results__items > .wp-block-column {
	border-top: 4px solid var(--wp--preset--color--signal-teal);
	padding-top: var(--wp--preset--spacing--20);
}

.gd-results .gd-stat {
	font-size: clamp(44px, 5vw, 80px);
	margin: 0;
}

.gd-results .gd-results__label {
	font-size: 16px;
	margin: var(--wp--preset--spacing--10) 0 0;
}

/* Before → after: the old situation in a dashed outline, the new one on a solid panel. */
.gd-before-after {
	margin-block: var(--wp--preset--spacing--60);
}

.gd-before-after .wp-block-columns {
	gap: var(--wp--preset--spacing--30);
}

.gd-before-after__before,
.gd-before-after__after {
	padding: var(--wp--preset--spacing--40);
}

.gd-before-after__before {
	border: 2px dashed var(--gd-line);
}

.gd-before-after__after {
	background-color: var(--wp--preset--color--cloud-ash);
	border-top: 4px solid var(--wp--preset--color--signal-teal);
	color: var(--wp--preset--color--midnight);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-before-after__after {
	background-color: var(--wp--preset--color--midnight-80);
	color: var(--wp--preset--color--white);
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-before-after__after .gd-kicker {
	color: var(--wp--preset--color--neon-lime);
}

.gd-before-after ul {
	margin: var(--wp--preset--spacing--10) 0 0;
	padding-left: 1.2em;
}

/* Mosaic Work list (like the best studio sites): a rhythm of wide and square cards.
   The first project (top of the Order screen) is the big featured one. */
.gd-work-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gd-work-grid > .gd-card {
	grid-column: span 2;
}

.gd-work-grid > .gd-card .gd-card__image {
	aspect-ratio: 1 / 1;
}

.gd-work-grid > .gd-card:nth-child(7n + 1),
.gd-work-grid > .gd-card:nth-child(7n + 7) {
	grid-column: span 4;
}

.gd-work-grid > .gd-card:nth-child(7n + 1) .gd-card__image,
.gd-work-grid > .gd-card:nth-child(7n + 7) .gd-card__image {
	aspect-ratio: 2 / 1;
}

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

	.gd-work-grid > .gd-card,
	.gd-work-grid > .gd-card:nth-child(7n + 7) {
		grid-column: span 1;
	}

	.gd-work-grid > .gd-card:nth-child(7n + 1) {
		grid-column: span 2;
	}

	.gd-work-grid > .gd-card:nth-child(7n + 7) .gd-card__image {
		aspect-ratio: 1 / 1;
	}
}

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

	.gd-work-grid > .gd-card,
	.gd-work-grid > .gd-card:nth-child(7n + 1) {
		grid-column: auto;
	}

	.gd-work-grid > .gd-card .gd-card__image,
	.gd-work-grid > .gd-card:nth-child(7n + 1) .gd-card__image {
		aspect-ratio: 3 / 2;
	}
}

/* =====================================================================
 * Work pages, stage 2: Brand system + Screens (Research 08, Option B)
 * ===================================================================== */

.gd-brand-system,
.gd-screens {
	margin-block: var(--wp--preset--spacing--60);
}

.gd-brand-system h3,
.gd-screens h3 {
	font-size: 24px;
	margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--20);
}

/* Logo on light and on dark, side by side. */
.gd-logos {
	gap: var(--wp--preset--spacing--30);
}

.gd-logo-panel {
	align-items: center;
	aspect-ratio: 3 / 2;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	padding: var(--wp--preset--spacing--50);
}

.gd-logo-panel--light {
	background-color: var(--wp--preset--color--white);
}

.gd-logo-panel--dark {
	background-color: var(--wp--preset--color--midnight);
	border: 1px solid var(--wp--preset--color--midnight-80);
}

.gd-logo-panel .gd-logo-panel__img {
	margin: 0;
	max-width: 70%;
}

.gd-logo-panel .gd-logo-panel__img img {
	display: block;
	height: auto;
	max-height: 160px;
	object-fit: contain;
	width: 100%;
}

/* Colour swatches: square tiles; the text colour is chosen automatically for readability. */
.gd-swatches {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-swatch {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--wp--preset--color--midnight-80);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: var(--wp--preset--spacing--20);
}

.gd-swatch__name {
	font-weight: 700;
}

.gd-swatch__hex {
	font-size: 14px;
	letter-spacing: 0.06em;
}

/* Typography: the font names, set large. */
.gd-type-pair {
	gap: var(--wp--preset--spacing--30);
}

.gd-type-pair > .wp-block-column {
	border-top: 1px solid var(--gd-line);
	padding-top: var(--wp--preset--spacing--20);
}

.gd-type-pair .gd-type-pair__name {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(26px, 3vw, 40px);
	margin: var(--wp--preset--spacing--10) 0 0;
}

/* In use: the first image large across the top, then a grid. */
.wp-block-gallery.gd-show-inuse.has-nested-images figure.wp-block-image:first-child {
	width: 100% !important;
}

.wp-block-gallery.gd-show-inuse.has-nested-images figure.wp-block-image:first-child img {
	aspect-ratio: 21 / 9;
	object-fit: cover;
}

/* Screens: the site in a desktop frame and a phone frame. */
.gd-screens__row {
	align-items: end;
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.gd-device {
	background-color: var(--wp--preset--color--midnight-80);
	box-sizing: border-box;
	overflow: hidden;
}

.gd-device > * {
	margin: 0 !important;
}

.gd-device img,
.gd-device video {
	display: block;
	height: auto;
	width: 100%;
}

/* Desktop: a browser bar with three dots on top. */
.gd-device--desktop {
	border: 2px solid var(--wp--preset--color--midnight-80);
	padding-top: 28px;
	position: relative;
}

.gd-device--desktop::before {
	background:
		radial-gradient(circle, var(--wp--preset--color--blush-coral) 4px, transparent 5px) 12px 50% / 14px 14px no-repeat,
		radial-gradient(circle, var(--wp--preset--color--neon-lime) 4px, transparent 5px) 30px 50% / 14px 14px no-repeat,
		radial-gradient(circle, var(--wp--preset--color--signal-teal) 4px, transparent 5px) 48px 50% / 14px 14px no-repeat;
	content: "";
	height: 28px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

/* Phone: a slim body, square-cornered like the rest of the design (owner 2026-10-23). */
.gd-device--phone {
	border: 8px solid var(--wp--preset--color--midnight-80);
	padding-top: 14px;
}

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

	.gd-device--phone {
		margin-inline: auto;
		max-width: 260px;
		width: 70%;
	}
}

/* Before / after slider. Without the script: the two images side by side, each labelled. */
.gd-compare {
	margin: var(--wp--preset--spacing--50) 0 0;
	position: relative;
}

.gd-compare__stage {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: 1fr 1fr;
}

.gd-compare__before,
.gd-compare__after {
	position: relative;
}

.gd-compare__img {
	display: block;
	height: auto;
	width: 100%;
}

.gd-compare__tag {
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
	font-size: 13px;
	font-weight: 700;
	left: 12px;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	position: absolute;
	text-transform: uppercase;
	top: 12px;
}

/* With the script: the new screen sits over the old one and the slider reveals it. */
.gd-compare.is-ready .gd-compare__stage {
	display: block;
	position: relative;
}

.gd-compare.is-ready .gd-compare__after {
	clip-path: inset(0 0 0 var(--gd-pos, 50%));
	inset: 0;
	position: absolute;
}

.gd-compare.is-ready .gd-compare__after .gd-compare__img {
	height: 100%;
	object-fit: cover;
}

.gd-compare.is-ready .gd-compare__after .gd-compare__tag {
	left: auto;
	right: 12px;
}

/* The dividing line and its square handle. */
.gd-compare.is-ready .gd-compare__stage::after {
	background-color: var(--wp--preset--color--signal-teal);
	bottom: 0;
	content: "";
	left: var(--gd-pos, 50%);
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 3px;
}

.gd-compare.is-ready .gd-compare__stage::before {
	background-color: var(--wp--preset--color--midnight);
	border: 3px solid var(--wp--preset--color--signal-teal);
	box-sizing: border-box;
	content: "";
	height: 40px;
	left: var(--gd-pos, 50%);
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	z-index: 2;
}

/* The slider itself covers the picture (drag anywhere), is invisible, but keeps keyboard focus visible. */
.gd-compare.is-ready .gd-compare__range {
	cursor: ew-resize;
	height: 100%;
	inset: 0;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 100%;
	z-index: 3;
}

.gd-compare:focus-within .gd-compare__stage {
	outline: 3px solid var(--gd-focus);
	outline-offset: 3px;
}

.gd-live-site {
	margin-top: var(--wp--preset--spacing--40);
}

/* One divider where every page meets the footer (owner 2026-10-23): it sits UNDER the page's last
   section and its buttons, and marks the start of the footer (logo and links). No divider above
   call-to-action buttons anywhere. Full width, so it lines up with the bands. */
.wp-site-blocks > footer.wp-block-template-part {
	border-top: 1px solid var(--wp--preset--color--midnight-80);
}

/* =====================================================================
 * Work pages, stage 3 (Research 08, Option B): timeline, deliverables,
 * document preview, talk/workshop, artefacts.
 * ===================================================================== */

.gd-timeline,
.gd-deliverables,
.gd-doc-preview,
.gd-talk,
.gd-artefacts {
	margin-block: var(--wp--preset--spacing--60);
}

/* Approach timeline: phases on a line, each starting at a small teal square. */
.gd-timeline__steps {
	gap: var(--wp--preset--spacing--30);
}

.gd-timeline__step {
	border-top: 2px solid var(--gd-line);
	padding-top: var(--wp--preset--spacing--30);
	position: relative;
}

.gd-timeline__step::before {
	background-color: var(--wp--preset--color--signal-teal);
	content: "";
	height: 14px;
	left: 0;
	position: absolute;
	top: -8px;
	width: 14px;
}

.gd-timeline__step > * {
	margin-block: 0 var(--wp--preset--spacing--10);
}

.gd-timeline .gd-timeline__num {
	color: var(--gd-link);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.gd-timeline__step h3 {
	font-size: 24px;
}

.gd-timeline__when {
	font-size: 14px;
	opacity: 0.85;
}

/* Deliverables: two columns of items, each marked with a small teal square. */
.gd-deliverables__list {
	column-gap: var(--wp--preset--spacing--50);
	columns: 2;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-deliverables__list li {
	border-bottom: 1px solid var(--gd-line);
	break-inside: avoid;
	padding: 12px 0 12px 30px;
	position: relative;
}

.gd-deliverables__list li::before {
	background-color: var(--wp--preset--color--signal-teal);
	content: "";
	height: 12px;
	left: 0;
	position: absolute;
	top: 22px;
	width: 12px;
}

@media (max-width: 767px) {
	.gd-deliverables__list {
		columns: 1;
	}
}

/* Document preview: pages shown like paper (white edge, upright), opening larger when clicked. */
.gd-doc-preview__pages.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 3 / 4;
	background-color: var(--wp--preset--color--white);
	border: 8px solid var(--wp--preset--color--white);
	box-sizing: border-box;
	object-fit: cover;
}

.gd-doc-preview .gd-doc-preview__note {
	font-size: 14px;
	margin-top: var(--wp--preset--spacing--20);
	opacity: 0.85;
}

/* Talk or workshop: a photo beside the topic, the facts and the organiser's words. */
.gd-talk .wp-block-columns {
	gap: var(--wp--preset--spacing--50);
}

.gd-talk__photo {
	margin: 0;
}

.gd-talk__photo img {
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: cover;
	width: 100%;
}

.gd-talk__facts {
	list-style: none;
	margin: var(--wp--preset--spacing--30) 0;
	padding: 0;
}

.gd-talk__facts li {
	border-bottom: 1px solid var(--gd-line);
	padding: 10px 0;
}

.gd-talk .gd-talk__quote {
	padding-top: var(--wp--preset--spacing--50);
}

/* Artefacts: one row of upright pieces to swipe through (or scroll with the keyboard via each piece). */
.gd-artefacts__row.wp-block-gallery.has-nested-images {
	flex-wrap: nowrap !important;
	overflow-x: auto;
	padding-bottom: var(--wp--preset--spacing--20);
	scroll-snap-type: x mandatory;
}

.gd-artefacts__row.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex: 0 0 clamp(200px, 24%, 300px) !important;
	scroll-snap-align: start;
	width: auto !important;
}

.gd-artefacts__row.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

@media (max-width: 767px) {
	.gd-artefacts__row.wp-block-gallery.has-nested-images figure.wp-block-image {
		flex-basis: 70% !important;
	}
}

/* Report pages keep one size, even when the last row has a single page (no stretching). */
.gd-doc-preview__pages.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0 !important;
}

/* =====================================================================
 * Remaining pages, step 10 (wireframes p13, p14, p16; owner 2026-10-23)
 * About · Team · Standards · Events · Podcast · search · 404 · legal pages.
 * ===================================================================== */

/* About: the opening statement and the story / mission pair. */
.gd-about-intro > * {
	margin-block: 0 var(--wp--preset--spacing--20);
	max-width: 900px;
}

/* The opening headline uses the full page width, so it reads in about 3 lines on a laptop (owner 2026-10-27). */
.gd-about-intro > h1 {
	max-width: none;
}

/* Photo hero (owner 2026-10-27), shared by About and Contact: the photo runs edge to edge and the words keep
 * their place. How strong the Midnight tint is (so how strong the photo looks) is the block's own
 * "Overlay opacity" setting, so it can be changed in the editor. Keep it at 60 or more for readable words. */
.gd-photo-hero.wp-block-cover {
	min-height: min(72vh, 680px);
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--30);
}

/* A shorter version, for pages where the form should stay close (Contact). */
.gd-photo-hero.gd-photo-hero--short.wp-block-cover {
	min-height: min(52vh, 480px);
}

/* With a photo: white words and a Neon Lime label, like the home page hero. */
.gd-photo-hero.wp-block-cover:has(.wp-block-cover__image-background) .wp-block-cover__inner-container :is(h1, h2, p:not(.gd-kicker)) {
	color: var(--wp--preset--color--white);
}

.gd-photo-hero.wp-block-cover:has(.wp-block-cover__image-background) .gd-kicker {
	color: var(--wp--preset--color--neon-lime);
}

/* Without a photo: no tint and the normal colours, so it looks like a plain opening. */
.gd-photo-hero.wp-block-cover:not(:has(.wp-block-cover__image-background)) {
	color: var(--gd-text);
	min-height: 0;
	padding-block: var(--wp--preset--spacing--60);
}

.gd-photo-hero.wp-block-cover:not(:has(.wp-block-cover__image-background)) .wp-block-cover__background {
	display: none;
}

.gd-about-story {
	gap: var(--wp--preset--spacing--50);
}

.gd-about-team .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--40);
}

/* Team: square photo (or initials), name linking to the one profile, role. */
.gd-team {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	list-style: none;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
}

.gd-person-card > * {
	margin-block: 0 var(--wp--preset--spacing--10);
}

.gd-person-card__photo {
	align-items: center;
	aspect-ratio: 1;
	background-color: var(--wp--preset--color--cloud-ash);
	display: flex;
	justify-content: center;
	margin-bottom: var(--wp--preset--spacing--20);
	overflow: hidden;
}

.gd-person-card__img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gd-person-card__initials {
	color: var(--wp--preset--color--midnight);
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 56px;
	font-weight: 600;
}

.gd-person-card__name {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 22px;
	font-weight: 600;
}

.gd-person-card__name a {
	text-decoration: none;
}

@media (hover: hover) {
	.gd-person-card__name a:hover {
		text-decoration: underline;
	}
}

/* Parked team cards ("greyed out" until names and photos are ready): a dashed empty frame;
   the words stay readable (WCAG AA). */
.gd-person-card.is-parked .gd-person-card__photo--empty {
	background-color: transparent;
	border: 2px dashed currentColor;
	opacity: 0.45;
}

/* Events: a square date tile, then the title, format and place. */
.gd-events {
	border-top: 1px solid var(--gd-line);
	list-style: none;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
}

.gd-event {
	align-items: center;
	border-bottom: 1px solid var(--gd-line);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: 88px 1fr auto;
	padding-block: var(--wp--preset--spacing--30);
}

.gd-events--worth .gd-event {
	grid-template-columns: 88px 1fr;
}

.gd-event__date {
	align-items: center;
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	min-height: 88px;
	text-align: center;
}

.gd-event__day {
	display: block;
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
}

.gd-event__month {
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gd-event__body > * {
	margin-block: 0 4px;
}

.gd-event__title {
	font-size: 22px;
}

.gd-event__format {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gd-event__more {
	font-weight: 700;
	margin: 0;
}

.gd-events__updated {
	font-size: 15px;
	margin: var(--wp--preset--spacing--10) 0 0;
}

.gd-events__empty {
	margin-top: var(--wp--preset--spacing--30);
	max-width: 640px;
}

/* On dark, the date tile becomes Midnight 80% so it still reads as a tile. */
body.gd-half-work .gd-event__date,
html[data-gd-scheme="dark"] .gd-event__date {
	background-color: var(--wp--preset--color--midnight-80);
}

@media (max-width: 767px) {
	.gd-event {
		grid-template-columns: 72px 1fr;
	}

	.gd-event__more {
		grid-column: 2;
	}

	.gd-event__date {
		min-height: 72px;
	}
}

/* "Know an event we should add?" sits on a Cloud Ash panel. */
.gd-event-tip {
	background-color: var(--wp--preset--color--cloud-ash);
	margin-top: var(--wp--preset--spacing--60);
	padding: var(--wp--preset--spacing--50);
}

html[data-gd-scheme="dark"] .gd-event-tip {
	background-color: var(--wp--preset--color--midnight-80);
}

.gd-event-single {
	padding-block: var(--wp--preset--spacing--60);
}

.gd-event-single .gd-facts {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Podcast: the notify-me box, the platforms greyed out until live, a typographic cover. */
.gd-podcast {
	align-items: center;
	gap: var(--wp--preset--spacing--60);
}

.gd-podcast .wp-block-column > * {
	margin-block: 0 var(--wp--preset--spacing--30);
}

.gd-podcast__cover {
	aspect-ratio: 1;
}

.gd-platforms__label {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 var(--wp--preset--spacing--10);
}

.gd-platforms__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Not out yet: icon, name and "Soon", no box around it (owner 2026-11-18: "lines around them in rectangle");
   no link; the words stay readable (WCAG AA). */
.gd-platform.is-soon {
	border: 0;
	font-size: 15px;
	font-weight: 700;
	padding: 8px 14px 8px 0;
}

/* Search results: a label for the half, the title, a short excerpt. */
.gd-search-box {
	max-width: 640px;
}

.gd-results__list {
	border-top: 1px solid var(--gd-line);
	list-style: none;
	margin: 0;
	padding: 0;
}

.gd-result {
	border-bottom: 1px solid var(--gd-line);
	padding-block: var(--wp--preset--spacing--30);
}

.gd-result > * {
	margin-block: 0 var(--wp--preset--spacing--10);
}

.gd-result__title {
	font-size: 24px;
}

.gd-result-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 2px 8px;
	text-transform: uppercase;
}

.gd-result-label--learn {
	background-color: var(--wp--preset--color--cloud-ash);
	color: var(--wp--preset--color--midnight);
}

.gd-result-label--work {
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
}

.gd-result-label--neutral {
	border: 1px solid currentColor;
}

/* On dark, the Impact label keeps an edge so it doesn't vanish into the page. */
html[data-gd-scheme="dark"] .gd-result-label--work {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--white);
}

/* 404: the two doors sit under the search box. */
.gd-404 .gd-doors {
	margin-top: var(--wp--preset--spacing--40);
}

/* Long-form pages (Standards, legal): about 70 characters a line (D7). */
.gd-prose {
	max-width: 70ch;
}

.gd-prose > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-prose > h2 {
	margin-top: var(--wp--preset--spacing--50);
}

/* =====================================================================
 * Consent and outside services, step 11 (SP CP2/CP3, WF p16)
 * ===================================================================== */

/* Cookie banner: a calm bar at the bottom; it doesn't block the page. Decline and Accept are
   the same size and style (filled teal); no tick list (owner 2026-10-30). */
.gd-consent {
	background-color: var(--wp--preset--color--midnight);
	border-top: 4px solid var(--wp--preset--color--signal-teal);
	bottom: 0;
	color: var(--wp--preset--color--white);
	left: 0;
	position: fixed;
	right: 0;
	z-index: 200;
}

.gd-consent[hidden] {
	display: none;
}

.gd-consent__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
	margin-inline: auto;
	max-width: 1280px;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.gd-consent__text {
	flex: 1 1 420px;
}

.gd-consent__text > * {
	margin-block: 0 var(--wp--preset--spacing--10);
}

.gd-consent .gd-consent__title {
	color: var(--wp--preset--color--white);
	font-size: 24px;
}

.gd-consent a:not(.wp-element-button) {
	color: var(--wp--preset--color--signal-teal);
}

@media (hover: hover) {
	.gd-consent a:not(.wp-element-button):hover {
		color: var(--wp--preset--color--neon-lime);
	}
}

.gd-consent__buttons {
	gap: var(--wp--preset--spacing--10);
}

.gd-consent__buttons .wp-block-button__link {
	min-width: 160px;
}

.gd-consent :focus-visible {
	outline: 3px solid var(--wp--preset--color--neon-lime);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.gd-consent__buttons {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--10);
	}

	.gd-consent__buttons,
	.gd-consent__buttons .wp-block-button {
		width: 100%;
	}

	.gd-consent__buttons .wp-block-button__link {
		width: 100%;
	}
}

/* "Cookie settings" in the footer shows only when there is a choice to change. */
body:not(.gd-has-consent) .gd-cookie-settings {
	display: none;
}

/* Click-to-load players: our own panel until "Play" is pressed (nothing loads before). */
.gd-embed__frame {
	align-items: center;
	aspect-ratio: 16 / 9;
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	justify-content: center;
	padding: var(--wp--preset--spacing--30);
	text-align: center;
}

.gd-embed--audio .gd-embed__frame {
	aspect-ratio: auto;
	min-height: 200px;
}

.gd-embed__frame.is-playing {
	padding: 0;
}

.gd-embed__frame iframe {
	border: 0;
	height: 100%;
	width: 100%;
}

.gd-embed--audio .gd-embed__frame.is-playing iframe {
	height: 232px;
}

.gd-embed__play {
	align-items: center;
	background-color: var(--wp--preset--color--signal-teal);
	border: 0;
	border-radius: 0;
	color: var(--wp--preset--color--midnight);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: var(--wp--preset--spacing--10);
	min-height: 48px;
	padding: 12px 24px;
}

@media (hover: hover) {
	.gd-embed__play:hover {
		background-color: var(--wp--preset--color--neon-lime);
	}
}

.gd-embed__play:focus-visible {
	outline: 3px solid var(--wp--preset--color--neon-lime);
	outline-offset: 3px;
}

/* A plain triangle drawn in CSS (no image to fetch). */
.gd-embed__icon {
	border-bottom: 8px solid transparent;
	border-left: 13px solid currentColor;
	border-top: 8px solid transparent;
	height: 0;
	width: 0;
}

.gd-embed__note {
	font-size: 15px;
	margin: 0;
	max-width: 520px;
}

.gd-embed__note a {
	color: var(--wp--preset--color--signal-teal);
}

@media (hover: hover) {
	.gd-embed__note a:hover {
		color: var(--wp--preset--color--neon-lime);
	}
}

/* Event cards (owner 2026-10-26, the default layout): without a picture, a big date tile in the
   card's image space, Midnight with white text (Midnight 80% panel stays the card itself on dark). */
.gd-event-cards {
	margin-top: var(--wp--preset--spacing--30);
}

.gd-event-card__tile {
	align-items: flex-start;
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: var(--wp--preset--spacing--30);
}

.gd-event-card__day {
	font-family: var(--wp--preset--font-family--clash-display);
	font-size: clamp(56px, 6vw, 88px);
	font-weight: 600;
	line-height: 0.9;
}

.gd-event-card__month {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-top: var(--wp--preset--spacing--10);
	text-transform: uppercase;
}

/* On dark pages the tile takes the card's Midnight 80% panel colour (like the article tiles), with a
   teal top line, so the whole card stands out from the Midnight page. */
body.gd-half-work .gd-event-card__tile,
html[data-gd-scheme="dark"] .gd-event-card__tile {
	background-color: var(--wp--preset--color--midnight-80);
	border-top: 4px solid var(--wp--preset--color--signal-teal);
}

/* Past events (owner 2026-10-26): greyed like the other "not active" items on the site (dashed
   outline), photos in greyscale, "Ended" in the label. The text keeps full contrast (WCAG AA). */
.gd-past-events__title {
	margin-bottom: var(--wp--preset--spacing--30);
}

.gd-event-card.is-past .gd-card__img {
	filter: grayscale(1);
}

.gd-event-card.is-past .gd-event-card__tile {
	background-color: transparent;
	border: 2px dashed currentColor;
	color: inherit;
}

body.gd-half-work .gd-event-card.is-past .gd-event-card__tile,
html[data-gd-scheme="dark"] .gd-event-card.is-past .gd-event-card__tile {
	background-color: transparent;
	border: 2px dashed currentColor;
}

/* A section with nothing in it (e.g. "Past events" before any event has ended) takes no space. */
.gd-section:not(:has(> *)) {
	display: none;
}

/* Events page: the heading area already ends with space, so "Our events" doesn't add its own on top (owner 2026-10-26). */
.gd-events-page .gd-page-head + .gd-section {
	padding-top: 0;
}

/* Text left empty in the editor (a paragraph or heading with nothing typed in it) takes no space;
   it appears, with its normal spacing, as soon as text is entered (owner 2026-10-26). */
:is(p, h1, h2, h3, h4, h5, h6).wp-block-heading:empty,
p:empty {
	display: none;
}

/* Event page: "Upcoming events" is the outlined second button (drawn by our block, so WordPress doesn't
   add its outline style for it). Hover changes colour only. */
.gd-event-single .is-style-outline > .wp-block-button__link {
	background-color: transparent;
	border: 2px solid currentColor;
	color: var(--gd-text);
}

@media (hover: hover) {
	.gd-event-single .is-style-outline > .wp-block-button__link:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

.gd-event-single .is-style-outline > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--neon-lime);
	border-color: var(--wp--preset--color--neon-lime);
	color: var(--wp--preset--color--midnight);
}

/* Podcast platforms with a link (owner 2026-10-26): square outlined buttons; hover changes colour only. */
.gd-platform.is-live a {
	border: 2px solid currentColor;
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	padding: 8px 14px;
	text-decoration: none;
}

.gd-platform.is-live a:focus-visible {
	background-color: var(--wp--preset--color--neon-lime);
	border-color: var(--wp--preset--color--neon-lime);
	color: var(--wp--preset--color--midnight);
}

@media (hover: hover) {
	.gd-platform.is-live a:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

/* =====================================================================
 * Brand hero (owner 2026-10-28): the home page opening that houses the brand video,
 * "The Signal Slice". Without a video or still it keeps the plain centred look.
 * ===================================================================== */
.gd-brand-hero {
	position: relative;
}

.gd-brand-hero--plain {
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--30) var(--wp--preset--spacing--60);
	text-align: center;
}

.gd-brand-hero--plain .gd-brand-hero__text {
	margin-inline: auto;
	max-width: 960px;
}

.gd-brand-hero--plain .gd-brand-hero__sub {
	margin-inline: auto;
}

.gd-brand-hero__line {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-block: var(--wp--preset--spacing--20);
}

.gd-brand-hero__sub {
	font-size: clamp(18px, 1.4vw, 20px);
	margin: 0;
	max-width: 640px;
}

/* With a video or a still: full width, the words bottom left on a dark fade, like the style frames. */
.gd-brand-hero--media {
	align-items: flex-end;
	background: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
	display: flex;
	min-height: min(78vh, 760px);
	overflow: hidden;
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--30) var(--wp--preset--spacing--60);
}

.gd-brand-hero__poster,
.gd-brand-hero__video {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.gd-brand-hero__video {
	opacity: 0;
	transition: opacity 0.6s ease;
}

.gd-brand-hero.is-playing .gd-brand-hero__video {
	opacity: 1;
}

/* The fade's strength is the block's "Dark fade" setting (40-90). */
.gd-brand-hero__fade {
	background: linear-gradient(90deg, rgb(26 42 58 / var(--gd-fade)) 0%, rgb(26 42 58 / calc(var(--gd-fade) * 0.6)) 45%, rgb(26 42 58 / 0) 100%);
	inset: 0;
	position: absolute;
}

.gd-brand-hero__inner {
	margin-inline: auto;
	max-width: 1280px;
	position: relative;
	width: 100%;
}

.gd-brand-hero--media .gd-brand-hero__text {
	max-width: 820px;
}

.gd-brand-hero--media :is(.gd-brand-hero__line, .gd-brand-hero__sub) {
	color: var(--wp--preset--color--white);
}

.gd-brand-hero--media .gd-kicker {
	color: var(--wp--preset--color--neon-lime);
}

/* The pillar-colour underline: grows left to right when its scene is on screen. */
.gd-brand-hero__word {
	--gd-word: var(--wp--preset--color--signal-teal);
	position: relative;
	white-space: nowrap;
}

.gd-brand-hero__word[data-pillar="health"] {
	--gd-word: var(--wp--preset--color--neon-lime);
}

.gd-brand-hero__word[data-pillar="mkt"] {
	--gd-word: var(--wp--preset--color--blush-coral);
}

.gd-brand-hero--media .gd-brand-hero__word::after {
	background: var(--gd-word);
	bottom: -0.06em;
	content: "";
	height: 0.12em;
	left: 0;
	position: absolute;
	right: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gd-brand-hero--media .gd-brand-hero__word.is-on::after {
	transform: scaleX(1);
}

/* Pause button: square, bottom right, only once the video plays. */
.gd-brand-hero__pause {
	align-items: center;
	background: rgb(26 42 58 / 0.7);
	border: 1px solid rgb(229 229 229 / 0.6);
	border-radius: 0;
	bottom: 0;
	color: var(--wp--preset--color--white);
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	position: absolute;
	right: 0;
	width: 44px;
}

.gd-brand-hero__pause[hidden] {
	display: none;
}

@media (hover: hover) {
	.gd-brand-hero__pause:hover {
		border-color: var(--wp--preset--color--neon-lime);
	}
}

.gd-brand-hero__pause:focus-visible {
	outline: 3px solid var(--wp--preset--color--neon-lime);
	outline-offset: 2px;
}

.gd-brand-hero__pause .gd-icon {
	height: 20px;
	width: 20px;
}

.gd-brand-hero__icon-play,
.gd-brand-hero__pause.is-paused .gd-brand-hero__icon-pause {
	display: none;
}

.gd-brand-hero__pause.is-paused .gd-brand-hero__icon-play {
	display: flex;
}

/* Phones: the words sit lower, so the fade also rises from the bottom. */
@media (max-width: 700px) {
	.gd-brand-hero__fade {
		background: linear-gradient(0deg, rgb(26 42 58 / var(--gd-fade)) 0%, rgb(26 42 58 / calc(var(--gd-fade) * 0.7)) 55%, rgb(26 42 58 / 0.15) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gd-brand-hero__video,
	.gd-brand-hero--media .gd-brand-hero__word::after {
		transition: none;
	}
}

/* Home page: the header floats over the brand video (owner 2026-10-28). The hero (when it opens the page)
 * slides up under the header; a soft dark fade at the top keeps the menu readable over bright scenes.
 * The header turns see-through with white words only while it sits over the hero (html.gd-hero-top);
 * once the hero has scrolled away, the usual frosted header returns. The drop-down panels and the phone
 * menu keep their normal colours. */
/* The hero slides up by the header's real height (--gd-hero-pull, measured by brand-hero.js), so no strip of
 * page shows above the video when the header has two lines (screens under 1280px; owner 2026-10-30). */
:root {
	--gd-hero-pull: var(--gd-header-h);
}

@media (max-width: 1279px) {
	:root {
		--gd-hero-pull: 120px;
	}
}

.wp-block-post-content > .gd-brand-hero--media:first-child {
	margin-top: calc(-1 * var(--gd-hero-pull));
	padding-top: calc(var(--wp--preset--spacing--70) + var(--gd-hero-pull));
}

.gd-brand-hero--media::before {
	background: linear-gradient(180deg, rgb(16 25 35 / 0.6) 0%, rgb(16 25 35 / 0.25) 60%, rgb(16 25 35 / 0) 100%);
	content: "";
	height: calc(var(--gd-hero-pull) + 96px);
	inset: 0 0 auto;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.gd-brand-hero--media .gd-brand-hero__inner {
	z-index: 2;
}

.gd-header::before {
	transition: background-color 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease;
}

html.gd-hero-top .gd-header:not(.is-open) {
	border-bottom-color: transparent;
	color: var(--wp--preset--color--white);
}

html.gd-hero-top .gd-header:not(.is-open)::before {
	background-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

html.gd-hero-top .gd-header:not(.is-open) :is(.gd-header__left, .gd-header__actions, .gd-header__icons, .gd-header__center) a:not(.wp-element-button),
html.gd-hero-top .gd-header:not(.is-open) .gd-more > .gd-menu-toggle {
	color: var(--wp--preset--color--white);
}

html.gd-hero-top .gd-header:not(.is-open) .gd-logo__on-light {
	display: none !important;
}

html.gd-hero-top .gd-header:not(.is-open) .gd-logo__on-dark {
	display: block !important;
}

html.gd-hero-top .gd-header:not(.is-open) :focus-visible {
	outline-color: var(--wp--preset--color--neon-lime);
}

@media (prefers-reduced-motion: reduce) {
	.gd-header::before {
		transition: none;
	}
}

/* ---------- Buttons: Neon Lime on mouse hover and keyboard focus only (owner 2026-10-30) ----------
 * The colour no longer sticks after a tap on phones, or after a click and coming back with "Back".
 * Keyboard focus is in theme.json (:focus-visible). */
@media (hover: hover) {
	:root :where(.wp-element-button, .wp-block-button__link):hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
		color: var(--wp--preset--color--midnight);
	}
}

/* Links: Midnight on mouse hover only (owner 2026-10-30: nothing stays highlighted after a tap on a phone).
 * Was a theme.json hover; keyboard focus keeps its own style there. */
@media (hover: hover) {
	:root :where(a:where(:not(.wp-element-button)):hover) {
		color: var(--wp--preset--color--midnight);
	}
}

/* Pressed: buttons show Neon Lime while the finger or mouse is down, so a tap visibly registers,
 * and go straight back on release (owner 2026-10-30). */
:root :where(.wp-element-button, .wp-block-button__link, .gd-rail-nav__button:not(:disabled), .gd-icon-frame):active {
	background-color: var(--wp--preset--color--neon-lime);
	border-color: var(--wp--preset--color--neon-lime);
	color: var(--wp--preset--color--midnight);
}

/* ---------- Landing page: less space above "From Impact", with a thin divider (owner 2026-10-30) ----------
 * Half the space there was, split evenly either side of the line. */
.gd-swipe:has(+ .gd-from-impact) > .gd-section {
	padding-bottom: var(--wp--preset--spacing--40);
}

.gd-swipe + .gd-from-impact {
	border-top: 1px solid var(--gd-line);
	padding-top: var(--wp--preset--spacing--40);
}

/* ---------- Forms while sending (owner 2026-10-30) ----------
 * The button says "Sending…" and can't be pressed again until there is an answer. */
.gd-form.is-sending .gd-form__send button[type="submit"] {
	cursor: progress;
	opacity: 0.75;
}

/* ---------- Newsletter: the "Nearly there" pop-up and the thanks note (owner 2026-10-30) ----------
 * Square corners and no shadow (owner rules). Closes with ✕, Escape, or a tap outside. */
.gd-dialog {
	background-color: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--midnight);
	border-radius: 0;
	box-sizing: border-box;
	color: var(--wp--preset--color--midnight);
	max-height: calc(100dvh - 32px);
	max-width: min(560px, calc(100vw - 32px));
	overflow-y: auto;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	width: 100%;
}

.gd-dialog::backdrop {
	background-color: rgb(26 42 58 / 0.7);
}

html[data-gd-scheme="dark"] .gd-dialog,
body.gd-half-work .gd-dialog {
	background-color: var(--wp--preset--color--midnight);
	border-color: var(--wp--preset--color--midnight-80);
	color: var(--wp--preset--color--white);
}

.gd-dialog__close {
	position: absolute;
	right: 12px;
	top: 12px;
}

.gd-dialog__close .gd-icon {
	height: 20px;
	width: 20px;
}

.gd-dialog__body .gd-section {
	padding-block: 0;
}

.gd-dialog__body > * > *,
.gd-dialog__body h2 {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-dialog__body h2 {
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.1;
	padding-right: 48px;
}

.gd-dialog__body ol {
	margin-bottom: 0;
}

.gd-dialog__body .gd-dialog__actions {
	margin-top: var(--wp--preset--spacing--40);
}

@media (prefers-reduced-motion: no-preference) {
	.gd-dialog[open] {
		animation: gd-dialog-in 0.2s ease-out;
	}
}

@keyframes gd-dialog-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

/* Hidden really means hidden: the form after a sent message, an empty message bar (their own display
 * settings would otherwise win over the "hidden" switch). */
.gd-form[hidden],
.gd-message[hidden] {
	display: none !important;
}

.gd-newsletter-done {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
}

.gd-newsletter-done:focus {
	outline: none;
}

.gd-newsletter-done:focus-visible {
	outline: 3px solid var(--wp--preset--color--neon-lime);
	outline-offset: 4px;
}

.gd-newsletter-done__again {
	align-self: flex-start;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	min-height: 44px;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (hover: hover) {
	.gd-newsletter-done__again:hover {
		text-decoration-thickness: 2px;
	}
}

/* ---------- Click-to-load player: "Loading the player…" until it arrives (owner 2026-10-30) ---------- */
.gd-embed__frame.is-playing {
	position: relative;
}

.gd-embed__loading {
	color: var(--wp--preset--color--white);
	font-size: 15px;
	inset: 50% auto auto 50%;
	margin: 0;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%, -50%);
}

/* ---------- The Signal Ribbon (owner 2026-10-30; assets/js/ribbon.js) ----------
 * Under the content, over the page colour: cards and coloured bands hide it. Never catches clicks. */
.gd-ribbon {
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: fixed;
	width: 100%;
	z-index: -1;
}

@media print {
	.gd-ribbon {
		display: none;
	}
}

/* ---------- Impact: "Real insight. Clear strategy." as cards (owner 2026-10-30) ----------
 * The three points sit on solid Midnight 80% cards (square, no shadow, equal heights); the band's photo is off.
 * Phones: the cards and the opener's project thumbnails become swipe rows (no scroll bar; arrows above). */
.gd-why .gd-why__points {
	gap: var(--wp--preset--spacing--30) !important;
}

.gd-why .gd-why__points > .wp-block-column {
	background-color: var(--wp--preset--color--midnight-80);
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--40);
}

.gd-why .gd-why__points > .wp-block-column > * {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.gd-why .gd-why__points > .wp-block-column > :last-child {
	margin-bottom: 0;
}

.gd-section-head--rail {
	justify-content: flex-end;
	margin-bottom: var(--wp--preset--spacing--20);
}

.gd-section-head--rail:not(:has(.gd-rail-nav:not([hidden]))) {
	display: none;
}

.gd-why .gd-why__points,
.gd-story__images {
	scrollbar-width: none;
}

.gd-why .gd-why__points::-webkit-scrollbar,
.gd-story__images::-webkit-scrollbar {
	display: none;
}

@media (max-width: 767px) {
	.gd-why .wp-block-columns.gd-why__points {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: var(--wp--preset--spacing--20) !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.gd-why .wp-block-columns.gd-why__points > .wp-block-column {
		flex: 0 0 82% !important;
		scroll-snap-align: start;
	}

	.gd-story .gd-section-head--rail {
		padding-inline: var(--wp--preset--spacing--30);
	}
}

/* ---------- The Work with us door's button: white (owner 2026-10-31) ----------
 * White with Midnight words on the Midnight door, so the two doors' buttons differ; Neon Lime on mouse hover
 * and while pressed, like every button. */
.gd-door--work .wp-block-button__link {
	background-color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--midnight);
}

@media (hover: hover) {
	.gd-door--work .wp-block-button__link:hover {
		background-color: var(--wp--preset--color--neon-lime);
		border-color: var(--wp--preset--color--neon-lime);
	}
}

.gd-door--work .wp-block-button__link:active,
.gd-door--work .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--neon-lime);
	border-color: var(--wp--preset--color--neon-lime);
}

/* ---------- Article page, layout A + sections B/C (owner 2026-11-04) ---------- */
/* Photo caption and credit, under the photo. */
.gd-article__caption {
	color: var(--gd-text);
	font-size: 14px;
	margin-block: calc(-1 * var(--wp--preset--spacing--30)) var(--wp--preset--spacing--40);
	opacity: 0.8;
}

/* Labelled sections: small capitals with a coloured square (the label text stays Midnight/white for contrast). */
.gd-article__body .gd-label,
.gd-label {
	align-items: center;
	display: flex;
	font-family: var(--wp--preset--font-family--satoshi);
	font-size: 14px;
	font-weight: 700;
	gap: 10px;
	letter-spacing: 0.08em;
	line-height: 1.3;
	margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--10);
	text-transform: uppercase;
}

.gd-label::before {
	background-color: var(--wp--preset--color--signal-teal);
	content: "";
	flex: 0 0 12px;
	height: 12px;
}

.gd-label--coral::before {
	background-color: var(--wp--preset--color--blush-coral);
}

.gd-label--lime::before {
	background-color: var(--wp--preset--color--neon-lime);
	outline: 1px solid var(--gd-line);
}

.gd-label--midnight::before {
	background-color: var(--gd-text);
}

.gd-label--darkteal::before {
	background-color: var(--wp--preset--color--dark-teal);
}

.gd-label--grey::before {
	background-color: var(--wp--preset--color--midnight-80);
}

/* Sources box at the end of an article. */
.gd-sources {
	border-top: 2px solid var(--gd-text);
	font-size: 16px;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--20);
}

.gd-sources .gd-sources__title {
	font-family: var(--wp--preset--font-family--satoshi);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-block: 0 var(--wp--preset--spacing--10);
	text-transform: uppercase;
}

.gd-sources ol {
	margin: 0;
	padding-left: 1.4em;
}

.gd-sources li {
	margin-bottom: 6px;
}

/* The corrections line. */
.gd-article-note {
	border-top: 1px solid var(--gd-line);
	font-size: 15px;
	padding-top: var(--wp--preset--spacing--20);
}

/* Yoast's FAQ block, in our look: square rows with a line between, the question in bold. */
.wp-block-yoast-faq-block .schema-faq-section {
	border-bottom: 1px solid var(--gd-line);
	padding-block: var(--wp--preset--spacing--20);
}

.wp-block-yoast-faq-block .schema-faq-question {
	display: block;
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 6px;
}

.wp-block-yoast-faq-block .schema-faq-answer {
	margin: 0;
}

/* ---------- Article photos at one matched width + side share bar (owner 2026-11-04, option B) ---------- */
/* One "photo width" in articles: 1024px (WordPress's standard Large photo size), shared by the title area,
   the top photo, its caption and the photos inside the article, so their edges line up. Text stays 720px. */
.gd-article__head,
.gd-article .gd-article__image,
.gd-article__caption,
.gd-article__body,
.gd-article__foot {
	--wp--style--global--wide-size: 1024px;
}

/* One left edge (owner 2026-11-04, option L): on computers the 720px text column, the boxes in the article
   and the article's end (corrections line, share row, author box) start on the same left edge as the title
   and the photos. Tablets and phones keep the text centred. */
@media (min-width: 1088px) {

	.gd-article__body.is-layout-constrained,
	.gd-article__foot.is-layout-constrained {
		margin-inline: auto;
		max-width: 1024px;
		padding-inline: 0;
	}

	.gd-article__body.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
	.gd-article__foot.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
		margin-left: 0 !important;
	}
}

/* The summary keeps a comfortable line length inside the wider title area. */
.gd-article__head .gd-article__summary {
	max-width: 760px;
}

/* Photos inside the article: the photo width by default; small pictures (a chart, a logo) keep their own
   size, centred; a photo the writer resized or set left/right/full keeps that setting. */
.gd-article__body > .wp-block-image:not(.alignleft):not(.alignright):not(.alignfull):not(.is-resized) {
	max-width: var(--wp--style--global--wide-size);
	width: fit-content;
}

.gd-article__body > .wp-block-image img {
	display: block;
	margin-inline: auto;
}

/* Side share bar: in the right-hand margin outside the photos, staying in view while reading. Computers only. */
.gd-article__read {
	position: relative;
}

.gd-share-rail {
	display: none;
}

@media (min-width: 1232px) {

	.gd-share-rail {
		bottom: 0;
		display: block;
		left: calc(50% + 512px + 32px);
		position: absolute;
		top: 0;
		width: 48px;
	}

	.gd-share-rail__inner {
		position: sticky;
		top: calc(var(--gd-header-h) + 32px);
	}

	.gd-share-rail .gd-stay-in-touch {
		flex-direction: column;
		flex-wrap: nowrap;
	}
}

/* ---------- Article top on phones and computers (owner 2026-11-05, after comparing with Al Jazeera) ---------- */
/* Article titles: 32px on phones, growing to 48px on computers (was 40-72px), so long titles stay short. */
.gd-article .gd-article__title {
	font-size: clamp(32px, 1.6rem + 2vw, 48px);
	line-height: 1.15;
}

/* The author's small square photo at the start of the byline. */
.gd-byline__photo {
	display: inline-block;
	height: 28px;
	margin-right: 8px;
	object-fit: cover;
	vertical-align: middle;
	width: 28px;
}

/* Each part of the byline stays in one piece when the line wraps ("2 min read", a date, Share). */
.gd-byline time,
.gd-byline__keep,
.gd-byline__share a {
	white-space: nowrap;
}

/* Share in the byline: phones, tablets and small laptops (the side share bar takes over from 1232px). */

.gd-byline__share .gd-icon {
	display: inline-block;
	height: 16px;
	margin-right: 4px;
	vertical-align: -3px;
	width: 16px;
}

@media (min-width: 1232px) {

	.gd-byline__share {
		display: none;
	}
}

/* Phones: the top photo runs edge to edge (its caption keeps the side margins). */
@media (max-width: 781px) {

	.gd-article.is-layout-constrained > .gd-article__image {
		margin-left: calc(-1 * var(--wp--style--root--padding-left)) !important;
		margin-right: calc(-1 * var(--wp--style--root--padding-right)) !important;
		max-width: none;
		width: auto;
	}
}

/* Safety net (2026-11-09): a picture pasted straight into an article's text is never wider than its column. */
.gd-article__body img {
	height: auto;
	max-width: 100%;
}

/* ---------- Client quotes on Impact: 3 to 5, fading one into the next (owner 2026-11-09) ---------- */
/* All quotes share one spot, so the band keeps the height of the longest and nothing jumps. */
.gd-quotes__track {
	display: grid;
}

.gd-quotes__item {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	transition: opacity 0.6s ease, visibility 0.6s;
	visibility: hidden;
}

.gd-quotes__item.is-active {
	opacity: 1;
	visibility: visible;
}

.gd-quotes__controls {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--30);
}

.gd-quotes__pause .gd-icon + .gd-icon,
.gd-quotes__pause.is-paused .gd-icon:first-child {
	display: none;
}

.gd-quotes__pause.is-paused .gd-icon + .gd-icon {
	display: block;
}

.gd-quotes__dots {
	display: flex;
	gap: 4px;
}

/* Square dots (brand: square corners), each with a 24px tap area. */
.gd-quotes__dot {
	align-items: center;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	padding: 0;
	width: 24px;
}

.gd-quotes__dot::before {
	border: 2px solid currentColor;
	content: "";
	height: 10px;
	width: 10px;
}

.gd-quotes__dot[aria-current="true"]::before {
	background-color: currentColor;
}

/* ---------- Article FAQs as dropdowns, like today's site (owner 2026-11-09) ---------- */
.gd-faq-list {
	border-top: 1px solid var(--gd-line);
}

.gd-faq--article {
	padding-block: 0;
}

.gd-faq--article summary {
	align-items: center;
	display: flex;
	font-size: 19px;
	font-weight: 700;
	gap: var(--wp--preset--spacing--20);
	justify-content: space-between;
	list-style: none;
	padding-block: var(--wp--preset--spacing--20);
}

.gd-faq--article summary::-webkit-details-marker {
	display: none;
}

/* The "+" turns into "×" when open. Dark Teal on light pages, Signal Teal on dark (readable on both). */
.gd-faq--article summary::after {
	color: var(--wp--preset--color--dark-teal);
	content: "+";
	flex-shrink: 0;
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.25s ease;
}

:where(body.gd-half-work, html[data-gd-scheme="dark"] body:not(.gd-half-work)) .gd-faq--article summary::after {
	color: var(--wp--preset--color--signal-teal);
}

.gd-faq--article[open] summary::after {
	transform: rotate(45deg);
}

.gd-faq--article .gd-faq__answer {
	padding-bottom: var(--wp--preset--spacing--20);
}

.gd-faq--article .gd-faq__answer p {
	margin: 0;
}

/* Phones: the two doors show only their label, heading, line and button (owner 2026-11-11: "all other details
   not there, just on the doors"). Pillar labels, article headlines, service chips and the project card stay on
   computers. The buttons line up at the bottom of both doors. */
@media (max-width: 781px) {

	.gd-door .gd-pillar-labels,
	.gd-door .gd-door__taste,
	.gd-door .gd-chips,
	.gd-door .gd-cards--work {
		display: none !important;
	}

	.wp-block-columns.gd-doors > .wp-block-column.gd-door {
		display: flex;
		flex-direction: column;
	}

	.gd-door > .wp-block-buttons {
		margin-top: auto;
	}
}

/* Lead story on wider screens: the photo fills the card's full height, however long the title, so no grey
   gap opens under it (owner 2026-11-11). At least 320px tall for short titles. Phones keep the photo on top. */
@media (min-width: 768px) {

	.gd-card--lead .gd-card__image {
		aspect-ratio: auto;
		min-height: 320px;
		position: relative;
	}

	.gd-card--lead .gd-card__image > img {
		height: 100%;
		inset: 0;
		object-fit: cover;
		position: absolute;
		width: 100%;
	}
}

/* Phones: All · AI · Healthcare · Marketing on one line (owner 2026-11-11). Slightly smaller buttons;
   on the very narrowest phones the row can be swiped sideways instead of wrapping. */
@media (max-width: 781px) {

	.gd-filter {
		flex-wrap: nowrap;
		gap: 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.gd-filter::-webkit-scrollbar {
		display: none;
	}

	.gd-filter .gd-filter__item {
		flex: 0 0 auto;
		font-size: 14px;
		padding: 8px 12px;
		white-space: nowrap;
	}
}

/* Phones: headings one step smaller and cards less padded, so a heading takes fewer lines (owner 2026-11-11:
   "the H3 breaks early into about 4 lines"; Clash Display is a wide face). Computers are unchanged. */
@media (max-width: 781px) {

	:root :where(h2) {
		font-size: 28px;
		line-height: 1.15;
	}

	:root :where(h3) {
		font-size: 21px;
		line-height: 1.2;
	}

	.gd-card__body {
		padding: var(--wp--preset--spacing--20);
	}

	.gd-card .gd-card__title {
		font-size: 21px;
	}

	.gd-card--lead .gd-card__title {
		font-size: 26px;
	}
}

/* "Justified" paragraph style (owner 2026-11-11: justified everywhere, phones included). Automatic word breaks
   (hyphens) keep the gaps between words smaller; the last line stays left-aligned as usual. */
.is-style-justified {
	hyphens: auto;
	text-align: justify;
	-webkit-hyphens: auto;
}

/* Silent looping videos in case studies (owner 2026-11-12): the square pause / play button sits on the video's
   top-right corner (clear of any caption); the picture keeps its own shape. */
.gd-loop {
	position: relative;
}

.gd-loop video {
	display: block;
	height: auto;
	width: 100%;
}

.gd-loop__toggle.gd-icon-frame {
	background: var(--wp--preset--color--midnight);
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
	position: absolute;
	right: 16px;
	top: 16px;
}

.gd-loop__toggle:focus-visible {
	outline: 3px solid var(--wp--preset--color--neon-lime);
	outline-offset: 2px;
}

.gd-loop__toggle .gd-icon + .gd-icon,
.gd-loop__toggle.is-paused .gd-icon:first-child {
	display: none;
}

.gd-loop__toggle.is-paused .gd-icon + .gd-icon {
	display: block;
}

/* Podcast platforms with their own icons (owner 2026-11-12): icon + name in one square-cornered box; a link
   when the platform is live, a dashed box with "Soon" until then. */
.gd-platform.is-soon,
.gd-platform.is-live a {
	align-items: center;
	display: inline-flex;
	gap: 10px;
	min-height: 48px;
}

.gd-platform__icon {
	display: inline-flex;
}

.gd-platform__icon .gd-icon {
	height: 24px;
	width: 24px;
}

.gd-platform__soon {
	border-left: 1px solid currentColor;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	padding-left: 10px;
	text-transform: uppercase;
}

/* =====================================================================
 * Start a project (owner 2026-11-12, options E + A): a near-black page between the Midnight header and footer,
 * the page's Featured image as a photo band behind the heading, and the form on a Midnight card with a teal top
 * edge and a "Step 1 of 2" bar (shown only when the two steps are in use).
 * ===================================================================== */
main.gd-wide:has(.gd-start) {
	--gd-night: #0b0f14;
	background-color: var(--gd-night);
	box-shadow: 0 0 0 100vmax var(--gd-night);
	clip-path: inset(0 -100vmax);
}

.gd-start.gd-start--photo {
	padding-top: 120px;
	position: relative;
}

.gd-start.gd-start--photo::before {
	background: linear-gradient(rgba(11, 15, 20, .45), rgba(11, 15, 20, .75)), var(--gd-start-photo) center 35% / cover;
	content: "";
	height: 330px;
	left: calc(50% - 50vw);
	position: absolute;
	right: calc(50% - 50vw);
	top: 0;
	z-index: 0;
}

.gd-start.gd-start--photo > * {
	position: relative;
	z-index: 1;
}

.gd-start.gd-start--photo h1 {
	margin-bottom: 96px;
}

.gd-start .gd-form-wrap--start,
.gd-start .gd-reassure {
	background-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--white);
}

.gd-start .gd-form-wrap--start {
	border-top: 4px solid var(--wp--preset--color--signal-teal);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.gd-start .gd-form--steps.is-stepped::before {
	background: linear-gradient(90deg, var(--wp--preset--color--signal-teal) 50%, rgba(229, 229, 229, .25) 50%) bottom / 100% 4px no-repeat;
	color: var(--wp--preset--color--neon-lime);
	content: "Step 1 of 2";
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	margin-bottom: 28px;
	padding-bottom: 12px;
	text-transform: uppercase;
}

.gd-start .gd-form--steps.is-stepped:has(.gd-form__step[data-step="2"]:not([hidden]))::before {
	background-image: linear-gradient(90deg, var(--wp--preset--color--signal-teal) 100%, transparent 0);
	content: "Step 2 of 2";
}

@media (max-width: 781px) {
	.gd-start.gd-start--photo {
		padding-top: 72px;
	}

	.gd-start.gd-start--photo::before {
		height: 260px;
	}

	.gd-start.gd-start--photo h1 {
		margin-bottom: 72px;
	}

	.gd-start .gd-form-wrap--start {
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	}
}

/* Book a call pop-up (owner 2026-11-18): our own window around the Cal.com booking page; the title, an
   "Open in a new tab" link and ✕ on top, the booking page below. Full screen on phones. */
.gd-book-dialog {
	height: min(780px, calc(100dvh - 32px));
	max-width: min(1000px, calc(100vw - 32px));
	overflow: hidden;
	padding: 0;
}

.gd-book-dialog[open] {
	display: flex;
	flex-direction: column;
}

.gd-book-dialog__head {
	align-items: center;
	border-bottom: 2px solid currentColor;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 16px 72px 16px 24px;
	position: relative;
}

.gd-book-dialog__head h2 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0;
}

.gd-book-dialog__tab {
	font-size: 15px;
	font-weight: 700;
}

.gd-book-dialog .gd-dialog__close {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.gd-book-dialog__frame {
	background-color: var(--wp--preset--color--white);
	border: 0;
	display: block;
	flex: 1 1 auto;
	width: 100%;
}

.gd-reassure__book {
	margin-top: var(--wp--preset--spacing--20);
}

@media (max-width: 781px) {
	.gd-book-dialog {
		border: 0;
		height: 100dvh;
		max-height: 100dvh;
		max-width: 100vw;
		width: 100vw;
	}
}
