/* WordPress adds margins between blocks; cleared here, first, so every component rule below can set its own */
:root :where(.wp-block-post-content, .wp-block-post-content .wp-block-group, .foot .wp-block-group) > * { margin-block: 0; }
:root :where(.wp-block-post-content .wp-block-buttons) { margin-block: 0; }
:root :where(.wp-block-image) { margin: 0; }
/* headings as in site-v2: they inherit the body's line-height; components below set their own sizes, spacing and tracking */
:root :where(h1, h2, h3, h4, h5, h6) { font-family: var(--sans); font-weight: 600; margin: 0; color: var(--black); line-height: inherit; letter-spacing: normal; }

/* ==========================================================================
   Zanzalakht · theme styles (generated from site-v2/v2.css by site-v2/_src/to_theme_css.py)
   Built only from the brand kit (zanzalakht-colors.css):
   - paper + ink everywhere; one lead colour per section
   - green and orange meet only on a horizon (the header, the footer strip)
   - three shapes: the horizon line, the dot, the vertical stroke
   ========================================================================== */

:root {
	--paper: var(--z-paper);
	--ink: var(--z-ink);
	--black: var(--z-black);
	--orange: var(--z-orange);
	--green: var(--z-green);
	--dot: var(--z-cream);
	--menu: #FBDEA5;           /* the menu bar: the colour of the logo's own background */
	--page: #FDEFD4;           /* the page background */
	--muted: #655D57;          /* stone-700: 6.1:1 on paper */
	--green-text: var(--z-green-800);
	--rule: var(--z-sand-700);
	--warm: var(--z-sand-50);

	--sans: Kodchasan, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;   /* the logo's own font, now the site font (2026-11-06) */
	--arabic: "IBM Plex Sans Arabic", Tahoma, sans-serif;
	--wordmark: Kodchasan, var(--sans);

	--s: 1;               /* desktop step scale, set from 992px up (see @scale) */
	--wide: 1320px;
	--gutter: clamp(12px, 2vw, 32px);
	--section: clamp(64px, 9vw, 128px);

	/* header heights; the horizon sits at --hz-sky of them (where the logo's own horizon falls) */
	--hz-sky: 58.125%;
	--hz-full: 104px;
	--hz-small: 72px;
	--hz-h: var(--hz-full);
	--ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 991px) { :root { --hz-full: 76px; --hz-small: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--hz-small); }
body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--black); font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

/* ---------- small parts ---------- */
/* the title mark is the logo's ز: its stroke and its dot, copied from the logo's outlines (same shape and proportions) */
.dot {
	display: inline-block; width: 5px; height: 38px; margin-block: -9px -9px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='535.36 174.32 27.36 213.72'%3E%3Ccircle cx='549.04' cy='188' r='13.68' fill='%23FF6525'/%3E%3Cpath d='M555.8,232.86c.16-3.6-12.63-9.71-12.75-6.92-2.26,51.71,2.13,103.46,0,155.18-.15,3.6,12.64,9.7,12.75,6.92,2.13-51.72-2.26-103.47,0-155.18Z' fill='%23000'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}
.dot--hollow { width: 10px; height: 10px; margin: 0; transform: none; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px var(--orange); }
.eyebrow, .label, .tag, .stage {
	display: flex; align-items: center; gap: 10px;
	font-size: 13px; line-height: 20px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
}
.label { color: var(--green-text); }
.muted { color: var(--muted); font-size: 15px; }

.btn, .wp-block-button__link, .form .wpcf7-submit {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
	position: relative; border: 2px solid var(--black); border-radius: 2px; background: transparent; color: var(--black);
	font-weight: 700; font-size: 15px; text-decoration: none;
	transition: background-color .2s, color .2s, box-shadow .2s, padding .25s;
}
.btn:hover, .wp-block-button__link:hover, .form .wpcf7-submit:hover { background: var(--black); color: var(--page); box-shadow: 4px 4px 0 var(--orange); padding-inline-end: 70px; }   /* room for the dots */
.link, .link-p a {
	font-weight: 600; font-size: 15px; color: var(--black);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link:hover, .link-p a:hover { text-decoration-thickness: 2px; }

/* colour touches: orange and green as lines and hover effects, never as fills behind text */
/* three dots float up inside a button on hover (it makes room for them), as the footer's dots once did */
.btn::before, .wp-block-button__link::before {
	content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 44px; height: 34px; margin-top: -17px; pointer-events: none;
	background-image: radial-gradient(circle closest-side, var(--orange) 96%, transparent 100%), radial-gradient(circle closest-side, var(--green) 96%, transparent 100%), radial-gradient(circle closest-side, var(--orange) 96%, transparent 100%);
	background-size: 13px 13px, 17px 17px, 10px 10px;
	background-repeat: no-repeat; background-position: 10% calc(100% - 0.0px), 50% calc(100% - 13.1px), 90% calc(100% - 4.1px);
	opacity: 0; transition: opacity .25s;
}
.btn:hover::before, .wp-block-button__link:hover::before { opacity: 1; animation: btn-dots 5.5s linear infinite; }
@keyframes btn-dots {
	0% { background-position: 10% calc(100% - 0.00px), 50% calc(100% - 13.10px), 90% calc(100% - 4.09px); }
	2.5% { background-position: 10% calc(100% - 0.09px), 50% calc(100% - 13.56px), 90% calc(100% - 3.13px); }
	5% { background-position: 10% calc(100% - 0.34px), 50% calc(100% - 13.86px), 90% calc(100% - 2.27px); }
	7.5% { background-position: 10% calc(100% - 0.76px), 50% calc(100% - 13.99px), 90% calc(100% - 1.52px); }
	10% { background-position: 10% calc(100% - 1.34px), 50% calc(100% - 13.95px), 90% calc(100% - 0.90px); }
	12.5% { background-position: 10% calc(100% - 2.05px), 50% calc(100% - 13.74px), 90% calc(100% - 0.44px); }
	15% { background-position: 10% calc(100% - 2.89px), 50% calc(100% - 13.37px), 90% calc(100% - 0.14px); }
	17.5% { background-position: 10% calc(100% - 3.82px), 50% calc(100% - 12.83px), 90% calc(100% - 0.01px); }
	20% { background-position: 10% calc(100% - 4.84px), 50% calc(100% - 12.16px), 90% calc(100% - 0.05px); }
	22.5% { background-position: 10% calc(100% - 5.90px), 50% calc(100% - 11.35px), 90% calc(100% - 0.26px); }
	25% { background-position: 10% calc(100% - 7.00px), 50% calc(100% - 10.44px), 90% calc(100% - 0.63px); }
	27.5% { background-position: 10% calc(100% - 8.10px), 50% calc(100% - 9.45px), 90% calc(100% - 1.17px); }
	30% { background-position: 10% calc(100% - 9.16px), 50% calc(100% - 8.39px), 90% calc(100% - 1.84px); }
	32.5% { background-position: 10% calc(100% - 10.18px), 50% calc(100% - 7.30px), 90% calc(100% - 2.65px); }
	35% { background-position: 10% calc(100% - 11.11px), 50% calc(100% - 6.20px), 90% calc(100% - 3.56px); }
	37.5% { background-position: 10% calc(100% - 11.95px), 50% calc(100% - 5.12px), 90% calc(100% - 4.55px); }
	40% { background-position: 10% calc(100% - 12.66px), 50% calc(100% - 4.09px), 90% calc(100% - 5.61px); }
	42.5% { background-position: 10% calc(100% - 13.24px), 50% calc(100% - 3.13px), 90% calc(100% - 6.70px); }
	45% { background-position: 10% calc(100% - 13.66px), 50% calc(100% - 2.27px), 90% calc(100% - 7.80px); }
	47.5% { background-position: 10% calc(100% - 13.91px), 50% calc(100% - 1.52px), 90% calc(100% - 8.88px); }
	50% { background-position: 10% calc(100% - 14.00px), 50% calc(100% - 0.90px), 90% calc(100% - 9.91px); }
	52.5% { background-position: 10% calc(100% - 13.91px), 50% calc(100% - 0.44px), 90% calc(100% - 10.87px); }
	55% { background-position: 10% calc(100% - 13.66px), 50% calc(100% - 0.14px), 90% calc(100% - 11.73px); }
	57.5% { background-position: 10% calc(100% - 13.24px), 50% calc(100% - 0.01px), 90% calc(100% - 12.48px); }
	60% { background-position: 10% calc(100% - 12.66px), 50% calc(100% - 0.05px), 90% calc(100% - 13.10px); }
	62.5% { background-position: 10% calc(100% - 11.95px), 50% calc(100% - 0.26px), 90% calc(100% - 13.56px); }
	65% { background-position: 10% calc(100% - 11.11px), 50% calc(100% - 0.63px), 90% calc(100% - 13.86px); }
	67.5% { background-position: 10% calc(100% - 10.18px), 50% calc(100% - 1.17px), 90% calc(100% - 13.99px); }
	70% { background-position: 10% calc(100% - 9.16px), 50% calc(100% - 1.84px), 90% calc(100% - 13.95px); }
	72.5% { background-position: 10% calc(100% - 8.10px), 50% calc(100% - 2.65px), 90% calc(100% - 13.74px); }
	75% { background-position: 10% calc(100% - 7.00px), 50% calc(100% - 3.56px), 90% calc(100% - 13.37px); }
	77.5% { background-position: 10% calc(100% - 5.90px), 50% calc(100% - 4.55px), 90% calc(100% - 12.83px); }
	80% { background-position: 10% calc(100% - 4.84px), 50% calc(100% - 5.61px), 90% calc(100% - 12.16px); }
	82.5% { background-position: 10% calc(100% - 3.82px), 50% calc(100% - 6.70px), 90% calc(100% - 11.35px); }
	85% { background-position: 10% calc(100% - 2.89px), 50% calc(100% - 7.80px), 90% calc(100% - 10.44px); }
	87.5% { background-position: 10% calc(100% - 2.05px), 50% calc(100% - 8.88px), 90% calc(100% - 9.45px); }
	90% { background-position: 10% calc(100% - 1.34px), 50% calc(100% - 9.91px), 90% calc(100% - 8.39px); }
	92.5% { background-position: 10% calc(100% - 0.76px), 50% calc(100% - 10.87px), 90% calc(100% - 7.30px); }
	95% { background-position: 10% calc(100% - 0.34px), 50% calc(100% - 11.73px), 90% calc(100% - 6.20px); }
	97.5% { background-position: 10% calc(100% - 0.09px), 50% calc(100% - 12.48px), 90% calc(100% - 5.12px); }
	100% { background-position: 10% calc(100% - 0.00px), 50% calc(100% - 13.10px), 90% calc(100% - 4.09px); }
}
/* selected text: green on the light page, orange on the dark bands (ink text on both) */
::selection { background: var(--green); color: var(--ink); }
.hero ::selection, .founder ::selection, .field:has(.give) ::selection, .horizon__sky:has(.now-photo) ::selection { background: var(--orange); color: var(--ink); }
.areas > *, .articles article, .project-row, .give > * { transition: border-color .2s, box-shadow .2s; }
.areas > *:hover, .project-row:hover { border-top-color: var(--green); box-shadow: 0 -2px 0 var(--green); }
.articles article:hover, .give > *:hover { border-top-color: var(--orange); box-shadow: 0 -2px 0 var(--orange); }
/* vertical strokes drawn as the earlier site's pen stroke: thin, tilted 2.5 degrees, a 2px corner radius */
.story .quote-group, .founder .quote { position: relative; padding-inline-start: 30px; }
.story .quote-group::before, .founder .quote::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 3px; background: var(--green);
	border-radius: 2px; transform: rotate(.6deg);
}

/* Why the zanzalakht (home): the seasonal tree stays beside the words while they scroll (drawn by v2.js) */
.seasons { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.seasons__tree { position: sticky; top: calc(var(--hz-small) + 24px); height: calc(100vh - var(--hz-small) - 24px); margin-top: 24px; display: flex; align-items: center; justify-content: center; }   /* stays centred in the window while the menu stays clear */
.seasons__tree svg { display: block; width: auto; height: min(68vh, 560px); max-width: 100%; overflow: visible; }
/* a faint wash of the season's sky reaches from the tree across the words, so the two sides read as one scene; it moves
   with the sticky tree and turns with the season (v2.js sets --season-sky) */
@property --season-sky { syntax: "<color>"; inherits: true; initial-value: transparent; }
.seasons { position: relative; isolation: isolate; }
.seasons__text { position: relative; z-index: 1; }   /* above the wash */
.seasons__tree { --season-sky: transparent; transition: --season-sky .9s ease; }
.seasons__tree::before { content: ""; position: absolute; z-index: -1; inset-inline-start: -12%; top: 4%; width: 240%; height: 92%; pointer-events: none; background: radial-gradient(ellipse 50% 50% at 42% 50%, color-mix(in srgb, var(--season-sky) 32%, transparent) 0%, color-mix(in srgb, var(--season-sky) 18%, transparent) 55%, transparent 100%); }
.seasons__tree stop { transition: stop-color .9s ease; }   /* the sky and ground turn with the season */
.seasons__sun { fill: #fff; transition: opacity .9s ease; }
.seasons__branch, .seasons__root, .seasons__rachis { fill: none; stroke-linecap: round; }
.seasons__branch { stroke: var(--black); }
.seasons__root { stroke: var(--ink); }
.seasons__rachis { stroke-width: .9; transition: stroke .8s ease; }
.seasons__blade, .seasons__berry { transition: fill .8s ease; }
.seasons__berry { transform-box: fill-box; transform-origin: center; }
.seasons__fall { position: absolute; overflow: hidden; border-radius: 50%; pointer-events: none; }   /* laid over the oval by v2.js */
.seasons__bit { position: absolute; top: 0; width: 9px; height: 6px; border-radius: 60% 0; opacity: .8; }
.seasons__bit--petal { width: 7px; height: 7px; border-radius: 50% 50% 50% 0; }
.seasons__text { display: flex; flex-direction: column; }
.seasons__ch { min-height: 80vh; justify-content: center; }
.seasons__ch:first-child { min-height: 70vh; }
@media (max-width: 860px) {
	.seasons { grid-template-columns: minmax(0, 1fr); gap: 0; }
	/* on phones the tree sits at the top while the words pass under it; the header, when it comes back, lies over its empty top */
	.seasons__tree { top: 0; z-index: 2; height: calc(36vh + var(--hz-small) + 28px); margin-top: 0; padding: calc(var(--hz-small) + 16px) 0 12px; background: var(--page); }
	.seasons__tree svg { height: min(32vh, 420px); }
	.seasons__tree::before { display: none; }
	.seasons__ch { min-height: 60vh; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 96px); align-items: end;
	padding-block: clamp(56px, 8vw, 112px) 0;
	position: relative; isolation: isolate;
}
/* the dark ink behind the whole hero, edge to edge */
.hero::before {
	content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
	left: 50%; width: 100vw; margin-left: -50vw; background: var(--ink);
}
body { overflow-x: clip; }
.hero__text { display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(24px, 4vw, 64px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -.02em; max-width: 13ch; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* the vertical stroke: runs down the photo's edge and on into the next section */
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__media::before {
	content: ""; position: absolute; inset-inline-start: -22px; top: 22%; bottom: -96px;
	width: 4px; background: var(--green);
	border-radius: 2px; transform: rotate(.6deg);   /* barely tilted: only a feeling of the pen */
}

@media (max-width: 860px) {
	.hero { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
	.hero__media { order: -1; margin-inline: calc(var(--gutter) * -1); }
	.hero__media img { aspect-ratio: 4 / 3; }
	.hero__media::before { inset-inline-start: var(--gutter); top: auto; bottom: -48px; height: 120px; }
	.hero__text { padding-top: 32px; }
}

/* ==========================================================================
   Sections on paper
   ========================================================================== */
.block { padding-block: var(--section); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.block__head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.block__head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.015em; }
.block__intro { color: var(--muted); max-width: 60ch; }

/* six areas: a ruled grid, a dot on each */
.areas {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none;
}
.areas > * { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; padding-block: 28px; border-top: 1px solid var(--rule); }
.areas > .has-dot::before { margin-block: -14px -14px; }
.areas h3 { font-size: 20px; line-height: 1.4; }
.areas p { grid-column: 2; color: var(--muted); font-size: 16px; }
.areas--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Beit Hayat: the horizon is a solid green line; the photographs stand across it
   ========================================================================== */
.horizon { --ph: clamp(220px, 26vw, 340px); }
.horizon__sky { position: relative; background: var(--menu); border-bottom: 6px solid transparent; color: var(--black); padding-block: var(--section) calc(var(--ph) * .625 + 48px); }
.horizon__text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; }
.horizon__text .label { grid-column: 1 / -1; color: var(--black); }
.horizon h2, .horizon__title { grid-column: 1 / -1; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -.025em; }
.horizon__lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; max-width: 34ch; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid rgb(0 0 0 / .3); font-size: 15px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; text-align: end; }

.horizon__sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--green); }
.horizon__photos { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: calc(var(--ph) * -.625); }
.horizon__photos figure { margin: 0; }
.horizon__photos img { width: 100%; height: var(--ph); object-fit: cover; }
.horizon__more { padding-top: 28px; }

@media (max-width: 860px) {
	.horizon__text { grid-template-columns: minmax(0, 1fr); }
	.horizon__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.horizon__photos figure:last-child { display: none; }
}

/* ---------- projects ---------- */
.projects { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.projects > * { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; border-top: 2px solid var(--black); }
.projects h3 { font-size: 28px; line-height: 1.2; }
.projects p { max-width: 48ch; }
.stage { color: var(--muted); }
@media (max-width: 700px) { .projects { grid-template-columns: minmax(0, 1fr); } }

/* ---------- founder ---------- */
.founder {
	display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px); align-items: start;
	padding-block: var(--section); border-top: 1px solid var(--rule);
}
.founder__photo { margin: 0; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--warm); }
.founder__text { display: flex; flex-direction: column; gap: 20px; max-width: 62ch; }
.founder .quote { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 500; color: var(--black); letter-spacing: -.01em; }
/* a plain line, not flex: the title animation wraps each word in a span, and flex would turn every word gap into the 12px gap */
.founder h2 { font-size: 20px; line-height: 1.4; padding-top: 8px; }
.founder h2 > span:not(.w) { display: inline-block; margin-inline-start: 7px; font-size: 15px; font-weight: 400; color: var(--muted); }
@media (max-width: 760px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder__photo { max-width: 360px; } }

/* ---------- articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.articles article { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.articles .tag { color: var(--muted); }
.articles h3 { font-size: 22px; line-height: 1.3; }
.articles h3 a { text-decoration: none; }
.articles h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.articles p:last-child { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .articles { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Contact: the page's one orange field (black text on it: 7:1)
   ========================================================================== */
.contact { background: var(--orange); color: var(--black); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(56px, 7vw, 96px); }
.contact .label { color: var(--black); }
.contact h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-block: 12px 16px; }
.contact p { max-width: 52ch; }
.contact__details { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; font-size: 16px; }
@media (max-width: 760px) { .contact__inner { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Footer: paper, then the horizon strip (orange over green, 62.5 / 37.5)
   ========================================================================== */
.foot { background: var(--menu); }   /* the footer takes the menu bar's cream, so the page is framed top and bottom */
.foot__inner {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
	gap: 32px; padding-block: 64px 48px; font-size: 15px; color: var(--muted);
}
.foot .ar { width: fit-content; font-family: var(--arabic); font-size: 17px; color: var(--black); margin-bottom: 12px; }
.foot__brand p:last-of-type { max-width: 40ch; }
/* the client's colour square heads the footer. .foot__logo lands on the <img> in the static preview, but WordPress's
   image block puts the class on the wrapping <figure> and leaves the <img> at its intrinsic size, so both are sized */
.foot__logo { display: block; width: 132px; height: 132px; margin: 0 0 20px; }
.foot__logo, .foot__logo img { border-radius: 12px; }
.foot__logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.foot__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.foot__links a { color: var(--ink); text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__horizon { display: grid; grid-template-rows: 15px 9px; }
.foot__horizon span:first-child { background: var(--orange); }
.foot__horizon span:last-child { background: var(--green); }
@media (max-width: 760px) { .foot__inner { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   "Support us": a green button that floats at the bottom of the screen, on the reading side's far end
   ========================================================================== */
.support-float {
	position: fixed; z-index: 250; bottom: 24px; inset-inline-end: 24px;
	display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px;
	background: var(--green); color: var(--black); border-radius: 2px; box-shadow: 4px 4px 0 var(--black);
	font-weight: 700; font-size: 15px; text-decoration: none;
	transition: background-color .2s, color .2s, box-shadow .2s, padding .25s, transform .35s var(--ease), opacity .35s;
}
.support-float::before {
	content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 44px; height: 34px; margin-top: -17px; pointer-events: none;
	background-image: radial-gradient(circle closest-side, var(--orange) 96%, transparent 100%), radial-gradient(circle closest-side, var(--green) 96%, transparent 100%), radial-gradient(circle closest-side, var(--orange) 96%, transparent 100%);
	background-size: 13px 13px, 17px 17px, 10px 10px; background-repeat: no-repeat; background-position: 10% calc(100% - 0.0px), 50% calc(100% - 13.1px), 90% calc(100% - 4.1px);
	opacity: 0; transition: opacity .25s;
}
.support-float:hover { background: var(--black); color: var(--page); box-shadow: 4px 4px 0 var(--orange); padding-inline-end: 70px; }
.support-float:hover::before { opacity: 1; animation: btn-dots 5.5s linear infinite; }
.support-float:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.support-float.is-away { opacity: 0; transform: translateY(24px); pointer-events: none; }
.support-float[aria-current="page"], .hz.is-open ~ .support-float, body:has(.hz.is-open) .support-float { display: none; }   /* not on the Support page itself, nor over the open menu */
@media (max-width: 600px) { .support-float { bottom: 16px; inset-inline-end: 16px; min-height: 48px; padding: 0 20px; font-size: 15px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* page intro: label, title, one paragraph */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -.02em; max-width: 18ch; }
.page-head .lede { color: var(--ink); }

/* text beside a picture */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
.prose h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.015em; }
.figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.figure img { width: 100%; }
.figure figcaption { font-size: 14px; color: var(--muted); }
.figure--cover img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split, .split--flip { grid-template-columns: minmax(0, 1fr); } }

/* three big words (objectives) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.trio > * { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--black); }
.trio h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; display: flex; align-items: center; gap: 12px; }
.trio p { color: var(--ink); font-size: 16px; }
@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* a statement in large type */
.statement { padding-block: var(--section); border-top: 1px solid var(--rule); }
.statement p { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.25; letter-spacing: -.01em; color: var(--black); font-weight: 500; max-width: 28ch; text-wrap: balance; }

/* stage tracker: three dots on one line, the reached ones filled */
.tracker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; max-width: 640px; position: relative; }
.tracker::before { content: ""; position: absolute; inset-inline-start: 6px; inset-inline-end: calc(33.33% - 6px); top: 6px; height: 2px; background: var(--black); }
.tracker li { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.tracker li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--black); position: relative; }
.tracker li.is-done { color: var(--black); font-weight: 600; }
.tracker li.is-done::before { background: var(--orange); box-shadow: inset 0 0 0 2px var(--black); }
.horizon .tracker li { color: var(--black); }

/* the network of houses (home, projects; v2.js): the places run down a line on the left, and beside them a panel
   holds still and shows each place's photo, uncovered from the bottom, as its name reaches the middle of the screen. The line fills
   as you go; reached places get a green dot, the current one an orange dot with a ring. On phones the panel holds
   at the top and the places pass under it. The Projects page has a plain horizontal strip (places--list): no photos,
   no scroll effects. */
.places { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.places__list { position: relative; margin: 0; padding: 0; padding-inline-start: 44px; list-style: none; }
.places__list::before, .places__fill { content: ""; position: absolute; inset-inline-start: 9px; top: 10px; width: 2px; }
.places__list::before { bottom: var(--tail, 0px); background: var(--rule); }   /* v2.js ends it at the last dot */
.places__fill { height: 0; background: var(--black); }
.places__item { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 40vh; padding-bottom: 48px; }
.places__item:last-child { min-height: 0; }
.places__item::before { content: ""; position: absolute; inset-inline-start: -42px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--page); box-shadow: inset 0 0 0 2px var(--black); transition: background-color .4s ease, transform .4s var(--ease); }
.places__item.is-first::before, .places__item.is-active::before { background: var(--orange); }
.places__item.is-past:not(.is-first)::before { background: var(--green); }
.places__item.is-active::before { transform: scale(1.25); }
.places__item::after { content: ""; position: absolute; inset-inline-start: -48px; top: -2px; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--orange); opacity: 0; transform: scale(.6); }
.places__region { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
.places__name { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.015em; }
.places__text { max-width: 40ch; color: var(--muted); }
.places__stage { font-size: 14px; color: var(--black); }
.places__panel { position: sticky; top: max(calc(var(--hz-small) + 24px), calc(50vh - 260px)); display: flex; flex-direction: column; gap: 16px; }
.places__stagebox { position: relative; aspect-ratio: 4 / 3; }
.places__art { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; margin: 0; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .6s ease, transform .9s var(--ease); }
.places__art.is-shown { opacity: 1; transform: none; pointer-events: auto; }
/* the photos take the house photos' offset shadows, green and orange in turn */
.places__art img { flex: 1; min-height: 0; width: calc(100% - 8px); object-fit: cover; box-shadow: 8px 8px 0 var(--green); clip-path: inset(calc((1 - var(--p, 1)) * 100%) -12px -12px -12px); transform: scale(calc(1.06 - var(--p, 1) * .06)); transform-origin: 50% 100%; }
.places__art:nth-child(even) img { box-shadow: 8px 8px 0 var(--orange); }
.places__credit { font-size: 12px; line-height: 1.4; color: var(--muted); }
.places__credit a { color: inherit; }
.places__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.places__label { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; color: var(--black); }
.places__count { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); }
.places__n { color: var(--black); font-weight: 600; }
/* with motion allowed: places not yet reached are faint, photos uncover (v2.js) and the current dot rings */
.motion .places__item { opacity: .35; transition: opacity .5s ease; }
.motion .places__item.is-past, .motion .places__item.is-active { opacity: 1; }
.motion .places__item.is-past:not(.is-active) { opacity: .7; }
.motion .places__item.is-active::after { animation: place-ring 2.4s ease-out infinite; }
@keyframes place-ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
/* the plain strip on Projects: every place in a single row on a line, name and region only (the one-line texts are
   hidden), Damascus orange and the rest hollow. It never wraps; the row scrolls sideways once it no longer fits
   (grid-auto-flow: column sizes exactly as many tracks as there are places, instead of a fixed column count). */
.places--list { display: block; margin-top: clamp(24px, 3vw, 36px); overflow-x: auto; scrollbar-width: thin; padding-bottom: 8px; }
.places--list .places__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); gap: 0 16px; padding: 0; }
.places--list .places__list::before { left: var(--line-start, 8px); right: auto; top: 7px; bottom: auto; width: var(--line-w, calc(100% - 16px)); height: 2px; background: var(--black); }   /* --line-start/--line-w set by v2.js to the exact dot positions */
.places--list .places__item, .motion .places--list .places__item { min-height: 0; padding: 30px 0 0; gap: 4px; opacity: 1; }
.places--list .places__item::before { inset-inline-start: 0; top: 0; }
.places--list .places__region { order: 2; font-size: 11px; letter-spacing: .08em; }
.places--list .places__name { order: 1; font-size: 18px; line-height: 1.25; letter-spacing: 0; }
.places--list .places__stage { order: 3; font-size: 13px; color: var(--muted); }
.places--list .places__text, .places--list .is-first .places__region { display: none; }
section:has(> .places--list) { padding-bottom: clamp(32px, 4vw, 48px); }
@media (max-width: 860px) {
	.places { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.places__panel { order: -1; top: var(--hz-small); z-index: 2; gap: 8px; padding-block: 12px; background: var(--page); }
	.places__stagebox { width: min(100%, calc(30vh * 4 / 3)); margin-inline: auto; }
	.places__item { min-height: 32vh; }
}
.project-row { padding-top: 32px; border-top: 1px solid var(--rule); }

/* timeline: the horizon line with a dot for each phase */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); margin: 0; padding: 0; list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 2px; background: var(--black); }
.timeline li { display: flex; flex-direction: column; gap: 12px; position: relative; }
.timeline li::before { content: ""; order: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); position: relative; z-index: 1; }
.timeline .when { order: 0; height: 20px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.timeline h3 { order: 2; font-size: 22px; }
.timeline p { order: 3; font-size: 16px; color: var(--ink); }
@media (max-width: 860px) {
	.timeline { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding-inline-start: 36px; }
	.timeline::before { inset-inline-start: 8px; inset-inline-end: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
	.timeline li::before { position: absolute; inset-inline-start: -36px; top: 1px; }
}

/* a story told in the founder's words */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: var(--section); }
.story .quote-group { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.story .quote-group > p:first-child { font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 500; color: var(--black); letter-spacing: -.01em; }
.story .quote-group p { max-width: 60ch; }
.story .cite { font-style: normal; font-weight: 600; color: var(--black); }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }

/* people */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 40px); }
.person { display: flex; flex-direction: column; gap: 8px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--warm); margin-bottom: 8px; }
.person h3 { font-size: 20px; line-height: 1.3; }
.person .role { font-size: 14px; line-height: 1.45; color: var(--green-text); font-weight: 600; }
.person p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); }
.people--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people--lead .person { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; align-content: start; }
.people--lead .person img { grid-row: span 4; margin: 0; }
.subhead { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--black); display: flex; align-items: center; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.people--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.people--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .people, .people--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } .people--lead { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .people { grid-template-columns: minmax(0, 1fr); } .people--lead .person { grid-template-columns: minmax(0, 1fr); } .people--lead .person img { grid-row: auto; margin-bottom: 8px; } }

/* article cards with a picture */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
.card .tag { color: var(--muted); }
.card h3 { font-size: 22px; line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card p:last-child { color: var(--muted); font-size: 16px; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards, .cards--two { grid-template-columns: minmax(0, 1fr); } }

/* ways to give */
.give { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.give > * { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 28px; border-top: 1px solid currentColor; border-color: rgb(0 0 0 / .3); }
.give h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.give p { flex-grow: 1; max-width: 40ch; }
.give .wp-block-buttons { margin-top: 8px; }
@media (max-width: 860px) { .give { grid-template-columns: minmax(0, 1fr); } }
.note { font-size: 15px; color: var(--muted); max-width: 64ch; }

/* the orange field, reused for calls to give */
.field { border-top: 6px solid var(--orange); color: var(--black); padding-block: var(--section); }
.field .label, .field .note { color: var(--black); }
.field__head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.field__head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.015em; }

/* a coming-soon panel */
.soon { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(40px, 5vw, 72px) var(--section); }
@media (max-width: 860px) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* the contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; font-weight: 600; color: var(--black); }
.form label span { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
	display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px 14px; border: 1px solid #8A7F7A; border-radius: 2px;
	background: #FFFFFF; color: var(--ink); font: 400 16px/1.5 var(--sans);
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.form button { justify-self: start; cursor: pointer; font-family: var(--sans); }
.form__done { grid-column: 1 / -1; padding: 16px; background: var(--warm); border-top: 2px solid var(--green); }
.details { display: flex; flex-direction: column; gap: 20px; font-size: 16px; }
.details dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 4px 0 0; color: var(--black); }
.details > dl { margin-block: 16px; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* a top rule as wide as the content (not the gutters) */
.ruled, .founder, .statement { border-top: 0; background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.statement:not(.wrap) { background-size: 100% 1px; }

/* ==========================================================================
   Dropdown in the site's style (v2.js builds it from the <select>)
   ========================================================================== */
.form__label { display: block; font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.chevron, .select__button, .form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.form [hidden], .select [hidden] { display: none !important; }
.form select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select { position: relative; }
.select__button {
	display: block; width: 100%; min-height: 48px; padding: 12px 14px; padding-inline-end: 44px; text-align: start;
	border: 1px solid #8A7F7A; border-radius: 2px; background-color: #FFFFFF; color: var(--ink);
	font: 400 16px/1.5 var(--sans); cursor: pointer;
}
.select__button.is-placeholder { color: var(--muted); }
.select__button[aria-expanded="true"] { border-color: var(--black); }
.select__button:focus-visible { outline: 3px solid var(--black); outline-offset: 1px; }
.select.is-invalid .select__button { border: 2px solid #B2471A; }
.select.is-invalid::after { content: "Please choose one."; display: block; margin-top: 6px; font-size: 14px; color: #B2471A; font-weight: 600; }
.select__list {
	position: absolute; z-index: 20; left: 0; right: 0; top: 52px;
	margin: 0; padding: 6px 0; list-style: none; max-height: 340px; overflow-y: auto;
	background: rgba(255,255,255,.72); border: 1px solid var(--black); border-radius: 2px;
	-webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
	overscroll-behavior: contain;
}
.select__list:focus { outline: none; }
.select__list [role="option"] {
	display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px;
	font-size: 16px; color: var(--ink); cursor: pointer;
}
/* the dot marks the chosen topic, as it marks the current page in the menu */
.select__list [role="option"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: transparent; }
.select__list [role="option"][aria-selected="true"]::before { background: var(--orange); }
.select__list [role="option"][aria-selected="true"] { font-weight: 600; color: var(--black); }
.select__list .is-active { background: var(--warm); }

/* a small note beside a form */
.aside-note { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 16px; }

/* ==========================================================================
   Beit Hayat: choose how to help (radio cards), then the form
   ========================================================================== */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.choices legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.form .choice, .choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; padding-inline-start: 46px; min-height: 100%; border: 1px solid rgb(0 0 0 / .45); border-radius: 2px; cursor: pointer; font-weight: 400; color: var(--black); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice::before { content: ""; position: absolute; inset-inline-start: 18px; top: 22px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--black); }
.choice strong { font-size: 18px; line-height: 1.35; }
.choice span { font-size: 15px; line-height: 1.5; }
.choice:hover { border-color: var(--black); }
.choice:has(input:checked) { background: var(--paper); border: 2px solid var(--black); padding: 17px; padding-inline-start: 45px; }
.choice:has(input:checked)::before { background: var(--black); inset-inline-start: 17px; top: 21px; }
.choice:has(input:focus-visible) { outline: 3px solid var(--black); outline-offset: 2px; }
.bh-form { display: flex; flex-direction: column; gap: 32px; }
.bh-form .form { max-width: 880px; }
.field .form label, .field .form__label { color: var(--black); }
.field .form label span { color: var(--black); font-weight: 400; }
.field .form input, .field .form textarea { border-color: var(--black); }
.field .form__done { background: var(--paper); border-top-color: var(--black); }
@media (max-width: 860px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .choices { grid-template-columns: minmax(0, 1fr); } }

/* "On this page" index under the Beit Hayat hero */
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-block: 28px 0; font-size: 15px; }
.toc span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc a { font-weight: 600; color: var(--black); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.toc a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
[id] { scroll-margin-top: calc(var(--hz-small) + 16px); }

/* ==========================================================================
   Newsletter: "Letters from the courtyard"
   ========================================================================== */
.subscribe { display: flex; flex-direction: column; gap: 12px; }
.subscribe__row { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input {
	flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 12px 14px;
	border: 1px solid #8A7F7A; border-radius: 2px; background: #FFFFFF; color: var(--ink); font: 400 16px/1.5 var(--sans);
}
.subscribe input:focus-visible { outline: 3px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.subscribe button { cursor: pointer; font-family: var(--sans); }   /* its outline comes from .btn */
.subscribe label { font-size: 15px; font-weight: 600; color: var(--black); }
.subscribe__note { font-size: 14px; color: var(--muted); }
.subscribe__done { font-size: 15px; padding: 12px 14px; background: var(--warm); border-top: 2px solid var(--green); color: var(--ink); }

/* home: a band after the articles */
.letters { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(40px, 5vw, 64px); background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.letters h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.01em; margin-block: 10px 12px; }
@media (max-width: 860px) { .letters { grid-template-columns: minmax(0, 1fr); } }

/* footer: a strip above the columns */
.foot__letters { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 32px; align-items: center; padding-block: 40px; border-bottom: 1px solid var(--rule); }
.foot__letters h2 { font-size: 20px; line-height: 1.3; }
.foot__letters p { font-size: 15px; color: var(--muted); margin-top: 4px; }
/* pages with their own sign-up band (home, articles) do not repeat it in the footer */
body:has(.letters) .foot__letters { display: none; }
@media (max-width: 760px) { .foot__letters { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Article page
   ========================================================================== */
.article-head { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.article-head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; }
.byline { font-size: 15px; color: var(--muted); }
.byline strong { color: var(--black); font-weight: 600; }
.article-image { margin-block: 0; }
.article-image img { width: 100%; max-width: 880px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { max-width: 680px; padding-block: clamp(40px, 5vw, 72px) var(--section); display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.7; }
.article-body .pull { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; font-weight: 500; color: var(--black); }
.article-body .sign { font-size: 16px; }
.article-body .sign strong { display: block; color: var(--black); }
.article-body a { color: var(--black); text-underline-offset: 4px; }
.more { padding-block: var(--section); }


/* small layout helpers used by the page sources (and by the WordPress blocks) */
.pb-section { padding-bottom: var(--section); }
/* a green band with no photo strip across its edge needs no room for one: bottom padding matches the top */
.horizon__sky.pb-section { padding-bottom: var(--section); }
.horizon__sky .split { align-items: center; }
.horizon__sky .figure img { width: auto; max-width: 100%; max-height: 420px; margin-inline: auto; display: block; }
/* the "why culture matters now" band on About: a photo of the restoration work, with an orange offset shadow */
.now-photo img { box-shadow: 8px 8px 0 var(--orange); }
.py-section { padding-block: var(--section); }
.pt-section { padding-top: var(--section); }
.pb-small { padding-bottom: clamp(48px, 6vw, 80px); }
.mb-head { margin-bottom: clamp(32px, 4vw, 48px); }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.items-center { align-items: center; }
.label--black { color: var(--black); }
.ratio-16-10 img { aspect-ratio: 16 / 10; object-fit: cover; }

/* @scale:start */
/* generated by site-v2/_src/scale_css.py — do not edit by hand.
   992px and up: each size is its 1440 design size x --s, in steps. */
@media (min-width: 992px) { :root { --s: calc(992 / 1440); } }
@media (min-width: 1280px) { :root { --s: calc(1280 / 1440); } }
@media (min-width: 1440px) { :root { --s: 1; } }
@media (min-width: 1920px) { :root { --s: calc(1920 / 1440); } }
@media (min-width: 992px) {
	:root { --wide: calc(1320px * var(--s)); --gutter: calc(28.8px * var(--s)); --section: calc(128px * var(--s)); --hz-full: calc(104px * var(--s)); --hz-small: calc(72px * var(--s)); }
	body { font: 400 max(16px, calc(17px * var(--s)))/1.65 var(--sans); }
	.eyebrow, .label, .tag, .stage { gap: calc(10px * var(--s)); font-size: max(12px, calc(13px * var(--s))); }
	.muted { font-size: max(14px, calc(15px * var(--s))); }
	.btn, .wp-block-button__link, .form .wpcf7-submit { min-height: max(44px, calc(48px * var(--s))); padding: 0 calc(24px * var(--s)); font-size: max(14px, calc(15px * var(--s))); }
	.link, .link-p a { font-size: max(14px, calc(15px * var(--s))); }
	.hz__inner { gap: calc(32px * var(--s)); }
	.hz__nav ul { gap: calc(34.56px * var(--s)); }
	.hz__nav a { padding: calc(12px * var(--s)) 0; font-size: max(14px, calc(15px * var(--s))); }
	/* the menu words stand on the horizon line, like the calligraphy in the logo: the line runs along their baseline */
	.hz__lang { padding: 0 calc(16px * var(--s)); font-size: max(14px, calc(15px * var(--s))); }
	.hz__lang:lang(ar) { font-size: max(16px, calc(16px * var(--s))); }
	.hero { gap: calc(86.4px * var(--s)); padding-block: calc(112px * var(--s)) 0; }
	.hero__text { gap: calc(24px * var(--s)); padding-bottom: calc(57.6px * var(--s)); }
	.hero h1 { font-size: calc(72px * var(--s)); }
	.lede { font-size: calc(20px * var(--s)); }
	.actions { gap: calc(16px * var(--s)) calc(28px * var(--s)); margin-top: calc(8px * var(--s)); }
	.block { gap: calc(56px * var(--s)); }
	.block__head { gap: calc(14px * var(--s)); }
	.block__head h2 { font-size: calc(46px * var(--s)); }
	.areas { gap: 0 calc(43.2px * var(--s)); }
	.areas > * { column-gap: calc(14px * var(--s)); padding-block: calc(28px * var(--s)); }
	.areas h3 { font-size: calc(20px * var(--s)); }
	.areas p { font-size: max(16px, calc(16px * var(--s))); }
	.horizon { --ph: calc(340px * var(--s)); }
	.horizon__sky { padding-block: var(--section) calc(var(--ph) * .625 + calc(48px * var(--s))); }
	.horizon__text { gap: calc(16px * var(--s)) calc(86.4px * var(--s)); }
	.horizon h2, .horizon__title { font-size: calc(96px * var(--s)); }
	.horizon__lede { font-size: calc(22px * var(--s)); }
	.facts div { gap: calc(16px * var(--s)); padding-block: calc(10px * var(--s)); font-size: max(14px, calc(15px * var(--s))); }
	.horizon__photos { gap: calc(24px * var(--s)); }
	.horizon__more { padding-top: calc(28px * var(--s)); }
	.projects { gap: calc(43.2px * var(--s)); }
	.projects > * { gap: calc(12px * var(--s)); padding-top: calc(24px * var(--s)); }
	.projects h3 { font-size: calc(28px * var(--s)); }
	.founder { gap: calc(86.4px * var(--s)); }
	.founder__text { gap: calc(20px * var(--s)); }
	.founder .quote { font-size: calc(38px * var(--s)); }
	.founder h2 { font-size: calc(20px * var(--s)); padding-top: calc(8px * var(--s)); }
	.founder h2 > span:not(.w) { margin-inline-start: calc(7px * var(--s)); font-size: max(14px, calc(15px * var(--s))); }
	.articles { gap: calc(43.2px * var(--s)); }
	.articles article { gap: calc(12px * var(--s)); padding-top: calc(24px * var(--s)); }
	.articles h3 { font-size: calc(22px * var(--s)); }
	.articles p:last-child { font-size: max(16px, calc(16px * var(--s))); }
	.contact__inner { gap: calc(32px * var(--s)) calc(86.4px * var(--s)); padding-block: calc(96px * var(--s)); }
	.contact h2 { font-size: calc(56px * var(--s)); margin-block: calc(12px * var(--s)) calc(16px * var(--s)); }
	.contact__details { gap: calc(20px * var(--s)); font-size: max(16px, calc(16px * var(--s))); }
	.foot__inner { gap: calc(32px * var(--s)); padding-block: calc(64px * var(--s)) calc(48px * var(--s)); font-size: max(14px, calc(15px * var(--s))); }
	.foot__logo { width: max(132px, calc(132px * var(--s))); height: max(132px, calc(132px * var(--s))); margin-bottom: calc(20px * var(--s)); }
	.foot .ar { font-size: max(16px, calc(17px * var(--s))); margin-bottom: calc(12px * var(--s)); }
	.support-float { min-height: max(44px, calc(52px * var(--s))); padding: 0 calc(24px * var(--s)); font-size: max(14px, calc(15px * var(--s))); }
	.support-float:hover { padding-inline-end: calc(70px * var(--s)); }
	.page-head { padding-block: calc(112px * var(--s)) calc(56px * var(--s)); gap: calc(20px * var(--s)); }
	.page-head h1 { font-size: calc(72px * var(--s)); }
	.split { gap: calc(86.4px * var(--s)); }
	.prose { gap: calc(18px * var(--s)); }
	.prose h2 { font-size: calc(40px * var(--s)); }
	.figure { gap: calc(12px * var(--s)); }
	.figure figcaption { font-size: max(14px, calc(14px * var(--s))); }
	.trio { gap: calc(43.2px * var(--s)); }
	.trio > * { gap: calc(12px * var(--s)); padding-top: calc(24px * var(--s)); }
	.trio h3 { font-size: calc(36px * var(--s)); gap: calc(12px * var(--s)); }
	.trio p { font-size: max(16px, calc(16px * var(--s))); }
	.statement p { font-size: calc(44px * var(--s)); }
	.tracker li { gap: calc(10px * var(--s)); font-size: max(14px, calc(14px * var(--s))); }
	.project-row { padding-top: calc(32px * var(--s)); }
	.timeline { gap: 0 calc(28.8px * var(--s)); }
	.timeline li { gap: calc(12px * var(--s)); }
	.timeline .when { font-size: max(12px, calc(13px * var(--s))); }
	.timeline h3 { font-size: calc(22px * var(--s)); }
	.timeline p { font-size: max(16px, calc(16px * var(--s))); }
	.story { gap: calc(86.4px * var(--s)); }
	.story .quote-group { gap: calc(20px * var(--s)); }
	.story .quote-group > p:first-child { font-size: calc(38px * var(--s)); }
	.people { gap: calc(56px * var(--s)) calc(36px * var(--s)); }
	.person { gap: calc(8px * var(--s)); }
	.person img { margin-bottom: calc(8px * var(--s)); }
	.person h3 { font-size: calc(20px * var(--s)); }
	.person .role { font-size: max(14px, calc(14px * var(--s))); }
	.person p:last-child { font-size: max(14px, calc(15px * var(--s))); }
	.people--lead .person { column-gap: calc(24px * var(--s)); }
	.subhead { font-size: max(12px, calc(13px * var(--s))); gap: calc(10px * var(--s)); padding-top: calc(24px * var(--s)); }
	.cards { gap: calc(43.2px * var(--s)); }
	.card { gap: calc(12px * var(--s)); }
	.card img { margin-bottom: calc(8px * var(--s)); }
	.card h3 { font-size: calc(22px * var(--s)); }
	.card p:last-child { font-size: max(16px, calc(16px * var(--s))); }
	.give { gap: 0 calc(43.2px * var(--s)); }
	.give > * { gap: calc(10px * var(--s)); padding-block: calc(28px * var(--s)); }
	.give h3 { font-size: calc(22px * var(--s)); gap: calc(12px * var(--s)); }
	.give .wp-block-buttons { margin-top: calc(8px * var(--s)); }
	.note { font-size: max(14px, calc(15px * var(--s))); }
	.field__head { gap: calc(14px * var(--s)); margin-bottom: calc(56px * var(--s)); }
	.field__head h2 { font-size: calc(46px * var(--s)); }
	.soon { gap: calc(32px * var(--s)) calc(86.4px * var(--s)); padding-block: calc(72px * var(--s)) var(--section); }
	.form { gap: calc(20px * var(--s)) calc(24px * var(--s)); }
	.form label { font-size: max(14px, calc(15px * var(--s))); }
	.form input, .form select, .form textarea { min-height: max(44px, calc(48px * var(--s))); margin-top: calc(8px * var(--s)); padding: calc(12px * var(--s)) calc(14px * var(--s)); font: 400 max(16px, calc(16px * var(--s)))/1.5 var(--sans); }
	.form textarea { min-height: max(44px, calc(180px * var(--s))); }
	.form__done { padding: calc(16px * var(--s)); }
	.details { gap: calc(20px * var(--s)); font-size: max(16px, calc(16px * var(--s))); }
	.details dt { font-size: max(12px, calc(13px * var(--s))); }
	.details > dl { margin-block: calc(16px * var(--s)); }
	.form__label { font-size: max(14px, calc(15px * var(--s))); margin-bottom: calc(8px * var(--s)); }
	.form select { padding-inline-end: calc(44px * var(--s)); }
	.select__button { min-height: max(44px, calc(48px * var(--s))); padding: calc(12px * var(--s)) calc(14px * var(--s)); padding-inline-end: calc(44px * var(--s)); font: 400 max(16px, calc(16px * var(--s)))/1.5 var(--sans); }
	.select.is-invalid::after { font-size: max(14px, calc(14px * var(--s))); }
	.select__list [role="option"] { gap: calc(12px * var(--s)); min-height: max(44px, calc(44px * var(--s))); padding: calc(8px * var(--s)) calc(14px * var(--s)); font-size: max(16px, calc(16px * var(--s))); }
	.aside-note { gap: calc(10px * var(--s)); padding-top: calc(24px * var(--s)); font-size: max(16px, calc(16px * var(--s))); }
	.choices { gap: calc(12px * var(--s)); }
	.choices legend { font-size: max(14px, calc(15px * var(--s))); margin-bottom: calc(12px * var(--s)); }
	.form .choice, .choice { padding: calc(18px * var(--s)); padding-inline-start: calc(46px * var(--s)); }
	.choice strong { font-size: calc(18px * var(--s)); }
	.choice span { font-size: max(14px, calc(15px * var(--s))); }
	.choice:has(input:checked) { padding: calc(17px * var(--s)); padding-inline-start: calc(45px * var(--s)); }
	.bh-form { gap: calc(32px * var(--s)); }
	.toc { gap: calc(8px * var(--s)) calc(22px * var(--s)); padding-block: calc(28px * var(--s)) 0; font-size: max(14px, calc(15px * var(--s))); }
	.toc span { font-size: max(12px, calc(13px * var(--s))); }
	.toc a { gap: calc(8px * var(--s)); }
	.subscribe { gap: calc(12px * var(--s)); }
	.subscribe__row { gap: calc(8px * var(--s)); }
	.subscribe input { min-height: max(44px, calc(48px * var(--s))); padding: calc(12px * var(--s)) calc(14px * var(--s)); font: 400 max(16px, calc(16px * var(--s)))/1.5 var(--sans); }
	.subscribe label { font-size: max(14px, calc(15px * var(--s))); }
	.subscribe__note { font-size: max(14px, calc(14px * var(--s))); }
	.subscribe__done { font-size: max(14px, calc(15px * var(--s))); padding: calc(12px * var(--s)) calc(14px * var(--s)); }
	.letters { gap: calc(32px * var(--s)) calc(86.4px * var(--s)); padding-block: calc(64px * var(--s)); }
	.letters h2 { font-size: calc(36px * var(--s)); margin-block: calc(10px * var(--s)) calc(12px * var(--s)); }
	.foot__letters { gap: calc(16px * var(--s)) calc(32px * var(--s)); padding-block: calc(40px * var(--s)); }
	.foot__letters h2 { font-size: calc(20px * var(--s)); }
	.foot__letters p { font-size: max(14px, calc(15px * var(--s))); }
	.article-head { padding-block: calc(112px * var(--s)) calc(48px * var(--s)); gap: calc(20px * var(--s)); }
	.article-head h1 { font-size: calc(64px * var(--s)); }
	.byline { font-size: max(14px, calc(15px * var(--s))); }
	.article-body { padding-block: calc(72px * var(--s)) var(--section); gap: calc(22px * var(--s)); font-size: calc(19px * var(--s)); }
	.article-body .pull { font-size: calc(30px * var(--s)); }
	.article-body .sign { font-size: max(16px, calc(16px * var(--s))); }
	.pb-small { padding-bottom: calc(80px * var(--s)); }
	.mb-head { margin-bottom: calc(48px * var(--s)); }
	.mt-32 { margin-top: calc(32px * var(--s)); }
	.stack-40 { gap: calc(40px * var(--s)); }
	.stack-32 { gap: calc(32px * var(--s)); }
}
/* @scale:end */


/* ==========================================================================
   WordPress adapter: block markup, global styles, Contact Form 7
   ========================================================================== */
/* :root raises these above WordPress's global styles (:root :where(...)) */
html body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); letter-spacing: normal; }
/* the parent theme (Twenty Twenty-Five) tightens text by -0.1px; site-v2 does not */
:root :where(p, li, a, span, label, dd, dt, figcaption) { letter-spacing: inherit; }
:root .wp-block-image .wp-element-caption { margin: 0; }
/* in a row of actions site-v2 has a bare 15px link; here it sits in its own paragraph, so size that line the same */
:root :is(.actions, .quote-group, .aside-note) > p.link-p { font-size: max(14px, calc(15px * var(--s))); line-height: 1.65; }
/* captions keep the body line-height (the parent theme sets a tighter one) */
:root .wp-element-caption { line-height: 1.65; text-align: start; }
:root .wp-block-button__link { display: inline-flex; align-items: center; min-height: max(44px, calc(48px * var(--s))); padding: 0 calc(24px * var(--s)); border: 2px solid var(--black); border-radius: 2px; background: transparent; color: var(--black); font: 700 max(14px, calc(15px * var(--s)))/1.2 var(--sans); }
:root .wp-block-button__link:hover { background: var(--black); color: var(--page); padding-inline-end: 70px; }
main.wp-block-group, .wp-site-blocks > main { margin-block: 0; }
.wp-block-image img { display: block; }
.wp-block-buttons { gap: 12px 16px; }
.wp-block-button__link { font-family: var(--sans); text-decoration: none; }
/* the live site's Additional CSS has "a:any-link { text-decoration: none !important }", so text links need !important to keep their underline */
:root .link-p a, :root a.link, :root .article-body a, :root .aside-note a { text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 5px; }
:root .link-p a:hover, :root a.link:hover, :root .article-body a:hover { text-decoration-thickness: 2px !important; }
:root .card h3 a:hover { text-decoration: underline !important; }
.wp-block-list { margin: 0; padding: 0; list-style: none; }

/* dots kept as a class on the block, so they survive editing */
p.has-dot, p.has-dot-hollow, :is(h1, h2, h3, h4, h5, h6).has-dot, :is(h1, h2, h3, h4, h5, h6).has-dot-hollow { display: flex; align-items: center; gap: 10px; }
.has-dot::before { content: ""; display: block; width: 5px; height: 38px; margin-block: -9px -9px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='535.36 174.32 27.36 213.72'%3E%3Ccircle cx='549.04' cy='188' r='13.68' fill='%23FF6525'/%3E%3Cpath d='M555.8,232.86c.16-3.6-12.63-9.71-12.75-6.92-2.26,51.71,2.13,103.46,0,155.18-.15,3.6,12.64,9.7,12.75,6.92,2.13-51.72-2.26-103.47,0-155.18Z' fill='%23000'/%3E%3C/svg%3E") center top / 100% 100% no-repeat; }
.has-dot-hollow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px var(--orange); flex: none; }
.trio h3.has-dot { gap: 12px; }

/* Contact Form 7 */
.wpcf7 form.form, .wpcf7-form .form { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.form .wpcf7-submit { justify-self: start; min-height: 48px; padding: 0 24px; border: 2px solid var(--black); border-radius: 2px; background: transparent; color: var(--black); font: 700 15px/1 var(--sans); cursor: pointer; }
.wpcf7-spinner { margin: 12px; }
/* the general input style must not reach the submit button, and WordPress's button styles must not reach the dropdown */
:root .form .wpcf7-submit { display: inline-flex; width: auto; min-height: max(44px, calc(48px * var(--s))); margin-top: 0; padding: 0 calc(24px * var(--s)); border: 2px solid var(--black); background: transparent; color: var(--black); font-size: max(14px, calc(15px * var(--s))); }
:root .form .wpcf7-submit:hover { background-color: var(--black); color: var(--page); box-shadow: 4px 4px 0 var(--orange); padding-inline-end: 70px;
  background-image: radial-gradient(circle closest-side, var(--orange) 96%, transparent 100%), radial-gradient(circle closest-side, var(--green) 96%, transparent 100%), radial-gradient(circle closest-side, var(--orange) 96%, transparent 100%); background-size: 13px 13px, 17px 17px, 10px 10px; background-repeat: no-repeat; background-position: calc(100% - 50px) calc(100% - 8.00px), calc(100% - 33px) calc(100% - 21.10px), calc(100% - 17px) calc(100% - 12.09px);
  animation: btn-dots-input 5.5s linear infinite; }
:root .form .wpcf7-submit { transition: background-color .2s, color .2s, box-shadow .2s, padding .25s; }
/* the send button is an input, which cannot hold pseudo-elements, so its dots are background layers */
@keyframes btn-dots-input {
	0% { background-position: calc(100% - 50px) calc(100% - 8.00px), calc(100% - 33px) calc(100% - 21.10px), calc(100% - 17px) calc(100% - 12.09px); }
	2.5% { background-position: calc(100% - 50px) calc(100% - 8.09px), calc(100% - 33px) calc(100% - 21.56px), calc(100% - 17px) calc(100% - 11.13px); }
	5% { background-position: calc(100% - 50px) calc(100% - 8.34px), calc(100% - 33px) calc(100% - 21.86px), calc(100% - 17px) calc(100% - 10.27px); }
	7.5% { background-position: calc(100% - 50px) calc(100% - 8.76px), calc(100% - 33px) calc(100% - 21.99px), calc(100% - 17px) calc(100% - 9.52px); }
	10% { background-position: calc(100% - 50px) calc(100% - 9.34px), calc(100% - 33px) calc(100% - 21.95px), calc(100% - 17px) calc(100% - 8.90px); }
	12.5% { background-position: calc(100% - 50px) calc(100% - 10.05px), calc(100% - 33px) calc(100% - 21.74px), calc(100% - 17px) calc(100% - 8.44px); }
	15% { background-position: calc(100% - 50px) calc(100% - 10.89px), calc(100% - 33px) calc(100% - 21.37px), calc(100% - 17px) calc(100% - 8.14px); }
	17.5% { background-position: calc(100% - 50px) calc(100% - 11.82px), calc(100% - 33px) calc(100% - 20.83px), calc(100% - 17px) calc(100% - 8.01px); }
	20% { background-position: calc(100% - 50px) calc(100% - 12.84px), calc(100% - 33px) calc(100% - 20.16px), calc(100% - 17px) calc(100% - 8.05px); }
	22.5% { background-position: calc(100% - 50px) calc(100% - 13.90px), calc(100% - 33px) calc(100% - 19.35px), calc(100% - 17px) calc(100% - 8.26px); }
	25% { background-position: calc(100% - 50px) calc(100% - 15.00px), calc(100% - 33px) calc(100% - 18.44px), calc(100% - 17px) calc(100% - 8.63px); }
	27.5% { background-position: calc(100% - 50px) calc(100% - 16.10px), calc(100% - 33px) calc(100% - 17.45px), calc(100% - 17px) calc(100% - 9.17px); }
	30% { background-position: calc(100% - 50px) calc(100% - 17.16px), calc(100% - 33px) calc(100% - 16.39px), calc(100% - 17px) calc(100% - 9.84px); }
	32.5% { background-position: calc(100% - 50px) calc(100% - 18.18px), calc(100% - 33px) calc(100% - 15.30px), calc(100% - 17px) calc(100% - 10.65px); }
	35% { background-position: calc(100% - 50px) calc(100% - 19.11px), calc(100% - 33px) calc(100% - 14.20px), calc(100% - 17px) calc(100% - 11.56px); }
	37.5% { background-position: calc(100% - 50px) calc(100% - 19.95px), calc(100% - 33px) calc(100% - 13.12px), calc(100% - 17px) calc(100% - 12.55px); }
	40% { background-position: calc(100% - 50px) calc(100% - 20.66px), calc(100% - 33px) calc(100% - 12.09px), calc(100% - 17px) calc(100% - 13.61px); }
	42.5% { background-position: calc(100% - 50px) calc(100% - 21.24px), calc(100% - 33px) calc(100% - 11.13px), calc(100% - 17px) calc(100% - 14.70px); }
	45% { background-position: calc(100% - 50px) calc(100% - 21.66px), calc(100% - 33px) calc(100% - 10.27px), calc(100% - 17px) calc(100% - 15.80px); }
	47.5% { background-position: calc(100% - 50px) calc(100% - 21.91px), calc(100% - 33px) calc(100% - 9.52px), calc(100% - 17px) calc(100% - 16.88px); }
	50% { background-position: calc(100% - 50px) calc(100% - 22.00px), calc(100% - 33px) calc(100% - 8.90px), calc(100% - 17px) calc(100% - 17.91px); }
	52.5% { background-position: calc(100% - 50px) calc(100% - 21.91px), calc(100% - 33px) calc(100% - 8.44px), calc(100% - 17px) calc(100% - 18.87px); }
	55% { background-position: calc(100% - 50px) calc(100% - 21.66px), calc(100% - 33px) calc(100% - 8.14px), calc(100% - 17px) calc(100% - 19.73px); }
	57.5% { background-position: calc(100% - 50px) calc(100% - 21.24px), calc(100% - 33px) calc(100% - 8.01px), calc(100% - 17px) calc(100% - 20.48px); }
	60% { background-position: calc(100% - 50px) calc(100% - 20.66px), calc(100% - 33px) calc(100% - 8.05px), calc(100% - 17px) calc(100% - 21.10px); }
	62.5% { background-position: calc(100% - 50px) calc(100% - 19.95px), calc(100% - 33px) calc(100% - 8.26px), calc(100% - 17px) calc(100% - 21.56px); }
	65% { background-position: calc(100% - 50px) calc(100% - 19.11px), calc(100% - 33px) calc(100% - 8.63px), calc(100% - 17px) calc(100% - 21.86px); }
	67.5% { background-position: calc(100% - 50px) calc(100% - 18.18px), calc(100% - 33px) calc(100% - 9.17px), calc(100% - 17px) calc(100% - 21.99px); }
	70% { background-position: calc(100% - 50px) calc(100% - 17.16px), calc(100% - 33px) calc(100% - 9.84px), calc(100% - 17px) calc(100% - 21.95px); }
	72.5% { background-position: calc(100% - 50px) calc(100% - 16.10px), calc(100% - 33px) calc(100% - 10.65px), calc(100% - 17px) calc(100% - 21.74px); }
	75% { background-position: calc(100% - 50px) calc(100% - 15.00px), calc(100% - 33px) calc(100% - 11.56px), calc(100% - 17px) calc(100% - 21.37px); }
	77.5% { background-position: calc(100% - 50px) calc(100% - 13.90px), calc(100% - 33px) calc(100% - 12.55px), calc(100% - 17px) calc(100% - 20.83px); }
	80% { background-position: calc(100% - 50px) calc(100% - 12.84px), calc(100% - 33px) calc(100% - 13.61px), calc(100% - 17px) calc(100% - 20.16px); }
	82.5% { background-position: calc(100% - 50px) calc(100% - 11.82px), calc(100% - 33px) calc(100% - 14.70px), calc(100% - 17px) calc(100% - 19.35px); }
	85% { background-position: calc(100% - 50px) calc(100% - 10.89px), calc(100% - 33px) calc(100% - 15.80px), calc(100% - 17px) calc(100% - 18.44px); }
	87.5% { background-position: calc(100% - 50px) calc(100% - 10.05px), calc(100% - 33px) calc(100% - 16.88px), calc(100% - 17px) calc(100% - 17.45px); }
	90% { background-position: calc(100% - 50px) calc(100% - 9.34px), calc(100% - 33px) calc(100% - 17.91px), calc(100% - 17px) calc(100% - 16.39px); }
	92.5% { background-position: calc(100% - 50px) calc(100% - 8.76px), calc(100% - 33px) calc(100% - 18.87px), calc(100% - 17px) calc(100% - 15.30px); }
	95% { background-position: calc(100% - 50px) calc(100% - 8.34px), calc(100% - 33px) calc(100% - 19.73px), calc(100% - 17px) calc(100% - 14.20px); }
	97.5% { background-position: calc(100% - 50px) calc(100% - 8.09px), calc(100% - 33px) calc(100% - 20.48px), calc(100% - 17px) calc(100% - 13.12px); }
	100% { background-position: calc(100% - 50px) calc(100% - 8.00px), calc(100% - 33px) calc(100% - 21.10px), calc(100% - 17px) calc(100% - 12.09px); }
}
:root .select__button { border: 1px solid #8A7F7A; border-radius: 2px; background-color: #FFFFFF; color: var(--ink); font: 400 max(16px, calc(16px * var(--s)))/1.5 var(--sans); padding: calc(12px * var(--s)) 44px calc(12px * var(--s)) 14px; min-height: max(44px, calc(48px * var(--s))); }
:root .select__button.is-placeholder { color: var(--muted); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #B2471A; }
.select:has(+ select[aria-invalid="true"]) .select__button { border: 2px solid #B2471A; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border: 0; border-top: 2px solid var(--green); background: var(--warm); font-size: 15px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-top-color: #B2471A; }
.field .wpcf7 form .wpcf7-response-output { background: var(--paper); border-top-color: var(--black); }
/* Beit Hayat: Contact Form 7 radio buttons drawn as cards (v2.js splits each label into title + text) */
.choices > legend, .choices > .wpcf7-form-control-wrap { grid-column: 1 / -1; }
.bh-form .wpcf7 .form { max-width: none; }
.choices .wpcf7-radio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choices .wpcf7-list-item { margin: 0; }
.choices .wpcf7-list-item > label { height: 100%; }
@media (max-width: 860px) { .choices .wpcf7-radio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .choices .wpcf7-radio { grid-template-columns: minmax(0, 1fr); } }

/* article template (templates/single.html) */
.article-head .wp-block-post-terms a { color: inherit; text-decoration: none; }
.article-head .wp-block-post-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; }
@media (min-width: 992px) { .article-head .wp-block-post-title { font-size: calc(64px * var(--s)); } }
.article-image .wp-block-post-featured-image { margin: 0; }
.article-image .wp-block-post-featured-image img { width: 100%; max-width: 880px; aspect-ratio: 16 / 9; object-fit: cover; }
.more { display: flex; flex-direction: column; gap: 12px; }

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

/* ==========================================================================
   Dark band: the call to give (home and Support), ink with cream text
   ========================================================================== */
.field:has(.give) { background: var(--ink); color: var(--page); }
.field:has(.give) .label, .field:has(.give) .note, .field:has(.give) :is(h2, h3, p, li) { color: var(--page); }
.field:has(.give) .give > * { border-top-color: rgb(253 239 212 / .28); }
.field:has(.give) .btn, .field:has(.give) .wp-block-button__link { color: var(--page); border-color: var(--page); background: transparent; }
.field:has(.give) .btn:hover, .field:has(.give) .wp-block-button__link:hover { background: var(--page); color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.field:has(.give) .dot, .field:has(.give) .has-dot::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='535.36 174.32 27.36 213.72'%3E%3Ccircle cx='549.04' cy='188' r='13.68' fill='%23FF6525'/%3E%3Cpath d='M555.8,232.86c.16-3.6-12.63-9.71-12.75-6.92-2.26,51.71,2.13,103.46,0,155.18-.15,3.6,12.64,9.7,12.75,6.92,2.13-51.72-2.26-103.47,0-155.18Z' fill='%23FDEFD4'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Scroll motion (script in v2.js; only when the visitor has not asked for less motion)
   ========================================================================== */
/* things rise and fade in */
.motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.motion .rv.in { opacity: 1; transform: none; }
/* titles are drawn letter by letter: an outline first, then the fill */
.motion .dl .w { display: inline-block; white-space: nowrap; }
.motion .dl .l { opacity: 0; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.2px currentColor;
	transition: opacity .12s linear, -webkit-text-fill-color .45s ease, -webkit-text-stroke-width .45s ease;
	transition-delay: calc(var(--i) * 24ms), calc(var(--i) * 24ms + 300ms), calc(var(--i) * 24ms + 300ms); }
.motion .dl.in .l { opacity: 1; -webkit-text-fill-color: currentColor; -webkit-text-stroke-width: 0; }
/* lines draw themselves */
/* the hero line draws down on load, then keeps growing as you scroll (its length is --ly, set by the script) */
.motion .hero__media::before { transform: rotate(.6deg) scaleY(var(--ly, 0)); transform-origin: 50% 0; transition: transform 1.1s var(--ease) .3s; }
.motion .hero__media.live::before { transition: transform .3s linear; }
.motion .horizon__sky::after { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) .15s; }
.motion .horizon__sky.drawn::after { transform: scaleX(1); }
.motion .tracker::before, .motion .timeline::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.motion .tracker.drawn::before, .motion .timeline.drawn::before { transform: scaleX(1); }
.motion .story .quote-group::before, .motion .founder .quote::before { transform: rotate(.6deg) scaleY(0); transform-origin: 50% 0; transition: transform 1s var(--ease) .2s; }
.motion .story .quote-group.drawn::before, .motion .founder .quote.drawn::before { transform: rotate(.6deg) scaleY(1); }
/* the hero photo drifts a little slower than the page (its line goes with it) */
.motion .hero__media { transform: translateY(var(--py, 0px)); }
/* reading progress: one line across the top; the first half grows in orange, then the rest in green */
.zx-progress { position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); height: 4px; z-index: 300; pointer-events: none; }
.zx-progress i { position: absolute; top: 0; width: 50%; height: 4px; transform: scaleX(0); transform-origin: left; }
.zx-progress i:first-child { inset-inline-start: 0; background: var(--orange); }
.zx-progress i:last-child { inset-inline-start: 50%; background: var(--green); }

/* solid colour shadows: a block of orange or green offset behind a photo, the same idea as the buttons' hover */
/* the founder photo: a green block behind it. It slides out as the photo scrolls into view, then the photo and the block move at different paces, so there is depth */
.founder__photo { position: relative; --so: 14px; }
.founder__photo img { display: block; position: relative; z-index: 1; transform: translateY(calc(var(--pp, 0) * -6px)); }
.founder__photo::before { content: ""; position: absolute; inset: 0; background: var(--green); transform: translate(var(--so), calc(var(--so) + var(--pp, 0) * 6px)); }
.motion .founder__photo::before { transform: translate(0, 0); transition: transform 1.1s var(--ease) .2s; }
.motion .founder__photo.drawn::before { transform: translate(var(--so), calc(var(--so) + var(--pp, 0) * 6px)); }
.motion .founder__photo.drawn.live::before { transition: transform .12s linear; }
.person img { box-shadow: 7px 7px 0 var(--green); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.person:nth-child(even) img { box-shadow: 7px 7px 0 var(--orange); }
.person:hover img { transform: translate(-2px, -2px); }
.person:nth-child(odd):hover img { box-shadow: 10px 10px 0 var(--green); }
.person:nth-child(even):hover img { box-shadow: 10px 10px 0 var(--orange); }
@media (max-width: 560px) { .founder__photo { --so: 9px; } }

/* ---- more colour, in small touches ---- */
/* the three Beit Hayat photos stand on the line with a thin offset block, green, orange, green */
.horizon__photos figure:nth-child(odd) img { box-shadow: 8px 8px 0 var(--green); }
.horizon__photos figure:nth-child(even) img { box-shadow: 8px 8px 0 var(--orange); }
/* article cards: a block of colour slides out behind the picture on hover */
.card img { box-shadow: 0 0 0 0 var(--orange); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card:nth-child(even) img { box-shadow: 0 0 0 0 var(--green); }
.card:hover img { box-shadow: 10px 10px 0 var(--orange); transform: translate(-3px, -3px); }
.card:nth-child(even):hover img { box-shadow: 10px 10px 0 var(--green); }
/* the numbers in the facts get a short stroke as they count up */
.facts dd.num { position: relative; padding-bottom: 8px; }
.facts dd.num::after { content: ""; position: absolute; inset-inline-end: 0; bottom: 0; width: 44px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 1.5s var(--ease); }
.facts div:nth-child(even) dd.num::after { background: var(--green); }
.facts dd.num.go::after { transform: scaleX(1); }
/* quotes: the first word in the dark orange */
.q1 { color: var(--z-orange-800); }

/* ---- a little wind (only when motion is allowed) ---- */
/* the Beit Hayat photos hang from their top edge and swing for a moment when hovered, then settle */
@keyframes frame-swing { 0% { rotate: 0deg; } 18% { rotate: 2.4deg; } 38% { rotate: -1.7deg; } 56% { rotate: 1deg; } 74% { rotate: -.5deg; } 100% { rotate: 0deg; } }
.motion .horizon__photos figure img { transform-origin: 50% 0; }
.motion .horizon__photos figure:hover img { animation: frame-swing 1.8s ease-out; }
/* the team photos on People swing the same way when a person is hovered */
.motion .person img { transform-origin: 50% 0; }
.motion .person:hover img { animation: frame-swing 1.8s ease-out; }

/* ---- parallax: photos drift inside their frames as the page scrolls (parallax.js, the same idea as on Fanous) ----
   parallax.js wraps each photo in <span class="px"> (only when motion is allowed) and sets --pxy, the drift.
   The photo is drawn 25% larger than its frame, a fixed size that does not zoom while scrolling, so the drift never shows an edge.
   The span is the frame: it clips the photo, so the colour blocks, hover moves and swing that were drawn on the photo move to the span. */
.px { display: block; position: relative; overflow: hidden; }
.px > img { display: block; margin: 0 !important; transform: translate3d(0, var(--pxy, 0px), 0) scale(1.25) !important; transform-origin: 50% 50% !important; box-shadow: none !important; animation: none !important; transition: none !important; will-change: transform; }
.horizon__photos figure:nth-child(odd) .px { box-shadow: 8px 8px 0 var(--green); }
.horizon__photos figure:nth-child(even) .px { box-shadow: 8px 8px 0 var(--orange); }
.horizon__photos .px { transform-origin: 50% 0; }
.horizon__photos figure:hover .px { animation: frame-swing 1.8s ease-out; }
.now-photo .px { box-shadow: 8px 8px 0 var(--orange); }
.horizon__sky .figure .px { width: fit-content; max-width: 100%; margin-inline: auto; }
.article-image .px { max-width: 880px; }
.founder__photo .px { z-index: 1; transform: translateY(calc(var(--pp, 0) * -6px)); }
.card .px { margin-bottom: 8px; box-shadow: 0 0 0 0 var(--orange); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card:nth-child(even) .px { box-shadow: 0 0 0 0 var(--green); }
.card:hover .px { box-shadow: 10px 10px 0 var(--orange); transform: translate(-3px, -3px); }
.card:nth-child(even):hover .px { box-shadow: 10px 10px 0 var(--green); }
.person .px { margin-bottom: 8px; box-shadow: 7px 7px 0 var(--green); transform-origin: 50% 0; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.person:nth-child(even) .px { box-shadow: 7px 7px 0 var(--orange); }
.person:hover .px { transform: translate(-2px, -2px); animation: frame-swing 1.8s ease-out; }
.person:nth-child(odd):hover .px { box-shadow: 10px 10px 0 var(--green); }
.person:nth-child(even):hover .px { box-shadow: 10px 10px 0 var(--orange); }
.people--lead .person .px { grid-row: span 4; margin: 0; }
@media (max-width: 480px) { .people--lead .person .px { grid-row: auto; margin-bottom: 8px; } }

/* ==========================================================================
   Three dark moments: the home hero, the founder's story, and the "why culture matters now" band on About
   ========================================================================== */
.hero { color: var(--page); }
.hero :is(h1, p, .eyebrow, .label) { color: var(--page); }
.hero .eyebrow, .hero .label { color: rgb(253 239 212 / .85); }
.hero .btn, .hero .wp-block-button__link { color: var(--page); border-color: var(--page); background: transparent; }
.hero .btn:hover, .hero .wp-block-button__link:hover { background: var(--page); color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.hero .link, .hero .link-p a { color: var(--page); }
.hero .link:hover, .hero .link-p a:hover { color: var(--page); }
.hero .dot, .hero .has-dot::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='535.36 174.32 27.36 213.72'%3E%3Ccircle cx='549.04' cy='188' r='13.68' fill='%23FF6525'/%3E%3Cpath d='M555.8,232.86c.16-3.6-12.63-9.71-12.75-6.92-2.26,51.71,2.13,103.46,0,155.18-.15,3.6,12.64,9.7,12.75,6.92,2.13-51.72-2.26-103.47,0-155.18Z' fill='%23FDEFD4'/%3E%3C/svg%3E"); }

/* the founder's story: a full-width dark band behind the section */
.founder { position: relative; isolation: isolate; background: none; border-top: 0; color: var(--page); }
.founder::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--ink); }
.founder :is(h2, p, blockquote, .quote, .label, span) { color: var(--page); }
.founder .label { color: rgb(253 239 212 / .85); }
.founder h2 span { color: rgb(253 239 212 / .75); }
.founder .q1 { color: var(--orange); }
.founder .dot, .founder .has-dot::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='535.36 174.32 27.36 213.72'%3E%3Ccircle cx='549.04' cy='188' r='13.68' fill='%23FF6525'/%3E%3Cpath d='M555.8,232.86c.16-3.6-12.63-9.71-12.75-6.92-2.26,51.71,2.13,103.46,0,155.18-.15,3.6,12.64,9.7,12.75,6.92,2.13-51.72-2.26-103.47,0-155.18Z' fill='%23FDEFD4'/%3E%3C/svg%3E"); }
.founder .btn, .founder .wp-block-button__link { color: var(--page); border-color: var(--page); background: transparent; }
.founder .btn:hover, .founder .wp-block-button__link:hover { background: var(--page); color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.founder .link, .founder .link-p a { color: var(--page); }

/* the "why culture matters now" band on About: ink, with cream words */
.horizon__sky:has(.now-photo) { background: var(--ink); color: var(--page); }
.horizon__sky:has(.now-photo) :is(h2, p, .label) { color: var(--page); }
.horizon__sky:has(.now-photo) .label { color: rgb(253 239 212 / .85); }
.horizon__sky:has(.now-photo) .dot, .horizon__sky:has(.now-photo) .has-dot::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='535.36 174.32 27.36 213.72'%3E%3Ccircle cx='549.04' cy='188' r='13.68' fill='%23FF6525'/%3E%3Cpath d='M555.8,232.86c.16-3.6-12.63-9.71-12.75-6.92-2.26,51.71,2.13,103.46,0,155.18-.15,3.6,12.64,9.7,12.75,6.92,2.13-51.72-2.26-103.47,0-155.18Z' fill='%23FDEFD4'/%3E%3C/svg%3E"); }

/* ==========================================================================
   More wind: the logo's dots, the ز mark, the footer sprig, the plant in the sent message
   ========================================================================== */
/* the logo's six dots lift in a wave, right to left, when the logo is hovered */
@keyframes dot-wave { 0%, 100% { translate: 0 0; } 35% { translate: 0 -26px; } 65% { translate: 0 6px; } }
.motion .hz__logo:hover .logo-svg circle, .motion .zx-site-logo a:hover .logo-svg circle { animation: dot-wave 1.1s ease-in-out; }
.logo-svg circle:nth-of-type(2) { animation-delay: .09s !important; }
.logo-svg circle:nth-of-type(3) { animation-delay: .18s !important; }
.logo-svg circle:nth-of-type(4) { animation-delay: .27s !important; }
.logo-svg circle:nth-of-type(5) { animation-delay: .36s !important; }
.logo-svg circle:nth-of-type(6) { animation-delay: .45s !important; }

/* the ز mark hangs from its top and settles when it first comes into view */
@keyframes zay-settle { 0% { rotate: -16deg; } 30% { rotate: 8deg; } 55% { rotate: -4deg; } 78% { rotate: 1.5deg; } 100% { rotate: 0deg; } }
.motion .dot:not(.dot--hollow), .motion .has-dot::before { transform-origin: 50% 0; }
.motion .dot.swing:not(.dot--hollow), .motion .has-dot.swing::before { animation: zay-settle 1.5s ease-out; }

/* a small plant at the end of the page, growing from the colour strip, swaying in the wind */
.foot { position: relative; }
.sprig { display: none; }
@media (min-width: 1000px) {
	.sprig { display: block; position: absolute; inset-inline-end: max(var(--gutter), 32px); bottom: 24px; width: 104px; pointer-events: none; }
	.sprig svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; }
}
.sprig .st { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.sprig .sl { fill: var(--green); stroke: var(--ink); stroke-width: 1.5; }
.sprig .sb { fill: var(--orange); stroke: var(--ink); stroke-width: 1.5; }
@keyframes sprig-sway { 0% { rotate: -1.8deg; } 100% { rotate: 1.8deg; } }
.motion .sprig svg { animation: sprig-sway 5.5s ease-in-out infinite alternate; }
@keyframes leaf-sway { 0%, 100% { rotate: -5deg; } 50% { rotate: 6deg; } }
.motion .sprig .sl { transform-origin: 0 0; animation: leaf-sway 3.4s ease-in-out infinite; }
/* each leaf keeps its own timing (d1, d2 in the footer partial), so the drawing order can change without changing the swing */
.motion .sprig .sl.d1 { animation-delay: -1.1s; }
.motion .sprig .sl.d2 { animation-delay: -2.3s; }

/* in a message that says the form was sent, a small plant grows */
.mini-plant { display: block; width: 54px; height: auto; margin-top: 10px; overflow: visible; }
.mini-plant .mp-stem { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.mini-plant .mp-leaf { fill: var(--green); stroke: currentColor; stroke-width: 1.5; }
.mini-plant .mp-bud { fill: var(--orange); stroke: currentColor; stroke-width: 1.5; }
.motion .mini-plant .mp-stem { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s var(--ease); }
.motion .mini-plant .mp-leaf, .motion .mini-plant .mp-bud { transform-box: fill-box; transform-origin: 0 50%; transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(.5s + var(--k, 0) * .12s); }
.motion .mini-plant .mp-bud { transform-origin: 50% 50%; }
.motion .mini-plant.grow .mp-stem { stroke-dashoffset: 0; }
.motion .mini-plant.grow .mp-leaf, .motion .mini-plant.grow .mp-bud { transform: scale(1); }

/* ==========================================================================
   Arabic (right to left): the pages under ar/ (WordPress: under /ar/) carry <html lang="ar" dir="rtl">.
   Most of the layout already follows the reading direction (logical properties: inset-inline, padding-inline…);
   what is left here is type, and the few things CSS cannot turn round by itself.
   ========================================================================== */
html:lang(ar) { --sans: var(--arabic); }
html:lang(ar) body { line-height: 1.8; }
/* Arabic letters join: no letter-spacing anywhere (it breaks the joins), and taller lines for the dots and marks */
:lang(ar) { letter-spacing: 0 !important; }
html:lang(ar) :is(h1, h2, h3, blockquote, .statement p, .story .quote-group > p:first-child, .places__name, .places__label) { line-height: 1.4; }
html:lang(ar) :is(.eyebrow, .label, .tag, .stage, .places__region, .subhead, .details dt, .toc span, .timeline .when) { font-size: 14px; }
html:lang(ar) .hz__menu { font-size: 15px; }
/* lines that draw themselves start on the reading side */
html[dir="rtl"] .horizon__sky::after, html[dir="rtl"] .tracker::before, html[dir="rtl"] .timeline::before, html[dir="rtl"] .zx-progress i { transform-origin: right; }
html[dir="rtl"] .facts dd.num::after { transform-origin: left; }
/* dropdown arrows sit at the end of the field */
html[dir="rtl"] :is(.chevron, .select__button, .form select) { background-position: left 14px center; }
html:lang(ar) .select.is-invalid::after { content: "يرجى اختيار أحد الخيارات."; }
