/* Section "page-header" (sections/page-header.php, prefix ph-). Loaded in the <head> by hec_enqueue_section_styles(), or inline by hec_section_style() (functions.php). */
.ph-root {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
	background: var(--c-ivoire-100); /* plain at every edge: the next section starts on the same colour */
	color: var(--c-cacao-900);
	font-family: var(--f-sans);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	text-align: center;
}
.ph-root::before { /* the "sun": a round amber halo behind the title, fading out before the edges */
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: min(40rem, 120vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle closest-side, color-mix(in srgb, var(--c-ambre-200) 80%, transparent), color-mix(in srgb, var(--c-ambre-200) 35%, transparent) 55%, transparent);
	translate: -50% -50%;
	pointer-events: none;
}
.ph-inner {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--space-gutter);
}

/* Breadcrumb in a pill */
.ph-root .ph-crumbs {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-5);
	padding: var(--space-2) var(--space-4);
	border: 1px solid var(--c-lin-300);
	border-radius: var(--radius-pill);
	background: var(--c-ivoire-50);
	box-shadow: var(--shadow-sm);
	list-style: none;
	font-size: var(--fs-caption);
	line-height: var(--lh-ui);
}
.ph-crumb {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--c-cacao-600);
}
.ph-crumb + .ph-crumb::before { /* mustard dot between the links */
	content: "";
	width: 0.3125rem;
	height: 0.3125rem;
	border-radius: 50%;
	background: var(--c-ambre-500);
}
.ph-root .ph-crumb a {
	border-radius: var(--radius-sm);
	color: var(--c-cacao-600);
	text-decoration: none;
}
.ph-root .ph-crumb a:hover {
	color: var(--c-brun-700);
	text-decoration: underline;
}
.ph-root .ph-crumb a:focus-visible {
	outline: 2px solid var(--c-focus);
	outline-offset: 2px;
}
.ph-crumb [aria-current] {
	color: var(--c-brun-500);
	font-weight: 600;
}

/* Title and description */
.ph-root .ph-title { /* the site's title style, at h1 size */
	max-width: 18em;
	margin: 0 auto;
	color: var(--c-cacao-900);
	font-family: var(--f-serif);
	font-size: var(--fs-h1);
	font-weight: 400;
	font-variation-settings: "opsz" 96, "SOFT" 100;
	line-height: var(--lh-h1);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.ph-title-em {
	color: var(--c-brun-500);
	font-style: italic;
	font-weight: 400;
}
.ph-text { /* the site's paragraph style */
	max-width: 36em;
	margin: var(--space-4) auto 0;
	color: var(--c-cacao-700);
	text-wrap: balance;
}

@media (prefers-reduced-motion: no-preference) {
	.ph-root::before { animation: ph-breathe 9s ease-in-out infinite alternate; }
}
@keyframes ph-breathe {
	to { scale: 1.08; opacity: 0.85; }
}
