/* =============================================
   Book Project Page — book-project.css
   ============================================= */

/* Hero */
.bp-hero {
	min-height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	padding: 0 4%;
}

.bp-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.bp-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 80% center;
}

.bp-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(7, 80, 86, 1) 0%,
		rgba(7, 80, 86, 1) 40%,
		rgba(7, 80, 86, 0.85) 55%,
		rgba(7, 80, 86, 0.4) 72%,
		rgba(7, 80, 86, 0.1) 100%
	);
}

.bp-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
	padding: 10rem 0 6rem;
	width: 100%;
}

.bp-hero-content > * {
	max-width: 760px;
}

.bp-hero-text h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--white);
	line-height: 1.1;
	letter-spacing: -1px;
	margin-bottom: 1.5rem;
}

.bp-hero-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.8;
	max-width: 580px;
	margin-bottom: 2rem;
}

.bp-hero-ctas {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* About Section */
.bp-about-wrapper {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 4rem;
	align-items: start;
}

.bp-about-label {
	font-family: 'Funnel Sans', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--blaze-orange);
	position: sticky;
	top: 120px;
}

.bp-about-label::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--blaze-orange);
	margin-top: 1rem;
}

.bp-about-content h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	color: var(--navy-black);
	margin-bottom: 1.5rem;
	max-width: 600px;
}

.bp-about-content p {
	font-size: 1.1rem;
	color: #5a6872;
	line-height: 1.9;
	max-width: 600px;
}

.bp-about-content p + p {
	margin-top: 1.5rem;
}

/* Table of Contents */
.bp-toc-container {
	background: var(--white);
	border-radius: 16px;
	padding: 3rem;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(7, 80, 86, 0.08);
}

.bp-toc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem 4rem;
}

.bp-toc-column {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bp-toc-item {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(7, 80, 86, 0.08);
	transition: padding-left 0.3s ease;
}

.bp-toc-item:last-child {
	border-bottom: none;
}

.bp-toc-item:hover {
	padding-left: 0.5rem;
}

.bp-toc-item:hover .bp-toc-number {
	color: var(--blaze-orange);
}

.bp-toc-number {
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--dark-teal);
	min-width: 28px;
	padding-top: 0.15rem;
	transition: color 0.3s ease;
}

.bp-toc-content {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.bp-toc-title {
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--navy-black);
	line-height: 1.3;
}

.bp-toc-desc {
	font-size: 0.85rem;
	color: #6a7580;
	line-height: 1.5;
}

/* TOC see more — desktop hidden, mobile shown */
.bp-toc-see-more {
	display: none;
	text-align: center;
	margin-top: 1.5rem;
}

/* Featured Voices — matches Leadership Teams styling from our-story */
.bp-voices-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	justify-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.bp-voices-grid .team-member {
	text-align: center;
	transition: transform 0.3s ease;
}

.bp-voices-grid .team-member:hover {
	transform: translateY(-5px);
}

.bp-voices-grid .team-member-photo {
	width: 180px;
	height: 180px;
	border-radius: 8px;
	overflow: hidden;
	margin: 0 auto 1rem;
	box-shadow: 0 10px 30px rgba(7, 80, 86, 0.15);
}

.bp-voices-grid .team-member-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.bp-voices-grid .team-member:hover .team-member-photo img {
	transform: scale(1.05);
}

.bp-voices-grid .team-member h4 {
	font-size: 1.1rem;
	color: var(--navy-black);
	margin-bottom: 0.25rem;
}

.bp-voices-grid .team-member p {
	font-size: 0.85rem;
	color: #5a6872;
}

/* How to Get Involved */
.bp-involved-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.bp-involved-card {
	background: var(--white);
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(7, 80, 86, 0.08);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-involved-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(7, 80, 86, 0.1);
}

.bp-involved-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--dark-teal);
	color: var(--white);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 50%;
	margin-bottom: 1.25rem;
}

.bp-involved-card h3 {
	font-size: 1.2rem;
	color: var(--navy-black);
	margin-bottom: 0.75rem;
}

.bp-involved-card p {
	font-size: 0.95rem;
	color: #5a6872;
	line-height: 1.8;
}

.bp-involved-cta {
	background: var(--white);
	border-radius: 12px;
	padding: 2.5rem 3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 2px solid var(--dark-teal);
}

.bp-involved-cta p {
	font-family: 'Funnel Sans', sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--navy-black);
	line-height: 1.5;
	margin: 0;
	max-width: 700px;
}

/* Author Section */
.bp-author-wrapper {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 4rem;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.bp-author-image {
	position: relative;
}

.bp-author-image img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(7, 80, 86, 0.15);
	display: block;
}

.bp-author-accent {
	position: absolute;
	bottom: -20px;
	right: -20px;
	width: 150px;
	height: 150px;
	background: var(--blaze-orange);
	border-radius: 16px;
	z-index: -1;
	opacity: 0.15;
}

.bp-author-content h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--navy-black);
	margin-bottom: 0.4rem;
}

.bp-author-title {
	font-size: 1rem;
	color: var(--blaze-orange);
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.bp-author-content p {
	font-size: 1.05rem;
	color: #5a6872;
	line-height: 1.8;
	margin-bottom: 1rem;
}

/* Quote Section */
.bp-quote-section {
	background: linear-gradient(135deg, var(--sea-green) 0%, var(--dark-teal) 100%);
	padding: 6rem 4%;
	position: relative;
	overflow: hidden;
}

.bp-quote-wrapper {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 2;
}

.bp-quote-text {
	font-family: 'Funnel Sans', sans-serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 500;
	color: var(--white);
	line-height: 1.5;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.bp-quote-author {
	font-size: 1rem;
	color: var(--white);
	font-weight: 600;
	margin-bottom: 2.5rem;
}

.bp-quote-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
	.bp-author-wrapper {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.bp-author-image {
		display: flex;
		justify-content: center;
	}

	.bp-author-image img {
		max-width: 320px;
	}
}

@media (max-width: 992px) {
	.bp-about-wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.bp-about-label {
		position: static;
	}

	.bp-involved-grid {
		grid-template-columns: 1fr;
	}

	.bp-involved-cta {
		flex-direction: column;
		text-align: center;
		padding: 2rem;
	}
}

@media (max-width: 768px) {
	.bp-voices-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.bp-voices-grid .team-member-photo {
		width: 150px;
		height: 150px;
	}
}

@media (max-width: 480px) {
	.bp-voices-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.bp-hero-content {
		padding: 8rem 0 4rem;
	}

	.bp-toc-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.bp-toc-container {
		padding: 1.5rem;
	}

	.bp-toc-see-more {
		display: block;
	}

	.bp-toc-item--hidden {
		display: none;
	}

	.bp-toc-item--hidden.bp-toc-visible {
		display: flex;
	}

	.bp-hero-ctas {
		flex-direction: column;
		align-items: flex-start;
	}

	.bp-quote-ctas {
		flex-direction: column;
		align-items: center;
	}

	.bp-author-accent {
		right: 0;
	}

	#bp-toc-toggle {
		background-color: unset;
		color: rgba(7, 80, 86, 0.97);
	}

	.bp-hero-bg img {
		object-position: right bottom;
		object-fit: cover;
		width: 100%;
		height: 50%;
		position: absolute;
		bottom: 0;
	}

	.bp-hero-bg::after {
		background: linear-gradient(
			to bottom,
			rgba(7, 80, 86, 1) 0%,
			rgba(7, 80, 86, 1) 55%,
			rgba(7, 80, 86, 0) 160%
		);
	}
}
