/* t1231u Chapter 08 — Our Team. Staging only.
   Version 1.0.2-ch08-pinned-scroll-t1239u (pin→build→release; visual from t1231u locked)
   Editorial split. Photo is NOT a full-width background.
   Does not restyle Chapter 07. Does not start Chapter 09. */

#t1231u-ch08 {
	--t1231u-navy: #0E1C2C;
	--t1231u-navy-mid: #152536;
	--t1231u-charcoal: #111820;
	--t1231u-gold: #C9A65A;
	--t1231u-ivory: #F8F5EE;
	--t1231u-soft: #F4F6F8;
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin: 0;
	margin-left: calc(50% - 50vw);
	padding: 0;
	background: #F8F5EE;
	color: #F4F6F8;
	font-family: Inter, Helvetica, Arial, sans-serif;
	overflow-x: clip;
}
#t1231u-ch08 .t1231u__bleed {
	position: relative;
	width: 100%;
	overflow: hidden;
}

/* t1239u pin track — height set by JS as shellH + travel; reduced-motion collapses */
#t1231u-ch08 .t1231u__pin-track {
	position: relative;
	width: 100%;
	height: var(--t1239u-track-h, auto);
	min-height: 0;
}
#t1231u-ch08 .t1231u__pin-sticky {
	position: sticky;
	top: var(--t1239u-sticky-top, 18vh);
	width: 100%;
	z-index: 2;
}
#t1231u-ch08[data-t1239u-reduced="1"] .t1231u__pin-track {
	height: auto !important;
}
#t1231u-ch08[data-t1239u-reduced="1"] .t1231u__pin-sticky {
	position: relative;
	top: auto;
}

#t1231u-ch08 *,
#t1231u-ch08 *::before,
#t1231u-ch08 *::after {
	box-sizing: border-box;
}

/* Breathing space after warm ivory Chapter 07 */
#t1231u-ch08 .t1231u__breath {
	height: 56px;
	background: #F8F5EE;
	pointer-events: none;
}

#t1231u-ch08 .t1231u__shell {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	background: #0E1C2C;
	min-height: 560px;
	height: min(72vh, 720px);
	overflow: hidden;
}

#t1231u-ch08 .t1231u__rail {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 0 36px;
	background: #0A1520;
	border-right: 1px solid rgba(201, 166, 90, 0.18);
}

#t1231u-ch08 .t1231u__num {
	margin: 0 0 10px;
	font-family: Cinzel, "Times New Roman", Georgia, serif;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	color: #C9A65A;
}

#t1231u-ch08 .t1231u__rail-label {
	margin: 0 0 18px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
	color: rgba(244, 246, 248, 0.72);
}

#t1231u-ch08 .t1231u__rail-label span {
	display: block;
}

#t1231u-ch08 .t1231u__rail-line {
	display: block;
	width: 2px;
	flex: 1 1 auto;
	min-height: 120px;
	max-height: 260px;
	background: rgba(201, 166, 90, 0.18);
	overflow: hidden;
}

#t1231u-ch08 .t1231u__rail-fill {
	display: block;
	width: 2px;
	height: 100%;
	background: #C9A65A;
	transform: scaleY(0);
	transform-origin: top center;
	transition: none !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__split {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 45%) minmax(0, 55%);
	min-height: 0;
	height: 100%;
	align-items: stretch;
}

/* LEFT dark editorial field — text only. Never over people. */
#t1231u-ch08 .t1231u__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 72px 40px 72px 48px;
	background:
		linear-gradient(
			90deg,
			#0E1C2C 0%,
			#0E1C2C 78%,
			rgba(14, 28, 44, 0.92) 90%,
			rgba(14, 28, 44, 0) 100%
		);
	opacity: 0.92;
	transition: none !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #C9A65A;
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition: none !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__headline {
	margin: 0 0 22px;
	font-family: Cinzel, "Times New Roman", Georgia, serif;
	font-weight: 500;
	font-size: clamp(28px, 3.1vw, 44px);
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: #F8F5EE;
	opacity: 0;
	transform: translate3d(0, 52px, 0) scale(0.975);
	transform-origin: left center;
	transition: none !important;
	animation: none !important;
}

/* Line breaks preserved; motion is on the whole headline block only */
#t1231u-ch08 .t1231u__hl {
	display: block;
	opacity: 1;
	transform: none;
	transition: none !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__support {
	margin: 0 0 12px;
	max-width: 28em;
	font-size: 17px;
	line-height: 1.5;
	font-weight: 500;
	color: rgba(244, 246, 248, 0.92);
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: none !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__secondary {
	margin: 0 0 28px;
	max-width: 28em;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
	color: rgba(244, 246, 248, 0.72);
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	transition: none !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 48px;
	padding: 13px 20px;
	border: 1px solid #C9A65A;
	border-radius: 2px;
	background: transparent;
	color: #F8F5EE;
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
	animation: none !important;
}

#t1231u-ch08 .t1231u__cta:hover {
	background: rgba(201, 166, 90, 0.12);
	border-color: #D5AE59;
	color: #FFFFFF;
}

#t1231u-ch08 .t1231u__cta:focus-visible {
	outline: 2px solid #C9A65A;
	outline-offset: 3px;
}

/* RIGHT photo zone — people only. No text overlay. */
#t1231u-ch08 .t1231u__photo {
	position: relative;
	z-index: 1;
	margin: 0;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	background: #111820;
	opacity: 0.55;
	transform: none;
	transition: none !important;
	animation: none !important;
}
/* Motion target is the img so scale cannot expand page scrollWidth */
#t1231u-ch08 .t1231u__photo-motion {
	opacity: 1;
	transform: translate3d(24px, 0, 0) scale(1.035);
	transform-origin: center right;
	transition: none !important;
	animation: none !important;
	will-change: transform, opacity;
}

#t1231u-ch08 .t1231u__photo img,
#t1231u-ch08 .t1231u__photo-img {
	/* Width-locked framing: full team always visible; vertical crop via container */
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: -6% !important;
	bottom: auto !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: initial !important;
	/* opacity/transform driven by JS on .t1231u__photo-motion */
	transition: none !important;
	animation: none !important;
}

/* Soft center blend from dark field into photo (not over faces) */
#t1231u-ch08 .t1231u__split::before {
	content: "";
	position: absolute;
	left: 42%;
	top: 0;
	bottom: 0;
	width: 12%;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(14, 28, 44, 0.55) 0%,
		rgba(14, 28, 44, 0.18) 45%,
		rgba(14, 28, 44, 0) 100%
	);
}

@media (max-width: 1439px) {
	#t1231u-ch08 .t1231u__split {
		grid-template-columns: minmax(0, 46%) minmax(0, 54%);
	}
	#t1231u-ch08 .t1231u__copy {
		padding: 64px 32px 64px 40px;
	}
}

@media (max-width: 1199px) {
	#t1231u-ch08 .t1231u__shell {
		grid-template-columns: 64px minmax(0, 1fr);
		min-height: 560px;
	}
	#t1231u-ch08 .t1231u__split {
		grid-template-columns: minmax(0, 48%) minmax(0, 52%);
		min-height: 560px;
	}
	#t1231u-ch08 .t1231u__copy {
		padding: 56px 28px 56px 32px;
	}
	#t1231u-ch08 .t1231u__num {
		font-size: 24px;
	}
}

@media (max-width: 1024px) {
	#t1231u-ch08 .t1231u__breath {
		height: 44px;
	}
	#t1231u-ch08 .t1231u__shell {
		grid-template-columns: 56px minmax(0, 1fr);
		min-height: 520px;
	}
	#t1231u-ch08 .t1231u__split {
		grid-template-columns: minmax(0, 48%) minmax(0, 52%);
		min-height: 520px;
	}
	#t1231u-ch08 .t1231u__copy {
		padding: 48px 22px 48px 24px;
	}
	#t1231u-ch08 .t1231u__headline {
		font-size: clamp(24px, 3.4vw, 34px);
	}
	#t1231u-ch08 .t1231u__support {
		font-size: 15.5px;
	}
	#t1231u-ch08 .t1231u__photo img {
		object-position: 50% 16%;
	}
}

/* Tablet portrait / narrow: keep split if possible, tighten */
@media (max-width: 900px) {
	#t1231u-ch08 .t1231u__shell {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
	}

	#t1231u-ch08 .t1231u__pin-sticky {
		top: var(--t1239u-sticky-top, 12vh);
	}
	#t1231u-ch08 .t1231u__photo {
		opacity: 0.65;
		transform: none;
	}
	#t1231u-ch08 .t1231u__photo-motion {
		transform: translate3d(0, 18px, 0) scale(1.025);
		transform-origin: center center;
	}
	#t1231u-ch08 .t1231u__rail {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 14px;
		padding: 18px 22px;
		border-right: 0;
		border-bottom: 1px solid rgba(201, 166, 90, 0.18);
	}
	#t1231u-ch08 .t1231u__num {
		margin: 0;
		font-size: 22px;
	}
	#t1231u-ch08 .t1231u__rail-label {
		margin: 0;
		display: flex;
		gap: 0.45em;
		font-size: 10px;
		text-align: left;
	}
	#t1231u-ch08 .t1231u__rail-label span {
		display: inline;
	}
	#t1231u-ch08 .t1231u__rail-line {
		display: none;
	}
	#t1231u-ch08 .t1231u__split {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	#t1231u-ch08 .t1231u__split::before {
		display: none;
	}
	#t1231u-ch08 .t1231u__copy {
		padding: 40px 24px 28px;
		background: #0E1C2C;
		opacity: 1;
	}
	#t1231u-ch08 .t1231u__photo {
		min-height: 420px;
		height: min(72vw, 520px);
	}
	#t1231u-ch08 .t1231u__photo img {
		object-position: 50% 12%;
	}
}

@media (max-width: 699px) {
	#t1231u-ch08 .t1231u__breath {
		height: 36px;
	}
	#t1231u-ch08 .t1231u__rail {
		padding: 16px 18px;
	}
	#t1231u-ch08 .t1231u__copy {
		padding: 32px 18px 24px;
	}
	#t1231u-ch08 .t1231u__headline {
		font-size: 26px;
		margin-bottom: 18px;
	}
	#t1231u-ch08 .t1231u__support {
		font-size: 15px;
	}
	#t1231u-ch08 .t1231u__secondary {
		font-size: 14px;
		margin-bottom: 22px;
	}
	#t1231u-ch08 .t1231u__cta {
		min-height: 46px;
		width: 100%;
		max-width: 100%;
	}
	/* Taller image so all four people stay readable — not tiny */
	#t1231u-ch08 .t1231u__photo {
		min-height: 460px;
		height: min(120vw, 560px);
	}
	#t1231u-ch08 .t1231u__photo img {
		object-fit: cover;
		object-position: 50% 10%;
	}
}

@media (max-width: 430px) {
	#t1231u-ch08 .t1231u__photo {
		min-height: 480px;
		height: min(130vw, 580px);
	}
}

@media (prefers-reduced-motion: reduce) {
	#t1231u-ch08 .t1231u__pin-track {
		height: auto !important;
	}
	#t1231u-ch08 .t1231u__pin-sticky {
		position: relative !important;
		top: auto !important;
	}
	#t1231u-ch08 [data-t1231u-piece],
	#t1231u-ch08 .t1231u__photo,
	#t1231u-ch08 .t1231u__photo img,
	#t1231u-ch08 .t1231u__rail-fill {
		opacity: 1 !important;
		transform: none !important;
	}
	#t1231u-ch08 .t1231u__rail-fill {
		transform: scaleY(1) !important;
	}
}
