/*
 * Last Design — home page prototype, approved version (LOCAL TEST, owner-only; approved 2026-10-29; not the site's home page).
 *
 * Loaded on the owner-only prototype page with `?ld_v=after` only, instead of home-prototype.css (the current version,
 * unchanged as the original reference). Every rule is scoped under .ld-hp. Values come from the approved W1 tokens in
 * last-design.css (version B): charcoal text and primary buttons, gold as a limited accent, separation by space rather
 * than frames, 2px corners. Differences from the current version are marked «v2».
 */

/* Base */

.ld-hp-body {
	margin: 0;
	background: var(--ld-surface);
}

/* Blocksy prints its own skip link on wp_body_open, in English and to #main, which this page does not have; the page
   has its own Arabic skip link to its main content. */
.ld-hp-body > .skip-link {
	display: none;
}

.ld-hp {
	font-family: var(--ld-font-ar);
	font-size: var(--ld-text-base);
	font-weight: var(--ld-weight-body);
	line-height: var(--ld-leading-body);
	color: var(--ld-text);
	background: var(--ld-surface);
	overflow-wrap: break-word;
}

.ld-hp *,
.ld-hp *::before,
.ld-hp *::after {
	box-sizing: border-box;
	letter-spacing: 0;
}

.ld-hp img {
	display: block;
	max-width: 100%;
	height: auto;
}

.ld-hp p,
.ld-hp ul,
.ld-hp ol,
.ld-hp figure,
.ld-hp h1,
.ld-hp h2,
.ld-hp h3 {
	margin: 0;
}

.ld-hp ul,
.ld-hp ol {
	padding: 0;
	list-style: none;
}

.ld-hp h1,
.ld-hp h2,
.ld-hp h3 {
	font-family: var(--ld-font-ar);
	color: inherit;
	text-transform: none;
}

.ld-hp a {
	color: var(--ld-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
}

.ld-hp a:hover {
	text-decoration-thickness: 2px;
}

.ld-hp :focus-visible {
	outline: var(--ld-focus-width) solid var(--ld-focus);
	outline-offset: var(--ld-focus-offset);
}

.ld-hp .ld-hp-footer :focus-visible {
	outline-color: var(--ld-focus-on-dark);
}

.ld-hp .ld-hp-skip {
	position: absolute;
	inset-inline-start: var(--ld-space-4);
	top: -10rem;
	z-index: 100;
	padding: var(--ld-space-2) var(--ld-space-4);
	color: var(--ld-paper);
	background: var(--ld-ink);
	text-decoration: none;
}

.ld-hp .ld-hp-skip:focus {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ld-space-4));
}

.ld-hp .ld-hp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ld-hp .ld-hp-icon {
	flex: none;
	width: 1.125em;
	height: 1.125em;
}

.ld-hp .ld-hp-wrap {
	width: 100%;
	max-width: calc(var(--ld-container) + 2 * var(--ld-gutter));
	margin-inline: auto;
	padding-inline: var(--ld-gutter);
}

.ld-hp section[id] {
	scroll-margin-top: var(--wp-admin--admin-bar--height, 0px);
}

/* Buttons and links */

.ld-hp .ld-hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--ld-space-2);
	min-height: 3rem;
	padding: var(--ld-space-3) var(--ld-space-5);
	font-family: var(--ld-font-ar);
	font-size: var(--ld-text-base);
	font-weight: var(--ld-weight-medium);
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	border: var(--ld-field-border-width) solid transparent;
	border-radius: var(--ld-radius);
	transition: background-color var(--ld-duration) var(--ld-ease), box-shadow var(--ld-duration) var(--ld-ease);
}

.ld-hp .ld-hp-btn--primary {
	color: var(--ld-paper);
	background: var(--ld-ink);
	border-color: var(--ld-ink);
}

.ld-hp .ld-hp-btn--primary:hover {
	color: var(--ld-paper);
	box-shadow: inset 0 -3px 0 var(--ld-accent);
}

.ld-hp .ld-hp-btn--secondary {
	color: var(--ld-ink);
	background: transparent;
	border-color: var(--ld-ink);
}

.ld-hp .ld-hp-btn--secondary:hover {
	color: var(--ld-ink);
	background: var(--ld-warm);
}

.ld-hp .ld-hp-section--warm .ld-hp-btn--secondary:hover {
	background: var(--ld-paper);
}

.ld-hp .ld-hp-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--ld-space-2);
	font-weight: var(--ld-weight-medium);
}

.ld-hp .ld-hp-pending {
	font-weight: var(--ld-weight-medium);
	color: var(--ld-text);
}

/* Review marks (hidden with «إخفاء العلامات») */

.ld-hp .ld-hp-review {
	font-size: var(--ld-text-small);
	line-height: var(--ld-leading-ui);
	background: var(--ld-warm);
}

.ld-hp .ld-hp-review__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ld-space-3);
	padding-block: var(--ld-space-1);
}

/* On phones the bar keeps one line so the first screen stays the page's own. */
.ld-hp .ld-hp-review__more {
	display: none;
}

@media (min-width: 48rem) {
	.ld-hp .ld-hp-review__more {
		display: inline;
	}
}

.ld-hp .ld-hp-badge {
	display: inline-block;
	margin-inline-end: var(--ld-space-2);
	padding: 0 var(--ld-space-2);
	font-family: var(--ld-font-en-functional);
	font-size: var(--ld-text-caption);
	font-weight: var(--ld-weight-bold);
	color: var(--ld-paper);
	background: var(--ld-ink);
	border-radius: var(--ld-radius);
}

.ld-hp .ld-hp-review__toggle {
	flex: none;
	min-height: 2.5rem;
	padding: var(--ld-space-1) var(--ld-space-3);
	font-family: var(--ld-font-ar);
	font-size: var(--ld-text-small);
	font-weight: var(--ld-weight-medium);
	color: var(--ld-ink);
	background: var(--ld-paper);
	border: var(--ld-border-width) solid var(--ld-ink);
	border-radius: var(--ld-radius);
	cursor: pointer;
}

.ld-hp .ld-hp-review__toggle[hidden] {
	display: none;
}

.ld-hp .ld-hp-mark {
	display: inline-block;
	justify-self: start;
	align-self: flex-start;
	padding: 0 var(--ld-space-2);
	font-size: var(--ld-text-caption);
	font-weight: var(--ld-weight-medium);
	line-height: 1.75;
	color: var(--ld-ink);
	background: var(--ld-paper);
	border: var(--ld-border-width) dashed var(--ld-stone-deep);
	border-radius: var(--ld-radius);
}

.ld-hp .ld-hp-note {
	font-size: var(--ld-text-small);
	font-weight: var(--ld-weight-body);
	line-height: var(--ld-leading-ui);
	color: var(--ld-hint);
}

.ld-hp .ld-hp-note--block {
	max-width: var(--ld-container-text);
	margin-block-start: var(--ld-space-6);
	padding-inline-start: var(--ld-space-3);
	border-inline-start: 2px dashed var(--ld-stone-deep);
}

.ld-hp .ld-hp-footer .ld-hp-mark {
	color: var(--ld-paper);
	background: transparent;
	border-color: var(--ld-stone);
}

.ld-hp .ld-hp-footer .ld-hp-note {
	color: var(--ld-text-soft-on-dark);
}

.ld-hp.ld-hp--clean .ld-hp-mark,
.ld-hp.ld-hp--clean .ld-hp-note,
.ld-hp.ld-hp--clean .ld-hp-notes {
	display: none;
}

/* 1. Header — 72 / 96px high with the approved logo sizes; no line under it. v2: on phones 8px between the items and
   10px inside the two buttons, whose labels never wrap, so the row fits from 336px (a 360px window with a desktop
   scrollbar is 343px); below 336px the menu button keeps its icon and 44px target and its label for screen readers. */

.ld-hp .ld-hp-header {
	position: relative;
	background: var(--ld-paper);
}

.ld-hp .ld-hp-header__inner {
	display: flex;
	align-items: center;
	gap: var(--ld-space-2);
	min-height: 4.5rem;
	padding-block: 0.375rem;
}

.ld-hp .ld-hp-logo {
	display: inline-block;
	flex: none;
	line-height: 0;
}

.ld-hp .ld-hp-header .ld-hp-logo {
	margin-inline-end: auto;
}

.ld-hp .ld-hp-logo img {
	width: auto;
	height: var(--ld-logo-h);
}

.ld-hp .ld-hp-header__nav {
	display: none;
}

.ld-hp .ld-hp-header__cta {
	min-height: 2.75rem;
	padding-inline: 0.625rem;
	font-size: var(--ld-text-small);
	white-space: nowrap;
}

.ld-hp .ld-hp-nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ld-space-1) var(--ld-space-6);
}

.ld-hp .ld-hp-nav a {
	display: inline-block;
	padding-block: var(--ld-space-2);
	font-weight: var(--ld-weight-medium);
	line-height: var(--ld-leading-ui);
	color: var(--ld-text);
	text-decoration: none;
}

.ld-hp .ld-hp-nav a:hover {
	text-decoration: underline;
	text-decoration-color: var(--ld-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.5em;
}

.ld-hp .ld-hp-menu summary {
	display: inline-flex;
	align-items: center;
	gap: var(--ld-space-2);
	min-height: 2.75rem;
	padding: var(--ld-space-2) 0.625rem;
	font-size: var(--ld-text-small);
	font-weight: var(--ld-weight-medium);
	line-height: var(--ld-leading-ui);
	color: var(--ld-text);
	white-space: nowrap;
	border: var(--ld-field-border-width) solid var(--ld-ink);
	border-radius: var(--ld-radius);
	cursor: pointer;
	list-style: none;
}

.ld-hp .ld-hp-menu summary::-webkit-details-marker {
	display: none;
}

@media (max-width: 20.99rem) {
	.ld-hp .ld-hp-menu summary {
		justify-content: center;
		min-width: 2.75rem;
		padding-inline: var(--ld-space-2);
	}

	.ld-hp .ld-hp-menu__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.ld-hp .ld-hp-menu__panel {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	z-index: 10;
	padding: var(--ld-space-4) var(--ld-gutter) var(--ld-space-5);
	background: var(--ld-paper);
	border-block-end: var(--ld-border-width) solid var(--ld-stone);
}

.ld-hp .ld-hp-menu__panel .ld-hp-nav {
	flex-direction: column;
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-header__inner {
		gap: var(--ld-space-7);
		min-height: 6rem;
	}

	.ld-hp .ld-hp-logo img {
		height: var(--ld-logo-h-desktop);
	}

	.ld-hp .ld-hp-header__nav {
		display: block;
	}

	.ld-hp .ld-hp-header__cta {
		min-height: 3rem;
		padding-inline: var(--ld-space-5);
		font-size: var(--ld-text-base);
	}

	.ld-hp .ld-hp-menu {
		display: none;
	}
}

/* 2. Opening — v2: the heading at the h1 size (two lines at most for the proposed heading), text and image in two
   equal columns on desktop; on phones the text, the buttons, then the image edge to edge, with less space after it. */

.ld-hp .ld-hp-hero {
	padding-block: var(--ld-space-4) 0;
}

.ld-hp .ld-hp-hero__grid {
	display: grid;
	gap: var(--ld-space-5);
}

.ld-hp .ld-hp-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--ld-space-3);
}

.ld-hp .ld-hp-hero__title {
	max-width: 15em;
	padding-block-start: var(--ld-space-4);
	font-size: var(--ld-h1);
	font-weight: var(--ld-weight-display);
	line-height: var(--ld-leading-display);
	text-wrap: balance;
	background: linear-gradient(var(--ld-accent), var(--ld-accent)) no-repeat;
	background-position: top right;
	background-size: 3rem 3px;
}

.ld-hp .ld-hp-hero__lead {
	max-width: 30rem;
	font-size: var(--ld-text-lead);
	line-height: 1.7;
}

.ld-hp .ld-hp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ld-space-3);
	margin-block-start: var(--ld-space-2);
}

.ld-hp .ld-hp-hero__media {
	margin-inline: calc(-1 * var(--ld-gutter));
}

.ld-hp .ld-hp-hero__media img {
	width: 100%;
	aspect-ratio: var(--ld-ratio-wide);
	object-fit: cover;
	background: var(--ld-warm);
}

.ld-hp .ld-hp-hero__media figcaption {
	margin-block-start: var(--ld-space-2);
	padding-inline: var(--ld-gutter);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-hero {
		padding-block-start: var(--ld-space-6);
	}

	.ld-hp .ld-hp-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: var(--ld-space-8);
	}

	.ld-hp .ld-hp-hero__text {
		gap: var(--ld-space-4);
	}

	.ld-hp .ld-hp-hero__media {
		margin-inline: 0;
	}

	.ld-hp .ld-hp-hero__media img {
		aspect-ratio: var(--ld-ratio-standard);
	}

	.ld-hp .ld-hp-hero__media figcaption {
		padding-inline: 0;
	}
}

/* Sections — v2: a little less space between a section's heading and its content on phones. */

.ld-hp .ld-hp-section {
	padding-block: var(--ld-section-space);
}

.ld-hp .ld-hp-section--warm {
	background: var(--ld-warm);
}

.ld-hp .ld-hp-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--ld-space-3) var(--ld-space-6);
	margin-block-end: var(--ld-space-6);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-head {
		margin-block-end: var(--ld-space-7);
	}
}

.ld-hp .ld-hp-head__text {
	display: grid;
	justify-items: start;
	gap: var(--ld-space-3);
	max-width: var(--ld-container-text);
}

.ld-hp .ld-hp-h2 {
	font-size: var(--ld-h2);
	font-weight: var(--ld-weight-heading);
	line-height: var(--ld-leading-heading);
}

.ld-hp .ld-hp-h3 {
	font-size: var(--ld-h4);
	font-weight: var(--ld-weight-heading);
	line-height: var(--ld-leading-heading);
}

.ld-hp .ld-hp-more {
	margin-block-start: var(--ld-space-6);
}

/* 3. Selected projects — v2: a lower 4:3 frame on phones (the image's own card focal point kept), 4:5 from 40rem; the
   card shows the name, type · city and the short scope; the whole card is one link. */

.ld-hp .ld-hp-projects {
	display: grid;
	gap: var(--ld-space-6) var(--ld-space-5);
}

@media (min-width: 40rem) {
	.ld-hp .ld-hp-projects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-projects {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--ld-space-7) var(--ld-space-5);
	}
}

.ld-hp .ld-hp-card {
	position: relative;
	display: grid;
	align-content: start;
	gap: var(--ld-space-1);
}

.ld-hp .ld-hp-card__media {
	margin-block-end: var(--ld-space-3);
	overflow: hidden;
	background: var(--ld-warm);
}

.ld-hp .ld-hp-card__media img {
	width: 100%;
	aspect-ratio: var(--ld-ratio-standard);
	object-fit: cover;
	transition: transform 400ms var(--ld-ease);
}

@media (min-width: 40rem) {
	.ld-hp .ld-hp-card__media img {
		aspect-ratio: var(--ld-ratio-portrait);
	}
}

.ld-hp .ld-hp-card:hover .ld-hp-card__media img {
	transform: scale(1.02);
}

.ld-hp .ld-hp-card__title {
	font-size: var(--ld-h4);
	font-weight: var(--ld-weight-heading);
	line-height: var(--ld-leading-heading);
}

.ld-hp .ld-hp-card__title a {
	color: var(--ld-text);
	text-decoration: none;
}

.ld-hp .ld-hp-card__title a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.ld-hp .ld-hp-card:hover .ld-hp-card__title a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.ld-hp .ld-hp-card__meta,
.ld-hp .ld-hp-card__scope {
	font-size: var(--ld-text-small);
	line-height: var(--ld-leading-ui);
}

.ld-hp .ld-hp-card__tag {
	justify-self: start;
	margin-block-start: var(--ld-space-2);
	padding-inline-start: var(--ld-space-2);
	font-size: var(--ld-text-small);
	font-weight: var(--ld-weight-medium);
	line-height: var(--ld-leading-ui);
	border-inline-start: 3px solid var(--ld-accent);
}

/* 4. Browse by space — square tiles with the name under the image (no text over images); v2: no set counts, and one
   clear link to the spaces gallery after the tiles. */

.ld-hp .ld-hp-spaces {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ld-space-5) var(--ld-space-4);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-spaces {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--ld-space-6) var(--ld-space-5);
	}
}

/* v2: one or two eligible types — wider 3:2 tiles instead of the small squares: one tile across the phone (up to 36rem
   on desktop), two side by side on desktop (squares side by side on phones, as with more types). */
.ld-hp .ld-hp-spaces--1 {
	grid-template-columns: minmax(0, 1fr);
	max-width: 36rem;
}

.ld-hp .ld-hp-spaces--1 .ld-hp-tile__media img {
	aspect-ratio: var(--ld-ratio-landscape);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-spaces--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ld-hp .ld-hp-spaces--2 .ld-hp-tile__media img {
		aspect-ratio: var(--ld-ratio-landscape);
	}
}

.ld-hp .ld-hp-tile__link {
	display: grid;
	gap: var(--ld-space-1);
	color: var(--ld-text);
	text-decoration: none;
}

.ld-hp .ld-hp-tile__media {
	display: block;
	margin-block-end: var(--ld-space-2);
	overflow: hidden;
	background: var(--ld-paper);
}

.ld-hp .ld-hp-tile__media img {
	width: 100%;
	aspect-ratio: var(--ld-ratio-square);
	object-fit: cover;
	transition: transform 400ms var(--ld-ease);
}

.ld-hp .ld-hp-tile__link:hover img {
	transform: scale(1.02);
}

.ld-hp .ld-hp-tile__name {
	font-size: var(--ld-h5);
	font-weight: var(--ld-weight-heading);
	line-height: var(--ld-leading-heading);
}

.ld-hp .ld-hp-tile__link:hover .ld-hp-tile__name {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
}

/* 5. Services — v2: no numbers; each service a short entry under a thin line, its name the link to its page; on
   desktop the heading beside a two-by-two list. */

.ld-hp .ld-hp-services-layout {
	display: grid;
}

.ld-hp .ld-hp-head--side {
	margin-block-end: var(--ld-space-5);
}

.ld-hp .ld-hp-services {
	display: grid;
}

.ld-hp .ld-hp-service {
	display: grid;
	align-content: start;
	gap: var(--ld-space-1);
	padding-block: var(--ld-space-4);
	border-block-start: var(--ld-border-width) solid var(--ld-stone);
}

.ld-hp .ld-hp-service .ld-hp-h3 a {
	color: var(--ld-text);
	text-decoration: none;
}

.ld-hp .ld-hp-service .ld-hp-h3 a .ld-hp-icon {
	color: var(--ld-link);
}

.ld-hp .ld-hp-service .ld-hp-h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--ld-accent);
	text-decoration-thickness: 2px;
}

@media (min-width: 40rem) {
	.ld-hp .ld-hp-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--ld-space-6);
	}

	.ld-hp .ld-hp-service {
		padding-block: var(--ld-space-5);
	}
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-services-layout {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: var(--ld-space-8);
		align-items: start;
	}

	.ld-hp .ld-hp-head--side {
		margin-block-end: 0;
	}
}

/* 6. How we work — v2: a numbered sequence joined by a line, not the services' columns: down the start side on
   phones, across the page on desktop; every step's text visible. */

.ld-hp .ld-hp-steps {
	display: grid;
	gap: var(--ld-space-5);
}

.ld-hp .ld-hp-step {
	position: relative;
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	align-items: start;
	gap: var(--ld-space-4);
}

.ld-hp .ld-hp-step__num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	font-size: var(--ld-text-small);
	font-weight: var(--ld-weight-medium);
	line-height: 1;
	color: var(--ld-paper);
	background: var(--ld-ink);
	border-radius: 50%;
}

/* The line from one step's number to the next. */
.ld-hp .ld-hp-step:not(:last-child)::before {
	position: absolute;
	inset-inline-start: calc(1.25rem - 1px);
	top: 2.5rem;
	bottom: calc(-1 * var(--ld-space-5));
	width: 2px;
	background: var(--ld-accent);
	content: "";
}

.ld-hp .ld-hp-step__text {
	display: grid;
	gap: var(--ld-space-1);
	padding-block-start: 0.375rem;
}

.ld-hp .ld-hp-step .ld-hp-h3 {
	font-size: var(--ld-h5);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--ld-space-6);
	}

	.ld-hp .ld-hp-step {
		grid-template-columns: none;
		gap: var(--ld-space-4);
	}

	.ld-hp .ld-hp-step:not(:last-child)::before {
		inset-inline-start: 2.5rem;
		inset-inline-end: calc(-1 * var(--ld-space-6));
		top: calc(1.25rem - 1px);
		bottom: auto;
		width: auto;
		height: 2px;
	}

	.ld-hp .ld-hp-step__text {
		padding-block-start: 0;
		padding-inline-end: var(--ld-space-4);
	}
}

/* 7. About — v2: shorter, beside its heading on desktop. */

.ld-hp .ld-hp-about {
	display: grid;
	gap: var(--ld-space-4);
}

.ld-hp .ld-hp-about__title {
	display: grid;
	justify-items: start;
	align-content: start;
	gap: var(--ld-space-3);
}

.ld-hp .ld-hp-about__text {
	display: grid;
	gap: var(--ld-space-3);
	max-width: 44rem;
}

.ld-hp .ld-hp-lead {
	font-size: var(--ld-text-lead);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-about {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: var(--ld-space-8);
	}
}

/* 8. Contact — v2: its own calm off-white area, apart from the footer: one call, the primary button and one
   secondary channel. */

.ld-hp .ld-hp-contact {
	padding-block: var(--ld-section-space);
	background: var(--ld-warm);
	border-block-start: 3px solid var(--ld-accent);
}

.ld-hp .ld-hp-contact__grid {
	display: grid;
	gap: var(--ld-space-5);
}

.ld-hp .ld-hp-contact__text {
	display: grid;
	justify-items: start;
	gap: var(--ld-space-3);
}

.ld-hp .ld-hp-contact__title {
	font-size: var(--ld-h1);
	font-weight: var(--ld-weight-display);
	line-height: var(--ld-leading-display);
}

.ld-hp .ld-hp-contact__lead {
	max-width: 34rem;
	font-size: var(--ld-text-lead);
	line-height: 1.7;
}

.ld-hp .ld-hp-contact__actions {
	display: grid;
	justify-items: start;
	gap: var(--ld-space-3);
}

.ld-hp .ld-hp-contact__alt {
	font-size: var(--ld-text-small);
	line-height: var(--ld-leading-ui);
}

@media (min-width: 60rem) {
	.ld-hp .ld-hp-contact__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: end;
		gap: var(--ld-space-8);
	}

	.ld-hp .ld-hp-contact__actions {
		justify-items: end;
		text-align: end;
	}
}

/* 9. Footer — v2: charcoal for the footer only, shorter; the two lists side by side on phones. */

.ld-hp .ld-hp-footer {
	color: var(--ld-text-on-dark);
	background: var(--ld-ink);
}

.ld-hp .ld-hp-footer a {
	color: var(--ld-text-on-dark);
	text-decoration: none;
}

.ld-hp .ld-hp-footer a:hover,
.ld-hp .ld-hp-footer a:focus-visible {
	text-decoration: underline;
	text-decoration-color: var(--ld-accent);
	text-decoration-thickness: 2px;
}

.ld-hp .ld-hp-footer .ld-hp-pending {
	color: var(--ld-text-on-dark);
}

.ld-hp .ld-hp-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ld-space-5) var(--ld-space-5);
	padding-block: var(--ld-space-7) var(--ld-space-5);
}

.ld-hp .ld-hp-footer__brand {
	grid-column: 1 / -1;
}

@media (min-width: 48rem) {
	.ld-hp .ld-hp-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
		padding-block: var(--ld-space-8) var(--ld-space-6);
	}

	.ld-hp .ld-hp-footer__brand {
		grid-column: auto;
	}
}

.ld-hp .ld-hp-logo--white img {
	height: calc(var(--ld-logo-footer-h) * var(--ld-logo-white-scale));
}

.ld-hp .ld-hp-footer__tagline {
	margin-block-start: var(--ld-space-3);
	color: var(--ld-text-soft-on-dark);
}

/* «تابع أعمالنا» — the social accounts under the tagline: gold outline icons, light names, 44px targets; two by two on
   phones, one row from 30rem. External links open a new tab (said to screen readers). */
.ld-hp .ld-hp-social {
	margin-block-start: var(--ld-space-5);
}

.ld-hp .ld-hp-social__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 0 var(--ld-space-5);
}

@media (min-width: 30rem) {
	.ld-hp .ld-hp-social__list {
		display: flex;
		flex-wrap: wrap;
	}
}

.ld-hp .ld-hp-social__list a {
	display: inline-flex;
	align-items: center;
	gap: var(--ld-space-2);
	min-height: 2.75rem;
	padding-inline-end: var(--ld-space-1);
}

.ld-hp .ld-hp-social__list .ld-hp-icon {
	width: 1.375rem;
	height: 1.375rem;
	color: var(--ld-accent);
}

.ld-hp .ld-hp-social .ld-hp-note {
	margin-block-start: var(--ld-space-2);
}

.ld-hp .ld-hp-footer__title {
	margin-block-end: var(--ld-space-2);
	font-size: var(--ld-h6);
	font-weight: var(--ld-weight-heading);
}

.ld-hp .ld-hp-footer__list {
	display: grid;
	gap: var(--ld-space-1);
}

.ld-hp .ld-hp-footer__list a {
	display: inline-block;
	padding-block: var(--ld-space-1);
}

.ld-hp .ld-hp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--ld-space-2) var(--ld-space-3);
	padding-block: var(--ld-space-4) var(--ld-space-6);
	font-size: var(--ld-text-small);
	color: var(--ld-text-soft-on-dark);
	border-block-start: var(--ld-border-width) solid var(--ld-stone);
}

/* Review notes after the page */

.ld-hp .ld-hp-notes {
	padding-block: var(--ld-space-7);
	font-size: var(--ld-text-small);
	line-height: var(--ld-leading-ui);
	background: var(--ld-warm);
}

.ld-hp .ld-hp-notes__title {
	margin-block-end: var(--ld-space-3);
	font-size: var(--ld-h5);
	font-weight: var(--ld-weight-heading);
}

.ld-hp .ld-hp-notes ul {
	display: grid;
	gap: var(--ld-space-2);
	max-width: 52rem;
	padding-inline-start: var(--ld-space-5);
	list-style: disc;
}

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