/*
 * Services, courses, lessons and resources (single-ah_service.php, single-ah_course.php,
 * single-ah_lesson.php, single-ah_resource.php). Loaded after templates.css on those views and
 * built on its pieces (.aht-head, .aht-sechead, .aht-card, .aht-cta, .aht-postnav, .aht-prose).
 *
 * Classes start with "ahcn-". Tokens are the --aht-* aliases from templates.css (each has a
 * fallback, so the pages hold up with ah-core off). Logical properties only; breakpoints
 * 1200 / 1024 / 767. Content is visible without JS: reveals exist only under html.ah-motion.
 */

.ahcn-view {
	--ahcn-s: -1; /* book turn: -1 English (spine left), 1 Arabic (spine right) */
}
.ahcn-view[dir="rtl"],
[dir="rtl"] .ahcn-view { --ahcn-s: 1; }

:is(.ahcn-sec, .ahcn-hero, .ahcn-cta) {
	font-family: var(--aht-f-body);
	font-size: 17px;
	line-height: 1.75;
	letter-spacing: 0;
}

/* ---------- palettes for covers and tiles (v5 .cv a-d) ---------- */
.ahcn-cv--a { --c1: #0F1B3C; --c2: #E8C988; --c3: #F4F1E8; }
.ahcn-cv--b { --c1: #C5A572; --c2: #0F1B3C; --c3: #09122A; }
.ahcn-cv--c { --c1: #2B3A63; --c2: #E8C988; --c3: #F4F1E8; }
.ahcn-cv--d { --c1: #E7E1D3; --c2: #7A5F31; --c3: #0A0A0A; }

/* ---------- hero (built on .aht-head) ---------- */
.aht-head.ahcn-hero { padding-block-end: clamp(48px, 6vw, 84px); }
.ahcn-hero .ahcn-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 36px 64px;
	align-items: center;
}
.ahcn-hero .ahcn-hero__grid--novideo { grid-template-columns: minmax(0, 1fr); }
.ahcn-hero .ahcn-hero__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: start; min-width: 0; }
.ahcn-hero .ahcn-hero__main > * { max-width: 100%; min-width: 0; }
.ahcn-hero .ahcn-hero__aside { min-width: 0; }
.ahcn-hero .ahcn-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ahcn-hero .aht-head__title.ahcn-hero__title { max-width: 18ch; font-size: clamp(2rem, 4.3vw, 3.4rem); }
.ahcn-hero .aht-head__title.ahcn-hero__title--lesson { max-width: 28ch; font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: 1.35; }
.ahcn-hero .ahcn-hero__tag {
	max-width: 46ch;
	margin: 0;
	font-family: var(--aht-f-display);
	font-weight: 700;
	font-size: clamp(1.08rem, 1.7vw, 1.32rem);
	line-height: 1.6;
	color: var(--aht-ink-gold);
	text-wrap: pretty;
}
.ahcn-hero .ahcn-hero__lead { max-width: 60ch; margin: 0; font-size: 1.1rem; line-height: 1.85; color: var(--aht-muted); }

.ahcn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-block-start: 8px; }
.ah-btn.ahcn-btn--outline { border-color: rgba(122, 95, 49, .45); background: rgba(255, 255, 255, .55); color: var(--aht-ink); }
.ah-btn.ahcn-btn--outline:hover,
.ah-btn.ahcn-btn--outline:focus-visible { border-color: var(--aht-ink-gold); background: var(--aht-paper); color: var(--aht-ink-gold); }
.ah-btn .aht-wa { flex: none; }

/* dark hero (courses) */
.aht-head.ahcn-hero--dark {
	border-block-end: 0;
	background: radial-gradient(90% 130% at 15% 10%, #17284F 0%, var(--aht-deep) 68%);
	color: var(--aht-on-navy);
}
[dir="rtl"] .aht-head.ahcn-hero--dark { background: radial-gradient(90% 130% at 85% 10%, #17284F 0%, var(--aht-deep) 68%); }
.aht-head.ahcn-hero--dark::before,
.aht-head.ahcn-hero--dark::after { border-color: rgba(226, 197, 143, .45); }
.ahcn-hero--dark .aht-head__title.ahcn-hero__title { color: var(--aht-on-navy); }
.ahcn-hero--dark .ahcn-hero__tag.ahcn-hero__tag { color: var(--aht-gold-hi); }
.ahcn-hero--dark .ahcn-hero__lead.ahcn-hero__lead { color: var(--aht-on-navy-muted); }
.ahcn-hero--dark .aht-crumbs ol,
.ahcn-hero--dark .aht-crumbs ol a { color: var(--aht-on-navy-muted); }
.ahcn-hero--dark .aht-crumbs ol a:hover { color: var(--aht-gold-hi); }
.ahcn-hero--dark .aht-crumbs ol [aria-current] { color: var(--aht-on-navy); }
.ahcn-hero--dark .aht-crumbs li + li::before { color: rgba(232, 201, 136, .45); }
.ahcn-hero--dark .aht-meta.ahcn-meta { color: var(--aht-on-navy-muted); }
.ahcn-hero--dark .aht-meta.ahcn-meta svg { color: var(--aht-gold-hi); }
.ahcn-meta .ahcn-ic { width: 15px; height: 15px; }

/* lesson hero */
.aht-head.ahcn-hero--lesson { padding-block-end: 44px; }
.ahcn-hero--lesson .ahcn-hero__main { gap: 14px; }
.ahcn-lhead__k .ahcn-lhead__mod { font-weight: 500; color: var(--aht-muted); }
.ahcn-lhead__k .ahcn-lhead__mod::before { content: "/"; margin-inline-end: 14px; color: rgba(122, 95, 49, .5); }

/* example image (service hero) */
.ahcn-peek {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--aht-line);
	border-radius: 20px;
	background: var(--aht-navy);
	box-shadow: 0 44px 70px -50px rgba(9, 18, 42, .75);
}
.ahcn-peek .ahcn-peek__img.ahcn-peek__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
	border-radius: 0;
	transition: transform 1.2s var(--aht-ease);
}
.ahcn-peek:hover .ahcn-peek__img { transform: scale(1.04); }
.ahcn-peek .ahcn-peek__cap,
.ahcn-peek .ahcn-peek__proof {
	position: absolute;
	max-width: calc(100% - 24px);
	overflow: hidden;
	padding: 3px 12px;
	border-radius: 999px;
	background: rgba(9, 18, 42, .86);
	color: var(--aht-on-navy);
	font-size: .78rem;
	line-height: 1.6;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ahcn-peek .ahcn-peek__cap { bottom: 12px; inset-inline-start: 12px; }
.ahcn-peek .ahcn-peek__proof { top: 12px; inset-inline-end: 12px; font-family: var(--aht-f-mono); color: var(--aht-gold-hi); unicode-bidi: isolate; }

/* icon card when a service has no image */
.ahcn-badge {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 22px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 20px;
	background: radial-gradient(80% 90% at 50% 40%, var(--aht-navy-2), var(--aht-deep));
	color: var(--aht-on-navy);
}
.ahcn-badge::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(232, 201, 136, .16) 1px, transparent 1.6px);
	background-size: 24px 24px;
}
.ahcn-badge .ah-itile { scale: 1.7; }
.ahcn-badge .ahcn-badge__proof { font-family: var(--aht-f-mono); font-size: .86rem; color: var(--aht-gold-hi); unicode-bidi: isolate; }

/* ---------- sections ---------- */
.ahcn-sec { position: relative; padding-block: clamp(56px, 7vw, 96px); background: var(--aht-ivory); color: var(--aht-ink); }
.ahcn-sec.ahcn-sec--sand { background-color: var(--aht-sand); background-image: var(--aht-grain); }
.ahcn-sec.ahcn-sec--navy { background: var(--aht-navy); color: var(--aht-on-navy); }
.ahcn-sec.ahcn-sec--tight { padding-block: 36px; }
.ahcn-sec + .ahcn-sec,
.ahcn-sec + .aht-body,
.aht-body + .ahcn-sec { border-top: 1px solid var(--aht-line); }
.ahcn-sec--navy + .ahcn-sec,
.ahcn-sec + .ahcn-sec--navy { border-top: 0; }
.aht-sechead.ahcn-sechead { margin-block-end: 32px; }
.ahcn-sec--navy .aht-sechead .aht-sechead__title,
.ah-on-dark .aht-sechead .aht-sechead__title { color: var(--aht-on-navy); }
.aht-body.ahcn-body { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- service: outcome + who it is for ---------- */
.ahcn-duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: stretch; }
.ahcn-duo.ahcn-duo--one { grid-template-columns: minmax(0, 1fr); max-width: calc(880px + 2 * var(--aht-gutter)); }
.ahcn-outcome {
	position: relative;
	isolation: isolate;
	display: grid;
	align-content: start;
	gap: 16px;
	overflow: hidden;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 20px;
	background: radial-gradient(90% 140% at 85% 15%, #17284F 0%, var(--aht-deep) 72%);
	color: var(--aht-on-navy);
}
[dir="rtl"] .ahcn-outcome { background: radial-gradient(90% 140% at 15% 15%, #17284F 0%, var(--aht-deep) 72%); }
.ahcn-outcome::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(232, 201, 136, .14) 1px, transparent 1.6px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(to top, #000, transparent 70%);
	mask-image: linear-gradient(to top, #000, transparent 70%);
}
.ahcn-outcome .ahcn-outcome__t {
	margin: 0;
	font-family: var(--aht-f-display);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.3vw, 1.85rem);
	line-height: 1.6;
	color: var(--aht-on-navy);
	text-wrap: pretty;
}
.ahcn-for { display: grid; align-content: start; gap: 16px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--aht-card-line); border-radius: var(--aht-r); background: var(--aht-card); box-shadow: var(--aht-shadow); }
.ahcn-for .ahcn-for__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ahcn-for .ahcn-for__list li { display: flex; align-items: baseline; gap: 12px; margin: 0; font-weight: 700; font-size: 1.06rem; line-height: 1.6; color: var(--aht-ink); }
.ahcn-for .ahcn-for__list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--aht-gold); translate: 0 -2px; }

/* ---------- course: who it is for, before you start, the instructor ---------- */
.ahcn-duo.ahcn-duo--even:not(.ahcn-duo--one) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ahcn-for .ahcn-for__t { margin: 0; font-family: var(--aht-f-display); font-weight: 800; font-size: 1.25rem; line-height: 1.45; letter-spacing: 0; color: var(--aht-ink); }
.ahcn-for.ahcn-for--req .ahcn-for__list li { align-items: flex-start; font-weight: 600; }
.ahcn-for.ahcn-for--req .ahcn-for__list li::before { content: none; }
.ahcn-teach .ahcn-teach__in { max-width: calc(880px + 2 * var(--aht-gutter)); }
.ahcn-teach .aht-author .aht-author__k { font-family: var(--aht-f-body); line-height: 1.5; letter-spacing: 0; }
.ahcn-hero .ahcn-hero__last { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--aht-muted); }
.ahcn-hero--dark .ahcn-hero__last.ahcn-hero__last { color: var(--aht-on-navy-muted); }

/* ---------- service: deliverables ---------- */
.ahcn-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ahcn-checks .ahcn-checks__i {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--aht-card-line);
	border-radius: var(--aht-r-sm);
	background: var(--aht-card);
	font-size: 1rem;
	line-height: 1.75;
	color: var(--aht-ink);
}
.ahcn-check { flex: none; width: 22px; height: 22px; margin-block-start: 3px; color: var(--aht-ink-gold); }
.ah-motion .ahcn-checks .ahcn-checks__i.ah-rv--up { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- the method strip ---------- */
.ahcn-method { overflow: hidden; isolation: isolate; }
.ahcn-method::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(232, 201, 136, .12) 1px, transparent 1.6px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(60% 80% at 80% 30%, #000, transparent 75%);
	mask-image: radial-gradient(60% 80% at 80% 30%, #000, transparent 75%);
}
.ahcn-method .ahcn-method__note { margin: 0; font-size: 1.2rem; text-align: end; }
.ahcn-steps {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	border: 1px solid var(--aht-line-navy);
	border-radius: 16px;
	background: var(--aht-line-navy);
}
.ahcn-steps .ahcn-steps__i { display: grid; align-content: start; gap: 6px; margin: 0; padding: 20px 16px 18px; background: var(--aht-navy); transition: background-color .3s; }
.ahcn-steps .ahcn-steps__i:hover { background: #142250; }
.ahcn-steps .ahcn-steps__i.is-key { background: #17264F; box-shadow: inset 0 2px 0 var(--aht-gold); }
.ahcn-steps .ahcn-steps__n { font-family: var(--aht-f-mono); font-size: .74rem; line-height: 1.5; color: var(--aht-gold-hi); }
.ahcn-steps .ahcn-steps__t { font-family: var(--aht-f-display); font-weight: 800; font-size: 1.25rem; line-height: 1.4; color: var(--aht-on-navy); }
.ahcn-steps .is-key .ahcn-steps__t { color: var(--aht-gold-hi); }
.ahcn-steps .ahcn-steps__l { font-family: var(--aht-f-mono); font-size: .6rem; letter-spacing: .2em; line-height: 1.5; color: var(--aht-on-navy-muted); }
.ahcn-steps .ahcn-steps__x { font-size: .84rem; line-height: 1.6; color: var(--aht-on-navy-muted); }

/* ---------- facts row (proof line, price from) ---------- */
.ahcn-facts.aht-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; margin-block: 0; }
.ahcn-facts .ahcn-facts__i { display: grid; gap: 2px; text-align: center; }
.ahcn-facts dt { font-size: .82rem; font-weight: 700; color: var(--aht-ink-gold); }
.ahcn-facts dd { margin: 0; font-family: var(--aht-f-mono); font-size: 1.25rem; line-height: 1.5; color: var(--aht-ink); unicode-bidi: isolate; }

/* ---------- chips and status ---------- */
.ahcn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ahcn-chips li { margin: 0; }
.ahcn-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 12px;
	border: 1px solid var(--aht-line);
	border-radius: 999px;
	background: var(--aht-paper);
	color: var(--aht-ink);
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}
.ahcn-chip.ahcn-chip--gold { border-color: rgba(122, 95, 49, .4); background: rgba(232, 201, 136, .22); color: var(--aht-ink-gold); }
.ahcn-chip.ahcn-chip--mono { font-family: var(--aht-f-mono); font-weight: 500; letter-spacing: .12em; }
.ah-on-dark .ahcn-chip.ahcn-chip--gold { border-color: rgba(232, 201, 136, .45); background: rgba(232, 201, 136, .1); color: var(--aht-gold-hi); }

.ahcn-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 13px;
	border: 1px solid rgba(232, 201, 136, .45);
	border-radius: 999px;
	font-size: .84rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	color: var(--aht-gold-hi);
}
.ahcn-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ahcn-status.ahcn-status--open i { background: #58C79D; box-shadow: 0 0 0 3px rgba(88, 199, 157, .2); }
.ahcn-status.ahcn-status--soon { border-style: dashed; color: var(--aht-on-navy-muted); }

/* ---------- video facade ---------- */
.ahcn-video { display: grid; gap: 10px; }
.ahcn-video .ahcn-video__btn {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid var(--aht-line-navy);
	border-radius: 18px;
	background: radial-gradient(80% 90% at 50% 40%, var(--aht-navy-2), var(--aht-deep));
	color: var(--aht-on-navy);
	text-decoration: none;
	box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .8);
}
.ahcn-video.ahcn-video--drawn .ahcn-video__btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(232, 201, 136, .16) 1px, transparent 1.6px);
	background-size: 24px 24px;
}
.ahcn-video .ahcn-video__btn::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(to top, rgba(9, 18, 42, .85), transparent); pointer-events: none; }
.ahcn-video .ahcn-video__img.ahcn-video__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; transition: transform 1s var(--aht-ease); }
.ahcn-video .ahcn-video__btn:hover .ahcn-video__img { transform: scale(1.04); }
.ahcn-video .ahcn-video__play {
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: var(--aht-gold);
	color: var(--aht-deep);
	box-shadow: 0 0 0 10px rgba(197, 165, 114, .18), 0 18px 34px -14px rgba(0, 0, 0, .7);
	transition: transform .5s var(--aht-ease), background-color .3s;
}
.ahcn-video .ahcn-video__play svg { width: 30px; height: 30px; translate: 2px 0; }
.ahcn-video .ahcn-video__btn:hover .ahcn-video__play,
.ahcn-video .ahcn-video__btn:focus-visible .ahcn-video__play { transform: scale(1.08); background: var(--aht-gold-hi); }
.ahcn-video .ahcn-video__lbl { position: absolute; bottom: 14px; inset-inline: 18px; display: grid; gap: 2px; text-align: start; }
.ahcn-video .ahcn-video__k { font-size: .78rem; font-weight: 700; line-height: 1.5; color: var(--aht-gold-hi); }
.ahcn-video .ahcn-video__t { overflow: hidden; font-weight: 600; font-size: .95rem; line-height: 1.5; color: var(--aht-on-navy); white-space: nowrap; text-overflow: ellipsis; }
.ahcn-video .ahcn-video__note { margin: 0; font-size: .78rem; line-height: 1.6; color: var(--aht-soft); }
.ah-on-dark .ahcn-video .ahcn-video__note { color: var(--aht-on-navy-muted); }
.ahcn-video .ahcn-video__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #000; }
.ahcn-video .ahcn-video__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ahcn-player.ahcn-sec { background: var(--aht-deep); }
.ahcn-player .ahcn-player__in { max-width: calc(980px + 2 * var(--aht-gutter)); }
.ahcn-player .ahcn-video__note { color: var(--aht-on-navy-muted); }

/* ---------- course: what you will build (day ladder) ---------- */
.ahcn-ladder {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	border: 1px solid var(--aht-line);
	border-radius: 18px;
	background: var(--aht-line);
}
.ahcn-ladder .ahcn-ladder__i { display: grid; align-content: start; gap: 6px; margin: 0; padding: 20px 16px; background: var(--aht-paper); transition: background-color .3s; }
.ahcn-ladder .ahcn-ladder__i:hover { background: var(--aht-sand); }
.ahcn-ladder .ahcn-ladder__d { font-size: .78rem; font-weight: 700; line-height: 1.5; white-space: nowrap; color: var(--aht-ink-gold); }
.ahcn-ladder .ahcn-ladder__d:lang(en) { font-family: var(--aht-f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .06em; }
.ahcn-ladder .ahcn-ladder__t { font-family: var(--aht-f-display); font-weight: 800; font-size: 1.18rem; line-height: 1.45; color: var(--aht-ink); }
.ahcn-ladder .ahcn-ladder__x { font-size: .86rem; line-height: 1.65; color: var(--aht-muted); }
.ah-motion .ahcn-ladder.ah-rv .ah-fade { transition-delay: calc(.15s + var(--k, 0) * 70ms); }

/* numbered list (outcomes without days, resource contents) */
.ahcn-toc { display: grid; max-width: 860px; margin: 0; padding: 0; list-style: none; counter-reset: ahcn-toc; border-top: 1px solid var(--aht-line); }
.ahcn-toc .ahcn-toc__i { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--aht-line); counter-increment: ahcn-toc; }
.ahcn-toc .ahcn-toc__i::before { content: counter(ahcn-toc, decimal-leading-zero); padding-top: 3px; font-family: var(--aht-f-mono); font-size: .8rem; line-height: 1.6; color: var(--aht-ink-gold); }
.ahcn-toc b { display: block; font-weight: 700; line-height: 1.6; color: var(--aht-ink); }
.ahcn-toc span { display: block; font-size: .9rem; line-height: 1.65; color: var(--aht-muted); }
.ah-motion .ahcn-toc.ah-rv .ah-fade { transition-delay: calc(.15s + var(--k, 0) * 60ms); }

/* ---------- course: curriculum ---------- */
.ahcn-curr { display: grid; gap: 16px; max-width: 940px; }
.ahcn-mod { overflow: hidden; border: 1px solid var(--aht-card-line); border-radius: var(--aht-r); background: var(--aht-card); box-shadow: var(--aht-shadow); }
.ahcn-mod .ahcn-mod__h {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 4px 16px;
	align-items: baseline;
	padding: 16px 22px;
	border-bottom: 1px solid var(--aht-line);
	background: rgba(238, 236, 228, .55);
}
.ahcn-mod .ahcn-mod__no { font-family: var(--aht-f-mono); font-size: .7rem; letter-spacing: .14em; line-height: 1.5; color: var(--aht-ink-gold); }
.ahcn-mod .ahcn-mod__t { margin: 0; font-family: var(--aht-f-display); font-weight: 800; font-size: 1.1rem; line-height: 1.45; color: var(--aht-ink); }
.ahcn-mod .ahcn-mod__c { font-size: .8rem; color: var(--aht-soft); }
.ahcn-mod .ahcn-mod__list { margin: 0; padding: 0; list-style: none; }
.ahcn-les {
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto auto;
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 14px 22px;
	border-top: 1px solid var(--aht-line);
	transition: background-color .25s;
}
.ahcn-les:first-child { border-top: 0; }
.ahcn-les:hover { background: rgba(232, 201, 136, .12); }
.ahcn-les .ahcn-les__n { font-family: var(--aht-f-mono); font-size: .78rem; color: var(--aht-soft); }
.ahcn-les .ahcn-les__a { font-weight: 600; line-height: 1.6; color: var(--aht-ink); text-decoration: none; }
.ahcn-les .ahcn-les__a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ahcn-les .ahcn-les__a:hover { color: var(--aht-ink-gold); }
.ahcn-les .ahcn-les__a:focus-visible { outline: none; }
.ahcn-les:has(.ahcn-les__a:focus-visible) { outline: 2px solid var(--aht-gold); outline-offset: -2px; }
.ahcn-les.is-locked .ahcn-les__a { color: var(--aht-muted); }
.ahcn-les .ahcn-les__lock { display: inline-flex; color: var(--aht-soft); }
.ahcn-les .ahcn-les__ok { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1F7A4D; color: #fff; }
.ahcn-les .ahcn-les__ok svg { width: 14px; height: 14px; margin: 0; color: currentColor; } /* white on green: .ahcn-check alone is gold */
.ahcn-les.is-done .ahcn-les__n { color: #1F7A4D; }
.ahcn-chip.ahcn-chip--ok { background: rgba(31, 122, 77, .12); color: #17603C; }

/* course progress (students): label + bar; light and dark grounds */
.ahcn-prog { display: grid; gap: 8px; width: 100%; max-width: 520px; margin-block-end: 22px; }
.ahcn-prog .ahcn-prog__k { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: .9rem; font-weight: 700; color: var(--aht-ink); }
.ahcn-prog .ahcn-prog__k b { font-family: var(--aht-f-mono); font-weight: 600; color: var(--aht-ink-gold); }
.ahcn-prog.ahcn-prog--dark { margin-block-end: 6px; }
.ahcn-prog.ahcn-prog--dark .ahcn-prog__k { color: var(--aht-on-navy); }
.ahcn-prog.ahcn-prog--dark .ahcn-prog__k b { color: var(--aht-gold-hi); }

/* lesson foot: progress, finished button, next lesson */
.ahcn-ldone.ahcn-sec { padding-block: 36px; border-block-start: 1px solid var(--aht-line); }
.ahcn-ldone .ahcn-ldone__in { display: grid; gap: 18px; max-width: calc(980px + 2 * var(--aht-gutter)); }
.ahcn-ldone .ahcn-prog { margin: 0; }
.ahcn-ldone .ahcn-ldone__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ahcn-les .ahcn-les__d { grid-column: 4; font-family: var(--aht-f-mono); font-size: .78rem; color: var(--aht-soft); direction: ltr; unicode-bidi: isolate; }

/* ---------- course: value stack and enrol block ---------- */
.ahcn-offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.ahcn-offer.ahcn-offer--solo { grid-template-columns: minmax(0, 580px); justify-content: center; }
.ahcn-stack { display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--aht-card-line); border-radius: var(--aht-r); background: var(--aht-card); box-shadow: var(--aht-shadow); }
.ahcn-stack .ahcn-stack__list { display: grid; margin: 0; padding: 0; list-style: none; }
.ahcn-stack .ahcn-stack__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: start; margin: 0; padding: 12px 0; border-bottom: 1px dashed var(--aht-line); font-size: .98rem; line-height: 1.65; }
.ahcn-stack .ahcn-stack__list .ahcn-check { margin-block-start: 1px; }
.ahcn-stack .ahcn-stack__list em { font-style: normal; font-family: var(--aht-f-mono); font-size: .8rem; line-height: 2; white-space: nowrap; color: var(--aht-soft); direction: ltr; unicode-bidi: isolate; }
.ahcn-stack .ahcn-stack__sum { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--aht-muted); }
.ahcn-stack .ahcn-stack__sum b { font-family: var(--aht-f-mono); color: var(--aht-ink); direction: ltr; unicode-bidi: isolate; }

.ahcn-buy {
	position: sticky;
	top: 110px;
	isolation: isolate;
	display: grid;
	gap: 14px;
	justify-items: start;
	overflow: hidden;
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: 20px;
	background: radial-gradient(90% 120% at 85% 10%, #17284F 0%, var(--aht-deep) 70%);
	color: var(--aht-on-navy);
}
.ahcn-buy > * { max-width: 100%; }
.ahcn-buy .ahcn-buy__t { margin: 0; font-family: var(--aht-f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.45; color: var(--aht-on-navy); text-wrap: balance; }
.ahcn-buy .ahcn-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 0; direction: ltr; }
.ahcn-buy .ahcn-buy__price b { font-family: var(--aht-f-display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--aht-gold-hi); }
.ahcn-buy .ahcn-buy__price s { font-family: var(--aht-f-mono); font-size: 1rem; color: var(--aht-on-navy-muted); }
.ahcn-buy .ahcn-buy__guar { margin: 0; padding: 10px 14px; border: 1px solid var(--aht-line-navy); border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: .88rem; line-height: 1.65; color: var(--aht-on-navy-muted); }
.ahcn-buy .ahcn-buy__act { display: grid; gap: 8px; width: 100%; margin-block-start: 4px; }
.ahcn-act__k { margin: 0; font-weight: 700; font-size: .92rem; line-height: 1.5; color: var(--aht-ink-gold); }
.ah-on-dark .ahcn-act__k { color: var(--aht-gold-hi); }
.ahcn-buy .ah-btn.ahcn-act { justify-content: center; white-space: normal; text-align: center; }
.ahcn-form { width: 100%; }

.ahcn-faqline.aht-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; text-align: center; }
.ahcn-faqline .ahcn-faqline__k { margin: 0; font-size: 1.25rem; }

/* ---------- lesson: locked panel, navigation ---------- */
.ahcn-lock {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px 24px;
	max-width: 820px;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 44px);
	border-radius: 20px;
	background: radial-gradient(90% 120% at 85% 10%, #17284F 0%, var(--aht-deep) 70%);
	color: var(--aht-on-navy);
}
.ahcn-lock .ahcn-lock__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(232, 201, 136, .12); color: var(--aht-gold-hi); }
.ahcn-lock .ahcn-lock__ic svg { width: 26px; height: 26px; }
.ahcn-lock .ahcn-lock__body { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.ahcn-lock .ahcn-lock__body > * { max-width: 100%; }
.ahcn-lock .ahcn-lock__t { margin: 0; font-family: var(--aht-f-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--aht-on-navy); }
.ahcn-lock .ahcn-lock__x { margin: 0; color: var(--aht-on-navy-muted); }
.ahcn-lock .ahcn-lock__act { display: grid; gap: 8px; width: 100%; max-width: 520px; }
.aht-postnav.ahcn-lnav { padding-block-start: 48px; }
.ahcn-lnav .ahcn-lnav__back { grid-column: 1 / -1; justify-self: center; margin: 8px 0 0; }

/* ---------- resource: covers ---------- */
.ahcn-cover { display: grid; place-items: center; padding-block: 8px 12px; }
.ahcn-book { position: relative; padding: 10px 0 30px; perspective: 1200px; }
.ahcn-book::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 6px;
	height: 24px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(9, 18, 42, .35), transparent);
	transition: transform .9s var(--ah-spring, ease), opacity .9s;
}
.ahcn-book .ahcn-book__3d {
	position: relative;
	width: 240px;
	height: 336px;
	direction: ltr;
	transform-style: preserve-3d;
	transform: rotateY(calc(var(--ahcn-s) * -30deg)) rotateX(5deg);
	transition: transform .9s var(--ah-spring, ease);
}
.ahcn-cover:hover .ahcn-book__3d { transform: rotateY(calc(var(--ahcn-s) * -12deg)) rotateX(2deg) translateY(-8px); }
.ahcn-cover:hover .ahcn-book::after { transform: scaleX(.86); opacity: .7; }
.ahcn-book :is(.ahcn-book__front, .ahcn-book__back, .ahcn-book__spine, .ahcn-book__pages) { position: absolute; display: block; backface-visibility: hidden; }
/* English (spine on the left) is the base; Arabic mirrors it below */
.ahcn-book .ahcn-book__front {
	inset: 0;
	display: grid;
	align-content: space-between;
	gap: 12px;
	overflow: hidden;
	padding: 26px 22px;
	border-radius: 2px 8px 8px 2px;
	background: var(--c1);
	color: var(--c3);
	text-align: left;
	direction: ltr;
	transform: translateZ(18px);
	box-shadow: inset 7px 0 10px rgba(0, 0, 0, .28), inset -1px 0 0 rgba(255, 255, 255, .12);
}
.ahcn-book .ahcn-book__front::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--c2); border-radius: 2px 6px 6px 2px; opacity: .6; pointer-events: none; }
.ahcn-book .ahcn-book__back { inset: 0; border-radius: 8px 2px 2px 8px; background: var(--c1); transform: translateZ(-18px) rotateY(180deg); }
.ahcn-book .ahcn-book__spine { top: 0; left: 0; width: 36px; height: 100%; background: linear-gradient(270deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .38)), var(--c1); transform-origin: left center; transform: translateZ(-18px) rotateY(-90deg); }
.ahcn-book .ahcn-book__spine::before,
.ahcn-book .ahcn-book__spine::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--c2); opacity: .8; }
.ahcn-book .ahcn-book__spine::before { top: 22px; }
.ahcn-book .ahcn-book__spine::after { bottom: 22px; }
.ahcn-book .ahcn-book__pages { top: 5px; right: 3px; width: 34px; height: calc(100% - 10px); background: repeating-linear-gradient(90deg, #F4F1E8 0 2px, #E2DDCF 2px 3px); transform-origin: right center; transform: translateZ(-18px) rotateY(90deg); }
[dir="rtl"] .ahcn-book .ahcn-book__front { border-radius: 8px 2px 2px 8px; text-align: right; direction: rtl; box-shadow: inset -7px 0 10px rgba(0, 0, 0, .28), inset 1px 0 0 rgba(255, 255, 255, .12); }
[dir="rtl"] .ahcn-book .ahcn-book__front::before { border-radius: 6px 2px 2px 6px; }
[dir="rtl"] .ahcn-book .ahcn-book__back { border-radius: 2px 8px 8px 2px; }
[dir="rtl"] .ahcn-book .ahcn-book__spine { left: auto; right: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .38)), var(--c1); transform-origin: right center; transform: translateZ(-18px) rotateY(90deg); }
[dir="rtl"] .ahcn-book .ahcn-book__pages { right: auto; left: 3px; transform-origin: left center; transform: translateZ(-18px) rotateY(-90deg); }
.ahcn-book .ahcn-book__k { position: relative; font-family: var(--aht-f-mono); font-weight: 500; font-size: .62rem; letter-spacing: .24em; line-height: 1.5; color: var(--c2); direction: ltr; }
[dir="rtl"] .ahcn-book .ahcn-book__k { text-align: right; }
.ahcn-book .ahcn-book__au { position: relative; font-family: var(--aht-f-hand); font-weight: 700; font-size: 1.1rem; line-height: 1.4; color: var(--c2); }
.ahcn-book .ahcn-book__front .ahcn-cv__words { position: relative; }
.ahcn-book .ahcn-book__img.ahcn-book__img { position: absolute; inset: 0; z-index: 1; width: 100%; max-width: none; height: 100%; border-radius: inherit; object-fit: cover; }
.ahcn-book .ahcn-book__front--img > :not(.ahcn-book__img),
.ahcn-book .ahcn-book__front--img::before { visibility: hidden; }

/* cover words: Latin in spaced capitals, Arabic in the display face (no letter-spacing) */
.ahcn-cv__words { display: block; font-family: var(--aht-f-mono); font-weight: 500; font-size: .82rem; letter-spacing: .18em; line-height: 1.7; text-transform: uppercase; overflow-wrap: anywhere; }
.ahcn-cv__words:is(.ahcn-cv__words--ar, .ahcn-cv__words--title) { font-family: var(--aht-f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0; line-height: 1.45; text-transform: none; overflow-wrap: normal; }
.ahcn-cv__words.ahcn-cv__words--title { font-size: 1.35rem; line-height: 1.35; }
.ahcn-cv__big { display: block; font-family: var(--aht-f-display); font-weight: 800; font-size: 3rem; letter-spacing: 0; line-height: 1.15; }
.ahcn-book .ahcn-cv__words:not(.ahcn-cv__words--ar):not(.ahcn-cv__words--title) { font-size: 1rem; }

/* file sheet (XLSX, JSON, ZIP) */
.ahcn-cover.ahcn-cover--file { isolation: isolate; padding-block: 24px 30px; }
/* the second sheet behind the first (a sibling layer: the front sheet's own stacking context would paint a child above its background) */
.ahcn-cover.ahcn-cover--file::before {
	content: "";
	grid-area: 1 / 1;
	z-index: 0;
	width: 250px;
	height: 100%;
	min-height: 320px;
	border: 1px solid var(--aht-line);
	border-radius: 14px;
	background: var(--aht-paper);
	rotate: calc(var(--aht-dir) * 4deg);
	translate: calc(var(--aht-dir) * 16px) 8px;
	box-shadow: 0 30px 50px -40px rgba(9, 18, 42, .5);
}
.ahcn-cover--file .ahcn-sheet { grid-area: 1 / 1; z-index: 1; }
.ahcn-sheet {
	position: relative;
	display: grid;
	align-content: start;
	gap: 18px;
	width: 250px;
	min-height: 320px;
	padding: 26px 24px;
	border-radius: 14px;
	background: var(--c1);
	color: var(--c3);
	rotate: calc(var(--aht-dir) * -3deg);
	box-shadow: 0 40px 60px -40px rgba(9, 18, 42, .65);
	transition: rotate .8s var(--ah-spring, ease), translate .8s var(--ah-spring, ease);
}
.ahcn-sheet::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 44px; height: 44px; border-end-start-radius: 10px; background: linear-gradient(225deg, var(--aht-sand) 50%, rgba(0, 0, 0, .18) 50%); }
[dir="rtl"] .ahcn-sheet::after { background: linear-gradient(135deg, var(--aht-sand) 50%, rgba(0, 0, 0, .18) 50%); }
.ahcn-cover:hover .ahcn-sheet { rotate: 0deg; translate: 0 -6px; }
.ahcn-sheet .ahcn-sheet__ext { width: max-content; padding: 2px 9px; border-radius: 5px; background: var(--c2); color: var(--c1); font-family: var(--aht-f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; line-height: 1.6; }
.ahcn-sheet .ahcn-cv__words { color: var(--c3); }
.ahcn-sheet .ahcn-cv__words:is(.ahcn-cv__words--ar, .ahcn-cv__words--title) { font-size: 1.3rem; }
.ahcn-sheet .ahcn-sheet__rows { display: grid; gap: 9px; margin-block-start: auto; }
.ahcn-sheet .ahcn-sheet__rows i { display: block; height: 8px; border-radius: 4px; background: currentColor; opacity: .16; }
.ahcn-sheet .ahcn-sheet__rows i:nth-child(2) { width: 82%; }
.ahcn-sheet .ahcn-sheet__rows i:nth-child(3) { width: 92%; }
.ahcn-sheet .ahcn-sheet__rows i:nth-child(4) { width: 58%; }

/* small cover tile (cards, get panel) */
.ahcn-tile { display: grid; place-items: center; height: 120px; padding: 12px; overflow: hidden; background: var(--c1, var(--aht-navy)); color: var(--c3, var(--aht-on-navy)); text-align: center; }
.ahcn-tile.ahcn-cv--a { color: var(--c2); }
.ahcn-tile .ahcn-tile__in { display: grid; justify-items: center; gap: 8px; transition: transform .6s var(--ah-spring, ease); }
.ahcn-tile .ahcn-cv__words { font-size: .7rem; }
.ahcn-tile .ahcn-cv__words:is(.ahcn-cv__words--ar, .ahcn-cv__words--title) { font-size: 1.05rem; }
.ahcn-tile .ahcn-cv__big { font-size: 2rem; }
.ahcn-tile.ahcn-tile--img { padding: 0; background: var(--aht-navy); }
.ahcn-tile .ahcn-tile__img.ahcn-tile__img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }

/* ---------- resource: contents + get panel ---------- */
.ahcn-rgrid2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 48px; align-items: start; }
.ahcn-rgrid2.ahcn-rgrid2--solo { grid-template-columns: minmax(0, 600px); justify-content: center; }
.ahcn-get {
	position: sticky;
	top: 110px;
	display: grid;
	overflow: hidden;
	border: 1px solid var(--aht-card-line);
	border-radius: var(--aht-r);
	background: var(--aht-card);
	box-shadow: 0 30px 50px -40px rgba(9, 18, 42, .5);
	scroll-margin-top: 120px;
}
.ahcn-get .ahcn-get__body { display: grid; gap: 12px; justify-items: start; padding: 24px; }
.ahcn-get .ahcn-get__body > * { max-width: 100%; }
.ahcn-get .ahcn-get__t { margin: 0; font-family: var(--aht-f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.45; color: var(--aht-ink); }
.ahcn-get .ahcn-get__x { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--aht-muted); }
.ahcn-get .ahcn-get__price { margin: 0; font-family: var(--aht-f-display); font-weight: 800; font-size: 2rem; line-height: 1.2; color: var(--aht-ink); direction: ltr; }

/* related resources */
.ahcn-rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ahcn-rcard {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--aht-card-line);
	border-radius: var(--aht-r);
	background: var(--aht-card);
	color: var(--aht-ink);
	transition: transform .45s var(--aht-ease), border-color .3s, box-shadow .45s var(--aht-ease);
}
.ahcn-rcard:hover,
.ahcn-rcard:focus-within { transform: translateY(-4px); border-color: var(--aht-tint-line); box-shadow: var(--aht-shadow-hi); }
.ahcn-rcard:hover .ahcn-tile__in { transform: scale(1.08); }
.ahcn-rcard .ahcn-rcard__body { display: grid; align-content: start; gap: 6px; padding: 16px 18px 18px; }
.ahcn-rcard .ahcn-rcard__st { font-size: .76rem; font-weight: 700; line-height: 1.6; color: var(--aht-ink-gold); }
.ahcn-rcard .ahcn-rcard__t { margin: 0; font-family: var(--aht-f-body); font-weight: 700; font-size: 1rem; line-height: 1.6; letter-spacing: 0; color: var(--aht-ink); }
.ahcn-rcard .ahcn-rcard__a { color: inherit; text-decoration: none; }
.ahcn-rcard .ahcn-rcard__a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ahcn-rcard .ahcn-rcard__a:focus-visible { outline: none; }
.ahcn-rcard:has(.ahcn-rcard__a:focus-visible) { outline: 2px solid var(--aht-gold); outline-offset: 3px; }
.ahcn-rcard .ahcn-rcard__x { margin: 0; font-size: .86rem; line-height: 1.7; color: var(--aht-muted); }

/* ---------- focus ---------- */
:is(.ahcn-sec, .ahcn-hero, .ahcn-lnav) :is(a, button, input, summary):focus-visible { outline: 2px solid var(--aht-gold); outline-offset: 3px; }
.ahcn-video .ahcn-video__btn:focus-visible { outline: 2px solid var(--aht-gold); outline-offset: 4px; }

/* ---------- breakpoints ---------- */
@media (max-width: 1200px) {
	.ahcn-steps,
	.ahcn-ladder { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	:is(.ahcn-steps, .ahcn-ladder) > :last-child:nth-child(4n + 3) { grid-column: span 2; }
	:is(.ahcn-steps, .ahcn-ladder) > :last-child:nth-child(4n + 2) { grid-column: span 3; }
	:is(.ahcn-steps, .ahcn-ladder) > :last-child:nth-child(4n + 1) { grid-column: span 4; }
}

@media (max-width: 1024px) {
	.ahcn-hero .ahcn-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.ahcn-hero .ahcn-hero__aside { width: 100%; max-width: 600px; }
	.ahcn-hero--resource .ahcn-hero__aside { justify-self: center; }
	.ahcn-duo { grid-template-columns: minmax(0, 1fr); }
	.ahcn-offer { grid-template-columns: minmax(0, 1fr); }
	.ahcn-buy { position: relative; top: auto; }
	.ahcn-rgrid2 { grid-template-columns: minmax(0, 1fr); }
	.ahcn-get { position: relative; top: auto; }
	.ahcn-rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ahcn-rcards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ahcn-method .aht-sechead--split .ahcn-method__note { text-align: start; }
}

@media (max-width: 767px) {
	:is(.ahcn-sec, .ahcn-hero, .ahcn-cta) { font-size: 16.5px; }
	.ahcn-hero .aht-head__title.ahcn-hero__title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
	.ahcn-hero .aht-head__title.ahcn-hero__title--lesson { font-size: clamp(1.6rem, 7vw, 2.1rem); }
	.ahcn-hero .ahcn-hero__lead { font-size: 1.02rem; }
	.ahcn-actions .ah-btn { flex: 1 1 auto; justify-content: center; }
	.ahcn-actions .ah-more { flex-basis: 100%; }
	.ahcn-peek { aspect-ratio: 16 / 11; border-radius: 16px; }
	.ahcn-duo.ahcn-duo--even:not(.ahcn-duo--one) { grid-template-columns: minmax(0, 1fr); }
	.ahcn-checks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ahcn-checks .ahcn-checks__i { padding: 16px; }

	/* the seven steps become a vertical list */
	.ahcn-steps { grid-template-columns: minmax(0, 1fr); }
	.ahcn-steps > :last-child:nth-child(n) { grid-column: auto; }
	.ahcn-steps .ahcn-steps__i { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px 16px; }
	.ahcn-steps .ahcn-steps__n { grid-row: span 3; padding-top: 4px; }
	.ahcn-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ahcn-ladder > :last-child:nth-child(n) { grid-column: auto; }
	.ahcn-ladder > :last-child:nth-child(odd) { grid-column: 1 / -1; }

	.ahcn-mod .ahcn-mod__h { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; }
	.ahcn-mod .ahcn-mod__no { grid-column: 1 / -1; }
	.ahcn-les { grid-template-columns: 28px minmax(0, 1fr) auto; padding: 12px 16px; }
	.ahcn-les .ahcn-les__d { grid-column: 2; grid-row: 2; }
	.ahcn-buy .ahcn-buy__price b { font-size: 2.3rem; }

	.ahcn-lock { grid-template-columns: minmax(0, 1fr); }
	.ahcn-book .ahcn-book__3d { width: 200px; height: 280px; }
	.ahcn-cv__words:is(.ahcn-cv__words--ar, .ahcn-cv__words--title) { font-size: 1.25rem; }
	.ahcn-sheet { width: 220px; min-height: 280px; }
	.ahcn-cover.ahcn-cover--file::before { width: 220px; min-height: 280px; }
	.ahcn-rcards { grid-template-columns: minmax(0, 1fr); }
	.ahcn-rcards > :last-child:nth-child(odd) { grid-column: auto; }
	.ahcn-rcard { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: none; }
	.ahcn-rcard .ahcn-tile { height: auto; min-height: 112px; }
	.ahcn-rcard .ahcn-rcard__x { display: none; }
	.ahcn-facts.aht-wrap { gap: 14px 32px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.ahcn-peek .ahcn-peek__img,
	.ahcn-video .ahcn-video__img,
	.ahcn-video .ahcn-video__play,
	.ahcn-book .ahcn-book__3d,
	.ahcn-book::after,
	.ahcn-sheet,
	.ahcn-tile .ahcn-tile__in,
	.ahcn-rcard,
	.ahcn-steps .ahcn-steps__i,
	.ahcn-ladder .ahcn-ladder__i { transition: none; }
	.ahcn-peek:hover .ahcn-peek__img,
	.ahcn-video .ahcn-video__btn:hover .ahcn-video__img,
	.ahcn-rcard:hover,
	.ahcn-rcard:focus-within,
	.ahcn-rcard:hover .ahcn-tile__in { transform: none; }
	.ahcn-cover:hover .ahcn-book__3d { transform: rotateY(calc(var(--ahcn-s) * -30deg)) rotateX(5deg); }
	.ahcn-cover:hover .ahcn-sheet { rotate: calc(var(--aht-dir) * -3deg); translate: none; }
}
