/*
 * Hoxha (PLAN §10.2, DESIGN §10.28–10.30, §11.2).
 */

.hoxha-hero {
	display: flex;
	flex-wrap: wrap-reverse;
	align-items: flex-end;
	gap: clamp(40px, 5cqi, 72px);
	padding-top: clamp(40px, 7cqi, 96px);
	padding-bottom: clamp(48px, 6cqi, 80px);
}
.hoxha-hero__portrait { flex: 0 1 360px; display: flex; justify-content: center; }
.hoxha-hero__portrait { padding: 12px; }
.hoxha-hero__portrait .mihrab { --m-w: min(100%, 360px); }
.hoxha-hero__text {
	flex: 1 1 440px;
	display: grid;
	justify-items: start;
	gap: 22px;
	padding-bottom: 12px;
}
.hoxha-hero__h1 { font-size: clamp(52px, 8cqi, 104px); }
.hoxha-hero__intro { max-width: 52ch; font-size: 18px; line-height: 1.65; color: var(--fg-2); }

/* Timeline (§10.28): title left (sticky on desktop), steps right. */
.hoxha-path {
	display: flex;
	flex-wrap: wrap;
	gap: 24px clamp(32px, 5cqi, 72px);
}
.hoxha-path__head { flex: 0 1 300px; align-self: flex-start; }
@media (min-width: 1080px) {
	.hoxha-path__head { position: sticky; top: 100px; }
}
.timeline { flex: 1 1 520px; }
.timeline li {
	display: grid;
	grid-template-columns: clamp(70px, 10cqi, 120px) 24px minmax(0, 1fr);
	gap: 0 16px;
}
.timeline__year {
	padding-top: 18px;
	text-align: right;
	font-family: var(--font-display);
	font-variation-settings: "SOFT" 50;
	font-size: 22px;
	color: var(--gold-ink);
}
.timeline__rule { position: relative; display: flex; justify-content: center; }
.timeline__rule::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--gold-line);
}
.timeline__rule::after {
	content: "";
	position: relative;
	width: 12px;
	height: 12px;
	margin-top: 24px;
	border: 2px solid var(--copper);
	border-radius: 50%;
	background: var(--page);
}
.timeline__body { display: grid; gap: 6px; padding: 16px 0 30px; }
.timeline__title {
	font-family: var(--font-display);
	font-variation-settings: "SOFT" 50;
	font-size: 22px;
	line-height: 1.25;
}

/* Teaching cards (§10.29). */
.teach {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 20px;
}
.teach__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--card);
}
.teach__glyph { font-family: var(--font-arabic); font-size: 48px; line-height: 1.2; color: var(--accent); }
.teach__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.teach__link { margin-top: auto; font-size: 14px; }

/* Quote on ink (§10.30). */
.quote-ink {
	display: grid;
	justify-items: center;
	gap: 18px;
	max-width: var(--content);
	margin: 0 auto;
	padding: clamp(40px, 6cqi, 80px) clamp(24px, 5cqi, 72px);
	border-radius: 28px;
	text-align: center;
}
.quote-ink blockquote { margin: 0; display: grid; justify-items: center; gap: 18px; position: relative; }
.quote-ink__wm { position: absolute; left: -10px; bottom: -40px; font-size: 200px; color: var(--gold-line); opacity: .07; }
.quote-ink__ar { font-family: var(--font-arabic); font-size: clamp(32px, 4.6cqi, 54px); line-height: 1.7; }
.quote-ink__tr { color: var(--on-ink-translation); }
.quote-ink__src {
	position: relative;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-line);
}

/* Hoxha's books (84×118 covers). */
.hoxha-books {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 24px;
}
.hoxha-book {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--fg);
	text-decoration: none;
}
.hoxha-book:hover { color: var(--fg); }
.hoxha-book__arch { width: 84px; height: 118px; aspect-ratio: auto; transition: transform 300ms var(--ease); }
.hoxha-book:hover .hoxha-book__arch,
.hoxha-book:focus-visible .hoxha-book__arch { transform: translateY(-4px); }
.hoxha-book__arch .arch__line { display: none; }
.hoxha-book__text { display: grid; gap: 6px; }
.hoxha-book__title { font-family: var(--font-display); font-variation-settings: "SOFT" 50; font-size: 19px; line-height: 1.2; }
