/*
 * About Us — hero (SVG figure silhouettes, floating orbit badges, leaf drift)
 * Depends on: design-tokens.css
 * Page: body.log-about-page
 */

/* Blocksy's [data-vertical-spacing*="top"] attribute selector adds its own
   padding-top to .ct-container ahead of the hero (same fix applied on
   shop/category/delivery-proof/faq pages). */
body.log-about-page [class*="ct-container"][data-vertical-spacing] {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.ab-hero {
	position: relative;
	background: linear-gradient(115deg, #dcedff 0%, #d6e9ff 32%, #cfe4ff 62%, #ffa866 100%);
	overflow: hidden;
	padding: 48px 24px 40px;
	text-align: center;
}

.ab-hero-photo {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.ab-hero-photo svg {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(1400px, 160%);
	height: auto;
	opacity: .55;
}

.ab-hero-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(207, 228, 255, .72) 0%, rgba(220, 235, 255, .66) 32%, rgba(220, 235, 255, .66) 62%, rgba(255, 168, 102, .74) 100%);
}

.ab-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 10%), rgba(255, 255, 255, .4), transparent 45%);
	pointer-events: none;
}

.ah-leaf {
	position: absolute;
	color: var(--sage-700);
	opacity: 0;
	animation: abLeafDrift 7.5s ease-in-out infinite;
	pointer-events: none;
}

.ah-leaf.alt {
	animation-name: abLeafDriftAlt;
	color: var(--plum-600);
}

.ah-leaf.sm .icon {
	width: 10px;
	height: 10px;
}

.ah-leaf.lg .icon {
	width: 19px;
	height: 19px;
}

.ah-leaf .icon {
	width: 14px;
	height: 14px;
}

@keyframes abLeafDrift {
	0% {
		opacity: 0;
		transform: translateY(0) translateX(0) rotate(0deg);
	}

	12% {
		opacity: .5;
	}

	50% {
		opacity: .32;
		transform: translateY(-100px) translateX(14px) rotate(140deg);
	}

	100% {
		opacity: 0;
		transform: translateY(-170px) translateX(22px) rotate(250deg);
	}
}

@keyframes abLeafDriftAlt {
	0% {
		opacity: 0;
		transform: translateY(0) translateX(0) rotate(0deg);
	}

	12% {
		opacity: .45;
	}

	50% {
		opacity: .28;
		transform: translateY(-120px) translateX(-18px) rotate(-130deg);
	}

	100% {
		opacity: 0;
		transform: translateY(-200px) translateX(-30px) rotate(-240deg);
	}
}

@media(max-width:640px) {
	.ah-leaf {
		display: none;
	}
}

.ab-badge {
	position: absolute;
	pointer-events: none;
	opacity: .94;
	animation: abOrbitMove 11s ease-in-out infinite;
}

.ab-badge.p2 {
	opacity: .85;
	animation: abOrbitMoveRev 14s ease-in-out infinite;
}

@keyframes abOrbitMove {
	0% {
		transform: translate(0, 0);
	}

	25% {
		transform: translate(30px, -20px);
	}

	50% {
		transform: translate(0, -34px);
	}

	75% {
		transform: translate(-30px, -20px);
	}

	100% {
		transform: translate(0, 0);
	}
}

@keyframes abOrbitMoveRev {
	0% {
		transform: translate(0, 0);
	}

	25% {
		transform: translate(-20px, -16px);
	}

	50% {
		transform: translate(0, -26px);
	}

	75% {
		transform: translate(20px, -16px);
	}

	100% {
		transform: translate(0, 0);
	}
}

.ab-badge-circle {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(150deg, var(--sage-500), var(--plum-700));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 16px 34px -8px rgba(31, 58, 52, .42);
	border: 3px solid rgba(255, 255, 255, .65);
	animation: abSpinBadge 9s linear infinite;
}

.ab-badge.p2 .ab-badge-circle {
	animation: abSpinBadge 7s linear infinite reverse;
}

@keyframes abSpinBadge {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.ab-badge-circle .icon {
	color: #fff;
	stroke-width: 1.8;
}

@media(max-width:900px) {
	.ab-badge {
		display: none;
	}
}

.ab-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
	padding: 20px 24px 26px;
	border-radius: 28px;
}

.ab-hero-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .22);
	backdrop-filter: blur(6px);
	border-radius: inherit;
	z-index: -1;
	-webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 55%, transparent 100%);
	mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 55%, transparent 100%);
}

.ah-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .55);
	border: 1px solid rgba(138, 106, 46, .35);
	color: var(--sage-700);
	padding: 7px 15px;
	border-radius: var(--r-pill);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: 0;
	animation: abHeroIn .7s var(--ease) forwards;
}

@keyframes abHeroIn {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ab-hero h1 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.12;
	font-size: clamp(28px, 4.6vw, 48px);
	letter-spacing: -.01em;
	margin-top: 14px;
	/* Explicit — Blocksy's sitewide h1{color:var(--theme-heading-color)} otherwise wins. */
	color: var(--ink-900);
	opacity: 0;
	animation: abHeroIn .7s var(--ease) .08s forwards;
	text-shadow: 0 2px 18px rgba(255, 255, 255, .5);
}

.ab-hero h1 em {
	font-style: italic;
	font-weight: 600;
	background: linear-gradient(100deg, var(--sage-700) 30%, var(--plum-500) 50%, var(--sage-700) 70%);
	background-size: 240% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: abShimmerText 6s linear infinite;
}

@keyframes abShimmerText {
	0% {
		background-position: 0% 50%;
	}

	100% {
		background-position: -240% 50%;
	}
}

.ab-hero p.lede {
	margin: 10px auto 0;
	max-width: 520px;
	color: var(--ink-900);
	font-weight: 500;
	font-size: 13.5px;
	/* !important: beats log-parent-reset.css's .page .type-page .entry-content p
	   {line-height:inherit} (0,3,1), which otherwise wins over this (0,1,1) rule. */
	line-height: 1.6 !important;
	opacity: 0;
	animation: abHeroIn .7s var(--ease) .16s forwards;
}

.ah-proof {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	opacity: 0;
	animation: abHeroIn .7s var(--ease) .24s forwards;
}

.ah-avatars {
	display: flex;
}

.ah-av {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid var(--paper-50);
	background: linear-gradient(150deg, var(--sage-500), var(--plum-600));
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 700;
	font-size: 12px;
	color: #fff;
	margin-left: -10px;
}

.ah-avatars .ah-av:first-child {
	margin-left: 0;
}

/* line-height !important: same entry-content-p override as .ab-hero p.lede above. */
.ah-proof p {
	font-size: 12px;
	color: var(--ink-900);
	font-weight: 600;
	line-height: 1.2 !important;
	margin-bottom: 0px;
}

/* font-weight explicit: Blocksy's sitewide b,strong{font-weight:bold} (absolute 700) beats
   the browser's own relative bolder-from-600 math (which would naturally give 900 here). */
.ah-proof strong {
	color: var(--plum-800);
	font-weight: 900;
}