/* ==========================================================================
   Markers — one style for the decorations under headings and for list bullets, site-wide.
   The mark is a tile set on its point (a small gold diamond) with a gold joint line, the same
   gold as the header, footer and page accents. Text and lists are unchanged; only the
   markers are drawn differently.
   ========================================================================== */

:root {
	--mk-gold: #c99a3f;
	--mk-gold-soft: #e3c27a;
	--mk-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------ Under section headings
   (original "●●● ▭" mark of the homepage titles: .o-title__marks > .o-title__dots + .o-title__dash) */
.o-title__marks {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 18px;
	margin-top: -6px;
}
.o-title__dots {
	position: relative;
	width: 56px;
	height: 2px;
	background: linear-gradient(90deg, var(--mk-gold), var(--mk-gold-soft));
	transform-origin: left center;
}
.o-title__dots::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -3px;
	width: 1.5px;
	height: 8px;
	background: var(--mk-gold);
	transform: translateY(-50%);
}
.o-title__dash {
	width: 10px;
	height: 10px;
	border: 2px solid var(--mk-gold);
	border-radius: 1px;
	background: transparent;
	transform: rotate(45deg);
}
/* The joint draws itself as the heading comes into view (browsers with scroll-driven animations). */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.o-title__dots {
			animation: mk-draw linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 100%;
		}
		.o-title__dash {
			animation: mk-turn linear both;
			animation-timeline: view();
			animation-range: entry 20% entry 100%;
		}
	}
}
@keyframes mk-draw {
	from {
		transform: scaleX(0);
	}
}
@keyframes mk-turn {
	from {
		opacity: 0;
		transform: rotate(-45deg) scale(0.4);
	}
}

/* ------------------------------------------------------------ Lists in text (articles, pages) */
.prose ul,
.mk-list {
	padding-left: 0;
	list-style: none;
}
.prose ul > li,
.mk-list > li {
	position: relative;
	padding-left: 1.7em;
}
.prose ul > li::before,
.mk-list > li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0.3em;
	width: 7px;
	height: 7px;
	border: 1.5px solid var(--mk-gold);
	transform: rotate(45deg);
}
.prose ul ul > li::before {
	border-color: var(--mk-gold-soft);
	background: transparent;
	width: 5px;
	height: 5px;
}
.prose ol {
	padding-left: 0;
	list-style: none;
	counter-reset: mk;
}
.prose ol > li {
	position: relative;
	padding-left: 2.2em;
	counter-increment: mk;
}
.prose ol > li::before {
	content: counter(mk, decimal-leading-zero);
	position: absolute;
	top: 0.1em;
	left: 0;
	font-family: "Red Hat Display", var(--o-heading, sans-serif);
	font-size: 0.82em;
	font-weight: 700;
	line-height: 1.6;
	color: var(--mk-gold);
	font-variant-numeric: tabular-nums;
}
