.bio-toggle {
	background: none;
	border: none;
	color: var(--accent);
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: bold;
	padding: 0;
	text-decoration: underline;
}

.bio-modal-overlay {
	display: flex;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-modal-overlay.open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bio-modal {
	background: white;
	border-radius: 14px;
	max-width: 560px;
	width: 100%;
	padding: 32px 28px 28px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	position: relative;
	max-height: 85vh;
	overflow-y: auto;
	transform: scale(0.95);
	transition: transform 0.3s ease;
}

.bio-modal-overlay.open .bio-modal {
	transform: scale(1);
}

.bio-modal h3 {
	margin-bottom: 14px;
	color: var(--accent);
}

.bio-modal p {
	line-height: 1.7;
	color: #444;
}

.bio-modal-close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #888;
	line-height: 1;
}

.bio-modal-close:hover {
	color: var(--dark);
}

.bio-modal--letter {
	max-width: 680px;
	line-height: 1.8;
}

.bio-modal--letter p {
	margin-bottom: 1rem;
}

.bio-modal--letter h4 {
	margin-top: 1.5rem;
	font-size: 1.05rem;
	color: var(--accent);
}
