/**
 * The shop's people (aieo/store-staff; the designer, 24 Nov 2026): one picture is wide, the others wait; nothing is
 * hidden, the names and days are always there. Two by two under 1024 px; on a phone a row that stops at each person, the
 * first names over it showing who is in (a filled dot) and a line that follows the finger.
 */
.aieo-staff {
	--aieo-st-fg: var(--wp--preset--color--fg, CanvasText);
	--aieo-st-bg: var(--wp--preset--color--bg, Canvas);
	--aieo-st-muted: var(--wp--preset--color--muted, color-mix(in srgb, CanvasText 62%, Canvas));
	--aieo-st-line: var(--wp--preset--color--line, color-mix(in srgb, CanvasText 18%, Canvas));
	--aieo-st-accent: var(--wp--preset--color--accent, Highlight);
	--aieo-st-in: var(--wp--preset--color--success-ink, var(--wp--preset--color--success, CanvasText));
	--aieo-st-gap: var(--wp--preset--spacing--5, 1.5rem);
	--aieo-st-gutter: var(--wp--style--root--padding-left, 16px);
	--aieo-st-ease: cubic-bezier(.16, 1, .3, 1);
	padding-top: clamp(48px, 6vw, 88px);
}
.aieo-staff .aieo-store-sub { margin: 0 0 var(--wp--preset--spacing--5, 1.5rem); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.aieo-staff__row {
	display: flex;
	gap: var(--aieo-st-gap);
	align-items: flex-start;
	margin: 0;
	padding: 0;
	list-style: none;
}
.aieo-staff__row > li { position: relative; flex: 1 1 0; min-width: 0; margin: 0; }
.aieo-staff__row > li.is-on { flex-grow: 2.7; }
.aieo-staff__img {
	position: relative;
	height: clamp(360px, 40vw, 560px);
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--subtle, color-mix(in srgb, CanvasText 6%, Canvas));
	border-radius: var(--wp--custom--rooster--shape--media, 0);
	cursor: pointer;
}
.aieo-staff__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--p, 50%) 50%;
}
.aieo-staff__t { width: 14rem; max-width: 100%; padding-top: var(--wp--preset--spacing--4, 1rem); }
.aieo-staff h3 { margin: 0; font-size: var(--wp--preset--font-size--lg, 1.125rem); }
.aieo-staff h3 button {
	all: unset;
	display: inline;
	padding-bottom: 2px;
	background: linear-gradient(var(--aieo-st-accent), var(--aieo-st-accent)) 0 100% / 0 2px no-repeat;
	cursor: pointer;
}
.aieo-staff .is-on h3 button { background-size: 100% 2px; }
.aieo-staff h3 button:focus-visible { outline: 2px solid var(--aieo-st-fg); outline-offset: 4px; }
.aieo-staff__t p { margin: 4px 0 0; }
.aieo-staff .aieo-staff__here {
	display: flex;
	align-items: center;
	margin-top: 10px;
	color: var(--aieo-st-muted);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-weight: 600;
}
.aieo-staff__here:empty { display: none; }
.aieo-staff__here::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-inline-end: 8px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}
.aieo-staff__here[data-in="yes"] { color: var(--aieo-st-in); }
.aieo-staff__here[data-in="yes"]::before { background: currentColor; }
.aieo-staff__days {
	display: flex;
	gap: 3px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	font-weight: 600;
}
.aieo-staff__days li {
	position: relative;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin: 0;
	border: 1px solid var(--aieo-st-line);
	color: var(--aieo-st-muted);
}
.aieo-staff__days li[data-on] { border-color: var(--aieo-st-fg); background: var(--aieo-st-fg); color: var(--aieo-st-bg); }
.aieo-staff__days li.is-now::after {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	bottom: -6px;
	height: 2px;
	background: var(--aieo-st-accent);
}
.aieo-staff .aieo-staff__about { margin-top: 12px; color: var(--aieo-st-muted); }
.aieo-staff__else { color: var(--aieo-st-muted); font-size: var(--wp--preset--font-size--sm, 0.875rem); }
.aieo-staff__else a { color: inherit; }
.aieo-staff__book {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.aieo-staff__nav { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.aieo-staff__row > li { transition: flex-grow 760ms var(--aieo-st-ease); }
	.aieo-staff__img img { transition: filter 420ms linear; }
	.aieo-staff h3 button { transition: background-size 600ms var(--aieo-st-ease); }
}
@media (hover: hover) {
	.aieo-staff__row > li:not(.is-on) .aieo-staff__img img { filter: saturate(.55); }
}
@media (max-width: 1023px) {
	.aieo-staff__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--6, 2rem) var(--aieo-st-gap); }
	.aieo-staff__img { height: auto; aspect-ratio: 4 / 5; cursor: default; }
	.aieo-staff__row > li:not(.is-on) .aieo-staff__img img { filter: none; }
	.aieo-staff__t { width: auto; }
}
@media (max-width: 600px) {
	.aieo-staff__row {
		display: flex;
		align-items: stretch;
		margin-inline: calc(-1 * var(--aieo-st-gutter));
		padding: 0 var(--aieo-st-gutter) 8px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-padding-inline: var(--aieo-st-gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.aieo-staff__row::-webkit-scrollbar { display: none; }
	.aieo-staff__row > li, .aieo-staff__row > li.is-on { flex: 0 0 78%; scroll-snap-align: start; scroll-snap-stop: always; transition: none; }
	.aieo-staff .is-on h3 button { background-size: 0 2px; }
	/* The names over the row: who is in, who comes next, and a line that follows the finger */
	.aieo-staff__nav {
		position: relative;
		display: flex;
		justify-content: space-between;
		gap: 4px;
		margin: -8px 0 var(--wp--preset--spacing--4, 1rem);
		border-bottom: 1px solid var(--aieo-st-line);
	}
	.aieo-staff__nav button {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 7px;
		min-height: 48px;
		padding: 0 2px;
		border: 0;
		background: none;
		color: var(--aieo-st-muted);
		font: inherit;
		font-size: var(--wp--preset--font-size--md, 1rem);
		font-weight: 600;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.aieo-staff__nav button::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
	.aieo-staff__nav button[data-in="yes"]::before { border-color: var(--aieo-st-in); background: var(--aieo-st-in); }
	.aieo-staff__nav button[aria-current="true"] { color: var(--aieo-st-fg); }
	.aieo-staff__nav button:focus-visible { outline: 2px solid var(--aieo-st-fg); outline-offset: 0; }
	.aieo-staff__nav i {
		position: absolute;
		left: 0;
		bottom: -1px;
		width: 100px;
		height: 2px;
		background: var(--aieo-st-accent);
		transform: scaleX(var(--aieo-st-w0, 0));
		transform-origin: 0 50%;
		pointer-events: none;
	}
	.aieo-staff__nav button { transition: color 300ms; }
}
