.pub-hero {
	position: relative;
	padding: 0;
	line-height: 0;
	overflow: hidden;
	background: #fff;
}

.pub-hero__photo {
	width: 100%;
	height: auto;
	display: block;
}

.pub-intro,
.pub-library,
.pub-quotes,
.pub-cta {
	background: #fff;
	color: #143427;
}

.pub-intro {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	overflow: visible;
}

.pub-intro__grid,
.pub-quotes__layout {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.pub-intro__photo {
	position: relative;
	width: min(88%, 340px);
	aspect-ratio: 540 / 530;
	margin: 0 auto;
	overflow: visible;
}

.pub-intro__pic {
	position: absolute;
	inset: 0;
	overflow: hidden;
	-webkit-mask-image: url(svgs/pub/intro-frame-mask.svg);
	mask-image: url(svgs/pub/intro-frame-mask.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 101.5% 101.5%;
	mask-size: 101.5% 101.5%;
	-webkit-mask-mode: alpha;
	mask-mode: alpha;
}

.pub-intro__frame {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.pub-intro__pic img,
.pub-quotes__photo img,
.pub-cta__art img,
.pub-quotes__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pub-intro h1,
.pub-quotes h2,
.pub-cta h2,
.pub-card h2 {
	margin: 0;
	color: #143427;
	font-family: "Work Sans Extra Bold", "Work Sans", sans-serif;
	font-weight: 400;
	line-height: 1.15;
}

.pub-intro h1 {
	margin-bottom: 1.15rem;
	font-size: 2.15rem;
	text-align: left;
}

.pub-rich,
.pub-rich p,
.pub-card p {
	color: #143427;
	font-family: "Work Sans Medium", "Work Sans", sans-serif;
	font-weight: 400;
}

.pub-rich p {
	margin: 0 0 1.15rem;
	font-size: 1.12rem;
	line-height: 1.65;
}

.pub-rich p:last-child {
	margin-bottom: 0;
}

.pub-library {
	padding-top: 1.5rem;
	padding-bottom: 3.5rem;
}

.pub-library__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3rem 1.75rem;
}

.pub-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 100%;
	max-width: 420px;
	text-align: center;
}

.pub-card__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 5.5rem;
	margin-bottom: 0.85rem;
}

.pub-card__icon img {
	width: auto;
	max-width: 96px;
	max-height: 88px;
	height: auto;
}

.pub-card h2 {
	margin-bottom: 0.75rem;
	font-size: 1.55rem;
}

.pub-card p {
	margin: 0 0 1.15rem;
	font-size: 1.02rem;
	line-height: 1.5;
}

.pub-card__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
	margin-top: auto;
}

.pub-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.65rem 1.15rem;
	border-radius: 8px;
	background: #82b65b;
	color: #fff;
	font-family: "Work Sans Bold", "Work Sans", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
}

.pub-btn:hover {
	background: #143427;
	color: #fff;
	text-decoration: none;
}

.pub-quotes {
	padding-top: 3rem;
	padding-bottom: 3.5rem;
}

.pub-quotes h2 {
	max-width: 16em;
	margin: 0 auto 2.25rem;
	font-size: 2.15rem;
	text-align: center;
}

.pub-quotes__art img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.pub-quotes__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.pub-quotes__viewport {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 420px;
	overflow: hidden;
}

.pub-quotes__track {
	display: flex;
	align-items: flex-start;
	transition: transform 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
	.pub-quotes__track {
		transition: none;
	}
}

.pub-quotes__slide {
	display: block;
	flex: 0 0 100%;
	width: 100%;
	margin: 0;
	text-align: center;
}

.pub-quotes__photo {
	width: min(100%, 280px);
	aspect-ratio: 310 / 356;
	margin: 0 auto 1.25rem;
	border-radius: 18px;
	overflow: hidden;
	background: #e7f3ef;
}

.pub-quotes blockquote {
	margin: 0;
	color: #143427;
	font-family: "Work Sans Medium", "Work Sans", sans-serif;
	font-size: 1.2rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.45;
}

.pub-quotes figcaption {
	margin-top: 0.85rem;
	color: #143427;
	font-family: "Work Sans Bold", "Work Sans", sans-serif;
	font-size: 1.05rem;
}

.pub-quotes figcaption::before {
	content: "- ";
}

.pub-quotes__nav {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #143427;
	cursor: pointer;
}

.pub-quotes__nav span {
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 auto;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(45deg);
}

.pub-quotes__next span {
	transform: rotate(-135deg);
}

.pub-cta {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.pub-cta__grid {
	position: relative;
}

.pub-cta__art img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.pub-cta__copy {
	position: absolute;
	z-index: 1;
	top: 46%;
	right: 8%;
	left: 44%;
	transform: translateY(-50%);
}

.pub-cta h2,
.pub-cta__copy h2 {
	margin-bottom: 0.85rem;
	color: #fff;
	font-size: 2.15rem;
}

@media (min-width: 800px) {
	.pub-intro {
		padding-top: 4.5rem;
		padding-bottom: 3.5rem;
	}

	.pub-intro__grid {
		grid-template-columns: 380px minmax(0, 1fr);
		gap: 3.25rem;
	}

	.pub-intro__photo {
		width: 360px;
	}

	.pub-intro h1,
	.pub-quotes h2,
	.pub-cta h2,
	.pub-cta__copy h2 {
		font-size: 2.9rem;
	}

	.pub-rich p {
		font-size: 1.22rem;
		line-height: 1.7;
	}

	.pub-card {
		flex: 0 1 340px;
		max-width: 360px;
	}

	.pub-quotes__layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 2.5rem 3rem;
	}

	.pub-quotes__photo {
		width: 280px;
	}
}

@media (max-width: 699px) {
	.pub-cta__copy {
		left: 40%;
		right: 6%;
	}

	.pub-cta h2,
	.pub-cta__copy h2 {
		margin-bottom: 0.45rem;
		font-size: 1.35rem;
	}

	.pub-cta__copy .pub-btn {
		min-height: 34px;
		padding: 0.35rem 0.8rem;
		font-size: 0.85rem;
	}
}
