/**
 * /en/ — the only LTR page on the site. Builds on inner.css (hero, .ayh-split, .ayh-lines, .ayh-note) and
 * components.css, which are written with logical properties and so need nothing LTR-specific here. Latin
 * numbered steps only (the Persian-digit `.ayh-steps` from services.css is not used on this page).
 */

.ayh-crumb {
	margin-block: 0 0.75rem;
	color: var(--wp--preset--color--brass-light);
}

.ayh-crumb a {
	color: inherit;
	text-decoration: none;
}

.ayh-crumb a:hover,
.ayh-crumb a:focus-visible {
	color: var(--wp--preset--color--ivory);
}

/* Numbered steps with Latin numerals (the house's persian-counter .ayh-steps does not fit an English page) */
.ayh-steps-en {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ayh-step-en;
}

.ayh-steps-en li {
	position: relative;
	counter-increment: ayh-step-en;
	padding-block: 1.1rem;
	padding-inline-start: 2.75rem;
	font-size: var(--wp--preset--font-size--large);
	border-block-end: 1px solid var(--wp--preset--color--line);
}

.ayh-steps-en li:first-child {
	padding-block-start: 0;
}

.ayh-steps-en li::before {
	content: counter(ayh-step-en);
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 1.1rem;
	inline-size: 1.75rem;
	block-size: 1.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--brass-light);
	color: var(--wp--preset--color--ink);
	/* Peyda's digits are drawn as Persian numerals even for Latin codepoints; this circle needs Latin 1-4. */
	font-family: var(--wp--preset--font-family--vazirmatn);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ayh-steps-en li:first-child::before {
	inset-block-start: 0;
}

/* Recent work: images only, no titles or links (the case studies themselves are in Persian) */
.ayh-en-work__list {
	display: grid;
	gap: 1.25rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

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

@media (min-width: 64rem) {
	.ayh-en-work__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ayh-en-work__list > .wp-block-post {
	margin: 0;
}

.ayh-en-work__image {
	margin: 0;
	overflow: hidden;
	border-radius: 0.5rem;
	background: var(--wp--preset--color--ink);
}

.ayh-en-work__image img {
	display: block;
	inline-size: 100%;
	block-size: auto;
	object-fit: cover;
}

/* Closing band: contact only, no form — the Persian /start/ form never reaches an English visitor */
.ayh-en-cta {
	position: relative;
	isolation: isolate;
	overflow: clip;
	margin-inline: -1.25rem;
	padding-inline: 1.25rem;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.ayh-en-cta__inner > * {
	margin-block: 0 1rem;
	max-inline-size: 36rem;
}

.ayh-en-cta .ayh-lead {
	color: color-mix(in srgb, var(--wp--preset--color--ivory) 78%, transparent);
}

.ayh-en-cta .ayh-lead a {
	color: var(--wp--preset--color--brass-light);
}

/* The form's per-field error text (.ayh-field__error, start.css) is tuned for 4.5:1 on ivory/white; this
 * section's own ink background needs a lighter shade to keep that contrast. */
.ayh-en-cta {
	--ayh-error: #ff9b8a;
}

.ayh-en-cta .ayh-intake {
	margin-block-start: 2.5rem;
	max-inline-size: 36rem;
}

.ayh-en-cta .ayh-lead a:hover,
.ayh-en-cta .ayh-lead a:focus-visible {
	text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ayh-en-cta .ayh-lead a {
		transition: none;
	}
}
