/**
 * صفحه‌ی خانه‌ی اینترلن — `templates/site/page-home.php`
 *
 * زبان بصری: کاغذ کرمی + سبز اینترلن + کلاژ؛ بین گالری پادکست و ژورنال.
 * همه‌چیز زیر `.ilh` است تا روی بقیه‌ی سایت نشت نکند.
 *
 * ⚠️ سه چیز از قالب به این صفحه می‌رسد و صریحاً خنثی شده‌اند:
 *   ۱. `body { line-height: 34px }` — مقدار پیکسلی به ارث می‌رسد و هر متن
 *      کوچکی را از هم می‌پاشد؛ `.ilh` بی‌واحد بازنشانی‌اش می‌کند.
 *   ۲. `body a` و `body a:hover` (رنگ پیوند پیشخوان) — `a:hover` ویژگی
 *      0-1-2 دارد و از سلکتور تک‌کلاسه جلو می‌زند؛ پس هر پیوند اینجا با
 *      `.ilh a.x` (0-2-1) نوشته شده.
 *   ۳. بوت‌استرپ RTL: فاصله‌ی `h*`/`p`، `padding-right` فهرست‌ها و
 *      `line-height: 1.2` تیترها.
 *
 * ⚠️ `[hidden]` روی عنصری که `display` گرفته بی‌اثر است؛ برای زبانه‌ها و
 * نظرها قاعده‌ی صریح دارد (پایین‌تر).
 */

/* ============ پایه ============ */

.ilh {
	--ilh-green: #00843D;
	--ilh-green-700: #006B31;
	--ilh-forest: #07432B;
	--ilh-ink: #12261D;
	--ilh-text: #33413A;
	--ilh-muted: #66736C;
	--ilh-paper: #F8F6EF;
	--ilh-paper-2: #F1EEE4;
	--ilh-card: #FFFEFA;
	--ilh-mint: #E4F1E8;
	--ilh-line: rgba(18, 38, 29, .10);
	--ilh-ochre: #D5A437;
	--ilh-ochre-700: #A87A16;
	--ilh-brick: #B95D44;
	--ilh-shadow-sm: 0 1px 2px rgba(18, 38, 29, .05), 0 6px 18px rgba(18, 38, 29, .05);
	--ilh-shadow: 0 2px 4px rgba(18, 38, 29, .05), 0 16px 36px rgba(18, 38, 29, .10);
	--ilh-gutter: 24px;
	--ilh-ease: cubic-bezier(.2, .7, .2, 1);

	font-family: IRANYekanX, Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: var(--ilh-text);
	background: var(--ilh-paper);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

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

.ilh h1,
.ilh h2,
.ilh h3,
.ilh p,
.ilh ul,
.ilh ol,
.ilh figure,
.ilh blockquote {
	margin: 0;
	padding: 0;
}

.ilh h1,
.ilh h2,
.ilh h3 {
	font-family: inherit;
	color: var(--ilh-ink);
	letter-spacing: 0;
}

.ilh ul,
.ilh ol {
	list-style: none;
}

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

.ilh a,
.ilh a:hover {
	color: inherit;
	text-decoration: none;
}

.ilh a:focus-visible,
.ilh button:focus-visible {
	outline: 3px solid var(--ilh-ochre);
	outline-offset: 3px;
}

.ilh .ilh-i {
	display: block;
	flex-shrink: 0;
}

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

.ilh-wrap {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--ilh-gutter);
}

.ilh-sec {
	padding-block: 26px;
}

/* ============ تیتر بخش‌ها ============ */

.ilh-head {
	margin-bottom: 20px;
}

.ilh .ilh-head h2 {
	font-size: clamp(22px, 17px + 1.1vw, 31px);
	font-weight: 700;
	line-height: 1.45;
}

.ilh-head p {
	margin-top: 4px;
	max-width: 60ch;
	font-size: 15px;
	color: var(--ilh-muted);
}

.ilh-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px 24px;
}

/* ============ دکمه‌ها ============ */

.ilh .ilh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.ilh a.ilh-btn--solid {
	background: var(--ilh-green);
	color: #fff;
	box-shadow: 0 8px 20px rgba(0, 132, 61, .20);
}

.ilh a.ilh-btn--solid:hover {
	background: var(--ilh-green-700);
	color: #fff;
	transform: translateY(-1px);
}

.ilh a.ilh-btn--ghost {
	background: rgba(255, 255, 255, .55);
	border-color: rgba(18, 38, 29, .22);
	color: var(--ilh-ink);
}

.ilh a.ilh-btn--ghost:hover {
	border-color: var(--ilh-green);
	color: var(--ilh-green);
}

.ilh a.ilh-btn--light {
	background: #fff;
	color: var(--ilh-forest);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.ilh a.ilh-btn--light:hover {
	background: var(--ilh-paper);
	color: var(--ilh-forest);
	transform: translateY(-1px);
}

.ilh .ilh-btn .ilh-i {
	transition: transform .25s var(--ilh-ease);
}

.ilh a.ilh-btn:hover .ilh-i {
	transform: translateX(-4px);
}

.ilh .ilh-btn--sm {
	min-height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 14px;
}

/* ============ سردر ============ */

/* overflow: تصویر هنگام اسکرول پایین می‌رود (parallax) و نباید روی بخش بعد بیفتد */
.ilh-hero {
	--ilh-bleed: max(var(--ilh-gutter), calc((100vw - 1240px) / 2 + var(--ilh-gutter)));
	overflow: hidden;
	padding-block: 18px 10px;
	background:
		radial-gradient(60rem 30rem at 85% 0%, rgba(213, 164, 55, .10), transparent 70%),
		var(--ilh-paper);
}

.ilh-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	align-items: center;
	gap: 16px;
}

.ilh-hero__text {
	max-width: 540px;
	padding-block: 24px;
}

.ilh .ilh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ilh-green);
}

.ilh-eyebrow::after {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--ilh-ochre);
}

.ilh .ilh-hero__title {
	margin-top: 14px;
	font-size: clamp(34px, 20px + 2.9vw, 60px);
	font-weight: 800;
	line-height: 1.28;
}

/* خط دست‌کشیده‌ی زیر «با تو» — SVG درون‌خطی، بدون درخواست */
.ilh-mark {
	position: relative;
	white-space: nowrap;
	z-index: 0;
}

.ilh-mark::after {
	content: "";
	position: absolute;
	inset-inline: -4px;
	bottom: .02em;
	height: .32em;
	z-index: -1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 6 90 4 197 9' fill='none' stroke='%23D5A437' stroke-width='8' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.ilh .ilh-hero__lead {
	margin-top: 16px;
	font-size: clamp(18px, 16px + .5vw, 22px);
	font-weight: 500;
	line-height: 1.6;
	color: var(--ilh-ink);
}

.ilh .ilh-hero__body {
	margin-top: 8px;
	max-width: 46ch;
	font-size: 16px;
	color: var(--ilh-muted);
}

.ilh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.ilh-proof {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ilh-muted);
}

.ilh-proof strong {
	color: var(--ilh-ink);
	font-weight: 700;
}

.ilh-proof__faces {
	display: flex;
	flex-shrink: 0;
}

.ilh-proof__faces img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--ilh-paper);
	object-fit: cover;
}

.ilh-proof__faces img + img {
	margin-inline-start: -10px;
}

/**
 * تصویر تا لبه‌ی چپ صفحه می‌رود و لبه‌ی کنار متن محو می‌شود.
 *
 * ⚠️ `multiply` لازم است: زمینه‌ی خودِ تصویر سفیدِ کاغذی است و بدون آن یک
 * مستطیل روشن روی کاغذ کرمی دیده می‌شد.
 *
 * ⚠️ ماسک روی خودِ `img` است، نه روی `figure`. ماسک یک stacking context
 * می‌سازد و `multiply` فقط با پس‌زمینه‌ی درون همان context ترکیب می‌شود —
 * ماسک روی والد یعنی ترکیب با «هیچ» و برگشتن همان مستطیل سفید.
 *
 * ⚠️ `.ilh .` لازم است: ریست `.ilh figure { margin: 0 }` ویژگی 0-1-1 دارد و
 * بیرون‌زدگی تک‌کلاسه را بی‌صدا صفر می‌کرد.
 */
.ilh .ilh-hero__art {
	margin-inline-end: calc(-1 * var(--ilh-bleed));
}

.ilh-hero__art img {
	width: 100%;
	mix-blend-mode: multiply;
	-webkit-mask-image: linear-gradient(to left, transparent 0, #000 9%);
	mask-image: linear-gradient(to left, transparent 0, #000 9%);
}

/* ============ پنل‌ها ============ */

.ilh-panel {
	padding: 28px;
	border: 1px solid var(--ilh-line);
	border-radius: 22px;
	background: var(--ilh-paper-2);
}

.ilh-panel--mint {
	border-color: rgba(0, 132, 61, .12);
	background: linear-gradient(160deg, #EFF6F0 0%, #E5EFE7 100%);
}

/* ============ درگاه هدف‌ها ============ */

.ilh-goals__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.ilh a.ilh-goal {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 22px 12px 16px;
	border: 1px solid var(--ilh-line);
	border-radius: 16px;
	background: var(--ilh-card);
	color: var(--ilh-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.65;
	text-align: center;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}

.ilh a.ilh-goal:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 132, 61, .35);
	box-shadow: var(--ilh-shadow);
	color: var(--ilh-ink);
}

/* نورِ نرم زیر نشانگر — `--mx/--my` را home.js روی کارت می‌گذارد */
.ilh a.ilh-goal::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 132, 61, .12), transparent 70%);
	opacity: 0;
	transition: opacity .3s;
}

.ilh a.ilh-goal:hover::before {
	opacity: 1;
}

.ilh a.ilh-goal:hover .ilh-goal__icon .ilh-i {
	animation: ilh-pop .55s var(--ilh-ease);
}

.ilh-goal__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--ilh-mint);
	color: var(--ilh-green);
	transition: background-color .2s, color .2s;
}

.ilh a.ilh-goal:hover .ilh-goal__icon {
	background: var(--ilh-green);
	color: #fff;
}

.ilh-goal__title {
	flex: 1;
}

.ilh-goal__go {
	color: var(--ilh-green);
	opacity: .45;
	transition: opacity .2s, transform .2s;
}

.ilh a.ilh-goal:hover .ilh-goal__go {
	opacity: 1;
	transform: translateX(-3px);
}

/* ============ سه مرحله‌ی زندگی ============ */

.ilh-stages__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ilh a.ilh-stage {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 18px;
	background: var(--ilh-paper-2);
	box-shadow: var(--ilh-shadow-sm);
	isolation: isolate;
	transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px));
	transition: box-shadow .3s, transform .35s var(--ilh-ease);
}

.ilh a.ilh-stage:hover {
	--lift: -4px;
	box-shadow: var(--ilh-shadow);
}

/* برق کاغذ زیر نشانگر */
.ilh a.ilh-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 65%);
	opacity: 0;
	transition: opacity .3s;
	pointer-events: none;
}

.ilh a.ilh-stage:hover::after {
	opacity: 1;
}

.ilh .ilh-stage__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.ilh a.ilh-stage:hover .ilh-stage__img {
	transform: scale(1.06);
}

/**
 * برچسب کاغذی کوچک — پایین و سمت شروع (راست).
 *
 * ⚠️ کوچک ماندنش مهم است: نسخه‌ی اول (۱۴px پد، عنوان ۲۱px، متن دوخطی) روی
 * چانه و کتابِ کودک می‌افتاد. پایین-راست روی لباس‌ها می‌نشیند نه صورت‌ها.
 */
.ilh-stage__tag {
	position: absolute;
	z-index: 2;
	bottom: 12px;
	inset-inline-start: 12px;
	display: flex;
	flex-direction: column;
	max-width: 62%;
	padding: 7px 12px 8px;
	border-radius: 4px 12px 12px 12px;
	background: rgba(252, 250, 244, .92);
	box-shadow: 0 4px 12px rgba(18, 38, 29, .12);
	transform: rotate(-1deg);
}

.ilh-stage__meta {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.ilh-stage__en {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--ilh-ochre-700);
}

.ilh-stage__age {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ilh-green);
}

.ilh-stage__title {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--ilh-ink);
}

.ilh-stage__text {
	font-size: 12px;
	line-height: 1.6;
	color: var(--ilh-muted);
}

.ilh-stage__go {
	position: absolute;
	z-index: 2;
	inset-inline-end: 14px;
	bottom: 14px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ilh-green);
	color: #fff;
	box-shadow: 0 6px 16px rgba(0, 60, 30, .3);
	transition: transform .2s;
}

.ilh a.ilh-stage:hover .ilh-stage__go {
	transform: translateX(-3px);
}

/* ============ مسیر یادگیری ============ */

.ilh-tabs {
	display: inline-flex;
	gap: 2px;
	padding: 4px;
	border: 1px solid var(--ilh-line);
	border-radius: 999px;
	background: var(--ilh-card);
}

.ilh .ilh-tab {
	appearance: none;
	margin: 0;
	padding: 7px 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--ilh-text);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.ilh .ilh-tab:hover {
	color: var(--ilh-green);
}

.ilh .ilh-tab[aria-selected="true"] {
	background: var(--ilh-green);
	color: #fff;
}

.ilh-route {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: 18px;
	padding-top: 8px;
}

.ilh-route__start {
	margin-top: 14px;
	padding: 6px 20px 8px;
	border-radius: 48% 52% 44% 56% / 62% 44% 56% 38%;
	background: #DCEFE3;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--ilh-green-700);
	transform: rotate(-6deg);
}

.ilh-track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.ilh-track[hidden] {
	display: none;
}

/* خط مسیر پشت دایره‌ها — دایره‌ها با حلقه‌ی هم‌رنگ کاغذ رویش را می‌پوشانند */
.ilh-track::before {
	content: "";
	position: absolute;
	top: 31px;
	inset-inline: 10%;
	border-top: 2px dashed rgba(18, 38, 29, .2);
}

.ilh-stop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	animation: ilh-rise .45s both;
	animation-delay: calc(var(--i, 0) * 70ms);
}

.ilh-stop__dot {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--t);
	color: var(--c);
	box-shadow: 0 0 0 6px var(--ilh-paper), 0 8px 18px rgba(18, 38, 29, .08);
	transition: transform .35s var(--ilh-ease), box-shadow .35s;
}

.ilh-stop:hover .ilh-stop__dot {
	transform: translateY(-4px) scale(1.07);
	box-shadow: 0 0 0 6px var(--ilh-paper), 0 0 0 8px var(--t), 0 14px 26px rgba(18, 38, 29, .12);
}

.ilh-stop__body {
	display: flex;
	flex-direction: column;
}

.ilh-stop__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--ilh-ink);
}

.ilh-stop__sub {
	font-size: 13px;
	line-height: 1.6;
	color: var(--ilh-muted);
}

.ilh-route__end {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding-inline-start: 34px;
	position: relative;
}

/* سر پیکان انتهای مسیر */
.ilh-route__end::before {
	content: "";
	position: absolute;
	top: 26px;
	inset-inline-start: 0;
	width: 12px;
	height: 12px;
	border-bottom: 2px solid rgba(18, 38, 29, .35);
	border-left: 2px solid rgba(18, 38, 29, .35);
	transform: rotate(45deg);
}

.ilh-route__flag {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #FBEED6;
	color: var(--ilh-ochre-700);
}

.ilh-route__script {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--ilh-ochre-700);
	transform: rotate(-3deg);
}

.ilh-route__end .ilh-btn {
	margin-top: 6px;
}

@keyframes ilh-rise {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

/* ============ کتاب‌ها ============ */

.ilh-carousel {
	position: relative;
}

/* ⚠️ `.ilh .` لازم است — ریست `.ilh ul { padding: 0 }` (0-1-1) padding را صفر می‌کرد و سایه و بالاآمدنِ هاور بریده می‌شد */
.ilh .ilh-books__row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 150px;
	gap: 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 10px 4px 14px;
}

.ilh-books__row::-webkit-scrollbar {
	display: none;
}

.ilh-books__row > li {
	scroll-snap-align: start;
}

.ilh a.ilh-book {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--ilh-ink);
}

.ilh-book__cover {
	position: relative;
	display: block;
	aspect-ratio: 5 / 7;
	overflow: hidden;
	border-radius: 8px 4px 4px 8px;
	background: var(--ilh-paper-2);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 24px rgba(18, 38, 29, .14);
	transition: transform .25s;
}

/* عطف کتاب — کتاب فارسی از راست باز می‌شود */
.ilh-book__cover::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 10px;
	background: linear-gradient(to left, rgba(0, 0, 0, .16), transparent);
}

.ilh .ilh-book__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ilh a.ilh-book:hover .ilh-book__cover {
	transform: translateY(-4px) rotate(-1deg);
}

.ilh-book__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}

.ilh .ilh-carousel__btn {
	position: absolute;
	top: 38%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ilh-line);
	border-radius: 50%;
	background: #fff;
	color: var(--ilh-ink);
	box-shadow: var(--ilh-shadow-sm);
	cursor: pointer;
	transition: opacity .2s, color .2s, border-color .2s;
}

.ilh .ilh-carousel__btn:hover {
	color: var(--ilh-green);
	border-color: var(--ilh-green);
}

.ilh .ilh-carousel__btn[disabled] {
	opacity: 0;
	pointer-events: none;
}

.ilh-carousel__btn--prev {
	inset-inline-start: -20px;
}

.ilh-carousel__btn--next {
	inset-inline-end: -20px;
}

/* ============ بیشتر از یک کلاس ============ */

.ilh-eco__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	padding: 30px 32px;
	overflow: hidden;
}

.ilh .ilh-eco__list {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	margin-top: 22px;
}

.ilh-eco__list > li + li {
	border-inline-start: 1px solid rgba(18, 38, 29, .08);
}

.ilh .ilh-eco__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	height: 100%;
	padding: 4px 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	color: var(--ilh-ink);
}

.ilh-eco__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: var(--ilh-green);
	box-shadow: 0 4px 12px rgba(0, 80, 40, .08);
	transition: background-color .2s, color .2s, transform .2s;
}

.ilh a.ilh-eco__item:hover {
	color: var(--ilh-green);
}

.ilh a.ilh-eco__item:hover .ilh-eco__icon {
	background: var(--ilh-green);
	color: #fff;
	transform: translateY(-2px);
}

.ilh .ilh-eco__art {
	justify-self: center;
	width: 100%;
	max-width: 420px;
}

.ilh-eco__art img {
	width: 100%;
	mix-blend-mode: multiply;
}

/* ============ پادکست و ژورنال ============ */

.ilh-beyond__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ilh-promo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	min-height: 230px;
	overflow: hidden;
	border: 1px solid var(--ilh-line);
	border-radius: 18px;
	background: #F2F0E9;
	box-shadow: var(--ilh-shadow-sm);
	transition: box-shadow .35s;
}

.ilh-promo:hover {
	box-shadow: var(--ilh-shadow);
}

.ilh-promo__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 28px 28px 26px;
}

.ilh-promo__en {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ilh-ochre-700);
}

.ilh .ilh-promo h3 {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.5;
}

.ilh-promo p {
	flex: 1;
	margin-bottom: 12px;
	font-size: 15px;
	color: var(--ilh-muted);
}

/**
 * تصویر لبه‌ی سخت دارد، بدون محوشدن — مثل نمونه‌ی ناصر.
 *
 * ⚠️ آینه نشده: هر دو تصویر نوشته‌ی دست‌نویس دارند («Small Steps Big
 * Changes»، «Read Think Grow») و آینه‌کردن آن‌ها را برعکس نشان می‌داد.
 * پادکست از چپ بریده می‌شود تا یادداشت کامل بماند.
 */
.ilh-promo__art {
	position: relative;
	overflow: hidden;
}

.ilh .ilh-promo__art img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	transition: scale 1s var(--ilh-ease);
}

.ilh .ilh-promo--journal .ilh-promo__art img {
	object-position: 40% center;
}

.ilh-promo:hover .ilh-promo__art img {
	scale: 1.05;
}

/* ============ منابع رایگان کوچک ============ */

.ilh .ilh-free {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.ilh a.ilh-free__card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid var(--ilh-line);
	border-radius: 18px;
	background: var(--ilh-card);
	color: var(--ilh-ink);
	transition: transform .3s var(--ilh-ease), box-shadow .3s, border-color .3s;
}

.ilh a.ilh-free__card:hover {
	transform: translateY(-3px);
	border-color: var(--c);
	box-shadow: var(--ilh-shadow);
	color: var(--ilh-ink);
}

.ilh-free__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--t);
	color: var(--c);
	transition: transform .35s var(--ilh-ease);
}

.ilh a.ilh-free__card:hover .ilh-free__icon {
	transform: rotate(-8deg) scale(1.08);
}

.ilh-free__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.ilh-free__body strong {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.5;
}

.ilh-free__body span {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ilh-muted);
}

.ilh-free__go {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--ilh-line);
	border-radius: 50%;
	color: var(--c);
	transition: background-color .3s, color .3s, transform .3s var(--ilh-ease), border-color .3s;
}

.ilh a.ilh-free__card:hover .ilh-free__go {
	border-color: var(--c);
	background: var(--c);
	color: #fff;
	transform: translateX(-4px);
}

/* ============ پیشرفت واقعی ============ */

.ilh-proofs__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
	gap: 32px;
}

.ilh-figures {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ilh-figure {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ilh-figure__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--ilh-mint);
	color: var(--ilh-green);
}

.ilh-figure strong {
	display: block;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--ilh-ink);
}

.ilh-figure strong + span {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ilh-muted);
}

.ilh-quotes {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ilh .ilh-quotes .ilh-carousel__btn {
	position: static;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
}

.ilh-quotes__stage {
	flex: 1;
	min-width: 0;
}

.ilh-quote {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	border: 1px solid var(--ilh-line);
	border-radius: 18px;
	background: var(--ilh-card);
	box-shadow: var(--ilh-shadow-sm);
	animation: ilh-rise .35s both;
}

.ilh-quote[hidden] {
	display: none;
}

.ilh .ilh-quote__avatar {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border: 3px solid var(--ilh-mint);
	border-radius: 50%;
	object-fit: cover;
}

.ilh-quote blockquote p {
	font-size: 15px;
	line-height: 1.9;
	color: var(--ilh-ink);
}

.ilh-quote figcaption {
	margin-top: 6px;
	font-size: 13px;
	color: var(--ilh-muted);
}

.ilh-quote figcaption strong {
	color: var(--ilh-text);
	font-weight: 700;
}

/* ============ دعوت پایانی ============ */

.ilh-cta {
	position: relative;
	isolation: isolate;
	margin-top: 36px;
	padding-block: 64px;
	overflow: hidden;
	background: var(--ilh-forest);
	text-align: center;
	color: #fff;
}

.ilh .ilh-cta__art {
	position: absolute;
	top: 0;
	z-index: -1;
	width: auto;
	max-width: 36%;
	height: 100%;
	object-fit: cover;
}

.ilh .ilh-cta__art--left {
	left: 0;
	-webkit-mask-image: linear-gradient(to right, #000 55%, transparent);
	mask-image: linear-gradient(to right, #000 55%, transparent);
}

.ilh .ilh-cta__art--right {
	right: 0;
	-webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
	mask-image: linear-gradient(to left, #000 55%, transparent);
}

.ilh .ilh-cta h2 {
	font-size: clamp(22px, 15px + 1.5vw, 34px);
	font-weight: 800;
	line-height: 1.5;
	color: #fff;
}

.ilh-cta p {
	margin-top: 6px;
	font-size: 16px;
	color: rgba(255, 255, 255, .82);
}

.ilh-cta .ilh-btn {
	margin-top: 24px;
}

/* ============ واکنش‌گرا ============ */

@media (max-width: 1100px) {
	.ilh-goals__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ilh .ilh-eco__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 18px;
	}

	.ilh-eco__list > li + li {
		border-inline-start: 0;
	}

	.ilh-figures {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ilh-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.ilh-hero__text {
		max-width: none;
		padding-block: 12px 0;
	}

	.ilh .ilh-hero__art {
		margin-inline: calc(-1 * var(--ilh-gutter));
	}

	.ilh-hero__art img {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.ilh-stages__grid,
	.ilh-beyond__grid,
	.ilh-proofs__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ilh-stages__grid {
		gap: 14px;
	}

	.ilh-eco__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ilh .ilh-eco__art {
		max-width: 380px;
	}
}

@media (max-width: 760px) {
	.ilh {
		--ilh-gutter: 16px;
	}

	.ilh-sec {
		padding-block: 20px;
	}

	.ilh-panel {
		padding: 20px 16px;
		border-radius: 18px;
	}

	.ilh-actions .ilh-btn {
		flex: 1 1 auto;
	}

	/* مسیر عمودی: خط در سمت شروع، ایستگاه‌ها ردیفی */
	.ilh-route {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.ilh-route__start {
		justify-self: start;
		margin-top: 0;
	}

	.ilh-track {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ilh-track::before {
		top: 31px;
		bottom: 31px;
		inset-inline: 30px auto;
		border-top: 0;
		border-inline-start: 2px dashed rgba(18, 38, 29, .2);
	}

	.ilh-stop {
		flex-direction: row;
		gap: 14px;
		text-align: start;
	}

	.ilh-route__end {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 10px 12px;
		padding-inline-start: 0;
		margin-top: 6px;
	}

	.ilh-route__end::before {
		display: none;
	}

	.ilh-route__end .ilh-btn {
		margin-top: 0;
	}

	.ilh .ilh-books__row {
		grid-auto-columns: 128px;
		gap: 16px;
	}

	.ilh .ilh-carousel .ilh-carousel__btn {
		display: none;
	}

	.ilh-eco__grid {
		padding: 22px 16px;
	}

	.ilh .ilh-eco__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ilh-promo {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.ilh-promo__art {
		order: -1;
		height: 190px;
	}

	.ilh .ilh-free {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.ilh-promo__text {
		padding: 16px 20px 22px;
	}

	.ilh-quote {
		flex-direction: column;
		text-align: center;
	}

	.ilh-cta {
		padding-block: 48px;
	}

	.ilh .ilh-cta__art {
		max-width: 60%;
		opacity: .3;
	}
}

@media (max-width: 560px) {
	.ilh-goals__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ilh a.ilh-goal {
		padding: 18px 10px 14px;
		font-size: 14px;
	}

	.ilh-goal__icon {
		width: 50px;
		height: 50px;
	}

	/* کارت باریک است و برچسب نسبتاً پهن می‌شد و به صورت نوجوان می‌رسید */
	.ilh-stage__text {
		display: none;
	}

	.ilh-figures {
		gap: 14px 10px;
	}
}

/* ============ حرکت ============ */

/**
 * ورود هنگام اسکرول.
 *
 * ⚠️ حالت پنهان فقط زیر `.ilh-js` است که یک اسکریپت درون‌خطی پیش از محتوا
 * روی html می‌گذارد؛ بدون JS هیچ‌چیز پنهان نمی‌شود. `.is-in` را home.js با
 * IntersectionObserver می‌گذارد.
 *
 * ⚠️ تور ایمنی: اگر home.js بار نشد، `ilh-show` بعد از ۳ ثانیه همه را نشان
 * می‌دهد. home.js با گذاشتن `ilh-io` روی html این تور را برمی‌دارد، وگرنه
 * بخش‌های پایین صفحه پیش از رسیدن کاربر ظاهر می‌شدند و ورودشان دیده نمی‌شد.
 *
 * ⚠️ `ilh-rv` هرگز روی والدِ تصویری که `multiply` دارد ننشیند — opacity و
 * transform روی والد stacking context می‌سازند و ترکیب رنگ می‌شکند.
 */
.ilh-js .ilh-rv {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity .7s var(--ilh-ease), transform .9s var(--ilh-ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}

.ilh-js .ilh-rv--start {
	transform: translate3d(56px, 0, 0);
}

.ilh-js .ilh-rv--end {
	transform: translate3d(-56px, 0, 0);
}

.ilh-js .ilh-rv--zoom {
	transform: scale(.94);
}

.ilh-js .ilh-rv.is-in {
	opacity: 1;
	transform: none;
}

.ilh-js:not(.ilh-io) .ilh-rv {
	animation: ilh-show 0s 3s forwards;
}

@keyframes ilh-show {
	to {
		opacity: 1;
		transform: none;
	}
}

/* سردر: ورود هنگام بارگذاری، بدون JS */
.ilh-hero__text > * {
	animation: ilh-up .8s var(--ilh-ease) both;
}

.ilh-hero__text > :nth-child(2) { animation-delay: .08s; }
.ilh-hero__text > :nth-child(3) { animation-delay: .16s; }
.ilh-hero__text > :nth-child(4) { animation-delay: .24s; }
.ilh-hero__text > :nth-child(5) { animation-delay: .32s; }
.ilh-hero__text > :nth-child(6) { animation-delay: .40s; }

/**
 * ⚠️ فقط transform، بدون opacity — تصویر سردر LCP است و عنصرِ opacity:0
 * نامزد LCP حساب نمی‌شود؛ محوشدن ورودی LCP را عقب می‌انداخت.
 */
.ilh-hero__art img {
	animation: ilh-settle 1.4s var(--ilh-ease) both;
}

.ilh-mark::after {
	transform-origin: right center;
	animation: ilh-draw .9s .55s var(--ilh-ease) both;
}

/* مسیر: خط کشیده می‌شود، ایستگاه‌ها پشت سرش */
.ilh-track::before {
	transform-origin: right center;
	transition: transform 1.2s var(--ilh-ease) .1s;
}

.ilh-js .ilh-route:not(.is-in) .ilh-track::before {
	transform: scaleX(0);
}

.ilh-js .ilh-route:not(.is-in) .ilh-stop {
	opacity: 0;
	animation: none;
}

.ilh-stop {
	animation-delay: calc(var(--i, 0) * 120ms + 150ms);
}

.ilh-route__flag .ilh-i {
	transform-origin: 20% 90%;
	animation: ilh-wave 2.6s ease-in-out infinite;
}

.ilh-route__start {
	animation: ilh-bob 4s ease-in-out infinite;
}

/* کتاب‌ها: کتابی که در ردیف دیده نمی‌شود کم‌رنگ و کوچک است */
.ilh-js .ilh-books__row > li {
	transition: opacity .5s, transform .6s var(--ilh-ease);
}

.ilh-js .ilh-books__row > li.is-off {
	opacity: .35;
	transform: scale(.92);
}

@keyframes ilh-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
}

@keyframes ilh-settle {
	from {
		transform: scale(1.05);
	}
}

@keyframes ilh-draw {
	from {
		transform: scaleX(0);
	}
}

@keyframes ilh-pop {
	40% {
		transform: scale(1.18) rotate(-8deg);
	}
}

@keyframes ilh-wave {
	0%, 100% { transform: rotate(0); }
	50% { transform: rotate(-9deg); }
}

@keyframes ilh-bob {
	0%, 100% { transform: rotate(-6deg) translateY(0); }
	50% { transform: rotate(-4deg) translateY(-4px); }
}

/**
 * حرکت وابسته به اسکرول — فقط مرورگرهایی که `animation-timeline` دارند.
 *
 * ⚠️ از ویژگی مستقل `translate` استفاده شده نه `transform`، تا با
 * `transform`/`scale`ِ هاور و ورود روی همان عنصر جمع شود نه جایش را بگیرد.
 */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.ilh-hero__art img {
			animation: ilh-settle 1.4s var(--ilh-ease) both, ilh-hero-par linear both;
			animation-timeline: auto, scroll(root);
			animation-range: normal, 0 700px;
		}

		.ilh .ilh-cta__art--left {
			animation: ilh-drift-l linear both;
			animation-timeline: view();
		}

		.ilh .ilh-cta__art--right {
			animation: ilh-drift-r linear both;
			animation-timeline: view();
		}

		/* بزرگ‌نمایی پایه تا جابه‌جایی لبه‌ی خالی نشان ندهد */
		.ilh .ilh-stage__img {
			scale: 1.08;
			animation: ilh-par linear both;
			animation-timeline: view();
		}

		@keyframes ilh-hero-par {
			to { translate: 0 70px; }
		}

		@keyframes ilh-drift-l {
			from { translate: -48px 0; }
			to { translate: 12px 0; }
		}

		@keyframes ilh-drift-r {
			from { translate: 48px 0; }
			to { translate: -12px 0; }
		}

		@keyframes ilh-par {
			from { translate: 0 -10px; }
			to { translate: 0 10px; }
		}
	}
}

@media (max-width: 760px) {
	.ilh-track::before {
		transform-origin: center top;
	}

	.ilh-js .ilh-route:not(.is-in) .ilh-track::before {
		transform: scaleY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ilh-js .ilh-rv,
	.ilh-js .ilh-books__row > li.is-off {
		opacity: 1;
		transform: none;
	}

	.ilh-js .ilh-route:not(.is-in) .ilh-track::before {
		transform: none;
	}

	.ilh-js .ilh-route:not(.is-in) .ilh-stop {
		opacity: 1;
	}

	.ilh *,
	.ilh *::before,
	.ilh *::after {
		animation: none !important;
		transition: none !important;
	}
}
