/**
 * Banner About block styles.
 * Matches Figma Hero About (node 823:17927) — cover, inset collage, bio, rule.
 * Header/nav from the design is intentionally omitted.
 */

.banner-about {
	box-sizing: border-box;
	color: var(--wp--preset--color--parchment, #faf9f4);
	width: 100%;    
	background: black;
}

.banner-about *,
.banner-about *::before,
.banner-about *::after {
	box-sizing: border-box;
}

.banner-about__inner {
	margin: 0;
	padding: 0;
	width: 100%;
}

/* -------------------------------------------------------------------------
   Cover — full-bleed banner stage (content flows top → bottom like Figma)
   ------------------------------------------------------------------------- */

.banner-about .banner-about__cover.wp-block-cover,
.banner-about .wp-block-cover.banner-about__cover {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-start !important;
	margin: 0;
	min-height: clamp(36rem, 75vw, 53.9375rem) !important; /* ~864px desktop */
	overflow: visible;
	padding: 0 !important;
	width: 100%;
}
.banner-about .banner-about__cover .wp-block-cover__inner-container {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 1.875rem; /* 30px — Figma */
	margin: 0 auto;
	max-width: 94.5rem; /* 1512px */
	overflow: visible;
	padding: 2.5rem; /* 40px — Figma px / pb */
	position: relative;
	width: 100%;
	z-index: 1;
}

/*
 * Overlay headers: reserve nav row + gap before collage (Figma py-20 + 55px logo + gap-30).
 */
body.header-behavior-animated .banner-about .banner-about__cover .wp-block-cover__inner-container,
body.header-behavior-fixed-overlay .banner-about .banner-about__cover .wp-block-cover__inner-container {
	padding-top: calc(5.9375rem + 1.875rem); /* 95px nav + 30px gap */
}

.banner-about .banner-about__cover .wp-block-cover__background {
	background-color: #000 !important;
	opacity: 0.4 !important;
}

.banner-about .banner-about__cover .wp-block-cover__image-background,
.banner-about .banner-about__cover img.wp-block-cover__image-background {
	object-fit: cover;
	object-position: center bottom;
}

/* <picture> replaces the Cover bg img when a mobile asset is set */
.banner-about .banner-about__bg {
	bottom: 0;
	display: block;
	height: 100%;
	left: 0;
	margin: 0;
	max-height: none;
	max-width: none;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 0;
}

.banner-about .banner-about__bg .wp-block-cover__image-background,
.banner-about .banner-about__bg img {
	display: block;
	height: 100% !important;
	left: auto !important;
	margin: 0;
	max-height: none;
	max-width: none;
	object-fit: cover;
	object-position: center bottom;
	position: static !important;
	right: auto !important;
	top: auto !important;
	width: 100% !important;
}

/* -------------------------------------------------------------------------
   Collage — three framed insets over the hero photo
   Figma frame 1452×518; positions relative to that area.
   ------------------------------------------------------------------------- */

.banner-about__collage,
.banner-about .wp-block-group.banner-about__collage {
	aspect-ratio: 1452 / 518;
	flex-shrink: 0;
	height: auto;
	margin: 0 auto !important;
	/* Figma: 1452px wide in 1512px frame → 30px inset each side, not 40px content padding */
	max-width: none;
	min-height: 0;
	padding: 0 !important;
	position: relative;
	width: min(90.75rem, calc(100vw - 3.75rem)); /* 1452px @ 1512 viewport */
}

.banner-about__inset,
.banner-about .wp-block-image.banner-about__inset,
.banner-about figure.banner-about__inset {
	border: 0.375rem solid var(--wp--preset--color--parchment-shade, #f0efe4); /* 6px */
	line-height: 0;
	margin: 0 !important;
	max-height: none;
	max-width: none;
	overflow: hidden;
	position: absolute;
	z-index: 2;
}

.banner-about__inset img,
.banner-about .wp-block-image.banner-about__inset img,
.banner-about figure.banner-about__inset img {
	display: block;
	height: 100% !important;
	max-height: none !important;
	max-width: none !important;
	object-fit: cover;
	width: 100% !important;
}

/* Left: 211×265 @ left 17 / top 250 of 1452×518 */
.banner-about__inset--left,
.banner-about .wp-block-image.banner-about__inset--left {
	height: 51.16%;
	left: 1.17%;
	top: 48.26%;
	width: 14.53%;
}

/* Mid: 142×178 @ left 299 / top 214 */
.banner-about__inset--mid,
.banner-about .wp-block-image.banner-about__inset--mid {
	height: 34.36%;
	left: 20.59%;
	top: 41.31%;
	width: 9.78%;
}

/* Right: 253×331 @ left 1138 / top 214 */
.banner-about__inset--right,
.banner-about .wp-block-image.banner-about__inset--right {
	height: 63.9%;
	left: 78.37%;
	top: 41.31%;
	width: 17.42%;
}

/* -------------------------------------------------------------------------
   Bio paragraph — Desktop/H3, parchment, justified
   ------------------------------------------------------------------------- */

.banner-about__text,
.banner-about p.banner-about__text,
.banner-about .wp-block-paragraph.banner-about__text,
.banner-about .banner-about__text.has-text-align-left,
.banner-about .banner-about__text.has-text-align-center,
.banner-about .banner-about__text.has-text-align-right,
.editor-styles-wrapper .banner-about p.banner-about__text,
.editor-styles-wrapper .banner-about .wp-block-paragraph.banner-about__text {
	align-self: stretch;
	color: var(--wp--preset--color--parchment, #faf9f4) !important;
	font-family: var(
		--wp--preset--font-family--pp-neue-montreal,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif
	) !important;
	font-size: var(--wp--preset--font-size--h-3, 2.25rem) !important; /* 36px */
	font-style: normal;
	font-weight: 400 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.1 !important;
	margin: 0 !important;
	max-width: none !important;
	overflow-wrap: break-word;
	text-align: justify !important;
	text-indent: 2.875rem; /* ~11 spaces — Figma first-line inset */
	text-wrap: pretty;
	width: 100%;
}

/* -------------------------------------------------------------------------
   Bottom rule
   ------------------------------------------------------------------------- */

.banner-about__rule,
.banner-about .wp-block-separator.banner-about__rule {
	background-color: var(--wp--preset--color--parchment, #faf9f4) !important;
	border: none !important;
	border-radius: 0;
	height: 1px !important;
	margin: 0 !important;
	max-width: 100% !important;
	opacity: 1;
	width: 100% !important;
}

.banner-about__rule.has-background,
.banner-about .wp-block-separator.banner-about__rule.has-background {
	background-color: var(--wp--preset--color--parchment, #faf9f4) !important;
}

/* -------------------------------------------------------------------------
   Collage inset stagger (all breakpoints)
   ------------------------------------------------------------------------- */

.banner-about__collage > .banner-about__inset,
.banner-about__collage > .wp-block-image.banner-about__inset,
.banner-about__collage > figure.banner-about__inset {
	opacity: 0;
	transform: translate3d(0, var(--animate-distance-sm, 16px), 0);
	transition:
		opacity var(--animate-duration, 1.15s) var(--animate-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		transform var(--animate-duration, 1.15s) var(--animate-ease, cubic-bezier(0.22, 1, 0.36, 1));
	will-change: opacity, transform;
}

.banner-about__collage.is-in-view > .banner-about__inset,
.banner-about__collage.is-in-view > .wp-block-image.banner-about__inset,
.banner-about__collage.is-in-view > figure.banner-about__inset {
	opacity: 1;
	transform: none;
}

.banner-about__collage.is-in-view > .banner-about__inset:nth-child(1),
.banner-about__collage.is-in-view > .wp-block-image.banner-about__inset:nth-child(1),
.banner-about__collage.is-in-view > figure.banner-about__inset:nth-child(1) {
	transition-delay: calc(var(--animate-stagger-step, 150ms) * 0);
}

.banner-about__collage.is-in-view > .banner-about__inset:nth-child(2),
.banner-about__collage.is-in-view > .wp-block-image.banner-about__inset:nth-child(2),
.banner-about__collage.is-in-view > figure.banner-about__inset:nth-child(2) {
	transition-delay: calc(var(--animate-stagger-step, 150ms) * 1);
}

.banner-about__collage.is-in-view > .banner-about__inset:nth-child(3),
.banner-about__collage.is-in-view > .wp-block-image.banner-about__inset:nth-child(3),
.banner-about__collage.is-in-view > figure.banner-about__inset:nth-child(3) {
	transition-delay: calc(var(--animate-stagger-step, 150ms) * 2);
}

.editor-styles-wrapper .banner-about__collage > .banner-about__inset,
.editor-styles-wrapper .banner-about__collage > .wp-block-image.banner-about__inset,
.editor-styles-wrapper .banner-about__collage > figure.banner-about__inset {
	opacity: 1;
	transform: none;
	transition: none;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 61.9375rem) {
	.banner-about .banner-about__cover .wp-block-cover__inner-container {
		gap: 1.5rem;
		padding: clamp(1.25rem, 4vw, 2rem);
	}

	body.header-behavior-animated .banner-about .banner-about__cover .wp-block-cover__inner-container,
	body.header-behavior-fixed-overlay .banner-about .banner-about__cover .wp-block-cover__inner-container {
		padding-top: calc(var(--header-offset, 7.5rem) + 1.5rem);
	}

	.banner-about__collage,
	.banner-about .wp-block-group.banner-about__collage {
		aspect-ratio: 1452 / 518;
		height: auto;
		min-height: 0;
		width: min(90.75rem, calc(100vw - 3.75rem));
	}

	.banner-about__inset--left,
	.banner-about .wp-block-image.banner-about__inset--left {
		height: 51.16%;
		left: 1.17%;
		top: 48.26%;
		width: 14.53%;
	}

	.banner-about__inset--mid,
	.banner-about .wp-block-image.banner-about__inset--mid {
		height: 34.36%;
		left: 20.59%;
		top: 41.31%;
		width: 9.78%;
	}

	.banner-about__inset--right,
	.banner-about .wp-block-image.banner-about__inset--right {
		height: 63.9%;
		left: 78.37%;
		top: 41.31%;
		width: 17.42%;
	}
}

@media (max-width: 48rem) {
	.banner-about .banner-about__cover.wp-block-cover,
	.banner-about .wp-block-cover.banner-about__cover {
		min-height: 0 !important;
	}

	.banner-about .banner-about__cover .wp-block-cover__inner-container {
		gap: 1.25rem; /* 20px — Figma 823:17919 */
		padding: 1.25rem; /* 20px */
	}

	body.header-behavior-animated .banner-about .banner-about__cover .wp-block-cover__inner-container,
	body.header-behavior-fixed-overlay .banner-about .banner-about__cover .wp-block-cover__inner-container {
		padding-top: calc(var(--header-offset, 7.5rem) + 1.25rem);
	}

	/* Collage stage — shortened from Figma 559px; ratio keeps inset % positions stable */
	.banner-about__collage,
	.banner-about .wp-block-group.banner-about__collage {
		aspect-ratio: 362 / 475;
		display: block;
		height: auto;
		margin-inline: auto !important;
		max-width: 22.625rem; /* 362px */
		min-height: 0;
		overflow: visible;
		padding: 0 !important;
		position: relative;
		width: 100%;
	}

	.banner-about__inset,
	.banner-about .wp-block-image.banner-about__inset,
	.banner-about figure.banner-about__inset {
		margin: 0 !important;
		position: absolute;
	}

	/* Left — portrait frame, nudged up */
	.banner-about__inset--left,
	.banner-about .wp-block-image.banner-about__inset--left {
		height: 29%;
		left: 16.57%;
		top: 23%;
		width: 28.45%;
	}

	/* Mid — portrait frame, nudged up */
	.banner-about__inset--mid,
	.banner-about .wp-block-image.banner-about__inset--mid {
		height: 20%;
		left: -9.39%;
		top: 2%;
		width: 18.97%;
	}

	/* Right — portrait frame, nudged up */
	.banner-about__inset--right,
	.banner-about .wp-block-image.banner-about__inset--right {
		height: 35%;
		left: 75.97%;
		top: 20%;
		width: 33.98%;
	}

	/* Mobile/H3 — 20px, -0.2px tracking */
	.banner-about__text,
	.banner-about p.banner-about__text,
	.banner-about .wp-block-paragraph.banner-about__text {
		font-size: 1.25rem !important;
		letter-spacing: -0.01em !important;
		line-height: 1.1 !important;
		text-align: justify !important;
		text-indent: 2.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.banner-about * {
		scroll-behavior: auto;
	}

	.banner-about__collage > .banner-about__inset,
	.banner-about__collage > .wp-block-image.banner-about__inset,
	.banner-about__collage > figure.banner-about__inset {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
