:root {
	--zoo-blue: #2f5d99;
	--zoo-green: #5f8f32;
	--zoo-orange: #f29420;
	--zoo-red: #c75053;
	--zoo-ink: #35404c;
	--zoo-paper: #fefdf9;
	--zoo-border: #e5d6ad;
	--zoo-shadow: 0 14px 25px rgb(113 84 60 / 14%);
	--cnvs-primary-font: "Nunito", sans-serif;
	--cnvs-secondary-font: "Patrick Hand", cursive;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--zoo-ink);
	font-family: var(--cnvs-primary-font);
	background:
		radial-gradient(circle at 18% 8%, rgba(157, 202, 230, .38), transparent 26rem),
		radial-gradient(circle at 80% 24%, rgba(157, 202, 230, .22), transparent 24rem),
		linear-gradient(180deg, #f8fcff 0%, #fefdf9 34%, #fffaf0 100%);
	overflow-x: hidden;
}

h1,
h2,
h3,
.brand-mark span,
.footer-brand h2 {
	font-family: var(--cnvs-secondary-font);
	letter-spacing: 0;
}

p {
	font-size: 1.04rem;
	line-height: 1.65;
}

.container {
	max-width: 1320px;
}
#wrapper {

    background: #fefdf9 url(../images/bg-footer.jpg) center bottom / contain no-repeat fixed;
}
#header {
	--cnvs-header-height: 92px;
	--cnvs-header-bg: transparent;
	--cnvs-header-border-color: transparent;
	--cnvs-header-sticky-bg: rgba(248, 252, 255, .94);
	--cnvs-primary-menu-font: "Nunito", sans-serif;
	--cnvs-primary-menu-font-weight: 800;
	--cnvs-primary-menu-font-size: .88rem;
	border-bottom: 0;
}

#header #header-wrap {
	transition: background-color .25s ease, box-shadow .25s ease;
}

#header.transparent-header:not(.sticky-header) {
	--cnvs-header-bg: transparent;
	--cnvs-header-border-color: transparent;
}

#header.transparent-header:not(.sticky-header):not(.sticky-header-shrink) #header-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 299;
	background-color: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
}

#header.is-scrolled,
#header.sticky-header,
#header.sticky-header-shrink {
	--cnvs-header-bg: rgba(248, 252, 255, .94);
	--cnvs-header-sticky-bg: rgba(248, 252, 255, .94);
	--cnvs-header-border-color: rgba(212, 226, 235, .74);
}

#header.is-scrolled #header-wrap,
#header.sticky-header #header-wrap,
#header.sticky-header-shrink #header-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 299;
	background-color: rgba(248, 252, 255, .94);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 28px rgba(87, 111, 137, .12);
}

.brand-mark {
	display: inline-grid;
	text-align: center;
	text-decoration: none;
	line-height: 1;
}

.brand-mark span {
	color: #477126;
	font-size: clamp(2rem, 3vw, 3.05rem);
	font-weight: 700;
}

.brand-mark small {
	padding-left: 80px;
	margin-top: .25rem;
	color: var(--zoo-orange);
	font-size: .9rem;
	font-weight: 900;
	letter-spacing: .26em;
	text-transform: uppercase;
}

.menu-link {
	color: #26313d;
}

.menu-link:hover {
	color: var(--zoo-green);
}

.buy-button,
.story-button {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(180deg, #ffab31 0%, #ef8618 100%);
	box-shadow: 0 8px 18px rgba(239, 134, 24, .24);
	color: #fff;
	font-weight: 900;
	text-transform: none;
	letter-spacing: 0;
}

.story-button.green {
	background: linear-gradient(180deg, #7fb243 0%, #5d922e 100%);
	box-shadow: 0 8px 18px rgba(93, 146, 46, .22);
	color: #fff;
}

.story-button.green,
.story-button.blue,
.story-button.red,
.story-button.orange {
	color: #fff;
}

.story-button.small {
	padding: .62rem 1rem;
	font-size: .9rem;
}

.hero-section {
	position: relative;
	min-height: auto;
	padding: 112px 0 130px;
	background: url("../images/marquee.jpg") center bottom / 100% auto no-repeat;
	overflow: hidden;
}
/*
.site-footer::before {
	content: "";
	position: absolute;
	left: -5%;
	right: -5%;
	bottom: -1px;
	height: 80px;
	background: #fefdf9;
	border-radius: 50% 50% 0 0 / 78% 78% 0 0;
}
*/
.hero-copy {
	position: relative;
	z-index: 2;
	padding-left: clamp(1rem, 5vw, 5rem);
}

.hero-parrot-overlay {
	z-index: 1;
	pointer-events: none;
}

.hero-copy h1 {
	margin-bottom: 1.25rem;
	color: var(--zoo-blue);
	font-size: clamp(4.2rem, 8vw, 7.5rem);
	font-weight: 700;
	line-height: .84;
	text-shadow: 0 2px 0 rgba(29, 64, 111, .2);
}

.hero-copy h1 b {
	color: var(--zoo-orange);
	font-weight: 700;
}

.hero-copy h1 b.green {
	color: var(--zoo-green);
}

.hero-copy p {
	max-width: 520px;
	margin-bottom: 2rem;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 800;
	line-height: 1.45;
}

.hero-book {
	position: relative;
	z-index: 2;
	width: 100%;
	filter: drop-shadow(0 18px 25px rgba(67, 76, 49, .12));
}

.story-intro,
.animal-section,
.activities-section,
.testimonials-section,
.signup-section {
	position: relative;
	padding: 34px 0 58px;
	/*background: #fefdf9;*/
}

.story-intro {
	z-index: 4;
	padding-top: 0;
	background: transparent;
}

.watercolor-panel,
.animal-card,
.activity-card,
.reader-quote {
	border: 2px solid var(--zoo-border);
	border-radius: 8px;
	background: rgba(255, 254, 247, .86);
	box-shadow: var(--zoo-shadow);
}

.wobbly-box {
	border: 3px solid var(--zoo-border);
	border-radius: 24px;
	border-shape: var(--wobble-shape);
}

.intro-panel {
	padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem);
	background-color: #fbfcf6;
}

.intro-panel h2,
.author-section h2,
.signup-section h2 {
	margin-bottom: .75rem;
	color: #477126;
	font-size: clamp(2.35rem, 4vw, 3.6rem);
	line-height: 1.05;
}

.intro-animal {
	max-height: 260px;
}

.intro-bird {
	max-height: 260px;
}

.section-title h2 {
	margin-bottom: 1.35rem;
	color: var(--zoo-blue);
	font-size: clamp(2.8rem, 4.2vw, 4.25rem);
	line-height: 1;
}

.orange-title h2 {
	color: var(--zoo-orange);
}

.animal-card {
	position: relative;
	min-height: 390px;
	padding: 1.25rem 1.15rem 1rem;
	overflow: hidden;
}

.animal-card .letter {
	float: left;
	margin-right: .5rem;
	font-family: var(--cnvs-secondary-font);
	font-size: 5.6rem;
	line-height: .78;
	text-shadow: 0 2px 0 rgba(0, 0, 0, .16);
}

.orange {
	color: var(--zoo-orange);
}

.green {
	color: var(--zoo-green);
}

.blue {
	color: var(--zoo-blue);
}

.red {
	color: var(--zoo-red);
}

.animal-card h3 {
	min-height: 74px;
	margin: .2rem 0 1rem;
	color: var(--zoo-ink);
	font-family: var(--cnvs-primary-font);
	font-size: 1.08rem;
	font-weight: 900;
	line-height: 1.2;
}



.animal-card p {
	min-height: 48px;
	margin: .7rem 0 .4rem;
	text-align: center;
	font-size: .92rem;
	font-weight: 800;
	line-height: 1.35;
	position: absolute;
	bottom: 0;
	place-self: center;
}

.paw {
	display: block;
	width: 24px;
	height: 24px;
	margin: .1rem auto 0;
	overflow: hidden;
	color: transparent;
	background:
		radial-gradient(circle at 50% 72%, #a06c2e 0 5px, transparent 5px),
		radial-gradient(circle at 24% 34%, #a06c2e 0 4px, transparent 4px),
		radial-gradient(circle at 50% 25%, #a06c2e 0 4px, transparent 4px),
		radial-gradient(circle at 76% 34%, #a06c2e 0 4px, transparent 4px);
}

.author-section {
	padding: 54px 0 46px;

}

.author-bg {
	background: url("../images/em-bg.jpg") center center / contain no-repeat;
}

.author-photo {
	width: min(100%, 320px);
	filter: drop-shadow(0 12px 16px rgba(66, 72, 51, .14));
}

.activity-card {
	position: relative;
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: .7rem;
	min-height: 158px;
	padding: 1rem 1rem 1rem .9rem;
	background: rgba(255, 254, 247, .92);
}

.activity-card img {
	grid-row: span 3;
	width: 92px;
	height: 112px;
	object-fit: contain;
}

.activity-card h3 {
	margin: .15rem 0 0;
	color: #af6531;
	font-family: var(--cnvs-primary-font);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.16;
}

.activity-card p {
	margin: 0;
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.35;
}

.activity-card a {
	position: absolute;
	right: 1rem;
	bottom: .8rem;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--zoo-orange);
	color: #fff;
	font-weight: 900;
	text-decoration: none;
}

.testimonials-section {
	padding-top: 28px;
}

.reader-quote {
	min-height: 176px;
	padding: 1.35rem 1.5rem;
	border-color: #b9d6eb;
	text-align: center;
}

.reader-quote::before {
	content: "“";
	display: block;
	height: 22px;
	color: #96c0df;
	font-family: Georgia, serif;
	font-size: 4rem;
	line-height: .6;
	text-align: left;
}

.stars {
	color: #f2bd2e;
	font-size: 1.2rem;
	letter-spacing: .08em;
}

.reader-quote p {
	margin: .5rem 0 .7rem;
	font-size: .98rem;
	font-weight: 800;
	line-height: 1.45;
}

.reader-quote cite {
	color: #5f6a76;
	font-size: .86rem;
	font-style: normal;
	font-weight: 900;
}

.signup-section {
	padding: 48px 0 70px;
}

.event-card,
.newsletter-card {
	min-height: 210px;
	padding: 1.35rem;
	background: rgba(255, 250, 226, .86);
}

.event-card {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 1rem;
	align-items: center;
}

.event-card img {
	width: 150px;
}

.event-card h2,
.newsletter-card h2 {
	font-size: clamp(2rem, 3vw, 3rem);
}

.event-card p,
.newsletter-card p {
	margin-bottom: 1rem;
	font-size: .98rem;
	font-weight: 800;
	line-height: 1.45;
}

.newsletter-card form {
	display: grid;
	grid-template-columns: 1fr auto;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(226, 211, 173, .72);
}

.newsletter-card input,
.newsletter-card button {
	height: 52px;
	border: 0;
}

.newsletter-card input {
	padding: 0 1rem;
	font-weight: 700;
}

.newsletter-card button {
	padding: 0 1.35rem;
	background: var(--zoo-orange);
	color: #fff;
	font-weight: 900;
}

.giraffe {
	position: absolute;
	right: 0;
	bottom: -42px;
	width: 225px;
}

.site-footer {
	position: relative;
	min-height: 376px;
	padding: 86px 0 42px;
	/*background: #fefdf9 url("../images/bg-footer.jpg") center bottom / contain no-repeat fixed;*/
	overflow: hidden;
	text-align: center;
}

.site-footer::before {
	top: -44px;
	bottom: auto;
	background: #fefdf9;
	transform: rotate(180deg);
}

.footer-brand h2 {
	margin: 0;
	color: #477126;
	font-size: clamp(2.5rem, 4vw, 3.7rem);
	line-height: .9;
}

.footer-brand span {
	padding-left: 80px;
	color: var(--zoo-orange);
	font-size: .9rem;
	font-weight: 900;
	letter-spacing: .3em;
	text-transform: uppercase;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem 1.4rem;
	margin: 1.4rem auto 1rem;
}

.footer-nav a {
	color: #334;
	font-size: .84rem;
	font-weight: 800;
	text-decoration: none;
}

.social-row {
	display: flex;
	justify-content: center;
	gap: .85rem;
	margin: 1rem 0;
}

.social-row a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--zoo-green);
	color: #fff;
	text-decoration: none;
}

.copyright {
	margin: 0;
	font-size: .78rem;
}

.footer-turtle,
.footer-sign {
	position: absolute;
	pointer-events: none;
}

.footer-turtle {
	left: 0;
	bottom: -22px;
	width: min(38vw, 420px);
}

.footer-sign {
	right: 0;
	bottom: 16px;
	width: min(25vw, 270px);
}

@media (max-width: 1199.98px) {

	.giraffe,
	.footer-sign,
	.footer-turtle {
		opacity: .4;
	}
}

@media (max-width: 991.98px) {
	#header {
		--cnvs-header-height: 78px;
	}

	#header .primary-menu-trigger {
		display: flex !important;
		opacity: 1 !important;
		pointer-events: auto;
		z-index: 599;
	}

	#header .primary-menu {
		flex-basis: 100%;
		order: 10;
	}

	.hero-section {
		padding-top: 92px;
		padding-bottom: 120px;
	}

	.hero-copy {
		padding-left: 1rem;
		text-align: center;
	}

	.hero-copy p,
	.hero-copy .d-flex {
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	.event-card {
		grid-template-columns: 110px 1fr;
	}

	.event-card img {
		width: 110px;
	}
}

@media (max-width: 575.98px) {
	.brand-mark span {
		font-size: 1.65rem;
	}

	.hero-copy h1 {
		font-size: 4rem;
	}

	.story-button {
		width: 100%;
		justify-content: center;
	}

	.activity-card,
	.event-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.activity-card img,
	.event-card img {
		margin: 0 auto;
	}

	.newsletter-card form {
		grid-template-columns: 1fr;
	}
}