/*
 * 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(135deg, var(--ink-950) 0%, #0d0b06 28%, #1a1306 50%, #241a07 72%, var(--ink-950) 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(5, 5, 5, .72) 0%, rgba(13, 11, 6, .66) 32%, rgba(26, 19, 6, .66) 62%, rgba(36, 26, 7, .74) 100%);
}

/* multi-point gold ambient layer (matches delivery-proof hero) */
.ab-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 60% 55% at 8% 10%, var(--gold-glass-20) 0%, transparent 65%),
		radial-gradient(ellipse 50% 60% at 88% 40%, var(--gold-glass-10) 0%, transparent 65%),
		radial-gradient(ellipse 45% 35% at 50% 100%, var(--gold-glass-10) 0%, transparent 60%),
		linear-gradient(160deg, var(--gold-glass-06) 0%, transparent 50%);
}

/* subtle grid texture (matches delivery-proof hero) */
.ab-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(var(--gold-glass-04) 1px, transparent 1px), linear-gradient(90deg, var(--gold-glass-04) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
	z-index: 1;
}

/* ── Decorative rising particles (matches delivery-proof hero) ── */
.ah-leaf { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0; animation: abParticleRise var(--dur, 8s) ease-in-out var(--delay, 0s) infinite; z-index: 1; }
.ah-leaf.glow { box-shadow: 0 0 6px 2px var(--gold-glass-55); }
.ah-leaf.glow-lg { box-shadow: 0 0 10px 4px var(--gold-glass-40); }

@keyframes abParticleRise {
	0% { opacity: 0; transform: translateY(0) scale(.5); }
	10% { opacity: 1; }
	75% { opacity: .5; }
	100% { opacity: 0; transform: translateY(-200px) scale(1.2); }
}

@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(--gold-400), var(--gold-600));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 28px -6px var(--gold-glass-55);
	border: 3px solid var(--white-glass-15);
	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: var(--ink-900);
	stroke-width: 1.8;
}

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

.ab-hero-inner {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: min(760px, 100%);
	max-width: 760px;
	margin: 0 auto;
	padding: 20px 24px 26px;
	border-radius: 28px;
	/* Blur only the artwork visible through this transparent content panel. */
	background: transparent;
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: 0 22px 50px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .12);
}

/* Match the reference composition: a stable, vertically centred card inside
   a 409px desktop hero. The natural document flow remains in place on smaller screens. */
@media (min-width: 901px) {
	.ab-hero {
		box-sizing: border-box;
		min-height: 409px;
		display: grid;
		place-items: center;
	}

	.ab-hero-inner {
		margin: 0;
	}
}

.ah-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gold-glass-10);
	border: 1px solid var(--gold-glass-35);
	color: var(--gold-400);
	box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
	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: #fff;
	opacity: 0;
	animation: abHeroIn .7s var(--ease) .08s forwards;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.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: rgba(255, 255, 255, .84);
	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(--gold-400), var(--gold-600));
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 700;
	font-size: 12px;
	color: var(--ink-900);
	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: rgba(255, 255, 255, .86);
	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(--gold-400);
	font-weight: 900;
}
