/* =========================================================
   Digital Habibi theme
   Petrol + cool white, highlighter yellow used sparingly.
   Logical properties throughout so /ar/ pages flip to RTL.
   ========================================================= */

:root {
	--paper: #f5f7f6;
	--white: #ffffff;
	--ink: #16272a;
	--ink-2: #3a4d50;
	--muted: #5c6e70;
	--line: #d5dfdd;
	--tint: #edf3f2;
	--petrol: #0d4448;
	--petrol-2: #0a3538;
	--petrol-3: #13595e;
	--on-petrol: #d3e5e2;
	--on-petrol-2: #9fc2be;
	--petrol-rgb: 13, 68, 72;
	--mark: #d4ae6a;
	--gold: #c49a56;
	--gold-2: #d9b97f;
	--sand: #f8f6f1;
	--sand-2: #e9e2d3;
	--gsc-clicks: #4285f4;
	--gsc-impressions: #5e35b1;
	--f-kufi: "Reem Kufi", var(--f-ar);
	--link: #1a55c4;
	--ok: #1e7a4c;
	--err: #b3261e;

	--f-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-serif: "Source Serif 4", Georgia, Cambria, "Times New Roman", serif;
	--f-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;

	--wrap: 1180px;
	--text: 44rem;
	--gut: clamp(1rem, 4vw, 2rem);
	--radius: 6px;
	--space: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 1rem;
	line-height: 1.6;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video { max-width: 100%; height: auto; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

::selection { background: #ead7b1; color: var(--ink); }

:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--f-sans); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; color: var(--ink); }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.dh-skip {
	position: absolute;
	inset-inline-start: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--mark);
	color: var(--ink);
	font-weight: 700;
	border-radius: var(--radius);
}
.dh-skip:focus { top: 1rem; }

.dh-main:focus { outline: none; }

.dh-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}
.dh-wrap--text { max-width: calc(var(--text) + 2 * var(--gut)); }
.dh-wrap--list { max-width: calc(52rem + 2 * var(--gut)); }
.dh-wrap--media { max-width: calc(60rem + 2 * var(--gut)); }

.dh-icon { flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.2em; }

.dh-h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; }
.dh-h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.dh-muted { color: var(--muted); }

/* ---------- Buttons and links ---------- */

.dh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 1.5rem 0 0; }

.dh-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.875rem;
	padding: 0.7rem 1.2rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--f-sans);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dh-btn--primary { background: var(--petrol); color: var(--white); }
.dh-btn--primary:hover { background: var(--petrol-3); }
.dh-btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.dh-btn--ghost:hover { border-color: var(--petrol); }
.dh-btn--light { background: var(--mark); color: var(--ink); }
.dh-btn--light:hover { background: #e0c085; }
.dh-btn--outline-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.dh-btn--outline-light:hover { border-color: var(--white); }

.dh-link { font-weight: 700; color: var(--petrol); text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.dh-link:hover { text-decoration-color: var(--petrol); }

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

.dh-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.dh-header.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 10px 28px -18px rgba(var(--petrol-rgb), 0.45);
}
/* Frosted glass on desktop only: a backdrop filter would trap the
   full-screen mobile menu inside the header. */
@media (min-width: 901px) {
	@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
		.dh-header {
			background: rgba(255, 255, 255, 0.92);
			-webkit-backdrop-filter: saturate(1.4) blur(10px);
			backdrop-filter: saturate(1.4) blur(10px);
		}
	}
}
.admin-bar .dh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dh-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dh-header { top: 0; } }

.dh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.5rem;
}

.dh-brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--ink); }
.dh-brand__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.dh-brand__site { font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.dh-brand { flex: none; }
/* Uploaded logo image: a fixed height, so Safari can't shrink it inside the flex header. */
.dh-brand__logo { display: block; height: 2.6rem; width: auto; max-width: min(15rem, 62vw); object-fit: contain; object-position: left center; }
[dir="rtl"] .dh-brand__logo { object-position: right center; }
@media (max-width: 600px) { .dh-brand__logo { height: 2.3rem; } }

/* Desktop menu */
.dh-nav { display: flex; align-items: center; gap: 1.1rem; }
.dh-nav .dh-menu { display: flex; align-items: center; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.dh-nav .dh-menu > li { position: relative; display: flex; align-items: center; }
.dh-nav .dh-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0;
	color: var(--ink-2);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.dh-nav .dh-menu > li > a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.dh-nav .dh-menu > .current-menu-item > a,
.dh-nav .dh-menu > .current-menu-ancestor > a,
.dh-nav .dh-menu > li > a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--petrol); }

/* Small chevron button that opens the Services list (added by JS) */
.dh-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	margin-inline-start: 0.1rem;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.dh-submenu-toggle svg { width: 0.85rem; height: 0.85rem; transition: transform 0.2s ease; }
.dh-submenu-toggle:hover { color: var(--ink); background: var(--tint); }
.menu-item-has-children.is-open > .dh-submenu-toggle svg { transform: rotate(180deg); }

/* Dropdown card */
.dh-nav .sub-menu {
	position: absolute;
	top: calc(100% + 0.6rem);
	inset-inline-start: -1rem;
	z-index: 5;
	min-width: 20rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: 10px;
	box-shadow: 0 24px 48px -22px rgba(var(--petrol-rgb), 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* Invisible bridge so the card doesn't close while the pointer travels to it */
.dh-nav .sub-menu::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 0.9rem; }
.dh-nav .menu-item-has-children:hover > .sub-menu,
.dh-nav .menu-item-has-children:focus-within > .sub-menu,
.dh-nav .menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.dh-nav .menu-item-has-children.is-closed > .sub-menu { opacity: 0; visibility: hidden; }
.dh-nav .sub-menu a {
	display: block;
	padding: 0.7rem 0.85rem;
	border-radius: 7px;
	color: var(--ink);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
	text-decoration: none;
}
.dh-nav .sub-menu a:hover,
.dh-nav .sub-menu a:focus-visible { background: var(--sand); }
.dh-nav .sub-menu .current-menu-item > a { background: var(--sand); box-shadow: inset 3px 0 0 var(--gold); }
[dir="rtl"] .dh-nav .sub-menu .current-menu-item > a { box-shadow: inset -3px 0 0 var(--gold); }
.dh-menu-desc { display: block; margin-top: 0.15rem; color: var(--muted); font-weight: 500; font-size: 0.85rem; }

/* "Let's talk" button */
.dh-nav .dh-menu > .dh-menu-cta > a {
	padding: 0.55rem 1.05rem;
	border: 0;
	border-radius: 999px;
	background: var(--petrol);
	color: var(--white);
	font-weight: 700;
	box-shadow: inset 0 -2px 0 var(--gold);
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.dh-nav .dh-menu > .dh-menu-cta > a:hover { background: var(--petrol-3); color: var(--white); transform: translateY(-1px); }
.dh-nav .dh-menu > .dh-menu-cta.current-menu-item > a { background: var(--gold); color: var(--petrol); box-shadow: none; }

.dh-lang {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-2);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
}
.dh-lang:hover { border-color: var(--petrol); color: var(--ink); }
.dh-lang[lang="ar"] { font-family: var(--f-ar); }

.dh-nav__extra { display: none; }

.dh-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	height: 2.75rem;
	padding: 0 0.85rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font: 700 0.9rem/1 var(--f-sans);
	cursor: pointer;
}
.dh-menu-toggle__label { display: inline; }
.dh-menu-toggle__close { display: none; }
.dh-menu-toggle[aria-expanded="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.dh-menu-toggle[aria-expanded="true"] .dh-menu-toggle__open { display: none; }
.dh-menu-toggle[aria-expanded="true"] .dh-menu-toggle__close { display: inline-flex; }

/* Mid-size screens: tighten before the mobile menu takes over */
@media (min-width: 901px) and (max-width: 1080px) {
	.dh-nav { gap: 0.8rem; }
	.dh-nav .dh-menu { gap: 0.25rem 0.9rem; }
	.dh-nav .dh-menu > li > a { font-size: 0.9rem; }
	.dh-lang span { display: none; }
}

/* Mobile: full-screen navy menu */
@media (max-width: 900px) {
	.dh-js .dh-menu-toggle { display: inline-flex; }
	.dh-js .dh-nav {
		display: none;
		position: fixed;
		inset-inline: 0;
		top: var(--dh-nav-top, 4.5rem);
		bottom: 0;
		z-index: 60;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem var(--gut) calc(1.5rem + env(safe-area-inset-bottom));
		overflow-y: auto;
		overscroll-behavior: contain;
		background-color: var(--petrol);
		background-image: linear-gradient(180deg, rgba(var(--petrol-rgb), 0.86), rgba(var(--petrol-rgb), 0.94) 60%, var(--petrol)), var(--star-tile);
		background-size: auto, 72px 72px;
		color: var(--on-petrol);
	}
	.dh-js .dh-nav.is-open { display: flex; animation: dh-menuin 0.22s ease both; }

	.dh-js .dh-nav .dh-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.dh-js .dh-nav .dh-menu > li { display: flex; flex-wrap: wrap; align-items: center; }
	.dh-js .dh-nav .dh-menu > li > a {
		flex: 1;
		padding: 0.8rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		color: var(--white);
		font-size: 1.45rem;
		font-weight: 700;
		letter-spacing: -0.01em;
	}
	.dh-js .dh-nav .dh-menu > li > a:hover { border-bottom-color: rgba(255, 255, 255, 0.1); color: var(--gold-2); }
	.dh-js .dh-nav .dh-menu > .current-menu-item > a,
	.dh-js .dh-nav .dh-menu > .current-menu-ancestor > a { color: var(--gold-2); border-bottom-color: rgba(255, 255, 255, 0.1); }
	.dh-js .dh-submenu-toggle { display: none; }

	.dh-js .dh-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		margin: 0.6rem 0 0.4rem;
		padding: 0 0 0 1rem;
		background: none;
		border: 0;
		border-inline-start: 2px solid var(--gold);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	[dir="rtl"] .dh-js .dh-nav .sub-menu { padding: 0 1rem 0 0; }
	.dh-js .dh-nav .sub-menu::before { display: none; }
	.dh-js .dh-nav .sub-menu a { padding: 0.55rem 0; color: var(--white); font-size: 1.05rem; background: none; box-shadow: none; }
	.dh-js .dh-nav .sub-menu a:hover { color: var(--gold-2); background: none; }
	.dh-js .dh-nav .sub-menu .current-menu-item > a { color: var(--gold-2); }
	.dh-js .dh-menu-desc { color: var(--on-petrol-2); font-size: 0.875rem; }

	.dh-js .dh-nav .dh-menu > .dh-menu-cta { margin-top: 1.4rem; }
	.dh-js .dh-nav .dh-menu > .dh-menu-cta > a,
	.dh-js .dh-nav .dh-menu > .dh-menu-cta.current-menu-item > a {
		justify-content: center;
		padding: 1rem;
		border: 0;
		border-radius: var(--radius);
		background: var(--gold);
		color: var(--petrol);
		font-size: 1.1rem;
		box-shadow: none;
	}
	.dh-js .dh-nav .dh-menu > .dh-menu-cta > a:hover { background: var(--gold-2); color: var(--petrol); }

	.dh-js .dh-nav .dh-lang { align-self: flex-start; margin-top: 1.1rem; border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
	.dh-js .dh-nav .dh-lang span { display: inline; }

	.dh-js .dh-nav__extra { display: block; margin-top: auto; padding-top: 2rem; font-size: 0.95rem; }
	.dh-nav__extra p { margin: 0 0 0.6rem; }
	.dh-nav__status { display: flex; align-items: center; gap: 0.55rem; color: var(--white); font-weight: 600; }
	.dh-nav__status .dh-status__dot { flex: none; }
	.dh-nav__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; color: var(--on-petrol-2); }
	.dh-nav__links a { color: var(--gold-2); font-weight: 700; text-decoration: none; }
	.dh-nav__tagline { padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-petrol-2); font-family: var(--f-serif); font-style: italic; }

	body.dh-menu-open { overflow: hidden; }

	html:not(.dh-js) .dh-header__inner { flex-wrap: wrap; padding-block: 0.75rem; }
	html:not(.dh-js) .dh-nav { flex-wrap: wrap; }
	html:not(.dh-js) .dh-nav .dh-menu { flex-wrap: wrap; }
	html:not(.dh-js) .dh-nav .sub-menu { display: none; }
}
@media (max-width: 400px) {
	.dh-menu-toggle__label { display: none; }
	.dh-menu-toggle { width: 2.75rem; padding: 0; }
}
@keyframes dh-menuin { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
	.dh-js .dh-nav.is-open { animation: none; }
	.dh-nav .sub-menu { transition: none; }
}

/* ---------- Hero ---------- */

.dh-hero {
	position: relative;
	background: var(--petrol);
	color: var(--white);
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
	overflow: hidden;
}
.dh-hero::before {
	/* A faint grid, like the rows of a results page. */
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 100% 2.5rem;
	pointer-events: none;
}
.dh-hero > * { position: relative; }

.dh-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 1rem + 4vw, 4.5rem);
	align-items: center;
}

.dh-status {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.75rem;
	padding: 0.4rem 0.85rem 0.4rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: var(--on-petrol);
	font-size: 0.9rem;
	font-weight: 600;
}
.dh-status__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #5ee09a; box-shadow: 0 0 0 4px rgba(94, 224, 154, 0.18); }

.dh-hero__title { margin: 0 0 1.25rem; color: var(--white); }
.dh-hero__name {
	display: block;
	font-size: clamp(3rem, 1.6rem + 6.2vw, 6rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.045em;
}
.dh-hero__role {
	display: block;
	margin-top: 0.85rem;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--on-petrol);
}
.dh-hero__intro {
	max-width: 34rem;
	margin: 0;
	font-family: var(--f-serif);
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
	line-height: 1.65;
	color: var(--on-petrol);
}

.dh-hero .dh-btn--primary { background: var(--mark); color: var(--ink); }
.dh-hero .dh-btn--primary:hover { background: #e0c085; }
.dh-hero .dh-btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.dh-hero .dh-btn--ghost:hover { border-color: var(--white); }
.dh-hero :focus-visible { outline-color: var(--mark); }

/* The search result card */
.dh-serp {
	margin: 0;
	padding: 1.25rem;
	background: var(--white);
	color: var(--ink);
	border-radius: 14px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
	font-family: Arial, var(--f-sans);
}
.dh-serp__bar {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 1rem;
	border: 1px solid #dfe1e5;
	border-radius: 999px;
	color: #4d5156;
	font-size: 1rem;
	box-shadow: 0 1px 4px rgba(32, 33, 36, 0.12);
}
.dh-serp__bar .dh-icon { color: #9aa0a6; }
.dh-serp__query { color: #202124; white-space: nowrap; overflow: hidden; }
.dh-serp__caret { width: 1px; height: 1.15em; background: #202124; opacity: 0; }
.dh-serp.is-typing .dh-serp__caret { opacity: 1; animation: dh-blink 1s steps(1) infinite; }
@keyframes dh-blink { 50% { opacity: 0; } }

.dh-serp__result { padding: 1.35rem 0.35rem 0.4rem; }
.dh-serp__site { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.35rem; }
.dh-serp__fav {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--petrol);
	color: var(--white);
	font-family: var(--f-sans);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	border: 1px solid #ecedef;
}
.dh-serp__src { display: flex; flex-direction: column; line-height: 1.25; }
.dh-serp__sitename { font-size: 0.875rem; color: #202124; }
.dh-serp__url { font-size: 0.75rem; color: #4d5156; }
.dh-serp__title {
	margin: 0 0 0.3rem;
	font-size: 1.25rem;
	line-height: 1.3;
	color: #1a0dab;
}
.dh-serp__desc { margin: 0; font-size: 0.875rem; line-height: 1.58; color: #4d5156; }
.dh-serp__desc b,
.dh-serp__title b { font-weight: 700; color: inherit; }
.dh-serp__desc b { color: #202124; background: linear-gradient(to top, rgba(212, 174, 106, 0.55) 0 0.5em, transparent 0.5em); }
.dh-serp__cap {
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid #eceff0;
	font-family: var(--f-sans);
	font-size: 0.8125rem;
	color: var(--muted);
}

.dh-hero__photo { justify-self: end; }
.dh-hero__headshot { width: min(22rem, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.dh-hero .dh-headshot--monogram { width: min(22rem, 70vw); background: var(--petrol-2); border: 1px solid rgba(255, 255, 255, 0.16); font-size: clamp(4rem, 3rem + 4vw, 7rem); }

/* Proof numbers */
.dh-proof {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.dh-proof__item {
	display: flex;
	flex-direction: column-reverse;
	gap: 0.15rem;
	padding: 1.5rem 1.25rem 1.75rem 0;
}
.dh-proof__item + .dh-proof__item { padding-inline-start: 1.25rem; border-inline-start: 1px solid rgba(255, 255, 255, 0.16); }
.dh-proof dd { margin: 0; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.dh-proof dt { color: var(--on-petrol-2); font-size: 0.95rem; }

/* ---------- Sections ---------- */

.dh-section { padding-block: var(--space); }
.dh-section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.dh-section--tint { background: var(--tint); }

.dh-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(1.5rem, 1rem + 3vw, 4rem);
	align-items: start;
}
.dh-split--wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); }

.dh-markets-band { padding-block: 2rem; border-bottom: 1px solid var(--line); }
.dh-markets-band .dh-split { align-items: center; }
.dh-markets-band .dh-h3 { margin: 0; }
.dh-markets { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.dh-markets li {
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink-2);
}

/* Two paths */
.dh-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: 2rem; }
.dh-path { padding-top: 1.5rem; border-top: 3px solid var(--petrol); }
.dh-path + .dh-path { border-top-color: var(--mark); }
.dh-path__title { font-size: 1.4rem; font-weight: 800; }
.dh-path p { color: var(--ink-2); }

.dh-ticks { list-style: none; margin: 1rem 0 0; padding: 0; }
.dh-ticks li { position: relative; padding-inline-start: 1.5rem; margin-bottom: 0.45rem; }
.dh-ticks li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55em;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 2px;
	background: var(--petrol);
}

/* Skills */
.dh-skills { margin: 0; }
.dh-skill { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.dh-skill:last-child { border-bottom: 1px solid var(--line); }
.dh-skill dt { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.dh-skill dd { margin: 0; color: var(--ink-2); }
.dh-skill dd a { font-weight: 600; white-space: nowrap; }

/* Timeline */
.dh-timeline { list-style: none; margin: 0; padding: 0; }
.dh-timeline__item {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-block: 1.25rem;
	border-top: 1px solid var(--line);
}
.dh-timeline__item:last-child { border-bottom: 1px solid var(--line); }
.dh-timeline__when { font-weight: 800; color: var(--petrol); font-size: 0.95rem; padding-top: 0.15rem; }
.dh-timeline__role { margin: 0 0 0.25rem; font-weight: 700; font-size: 1.1rem; }
.dh-timeline__what { margin: 0; color: var(--ink-2); }
.dh-timeline__item:last-child .dh-timeline__when { color: var(--ink); }

/* Writing */
.dh-writing { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.dh-writing__hubs .dh-hubs { grid-template-columns: 1fr; }

.dh-rows { margin-bottom: 1.5rem; }
.dh-rows--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }

.dh-row {
	display: grid;
	grid-template-columns: 14rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--line);
}
.dh-row:not(:has(.dh-row__media)) { grid-template-columns: minmax(0, 1fr); }
.dh-row--compact { grid-template-columns: minmax(0, 1fr); padding-block: 1.1rem; }
.dh-row__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.dh-row__cat { display: inline-block; margin-bottom: 0.3rem; font-size: 0.85rem; font-weight: 700; color: var(--petrol); text-decoration: none; }
.dh-row__cat:hover { text-decoration: underline; }
.dh-row__title { margin: 0 0 0.4rem; font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.dh-row--compact .dh-row__title { font-size: 1.075rem; }
.dh-row__title a { color: var(--ink); text-decoration: none; }
.dh-row__title a:hover { color: var(--petrol); text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 3px; }
.dh-row__excerpt { margin: 0 0 0.5rem; color: var(--ink-2); font-family: var(--f-serif); font-size: 1.025rem; }
.dh-row__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Hubs */
.dh-hubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.dh-hub { display: flex; flex-direction: column; gap: 0.15rem; padding-block: 0.9rem; border-top: 1px solid var(--line); }
.dh-hub__link { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.dh-hub__link:hover { color: var(--petrol); text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 3px; }
.dh-hub__desc { font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.dh-faq__item { border-top: 1px solid var(--line); }
.dh-faq__item:last-child { border-bottom: 1px solid var(--line); }
.dh-faq__item summary,
.wp-block-details summary {
	position: relative;
	display: block;
	padding: 1.15rem 2.5rem 1.15rem 0;
	padding-inline: 0 2.5rem;
	font-weight: 700;
	font-size: 1.1rem;
	cursor: pointer;
	list-style: none;
}
.dh-faq__item summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker { display: none; }
.dh-faq__item summary::after,
.wp-block-details summary::after {
	content: "+";
	position: absolute;
	inset-inline-end: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--petrol);
}
.dh-faq__item[open] summary::after,
.wp-block-details[open] summary::after { content: "\2212"; }
.dh-faq__item p { margin: 0 0 1.25rem; color: var(--ink-2); max-width: 40rem; }

/* CTA */
.dh-cta { background: var(--petrol); color: var(--on-petrol); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.dh-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.dh-cta__title { margin: 0 0 0.4rem; color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; }
.dh-cta__text { margin: 0; max-width: 34rem; }
.dh-cta .dh-actions { margin: 0; }
.dh-cta :focus-visible { outline-color: var(--mark); }

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

.dh-footer { background: var(--petrol-2); color: var(--on-petrol); font-size: 0.95rem; }
.dh-footer a { color: var(--white); text-decoration: none; }
.dh-footer a:hover { text-decoration: underline; text-decoration-color: var(--mark); }
.dh-footer :focus-visible { outline-color: var(--mark); }
.dh-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 2rem 3rem;
	padding-block: 3.5rem 2.5rem;
}
.dh-footer__name { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 800; color: var(--white); }
.dh-footer__about p { max-width: 26rem; }
.dh-footer__place { display: inline-flex; gap: 0.4rem; align-items: center; color: var(--on-petrol-2); }
.dh-footer__head { margin-bottom: 0.75rem; font-weight: 700; color: var(--white); }
.dh-footer .dh-menu { list-style: none; margin: 0; padding: 0; }
.dh-footer .dh-menu li { margin-bottom: 0.5rem; }
.dh-footer .dh-menu a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-petrol); }
.dh-footer .dh-menu a:hover { color: var(--white); }
.dh-footer__base { padding-block: 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-petrol-2); font-size: 0.875rem; }
.dh-footer__base p { margin: 0; }

/* ---------- Pages ---------- */

.dh-crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.dh-crumbs a { color: var(--muted); }
.dh-crumbs a:hover { color: var(--ink); }
.dh-crumbs__sep { color: var(--line); }
.dh-crumbs span[aria-current] { color: var(--ink-2); }
/* Yoast breadcrumb markup */
.dh-crumbs > span > span { display: inline; }

.dh-page__head { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.dh-page__head--profile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; }
.dh-page__title { margin: 0 0 0.75rem; max-width: 22ch; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.dh-page__lead { max-width: 40rem; margin: 0; font-family: var(--f-serif); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }
.dh-page__photo { width: clamp(8rem, 6rem + 8vw, 13rem); aspect-ratio: 1; object-fit: cover; border-radius: 14px; }

.dh-headshot--monogram {
	display: inline-grid;
	place-items: center;
	aspect-ratio: 1;
	background: var(--petrol);
	color: var(--mark);
	font-weight: 800;
	letter-spacing: -0.04em;
	font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.dh-prose--page { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--space); }

/* ---------- Articles ---------- */

.dh-article__head { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) 2rem; }
.dh-article__cat { display: inline-block; margin-bottom: 0.75rem; font-weight: 700; color: var(--petrol); text-decoration: none; }
.dh-article__cat:hover { text-decoration: underline; }
.dh-article__title { margin: 0 0 1.5rem; font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.07; }
.dh-article__image { margin: 0 auto 2rem; }
.dh-article__image img { display: block; width: 100%; border-radius: 6px; }

.dh-byline { display: flex; align-items: center; gap: 0.85rem; }
.dh-byline p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.dh-byline__photo { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; font-size: 0.9rem; }
.dh-byline__name { font-weight: 700; }
.dh-byline__meta { display: flex; gap: 0.9rem; font-size: 0.875rem; color: var(--muted); }

.dh-article__layout { display: block; max-width: calc(var(--text) + 2 * var(--gut)); padding-bottom: var(--space); }
.dh-article__layout.has-toc { max-width: var(--wrap); display: grid; grid-template-columns: 15rem minmax(0, var(--text)); gap: 4rem; justify-content: center; }

.dh-article.has-toc .dh-article__head .dh-wrap--text {
	max-width: var(--wrap);
	display: grid;
	grid-template-columns: 15rem minmax(0, var(--text));
	column-gap: 4rem;
	justify-content: center;
}
.dh-article.has-toc .dh-article__head .dh-wrap--text > * { grid-column: 2; justify-self: start; }

.dh-crumbs { min-width: 0; max-width: 100%; }
.dh-crumbs span[aria-current] { min-width: 0; overflow-wrap: anywhere; }

.dh-toc__box { position: sticky; top: 6rem; font-size: 0.9rem; }
.dh-toc summary { font-weight: 700; margin-bottom: 0.75rem; cursor: pointer; list-style: none; }
.dh-toc summary::-webkit-details-marker { display: none; }
.dh-toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.dh-toc li a { display: block; padding: 0.35rem 0 0.35rem 1rem; padding-inline: 1rem 0; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.dh-toc li a:hover { color: var(--ink); }
.dh-toc li a.is-active { color: var(--ink); border-inline-start-color: var(--petrol); font-weight: 600; }

@media (max-width: 1023px) {
	.dh-article__layout.has-toc { display: block; max-width: calc(var(--text) + 2 * var(--gut)); }
	.dh-article.has-toc .dh-article__head .dh-wrap--text { display: block; max-width: calc(var(--text) + 2 * var(--gut)); }
	.dh-toc { margin-bottom: 2rem; padding: 1rem 1.25rem; background: var(--tint); border-radius: var(--radius); }
	.dh-toc__box { position: static; }
	.dh-toc summary { margin: 0; }
	.dh-toc details[open] summary { margin-bottom: 0.75rem; }
	.dh-toc summary::after { content: " +"; color: var(--petrol); }
	.dh-toc details[open] summary::after { content: " \2212"; }
}

/* Long-form text */
.dh-prose {
	font-family: var(--f-serif);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.72;
	color: var(--ink);
	overflow-wrap: break-word;
}
.dh-prose > * { margin-block: 0 1.15em; }
.dh-prose h2,
.dh-prose h3,
.dh-prose h4 { font-family: var(--f-sans); scroll-margin-top: 1.5rem; }
.dh-prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.dh-prose h3 { margin-top: 1.8em; font-size: 1.3rem; font-weight: 700; }
.dh-prose h4 { margin-top: 1.6em; font-size: 1.1rem; font-weight: 700; }
.dh-prose > h2:first-child,
.dh-prose > h3:first-child { margin-top: 0; }
.dh-prose a { color: var(--link); }
.dh-prose ul,
.dh-prose ol { padding-inline-start: 1.4em; }
.dh-prose li { margin-bottom: 0.4em; }
.dh-prose li::marker { color: var(--petrol); font-family: var(--f-sans); font-weight: 700; }
.dh-prose strong { font-weight: 600; }
.dh-prose mark,
.dh-prose .has-inline-color { background: var(--mark); color: inherit; padding: 0 0.15em; }
.dh-prose blockquote,
.dh-prose .wp-block-quote {
	margin-inline: 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	padding-inline: 1.25rem 0;
	border-inline-start: 3px solid var(--petrol);
	font-style: italic;
	color: var(--ink-2);
}
.dh-prose blockquote cite { display: block; margin-top: 0.5rem; font-style: normal; font-family: var(--f-sans); font-size: 0.9rem; color: var(--muted); }
.dh-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.dh-prose img { border-radius: 4px; }
.dh-prose figure { margin-inline: 0; }
.dh-prose figcaption,
.dh-prose .wp-element-caption { margin-top: 0.5rem; font-family: var(--f-sans); font-size: 0.85rem; color: var(--muted); }
.dh-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; padding: 0.1em 0.35em; background: var(--tint); border-radius: 4px; }
.dh-prose pre { overflow-x: auto; padding: 1rem 1.25rem; background: var(--ink); color: #e7f0ee; border-radius: var(--radius); font-size: 0.875rem; line-height: 1.6; }
.dh-prose pre code { background: none; padding: 0; color: inherit; }

.dh-prose table { width: 100%; border-collapse: collapse; font-family: var(--f-sans); font-size: 0.95rem; line-height: 1.45; }
.dh-prose .wp-block-table { overflow-x: auto; }
.dh-prose th,
.dh-prose td { padding: 0.7rem 0.85rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.dh-prose thead th { background: var(--tint); font-weight: 700; border-bottom: 2px solid var(--petrol); }

.dh-prose .alignwide { width: min(60rem, calc(100vw - 2 * var(--gut))); max-width: none; margin-inline: calc(50% - min(30rem, 50vw - var(--gut))); }
.dh-prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.dh-prose .aligncenter { margin-inline: auto; display: block; }
.dh-prose .alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.dh-prose .alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }

.dh-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; font-family: var(--f-sans); }
.dh-prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.875rem;
	padding: 0.7rem 1.2rem;
	background: var(--petrol);
	color: var(--white);
	border: 2px solid var(--petrol);
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}
.dh-prose .wp-block-button__link:hover { background: var(--petrol-3); border-color: var(--petrol-3); }
.dh-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line); }
.dh-prose .is-style-outline .wp-block-button__link:hover { border-color: var(--petrol); }

.dh-prose .is-style-lead,
.dh-prose .dh-lead { font-size: 1.2em; line-height: 1.6; color: var(--ink-2); }

.dh-prose .wp-block-details { border-top: 1px solid var(--line); margin: 0; font-family: var(--f-sans); }
.dh-prose .wp-block-details + :not(.wp-block-details) { border-top: 1px solid var(--line); padding-top: 1.5em; }
.dh-prose .wp-block-details p { font-family: var(--f-serif); color: var(--ink-2); }

.dh-prose .dh-timeline,
.dh-prose .dh-markets,
.dh-prose .dh-hubs,
.dh-prose .dh-cases,
.dh-prose .dh-actions,
.dh-prose .dh-form-wrap { font-family: var(--f-sans); font-size: 1rem; line-height: 1.6; }
.dh-prose .dh-timeline,
.dh-prose .dh-markets,
.dh-prose .dh-hubs { padding: 0; }
.dh-prose .dh-timeline__item { grid-template-columns: 7rem minmax(0, 1fr); }
.dh-prose .dh-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dh-prose .dh-markets li,
.dh-prose .dh-timeline li,
.dh-prose .dh-hubs li { margin: 0; }
.dh-prose .dh-markets li::marker { content: none; }

.dh-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--f-sans); font-size: 0.875rem; }
.dh-tags a { padding: 0.25rem 0.7rem; background: var(--tint); border-radius: 999px; color: var(--ink-2); text-decoration: none; }

/* Author box */
.dh-author {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
	padding: 1.5rem;
	background: var(--tint);
	border-radius: 10px;
	font-family: var(--f-sans);
	font-size: 0.975rem;
	line-height: 1.55;
}
.dh-author__photo { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; font-size: 1.25rem; }
.dh-author p { margin: 0; }
.dh-author__name { font-weight: 800; font-size: 1.1rem; }
.dh-author__name a { color: var(--ink); text-decoration: none; }
.dh-author__role { color: var(--muted); margin-bottom: 0.5rem !important; }
.dh-author__bio { color: var(--ink-2); }
.dh-author__links { display: flex; gap: 1.25rem; margin-top: 0.75rem !important; font-weight: 700; }
.dh-author__links a { color: var(--petrol); }

/* Case studies */
.dh-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.dh-case { padding-top: 1rem; border-top: 3px solid var(--petrol); }
.dh-case__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; }
.dh-case__title { font-size: 1.2rem; margin-bottom: 0.4rem; }
.dh-case__title a { color: var(--ink); text-decoration: none; }
.dh-case__title a:hover { color: var(--petrol); text-decoration: underline; }
.dh-case p { color: var(--ink-2); margin: 0; }

/* ---------- Forms ---------- */

.dh-form { display: grid; gap: 1.25rem; }
.dh-form p { margin: 0; }
.dh-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.dh-form__full { grid-column: 1 / -1; }
.dh-form label,
.dh-form legend { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.dh-form input[type="text"],
.dh-form input[type="email"],
.dh-form textarea,
.dh-search input[type="search"],
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #b9c7c5;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}
.dh-form input:focus,
.dh-form textarea:focus,
.dh-search input:focus { border-color: var(--petrol); outline: 3px solid rgba(var(--petrol-rgb), 0.18); outline-offset: 0; }
.dh-form__types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dh-form__types legend { width: 100%; padding: 0; }
.dh-choice { display: inline-flex !important; align-items: center; gap: 0.5rem; margin: 0 !important; padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600 !important; cursor: pointer; }
.dh-choice:has(input:checked) { border-color: var(--petrol); background: var(--tint); }
.dh-choice input { accent-color: var(--petrol); margin: 0; }
.dh-form .dh-btn { justify-self: start; }
.dh-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dh-notice { padding: 0.9rem 1.1rem; border-radius: var(--radius); font-weight: 600; margin-bottom: 1.25rem; }
.dh-notice--ok { background: #e4f4ea; color: var(--ok); }
.dh-notice--error { background: #fbe9e7; color: var(--err); }

.dh-search { display: flex; align-items: center; gap: 0.6rem; max-width: 34rem; margin-block: 1.25rem; position: relative; }
.dh-search .dh-icon { position: absolute; inset-inline-start: 0.85rem; color: var(--muted); }
.dh-search input[type="search"] { padding-inline-start: 2.6rem; }

/* ---------- Lists, pagination, misc ---------- */

.dh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.dh-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.85rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; }
.dh-pagination .page-numbers.current { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.dh-pagination a.page-numbers:hover { border-color: var(--petrol); }

.dh-empty { padding: 1.5rem 0; color: var(--ink-2); }
.dh-notfound .dh-page__title { margin-bottom: 1rem; }
.dh-notfound .dh-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.5rem; }

.dh-comments-wrap { padding-bottom: var(--space); }
.dh-comments__list { padding-inline-start: 1.2rem; }
.dh-comments .comment-body { padding-block: 1rem; border-top: 1px solid var(--line); }
.dh-comments .comment-meta { font-size: 0.875rem; color: var(--muted); }

/* ---------- Arabic (RTL) ---------- */

[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .dh-prose,
[dir="rtl"] .dh-page__lead,
[dir="rtl"] .dh-hero__intro,
[dir="rtl"] .dh-btn { font-family: var(--f-ar); letter-spacing: 0; }
[dir="rtl"] .dh-hero__name { letter-spacing: 0; line-height: 1.15; }
[dir="rtl"] .dh-prose { line-height: 1.9; }
[dir="rtl"] .dh-page__title { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .dh-status { padding: 0.4rem 0.7rem 0.4rem 0.85rem; }
[dir="rtl"] .dh-hero__photo { justify-self: start; }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
	.dh-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.dh-serp { max-width: 36rem; }
	.dh-hero__photo { justify-self: start; }
	.dh-split,
	.dh-split--wide,
	.dh-writing { grid-template-columns: minmax(0, 1fr); }
	.dh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-footer__about { grid-column: 1 / -1; }
	.dh-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.dh-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-proof__item { padding: 1.1rem 0.75rem 1.25rem 0; }
	.dh-proof__item + .dh-proof__item { padding-inline-start: 0.75rem; }
	.dh-proof__item:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
	.dh-proof__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
	.dh-paths,
	.dh-rows--grid,
	.dh-cases,
	.dh-form__grid,
	.dh-hubs,
	.dh-prose .dh-hubs,
	.dh-notfound .dh-hubs { grid-template-columns: minmax(0, 1fr); }
	.dh-row { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
	.dh-timeline__item,
	.dh-prose .dh-timeline__item { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
	.dh-page__head--profile { grid-template-columns: minmax(0, 1fr); }
	.dh-page__head--profile .dh-page__photo { order: -1; width: 6.5rem; }
	.dh-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.dh-author { grid-template-columns: minmax(0, 1fr); }
	.dh-serp { padding: 1rem; }
	.dh-serp__title { font-size: 1.125rem; }
	.dh-search { flex-wrap: wrap; }
	.dh-search .dh-icon { top: 0.95rem; }
	.dh-search .dh-btn { width: 100%; justify-content: center; }
	.dh-prose .alignleft,
	.dh-prose .alignright { float: none; margin: 0 0 1em; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition: none !important; }
}

/* Buttons inside long-form content keep their own colours. */
.dh-prose a.dh-btn { text-decoration: none; }
.dh-prose a.dh-btn--primary { color: var(--white); }
.dh-prose a.dh-btn--ghost { color: var(--ink); }

/* Pages: body text shares the title's left edge. */
.dh-wrap.dh-prose--page { max-width: var(--wrap); }
.dh-prose--page > * { max-width: var(--text); }
.dh-prose--page > .alignwide,
.dh-prose--page > .alignfull { max-width: none; }

/* =========================================================
   Arabic flavour + motion layer
   Star lattice, arch frames, Kufi calligraphy, growth visuals.
   ========================================================= */

:root {
	--star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d9b97f' stroke-width='1'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M36 0v16M36 56v16M0 36h16M56 36h16'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Hero: star lattice instead of plain rows, warm glow behind the arch */
.dh-hero::before {
	background-image: var(--star-tile);
	background-size: 72px 72px;
	opacity: 0.09;
}
.dh-hero::after {
	content: "";
	position: absolute;
	inset-block-start: -10%;
	inset-inline-end: -10%;
	width: 60%;
	height: 90%;
	background: radial-gradient(closest-side, rgba(196, 154, 86, 0.22), transparent);
	pointer-events: none;
}
@media (min-width: 1024px) {
	.dh-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.dh-hello {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin: 0 0 0.25rem;
	color: var(--on-petrol);
	font-weight: 600;
	font-size: 1.1rem;
}
.dh-hello__ar { font-family: var(--f-kufi); font-weight: 700; font-size: 1.6rem; color: var(--gold-2); line-height: 1; }

.dh-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem; margin: 1.75rem 0 0; font-size: 0.95rem; color: var(--on-petrol-2); }
.dh-follow a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.dh-follow a:hover { border-bottom-color: var(--mark); }

/* Visual column */
.dh-hero__visual {
	position: relative;
	display: grid;
	justify-items: center;
	align-items: start;
	min-height: 34rem;
	padding-top: 1rem;
}
.dh-calli {
	position: absolute;
	inset-block-start: -1.5rem;
	inset-inline-end: -1rem;
	font-family: var(--f-kufi);
	font-weight: 700;
	font-size: clamp(6rem, 3rem + 9vw, 12.5rem);
	line-height: 1;
	color: var(--gold-2);
	opacity: 0.16;
	pointer-events: none;
	user-select: none;
}

.dh-arch {
	position: relative;
	z-index: 1;
	width: min(19rem, 72%);
	aspect-ratio: 4 / 5;
	border-radius: 999px 999px 18px 18px;
	overflow: hidden;
	background: var(--petrol-2);
	box-shadow: 0 0 0 9px var(--petrol), 0 0 0 11px var(--gold), 0 40px 60px -30px rgba(0, 0, 0, 0.6);
}
.dh-arch .dh-headshot,
.dh-arch__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dh-arch .dh-headshot--monogram {
	display: grid;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
	background:
		var(--star-tile) center / 72px 72px,
		linear-gradient(160deg, var(--petrol-3), var(--petrol-2));
	color: var(--mark);
	font-size: clamp(4rem, 3rem + 3vw, 6rem);
}

.dh-star {
	position: absolute;
	z-index: 0;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--gold-2);
	clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%);
	opacity: 0.85;
}
.dh-star--a { inset-block-start: 12%; inset-inline-start: 6%; }
.dh-star--b { inset-block-start: 58%; inset-inline-end: 4%; width: 1.4rem; height: 1.4rem; opacity: 0.6; }

.dh-chip {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.85rem;
	background: var(--white);
	color: var(--ink);
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55);
	white-space: nowrap;
}
.dh-chip__icon { width: 1.05rem; height: 1.05rem; color: #1e8e4e; }
.dh-chip--a { inset-block-start: 22%; inset-inline-start: 0; }
.dh-chip--b { inset-block-start: 44%; inset-inline-end: 0; }

.dh-hero__visual .dh-serp {
	position: absolute;
	z-index: 3;
	inset-block-end: -0.5rem;
	inset-inline-start: -1.5rem;
	width: min(25rem, 92%);
	padding: 1rem;
}
.dh-hero__visual .dh-serp__result { padding-top: 1rem; }
.dh-hero__visual .dh-serp__title { font-size: 1.1rem; }
.dh-hero--ar .dh-hero__visual { min-height: 28rem; }

/* Ticker */
.dh-ticker {
	overflow: hidden;
	background: var(--mark);
	color: var(--petrol-2);
	border-block: 1px solid rgba(0, 0, 0, 0.08);
}
.dh-ticker__track { display: flex; width: max-content; }
.dh-ticker__list { display: flex; flex: none; margin: 0; padding: 0.8rem 0; list-style: none; }
.dh-ticker__list li { display: inline-flex; align-items: center; gap: 1.4rem; padding-inline-end: 1.4rem; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.dh-ticker__list li.is-ar { font-family: var(--f-kufi); font-weight: 700; font-size: 1.15rem; }
.dh-ticker__star { width: 0.9rem; height: 0.9rem; fill: var(--petrol); }
.dh-motion .dh-ticker__track { animation: dh-marquee 48s linear infinite; }
.dh-ticker:hover .dh-ticker__track { animation-play-state: paused; }
@keyframes dh-marquee { to { transform: translateX(-50%); } }
html[dir="rtl"].dh-motion .dh-ticker__track { animation-name: dh-marquee-rtl; }
@keyframes dh-marquee-rtl { to { transform: translateX(50%); } }

/* Floating chips and slowly turning stars */
.dh-motion .dh-chip { animation: dh-float 6s ease-in-out infinite alternate; }
.dh-motion .dh-chip--b { animation-delay: -3s; }
.dh-motion .dh-star { animation: dh-spin 40s linear infinite; }
@keyframes dh-float { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
@keyframes dh-spin { to { transform: rotate(360deg); } }

/* Sand section with a faint lattice */
.dh-section--sand {
	position: relative;
	background: var(--sand);
}
.dh-section--sand::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--star-tile) 0 0 / 72px 72px;
	opacity: 0.35;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%);
	mask-image: linear-gradient(to bottom, #000, transparent 55%);
	pointer-events: none;
}
.dh-section--sand > * { position: relative; }

/* Growth section */
.dh-growth { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.dh-growth__text p { color: var(--ink-2); }
.dh-steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; }
.dh-steps li { counter-increment: step; position: relative; padding: 0.85rem 0 0.85rem 3rem; padding-inline: 3rem 0; border-top: 1px solid var(--sand-2); color: var(--ink-2); }
.dh-steps li::before {
	content: counter(step);
	position: absolute;
	inset-inline-start: 0;
	top: 0.8rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--petrol);
	color: var(--mark);
	font-weight: 800;
	font-size: 0.9rem;
}
.dh-steps strong { color: var(--ink); }

/* Chart card (Search Console style) */
.dh-chart {
	margin: 0;
	padding: 1.25rem;
	background: var(--white);
	border-radius: 14px;
	border: 1px solid var(--sand-2);
	box-shadow: 0 30px 60px -40px rgba(var(--petrol-rgb), 0.5);
	font-family: Arial, var(--f-sans);
}
.dh-chart__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.dh-chart__title { font-family: var(--f-sans); font-weight: 800; font-size: 1.05rem; }
.dh-chart__badge { padding: 0.2rem 0.65rem; border: 1px dashed var(--gold); border-radius: 999px; background: var(--sand); color: #6e5328; font-size: 0.8rem; font-weight: 700; font-family: var(--f-sans); }

.dh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.75rem; }
.dh-kpi {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #dadce0;
	border-radius: 8px;
	background: var(--white);
	color: #3c4043;
	font: inherit;
	text-align: start;
}
button.dh-kpi { cursor: pointer; }
.dh-kpi__label { font-size: 0.75rem; line-height: 1.25; }
.dh-kpi__value { font-size: 1.4rem; font-weight: 700; color: #202124; line-height: 1.1; }
.dh-kpi__value--up { color: #137333; }
.dh-kpi--clicks.is-on { background: var(--gsc-clicks); border-color: var(--gsc-clicks); color: #fff; }
.dh-kpi--impressions.is-on { background: var(--gsc-impressions); border-color: var(--gsc-impressions); color: #fff; }
.dh-kpi.is-on .dh-kpi__value { color: #fff; }

.dh-chart__plot { position: relative; }
.dh-chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.dh-chart__grid line { stroke: #e8ecec; stroke-width: 1; }
.dh-chart__grid text,
.dh-chart__x text { fill: #5f6368; font-size: 11px; }
.dh-chart__band--0 { fill: rgba(var(--petrol-rgb), 0.045); }
.dh-chart__band--1 { fill: rgba(196, 154, 86, 0.09); }
.dh-chart__phase-label { fill: #5f6368; font-size: 11px; font-weight: 700; }
.dh-chart__series--clicks { --s: var(--gsc-clicks); }
.dh-chart__series--impressions { --s: var(--gsc-impressions); }
.dh-chart__series.is-hidden { display: none; }
.dh-chart__area { fill: var(--s); opacity: 0.1; }
.dh-chart__line { fill: none; stroke: var(--s); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.dh-chart__end { fill: var(--s); stroke: var(--white); stroke-width: 2; }
.dh-chart__end-label { fill: #202124; font-size: 12px; font-weight: 700; }
.dh-chart__cross { stroke: #9aa0a6; stroke-width: 1; opacity: 0; }
.dh-chart__hover-dot { fill: var(--gsc-clicks); stroke: var(--white); stroke-width: 2; opacity: 0; }
.dh-chart.is-hovering .dh-chart__cross,
.dh-chart.is-hovering .dh-chart__hover-dot { opacity: 1; }
.dh-chart__hit { fill: transparent; cursor: crosshair; }
.dh-chart__tip {
	position: absolute;
	z-index: 2;
	min-width: 9rem;
	padding: 0.55rem 0.7rem;
	background: var(--white);
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(32, 33, 36, 0.2);
	font-size: 0.8rem;
	color: #3c4043;
	pointer-events: none;
	transform: translate(-50%, calc(-100% - 12px));
}
.dh-chart__tip strong { display: block; margin-bottom: 0.2rem; color: #202124; }
.dh-chart__tip span { display: flex; justify-content: space-between; gap: 1rem; }
.dh-chart__note { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); font-family: var(--f-sans); }
.dh-chart__table { margin-top: 0.5rem; font-size: 0.85rem; font-family: var(--f-sans); }
.dh-chart__table summary { cursor: pointer; color: var(--petrol); font-weight: 700; }
.dh-chart__table table { width: 100%; margin-top: 0.5rem; border-collapse: collapse; }
.dh-chart__table th,
.dh-chart__table td { padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); text-align: start; }

/* Line draws in, area fades in, when the chart scrolls into view */
.dh-motion .dh-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1); }
.dh-motion .dh-chart__area,
.dh-motion .dh-chart__end,
.dh-motion .dh-chart__end-label { opacity: 0; transition: opacity 0.6s ease 1.4s; }
.dh-motion .dh-chart.is-in .dh-chart__line { stroke-dashoffset: 0; }
.dh-motion .dh-chart.is-in .dh-chart__area { opacity: 0.1; }
.dh-motion .dh-chart.is-in .dh-chart__end,
.dh-motion .dh-chart.is-in .dh-chart__end-label { opacity: 1; }

/* Habibi tip card */
.dh-tip {
	position: relative;
	margin-top: 2rem;
	padding: 1.25rem 1.35rem;
	background: var(--sand);
	border: 1px solid var(--sand-2);
	border-radius: 14px;
	overflow: hidden;
}
.dh-tip::after {
	content: "";
	position: absolute;
	inset-block-start: -18px;
	inset-inline-end: -18px;
	width: 110px;
	height: 110px;
	background: var(--star-tile) center / 72px 72px;
	opacity: 0.8;
	filter: saturate(1.4);
	pointer-events: none;
}
.dh-tip__head { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.5rem; }
.dh-tip__title { font-weight: 800; }
.dh-tip__ar { font-family: var(--f-kufi); font-weight: 700; color: var(--gold); font-size: 1.2rem; }
.dh-tip__text { position: relative; margin: 0 0 1rem; font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.55; min-height: 3.1em; }
.dh-tip__foot { display: flex; align-items: center; justify-content: space-between; margin: 0; font-size: 0.875rem; color: var(--muted); }
.dh-tip__next { padding: 0.45rem 0.9rem; border: 1px solid var(--petrol); border-radius: 999px; background: transparent; color: var(--petrol); font: inherit; font-weight: 700; cursor: pointer; }
.dh-tip__next:hover { background: var(--petrol); color: var(--white); }
.dh-tip__text.is-swapping { animation: dh-tipin 0.4s ease; }
@keyframes dh-tipin { from { opacity: 0; transform: translateY(6px); } }

/* Writing: featured post + list */
.dh-writing__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.dh-writing__head .dh-actions { margin: 0; }
.dh-writing__head .dh-muted { margin: 0; max-width: 36rem; }
.dh-writing { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.dh-feature__media { display: block; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; }
.dh-feature__media img,
.dh-feature__ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.dh-feature__ph { background: var(--star-tile) center / 72px 72px, linear-gradient(140deg, var(--petrol-3), var(--petrol-2)); }
.dh-feature__media:hover img { transform: scale(1.03); }
.dh-feature__title { margin: 0.2rem 0 0.5rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.dh-feature__title a { color: var(--ink); text-decoration: none; }
.dh-feature__title a:hover { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 4px; }
.dh-writing .dh-rows { margin: 0; }
.dh-writing .dh-row:first-child { border-top: 0; padding-top: 0; }

/* CTA: Yalla + skyline that rises like a bar chart */
.dh-cta { position: relative; overflow: hidden; padding-bottom: clamp(9rem, 6rem + 10vw, 14rem); }
.dh-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--star-tile) 0 0 / 72px 72px;
	opacity: 0.06;
	pointer-events: none;
}
.dh-cta__inner { position: relative; z-index: 1; }
.dh-cta__yalla { margin: 0 0 -0.25rem; font-family: var(--f-kufi); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--gold-2); }
.dh-skyline { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: clamp(8rem, 5rem + 10vw, 13rem); }
.dh-tower { fill: rgba(255, 255, 255, 0.075); transform-box: fill-box; transform-origin: 50% 100%; }
.dh-tower:nth-child(3n) { fill: rgba(255, 255, 255, 0.11); }
.dh-skyline__trend { fill: none; stroke: var(--mark); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.012 0.018; }
.dh-motion .dh-tower { transform: scaleY(0); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 55ms); }
.dh-motion .dh-cta.is-in .dh-tower { transform: scaleY(1); }
.dh-motion .dh-skyline__trend { opacity: 0; transition: opacity 0.8s ease 1.4s; }
.dh-motion .dh-cta.is-in .dh-skyline__trend { opacity: 1; }

/* Arch-framed photos on About, Experience and author pages */
.dh-page__photo {
	aspect-ratio: 4 / 5;
	border-radius: 999px 999px 14px 14px;
	box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--gold);
}
.dh-page__photo.dh-headshot--monogram { background: var(--star-tile) center / 72px 72px, linear-gradient(160deg, var(--petrol-3), var(--petrol-2)); }

/* Footer: lattice strip along the top */
.dh-footer { position: relative; }
.dh-footer::before {
	content: "";
	display: block;
	height: 18px;
	background: var(--star-tile) 0 50% / 36px 36px;
	opacity: 0.5;
	border-bottom: 1px solid rgba(196, 154, 86, 0.25);
}

/* Reveal on scroll: only when main.js is running and motion is welcome */
.dh-motion .dh-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dh-motion .dh-reveal.is-in { opacity: 1; transform: none; }

/* Responsive for the new pieces */
@media (max-width: 1023px) {
	.dh-hero__visual { min-height: 0; padding-bottom: 1rem; }
	.dh-hero__visual .dh-serp { position: relative; inset: auto; width: 100%; max-width: 30rem; margin-top: -3rem; }
	.dh-growth { grid-template-columns: minmax(0, 1fr); }
	.dh-writing { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
	.dh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-arch { width: min(15rem, 70%); }
	.dh-chip { font-size: 0.8rem; padding: 0.4rem 0.7rem; }
	.dh-chip--a { inset-block-start: 8%; }
	.dh-chip--b { inset-block-start: 36%; }
	.dh-calli { inset-inline-end: 0; }
	.dh-chart { padding: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.dh-ticker__track { animation: none !important; }
}

/* Hero composition v2: arch top right, snippet card overlaps only its lower corner */
@media (min-width: 1024px) {
	.dh-hero__visual { display: block; min-height: 38rem; padding: 0; }
	.dh-arch { position: absolute; inset-block-start: 0; inset-inline-end: 5%; width: min(18rem, 54%); }
	.dh-hero__visual .dh-serp { inset-block-end: 0; inset-inline-start: 0; width: min(23.5rem, 72%); }
	.dh-calli { inset-block-start: 4.5rem; inset-inline-start: -0.5rem; inset-inline-end: auto; font-size: clamp(7rem, 4rem + 5vw, 10rem); opacity: 0.22; }
	.dh-chip--a { inset-block-start: 1.5rem; inset-inline-start: 6%; }
	.dh-chip--b { inset-block-start: 15.5rem; inset-inline-end: 0; }
	.dh-star--a { inset-block-start: 0.5rem; inset-inline-start: 38%; }
	.dh-star--b { inset-block-start: auto; inset-block-end: 6rem; inset-inline-end: 6%; }
	.dh-hero--ar .dh-hero__visual { min-height: 26rem; }
	.dh-hero--ar .dh-arch { inset-inline-end: auto; inset-inline-start: 18%; }
	.dh-hero--ar .dh-calli { inset-inline-start: auto; inset-inline-end: -0.5rem; }
	.dh-hero--ar .dh-chip--a { inset-inline-start: 2%; }
	.dh-hero--ar .dh-chip--b { inset-inline-end: 6%; }
}

/* Calmer lattice inside the monogram */
.dh-arch .dh-headshot--monogram,
.dh-page__photo.dh-headshot--monogram {
	position: relative;
	background: linear-gradient(160deg, var(--petrol-3), var(--petrol-2));
}
.dh-arch .dh-headshot--monogram::before,
.dh-page__photo.dh-headshot--monogram::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--star-tile) center / 56px 56px;
	opacity: 0.18;
}

/* The calligraphy is set dir="rtl", so place it with physical sides. */
.dh-calli { inset-inline: auto; right: 0; left: auto; }
.dh-chip { z-index: 4; }
@media (min-width: 1024px) {
	.dh-calli { left: -0.5rem; right: auto; top: 5.5rem; }
	.dh-hero--ar .dh-calli { right: -0.5rem; left: auto; }
	.dh-chip--b { inset-block-start: 10.5rem; }
}
@media (min-width: 1024px) {
	.dh-calli { top: 7.5rem; font-size: clamp(5.5rem, 3rem + 4vw, 7.5rem); opacity: 0.26; }
	.dh-chip--b { inset-block-start: 19.5rem; inset-inline-end: 0; }
}
@media (min-width: 1024px) {
	.dh-calli { z-index: 2; left: -1.25rem; font-size: clamp(5rem, 3rem + 3.4vw, 6.75rem); }
}

/* Skyline keeps its proportions: never cropped, never crowding the text */
.dh-cta { padding-bottom: calc(18.4vw + 2rem); }
.dh-skyline { height: auto; aspect-ratio: 1200 / 220; }
.dh-tower { fill: rgba(255, 255, 255, 0.06); }
.dh-tower:nth-child(3n) { fill: rgba(255, 255, 255, 0.09); }

@media (min-width: 1440px) {
	.dh-cta { padding-bottom: calc(265px + 2rem); }
	.dh-skyline { inset-inline: 50% auto; width: 1440px; margin-inline-start: -720px; }
}
@media (max-width: 1023px) {
	.dh-calli { left: 0; right: auto; top: -0.5rem; font-size: 4.25rem; opacity: 0.24; }
	.dh-hero--ar .dh-calli { right: 0; left: auto; }
	.dh-chip--a { inset-block-start: 5.5rem; }
}
@media (max-width: 1023px) {
	.dh-calli { z-index: 2; top: 0.25rem; font-size: 3.75rem; }
}
.dh-page__photo.dh-headshot--monogram { overflow: hidden; }

/* =========================================================
   Logo, tagline and the personal section
   ========================================================= */

.dh-footer__tagline { margin-bottom: 0.75rem; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--white); }

/* Personal section */
.dh-personal { background: var(--white); position: relative; overflow: hidden; }
.dh-personal__head { max-width: 46rem; margin-bottom: 2.5rem; }
.dh-personal__ar { margin: 0 0 0.4rem; font-family: var(--f-kufi); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--gold); }
.dh-personal__title { margin: 0 0 1rem; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.dh-personal__intro { margin: 0; font-family: var(--f-serif); font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }

.dh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.dh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.6rem 1.5rem 1.5rem;
	background: var(--sand);
	border: 1px solid var(--sand-2);
	border-radius: 999px 999px 16px 16px / 120px 120px 16px 16px;
}
.dh-card__title { margin: 0 0 0.6rem; font-size: 1.3rem; font-weight: 800; }
.dh-card__text { margin: 0 0 1.25rem; color: var(--ink-2); font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.6; }
.dh-card__link { margin: auto 0 0; }
.dh-card:nth-child(2) { background: var(--petrol); border-color: var(--petrol); }
.dh-card:nth-child(2) .dh-card__title { color: var(--white); }
.dh-card:nth-child(2) .dh-card__text { color: var(--on-petrol); }
.dh-card:nth-child(2) .dh-link { color: var(--white); }

.dh-notes { margin-top: 2.5rem; }
.dh-notes__list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.dh-notes__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.dh-notes__list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.dh-notes__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.dh-notes__list span { font-size: 0.875rem; color: var(--muted); }

@media (max-width: 900px) {
	.dh-cards { grid-template-columns: minmax(0, 1fr); }
	.dh-card { border-radius: 999px 999px 16px 16px / 90px 90px 16px 16px; }
}


.dh-serp__fav { background: none; border: 0; overflow: hidden; }
.dh-serp__fav img { display: block; width: 100%; height: 100%; border-radius: 50%; }

/* =========================================================
   Text-only logo
   ========================================================= */
.dh-brand { color: var(--ink); }
.dh-logo { display: inline-flex; flex-direction: column; line-height: 1; }
.dh-logo__word { display: inline-flex; align-items: baseline; font-family: var(--f-sans); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.dh-logo__sub { margin-top: 0.3rem; font-family: var(--f-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }

/* Classic: a gold full stop as the signature */
.dh-logo__dot { color: var(--gold); font-size: 1.15em; line-height: 0; margin-inline-start: 0.02em; }

/* Bilingual: English wordmark, a hairline, then حبيبي in Kufi */
.dh-logo--bilingual { display: inline-grid; grid-template-columns: auto auto; column-gap: 0.7rem; align-items: center; }
.dh-logo--bilingual .dh-logo__word { grid-column: 1; grid-row: 1; }
.dh-logo--bilingual .dh-logo__sub { grid-column: 1; grid-row: 2; }
.dh-logo--bilingual .dh-logo__ar {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: stretch;
	display: flex;
	align-items: center;
	padding-inline-start: 0.7rem;
	border-inline-start: 1.5px solid var(--gold);
	font-family: var(--f-kufi);
	font-weight: 700;
	font-size: 1.55rem;
	line-height: 1;
	color: var(--gold);
}

/* Editorial: serif italic + heavy grotesk */
.dh-logo__a { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.05em; margin-inline-end: 0.12em; }
.dh-logo__b { font-weight: 800; }
.dh-logo--editorial .dh-logo__word { position: relative; padding-bottom: 0.15rem; }
.dh-logo--editorial .dh-logo__word::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0.35); transform-origin: left; transition: transform 0.4s ease; }
.dh-brand:hover .dh-logo--editorial .dh-logo__word::after { transform: scaleX(1); }

/* On dark backgrounds */
.dh-logo--dark .dh-logo__word { color: var(--white); }
.dh-logo--dark .dh-logo__sub { color: var(--on-petrol-2); }
.dh-logo--dark .dh-logo__ar { color: var(--gold-2); border-color: var(--gold-2); }
.dh-footer__brand { margin: 0 0 0.9rem; }
.dh-footer__brand .dh-logo__word { font-size: 1.6rem; }

@media (max-width: 420px) {
	.dh-logo__word { font-size: 1.2rem; }
	.dh-logo--bilingual .dh-logo__ar { font-size: 1.3rem; }
}

/* Burj Khalifa at the end of the skyline */
.dh-burj__shade { fill: rgba(196, 154, 86, 0.38); }
.dh-burj__lit { fill: rgba(226, 196, 138, 0.62); }
.dh-burj__light { fill: var(--gold-2); filter: drop-shadow(0 0 3px rgba(217, 185, 127, 0.9)); }
.dh-motion .dh-burj__light { opacity: 0; }
.dh-motion .dh-cta.is-in .dh-burj__light { animation: dh-beacon 2.4s ease-in-out 2.2s infinite; }
@keyframes dh-beacon { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }

/* Taller skyline so the Burj can tower over its neighbours */
.dh-cta { padding-bottom: calc(21.7vw + 2rem); }
.dh-skyline { aspect-ratio: 1200 / 260; }
@media (min-width: 1440px) {
	.dh-cta { padding-bottom: calc(312px + 2rem); }
}

/* =========================================================
   Inner pages: shared header, page components, blog
   ========================================================= */

/* ---------- Page header ---------- */
.dh-phero {
	position: relative;
	overflow: hidden;
	background: var(--petrol);
	color: var(--on-petrol);
	padding-block: clamp(2.5rem, 1.75rem + 3vw, 4.5rem);
}
.dh-phero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--star-tile) 0 0 / 72px 72px;
	opacity: 0.08;
	pointer-events: none;
}
.dh-phero::after {
	content: "";
	position: absolute;
	inset-block-start: -20%;
	inset-inline-end: -10%;
	width: 55%;
	height: 140%;
	background: radial-gradient(closest-side, rgba(196, 154, 86, 0.18), transparent);
	pointer-events: none;
}
.dh-phero > * { position: relative; z-index: 1; }
.dh-phero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.dh-phero.has-aside .dh-phero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.dh-phero__text { max-width: 44rem; }
.dh-phero .dh-crumbs { margin-bottom: 1.5rem; }
.dh-phero .dh-crumbs,
.dh-phero .dh-crumbs a { color: var(--on-petrol-2); }
.dh-phero .dh-crumbs a:hover { color: var(--white); }
.dh-phero .dh-crumbs span[aria-current] { color: var(--on-petrol); }
.dh-phero .dh-crumbs__sep { color: rgba(255, 255, 255, 0.25); }
.dh-phero__kicker { margin: 0 0 0.35rem; font-family: var(--f-kufi); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--gold-2); }
.dh-phero__title {
	margin: 0 0 1rem;
	color: var(--white);
	font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}
.dh-phero__lead { margin: 0; max-width: 38rem; font-family: var(--f-serif); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--on-petrol); }
.dh-phero .dh-actions { margin-top: 1.75rem; }
.dh-phero .dh-btn--primary { background: var(--mark); color: var(--ink); }
.dh-phero .dh-btn--primary:hover { background: #e0c085; }
.dh-phero .dh-btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.dh-phero .dh-btn--ghost:hover { border-color: var(--white); }
.dh-phero :focus-visible { outline-color: var(--mark); }
.dh-phero--compact { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.dh-phero--compact .dh-phero__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.dh-phero--contact { padding-bottom: clamp(5rem, 4rem + 4vw, 7rem); }

/* Header side panels */
.dh-phero__aside { min-width: 0; }
.dh-phero__arch { position: relative; display: grid; justify-items: center; padding-block: 0.5rem; }
.dh-phero__arch .dh-arch { width: min(13.5rem, 62%); }
.dh-phero__arch .dh-chip--a { inset-block-start: 14%; inset-inline-start: 2%; }
.dh-phero__arch .dh-chip--b { inset-block-start: auto; inset-block-end: 14%; inset-inline-end: 2%; }
.dh-phero__image img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }

.dh-phero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; overflow: hidden; }
.dh-phero__stats > div { display: flex; flex-direction: column-reverse; gap: 0.25rem; padding: 1.4rem 1.4rem 1.5rem; background: rgba(255, 255, 255, 0.03); }
.dh-phero__stats > div:nth-child(odd) { border-inline-end: 1px solid rgba(255, 255, 255, 0.14); }
.dh-phero__stats > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.dh-phero__stats dd { margin: 0; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.dh-phero__stats dt { color: var(--on-petrol-2); font-size: 0.95rem; }

.dh-offer { padding: 1.6rem; background: var(--white); color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); border-top: 4px solid var(--gold); }
.dh-offer__title { margin: 0 0 0.85rem; font-weight: 800; font-size: 1.15rem; }
.dh-offer__list { list-style: none; margin: 0; padding: 0; }
.dh-offer__list li { position: relative; padding: 0.55rem 0 0.55rem 1.8rem; padding-inline: 1.8rem 0; border-top: 1px solid var(--line); }
.dh-offer__list li::before { content: ""; position: absolute; inset-inline-start: 0.2rem; top: 0.95rem; width: 0.65rem; height: 0.35rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.dh-offer__note { margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }

.dh-geo { padding: 1.75rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.dh-geo__big { margin: 0; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.dh-geo__sub { margin: 0.35rem 0 1rem; color: var(--on-petrol-2); }
.dh-geo__list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.dh-geo__list li { padding: 0.35rem 0.8rem; border: 1px solid rgba(217, 185, 127, 0.5); border-radius: 999px; color: var(--white); font-weight: 600; font-size: 0.92rem; }
.dh-geo__note { margin: 1.1rem 0 0; font-size: 0.875rem; color: var(--gold-2); }

.dh-phero__search { padding: 1.4rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; }
.dh-phero__search-label { margin: 0 0 0.75rem; color: var(--white); font-weight: 700; }
.dh-phero__search .dh-search { margin: 0; max-width: none; }
.dh-phero__search .dh-btn--primary { background: var(--mark); color: var(--ink); }

/* ---------- About ---------- */
.dh-glance { background: var(--sand); border-bottom: 1px solid var(--sand-2); }
.dh-glance__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.dh-glance__item { display: flex; flex-direction: column-reverse; gap: 0.2rem; padding: 1.5rem 1.25rem 1.6rem 0; }
.dh-glance__item + .dh-glance__item { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--sand-2); }
.dh-glance__item dd { margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--petrol); }
.dh-glance__item dt { color: var(--muted); font-size: 0.95rem; }

.dh-withside { display: grid; grid-template-columns: minmax(0, var(--text)) minmax(0, 20rem); gap: clamp(2rem, 1rem + 4vw, 5rem); justify-content: space-between; align-items: start; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--space); }
.dh-sidecard { position: sticky; top: 6rem; padding: 1.5rem; background: var(--sand); border: 1px solid var(--sand-2); border-radius: 16px; font-size: 0.975rem; }
.dh-sidecard__title { margin: 0 0 0.75rem; font-family: var(--f-kufi); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.dh-sidecard__status { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0 0 1rem; font-weight: 600; color: var(--ink); }
.dh-sidecard__status .dh-status__dot { margin-top: 0.45rem; flex: none; }
.dh-sidecard__list { list-style: none; margin: 0; padding: 0; }
.dh-sidecard__list li { display: flex; flex-direction: column; padding-block: 0.65rem; border-top: 1px solid var(--sand-2); color: var(--ink); font-weight: 600; }
.dh-sidecard__list li span { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.dh-sidecard__list a { color: var(--link); overflow-wrap: anywhere; }
.dh-sidecard__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.1rem 0 0; }
.dh-sidecard__actions .dh-btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Contact ---------- */
.dh-contact { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; margin-top: clamp(-4.5rem, -3rem - 2vw, -3rem); padding-bottom: var(--space); position: relative; z-index: 2; }
.dh-contact__form { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(var(--petrol-rgb), 0.55), 0 0 0 1px var(--line); }
.dh-contact__aside { padding-top: clamp(4rem, 3rem + 3vw, 6rem); }
.dh-contact__block + .dh-contact__block { margin-top: 2.25rem; }
.dh-contact__aside .dh-sidecard__list li { border-top-color: var(--line); }
.dh-contact__aside .dh-sidecard__status { margin-top: 2rem; padding: 1rem; background: var(--sand); border-radius: 12px; }
.dh-next { list-style: none; counter-reset: nxt; margin: 0; padding: 0; }
.dh-next li { counter-increment: nxt; position: relative; padding: 0 0 1.25rem 3rem; padding-inline: 3rem 0; color: var(--ink-2); }
.dh-next li::before { content: counter(nxt); position: absolute; inset-inline-start: 0; top: -0.1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--petrol); color: var(--gold-2); font-weight: 800; font-size: 0.9rem; }
.dh-next li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 0.95rem; top: 2.1rem; bottom: 0.3rem; width: 2px; background: var(--sand-2); }
.dh-next strong { display: block; color: var(--ink); }

/* ---------- Content components (used inside the editor) ---------- */
.dh-prose--page > :is(.dh-svc-grid, .dh-chart, .dh-formcard, .dh-cases, .dh-facts) { max-width: 64rem; }

.dh-prose .dh-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem; font-family: var(--f-sans); font-size: 1rem; }
.dh-prose .dh-checklist li { position: relative; margin: 0; padding: 0.85rem 1rem 0.85rem 2.6rem; padding-inline: 2.6rem 1rem; background: var(--sand); border-radius: 10px; line-height: 1.45; color: var(--ink); }
.dh-prose .dh-checklist li::before { content: ""; position: absolute; inset-inline-start: 1rem; top: 1.15rem; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.dh-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-block: 1.5rem 2.5rem; }
.dh-svc { position: relative; margin: 0 !important; padding: 1.5rem 1.4rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.2s ease, transform 0.2s ease; }
.dh-svc::before { content: ""; position: absolute; inset-inline-start: 1.4rem; top: 0; width: 2.5rem; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.dh-svc:hover { border-color: var(--gold); transform: translateY(-2px); }
.dh-prose .dh-svc h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.dh-prose .dh-svc p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }

.dh-prose .dh-process { list-style: none; counter-reset: proc; padding: 0; margin-block: 1.5rem 2.5rem; }
.dh-prose .dh-process li { counter-increment: proc; position: relative; margin: 0; padding: 0 0 1.5rem 3.5rem; padding-inline: 3.5rem 0; }
.dh-prose .dh-process li::marker { content: none; }
.dh-prose .dh-process li::before { content: counter(proc); position: absolute; inset-inline-start: 0; top: -0.15rem; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; background: var(--petrol); color: var(--gold-2); font-family: var(--f-sans); font-weight: 800; font-size: 1rem; }
.dh-prose .dh-process li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 1.12rem; top: 2.45rem; bottom: 0.35rem; width: 2px; background: var(--sand-2); }
.dh-prose .dh-process strong { color: var(--ink); font-family: var(--f-sans); }

.dh-callout { margin-block: 2rem !important; padding: 1.4rem 1.5rem; background: var(--sand); border-inline-start: 4px solid var(--gold); border-radius: 0 12px 12px 0; }
.dh-prose .dh-callout > :last-child { margin-bottom: 0; }
.dh-prose .dh-callout h3 { margin-top: 0; }

.dh-prose .dh-pull { margin-block: 2.25rem; padding: 0 0 0 1.5rem; padding-inline: 1.5rem 0; border-inline-start: 4px solid var(--gold); font-style: normal; }
.dh-prose .dh-pull p { margin: 0; font-family: var(--f-serif); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.35; color: var(--ink); font-style: italic; }

.dh-prose .dh-linklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; font-family: var(--f-sans); font-size: 1rem; }
.dh-prose .dh-linklist li { margin: 0; padding-block: 0.85rem; border-top: 1px solid var(--line); font-weight: 700; }
.dh-prose .dh-linklist a { color: var(--ink); text-decoration: none; }
.dh-prose .dh-linklist a:hover { color: var(--petrol); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }

.dh-formcard { margin-block: 3rem 0 !important; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--sand); border: 1px solid var(--sand-2); border-radius: 18px; }
.dh-prose .dh-formcard h2 { margin-top: 0; }
.dh-formcard .dh-form input[type="text"],
.dh-formcard .dh-form input[type="email"],
.dh-formcard .dh-form textarea { background: var(--white); }

.dh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-block: 0 2.5rem !important; border: 1px solid var(--sand-2); border-radius: 14px; overflow: hidden; font-family: var(--f-sans); background: var(--sand); }
.dh-facts__item { padding: 1rem 1.2rem; border-bottom: 1px solid var(--sand-2); border-inline-end: 1px solid var(--sand-2); }
.dh-facts__item dt { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.dh-facts__item dd { margin: 0.15rem 0 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.dh-facts__item--result { grid-column: 1 / -1; background: var(--petrol); border: 0; }
.dh-facts__item--result dt { color: var(--on-petrol-2); }
.dh-facts__item--result dd { color: var(--gold-2); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }

/* Case study cards */
.dh-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; margin-block: 0.5rem 2.5rem; }
.dh-case { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-top: 0; border-radius: 16px; overflow: hidden; background: var(--white); }
.dh-case__media { display: block; }
.dh-case__media img,
.dh-case__media .dh-pcard__ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border-radius: 0; }
.dh-case__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.dh-prose .dh-case__title { margin: 0 0 0.5rem; font-size: 1.3rem; }
.dh-case__body > p { margin: 0 0 1rem; color: var(--ink-2); font-size: 1rem; }
.dh-case__more { margin-top: auto !important; }

/* ---------- Blog ---------- */
.dh-topics { background: var(--white); border-bottom: 1px solid var(--line); }
.dh-topics__list { display: flex; gap: 0.5rem; margin: 0; padding: 1rem 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.dh-topics__list a { display: inline-block; padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.dh-topics__list a:hover { border-color: var(--petrol); color: var(--ink); }
.dh-topics__list a[aria-current="page"] { background: var(--petrol); border-color: var(--petrol); color: var(--white); }

.dh-bloglist { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.dh-pcard { display: flex; flex-direction: column; min-width: 0; }
.dh-pcard__media { display: block; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; background: var(--petrol); }
.dh-pcard__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.dh-pcard__media:hover img { transform: scale(1.03); }
.dh-pcard__ph {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 1rem 1.1rem;
	background: linear-gradient(160deg, var(--petrol-3), var(--petrol-2));
	overflow: hidden;
}
.dh-pcard__ph::before { content: ""; position: absolute; inset: 0; background: var(--star-tile) center / 56px 56px; opacity: 0.16; }
.dh-pcard__ph span { position: relative; color: var(--white); font-weight: 800; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.35rem); letter-spacing: -0.02em; line-height: 1.15; border-bottom: 3px solid var(--gold); padding-bottom: 0.15rem; }
.dh-pcard__cat { align-self: flex-start; margin-bottom: 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--petrol); text-decoration: none; }
.dh-pcard__cat:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.dh-pcard__title { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.dh-pcard__title a { color: var(--ink); text-decoration: none; }
.dh-pcard__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.dh-pcard__excerpt { margin: 0 0 0.6rem; font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
.dh-pcard__meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin: 0; font-size: 0.85rem; color: var(--muted); }

.dh-featured { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); }
.dh-pcard--feature .dh-pcard__title { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.dh-pcard--feature .dh-pcard__ph span { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.dh-featured__side { display: grid; gap: 1.75rem; align-content: start; }
.dh-cardgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }

/* ---------- Article extras ---------- */
.dh-progress { position: fixed; inset-inline: 0; top: 0; z-index: 55; height: 3px; pointer-events: none; }
.dh-progress__bar { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .dh-progress__bar { transform-origin: right; }
.dh-share { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--f-sans); }
.dh-share__label { margin: 0 0 0.75rem !important; font-weight: 700; font-size: 1rem; color: var(--ink); }
.dh-share__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 !important; }
.dh-share__links a,
.dh-share__copy { display: inline-flex; align-items: center; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 0.92rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.dh-share__links a:hover,
.dh-share__copy:hover { border-color: var(--petrol); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.dh-phero.has-aside .dh-phero__grid { grid-template-columns: minmax(0, 1fr); }
	.dh-phero__aside { max-width: 34rem; }
	.dh-phero--profile .dh-phero__aside { max-width: none; }
	.dh-withside { grid-template-columns: minmax(0, 1fr); }
	.dh-sidecard { position: static; max-width: 34rem; }
	.dh-contact { grid-template-columns: minmax(0, 1fr); }
	.dh-contact__aside { padding-top: 0; }
	.dh-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-featured { grid-template-columns: minmax(0, 1fr); }
	.dh-featured__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-glance__item:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
	.dh-glance__item:nth-child(n + 3) { border-top: 1px solid var(--sand-2); }
}
@media (max-width: 700px) {
	.dh-svc-grid,
	.dh-cases,
	.dh-cardgrid,
	.dh-featured__side,
	.dh-prose .dh-checklist,
	.dh-prose .dh-linklist { grid-template-columns: minmax(0, 1fr); }
	.dh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dh-phero__stats dd { font-size: 1.9rem; }
	.dh-phero__stats > div { padding: 1.1rem; }
	.dh-glance__item { padding-inline-end: 0.75rem; }
	.dh-glance__item + .dh-glance__item { padding-inline-start: 0.75rem; }
	.dh-contact { margin-top: -2.5rem; }
}

/* Page-header arch: keep the homepage hero positioning out of it */
.dh-phero__arch .dh-arch { position: relative; inset: auto; }
@media (min-width: 1024px) {
	.dh-phero__arch { padding-block: 1rem; }
	.dh-phero__arch .dh-arch { width: min(14rem, 58%); }
	.dh-phero__arch .dh-chip--a { inset-block-start: 20%; inset-block-end: auto; inset-inline-start: 0; inset-inline-end: auto; }
	.dh-phero__arch .dh-chip--b { inset-block-start: auto; inset-block-end: 18%; inset-inline-start: auto; inset-inline-end: 0; }
}

/* Footer: brand accounts sit under the personal links */
.dh-footer__head--sub { margin-top: 1.5rem; font-size: 0.9rem; color: var(--on-petrol-2); }

/* Tables in articles */
.dh-prose .wp-block-table table { width: 100%; border-collapse: collapse; font-family: var(--f-sans); font-size: 0.95rem; line-height: 1.45; }
.dh-prose .wp-block-table th { text-align: start; padding: 0.7rem 0.85rem; background: var(--petrol); color: var(--white); font-weight: 700; }
.dh-prose .wp-block-table td { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dh-prose .wp-block-table tr:nth-child(even) td { background: var(--paper); }
.dh-prose .wp-block-table th:first-child, .dh-prose .wp-block-table td:first-child { font-weight: 600; }
.dh-autolink { text-decoration-color: var(--gold); }
