:root {
	--beige: #d5c7ac;
	--cream: #ecdfc4;
	--linen: #f6f3ec;
	--gold: #a98e5a;
	--slate: #28333e;
	--slate-tint: #374451;
	--green: #283d35;
	--green-tint: #374b44;
	--terra: #873e2b;
	--terra-tint: #9d4b35;
	--coral: #e3856b;
	--coral-hover: #d9765b;
	--ink: #000;
	--font: "Manrope", "Helvetica Neue", Arial, sans-serif;

	/* Desktop canvas is 1728px wide with a 1530px content row. */
	--gutter: max(40px, calc((100% - 1530px) / 2));
	--header-h: 108px;
	--theme: var(--green);
}

body.theme-slate { --theme: var(--slate); }
body.theme-terra { --theme: var(--terra); }

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
	margin: 0;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

p { margin: 0; }

.shell {
	width: calc(100% - 2 * var(--gutter));
	max-width: 1270px;
	margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 8px 12px;
	background: #fff;
	color: var(--ink);
}

/* Header */

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding: 43px var(--gutter) 0;
	align-content: start;
}

.site-header__inner > * { align-self: flex-start; }

.site-header::before,
.site-header::after {
	content: "";
	position: absolute;
	top: calc(var(--header-h) - 1px);
	height: 1px;
}

.site-header::before {
	left: var(--gutter);
	width: calc(50% - 245px - var(--gutter));
	background: var(--ink);
}

.site-header::after {
	left: calc(50% - 245px);
	right: var(--gutter);
	background: #fff;
}

.logo {
	display: block;
	width: 196px;
	color: var(--ink);
	line-height: 0;
}

.logo svg,
.logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-nav { margin-top: 3.1px; }

.site-nav__list,
.footer-nav__list {
	display: flex;
	gap: 80px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a,
.footer-nav a {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.6;
	text-decoration: none;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.site-nav a { color: #fff; }

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible { text-decoration-line: underline; }

.no-hero .site-header {
	position: relative;
	background: var(--cream);
}

.no-hero .site-header::before { width: calc(100% - 2 * var(--gutter)); }
.no-hero .site-header::after { display: none; }
.no-hero .site-nav a { color: var(--green); }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin: -9px -10px 0 0;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	place-items: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 1px;
	background: #fff;
	position: relative;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.no-hero .nav-toggle__bars,
.no-hero .nav-toggle__bars::before,
.no-hero .nav-toggle__bars::after { background: var(--ink); }

.no-hero.nav-open .nav-toggle__bars { background: transparent; }

/* Button */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	height: 45px;
	padding: 0 10px 0 20px;
	border-radius: 5px;
	background: var(--coral);
	color: var(--ink);
	font-family: var(--font);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible { background: var(--coral-hover); }

.btn__mark { display: block; line-height: 0; }
.btn__mark svg { display: block; width: 19px; height: 19px; }

/* Hero */

.hero {
	--hero-bg: var(--slate);
	--hero-tint: var(--slate-tint);
	position: relative;
	height: 776px;
	overflow: hidden;
	background: var(--hero-bg);
	color: #fff;
}

.hero--green {
	--hero-bg: var(--green);
	--hero-tint: var(--green-tint);
}

.hero--terra {
	--hero-bg: var(--terra);
	--hero-tint: var(--terra-tint);
}

.hero__art {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: calc(50% - 245px);
	background: var(--beige);
}

.hero__orb {
	position: absolute;
	top: 0;
	left: calc(100% - 388px);
	width: 776px;
	height: 776px;
	border-radius: 50%;
	background: linear-gradient(90deg, var(--gold) 50%, var(--hero-tint) 50%);
}

.hero__copy {
	position: absolute;
	top: 101.2px;
	bottom: 0;
	left: calc(50% - 114px);
	right: var(--gutter);
	max-width: 795px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 30px;
}

.hero h1 {
	font-size: min(70px, calc(5vw + 7px));
	line-height: 0.9;
	color: #fff;
}

.hero__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	max-width: 620px;
}

.hero__body p {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.5;
}

/* Text rows */

.text-row { padding-top: 150px; }
.text-row--stack { padding-top: 50px; }
.hero + .text-row { padding-top: 114px; }
.site-main > .text-row:last-child { padding-bottom: 115px; }

.text-row__inner {
	width: calc(100% - 2 * var(--gutter));
	max-width: 1270px;
	margin-inline: auto;
	padding-top: 50px;
	border-top: 1px solid var(--beige);
	display: grid;
	grid-template-columns: minmax(0, 404.25px) minmax(0, 749px);
	justify-content: space-between;
	column-gap: 40px;
}

.text-row--stack .text-row__inner {
	max-width: 750px;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.text-row--stack h2 { max-width: 619px; }

.text-row h2 {
	font-size: 40px;
	line-height: 1;
	color: var(--ink);
}

.text-row--title-green h2 { color: var(--green); }

.text-row__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 50px;
	min-width: 0;
}

.text-row__text {
	max-width: 749px;
	font-size: 18px;
	line-height: 1.6;
}

.text-row__text p,
.text-row__text ol,
.text-row__text ul { margin: 0; }

.text-row__text ol,
.text-row__text ul { padding-left: 27px; }

.text-row__text li { margin: 0; }
.text-row__text strong,
.text-row__text b { font-weight: 800; }
.text-row__text a { text-underline-offset: 3px; }

.block--cream { background: var(--cream); }
.block--slate { background: var(--slate); color: #fff; }
.block--green { background: var(--green); color: #fff; }
.block--terra { background: var(--terra); color: #fff; }
.block--slate h2,
.block--green h2,
.block--terra h2 { color: #fff; }

.block--space-small { margin-bottom: 24px; }
.block--space-medium { margin-bottom: 56px; }
.block--space-large { margin-bottom: 96px; }

/* Feature: book series */

.feature {
	--book-split: max(310px, calc(50% - 390px));
	--disc: 571.5px;
	position: relative;
	height: 718px;
	overflow: hidden;
	background: var(--beige);
}

.text-row + .feature { margin-top: 228px; }

.feature.block--cream { background: var(--beige); }

.feature__art {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--book-split);
	background: var(--green);
}

.feature__disc {
	position: absolute;
	top: 50%;
	left: calc(100% - var(--disc) / 2);
	width: var(--disc);
	height: var(--disc);
	transform: translateY(-50%);
	border-radius: 50%;
	background: linear-gradient(90deg, #fff 50%, var(--linen) 50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--disc) * 0.0787);
}

.feature__disc img {
	height: calc(var(--disc) * 0.3587);
	width: auto;
	aspect-ratio: 135.09 / 205;
	object-fit: cover;
}

.feature__disc img + img { aspect-ratio: 137.93 / 205; }

.feature__copy {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--book-split) + clamp(330px, 50vw - 459px, 405px));
	right: var(--gutter);
	max-width: 620px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 50px;
}

.feature h2 {
	font-size: clamp(40px, calc(5vw - 10px), 60px);
	line-height: 1;
	color: var(--ink);
}

.feature__text p {
	font-size: 18px;
	line-height: 1.6;
}

.feature__text p + p { margin-top: 1.6em; }

/* Icon columns */

.icon-columns .shell { padding: 114px 0; }
.icon-columns__title { margin: 0 0 50px; font-size: 40px; }
.icon-columns__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.icon-columns__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 24px;
	border-radius: 5px;
	background: var(--coral);
	color: var(--ink);
}
.icon-columns__mark svg { width: 26px; height: 26px; }
.icon-columns h3 { margin: 0 0 12px; font-size: 26px; }
.icon-columns p { font-size: 18px; }

/* Contact */

.contact-block__grid {
	display: grid;
	grid-template-columns: minmax(0, 404.25px) minmax(0, 749px);
	justify-content: space-between;
	gap: 50px 40px;
	padding: 114px 0 115px;
}
.contact-block h2 { margin: 0 0 30px; font-size: 40px; }
.contact-facts { list-style: none; margin: 40px 0 0; padding: 0; }
.contact-facts li { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 18px; }
.contact-facts span { flex: 0 0 19px; margin-top: 5px; line-height: 0; }
.contact-facts svg { width: 19px; height: 19px; }
.contact-facts a { text-decoration: none; }
.contact-facts a:hover { text-decoration: underline; }

.gform_wrapper { font-family: var(--font); }
.gform_wrapper .gfield_label { font-size: 13px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; }
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--beige);
	border-radius: 0;
	padding: 10px 0;
	font-family: var(--font);
	font-size: 18px;
	background: transparent;
}
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer { padding: 0; margin-top: 20px; }
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button {
	height: 45px;
	padding: 0 20px;
	border: 0;
	border-radius: 5px;
	background: var(--coral);
	color: var(--ink);
	font-family: var(--font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	cursor: pointer;
}

/* Prose (privacy, cookies) */

.prose {
	width: calc(100% - 2 * var(--gutter));
	max-width: 750px;
	margin: 0 auto;
	padding: 114px 0 115px;
	font-size: 18px;
	line-height: 1.6;
}

.prose > * + * { margin-top: 1.6em; }
.prose h2 { margin-top: 50px; font-size: 40px; }
.prose h3 { margin-top: 40px; font-size: 26px; }

.site-main--empty { background: var(--cream); padding-bottom: 175px; }

/* Footer */

.site-footer { background: var(--cream); }

.site-footer__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	height: 168px;
	padding: 70px var(--gutter) 0;
	align-content: start;
}

.site-footer__inner > * { align-self: flex-start; }
.footer-nav { margin-top: 6.2px; }
.footer-nav a { color: var(--green); }

/* Mid-size desktop */

@media (max-width: 1280px) {
	.site-nav__list,
	.footer-nav__list { gap: 56px; }
}

/* Book section stacks before the hero does: it needs more width. */

@media (max-width: 1100px) {
	.feature {
		--disc: min(calc(100vw - 2 * var(--gutter)), 520px);
		height: auto;
	}

	.text-row + .feature { margin-top: 120px; }

	.feature__art {
		position: relative;
		width: 100%;
		height: calc(var(--disc) + 96px);
		background: linear-gradient(90deg, var(--green) 50%, transparent 50%);
	}

	.feature__disc { left: calc(50% - var(--disc) / 2); }

	.feature__copy {
		position: static;
		max-width: none;
		padding: 56px var(--gutter) 80px;
		gap: 32px;
	}

	.feature__copy > * { max-width: 620px; }
	.feature h2 { font-size: clamp(34px, 7vw, 56px); }
}

/* Tablet and mobile */

@media (max-width: 900px) {
	:root {
		--gutter: 40px;
		--header-h: 80px;
	}

	.site-header__inner { padding-top: 26px; }

	.site-header::before { width: calc(50% - var(--gutter)); }
	.site-header::after { left: 50%; }
	.no-hero .site-header::before { width: calc(100% - 2 * var(--gutter)); }

	.logo { width: 150px; }

	.nav-toggle { display: grid; }

	.nav-open { overflow: hidden; }

	.nav-open .site-header {
		position: fixed;
		z-index: 20;
		background: transparent;
	}

	.nav-open .site-header__inner {
		position: relative;
		z-index: 2;
	}

	.nav-open .logo,
	.nav-open .nav-toggle {
		position: relative;
		z-index: 2;
	}

	.nav-open .logo { color: var(--cream); }

	.nav-open .site-header::before,
	.nav-open .site-header::after { display: none; }

	.nav-open .site-header__inner::after {
		content: "";
		position: absolute;
		z-index: 2;
		left: var(--gutter);
		right: var(--gutter);
		bottom: 0;
		height: 1px;
		background: rgba(236, 223, 196, 0.4);
	}

	.nav-open .nav-toggle__bars::before,
	.nav-open .nav-toggle__bars::after { background: var(--cream); }

	.site-nav {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 0;
		padding: var(--header-h) var(--gutter) 0;
		background: var(--theme);
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.28s ease, visibility 0.28s ease;
	}

	.nav-open .site-nav {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.site-nav a {
		display: block;
		padding: 6px 0;
		color: var(--cream);
		font-size: clamp(32px, 8.4vw, 44px);
		font-weight: 800;
		line-height: 0.95;
		letter-spacing: -0.02em;
		text-decoration-thickness: 3px;
		text-underline-offset: 10px;
	}

	.site-nav .current-menu-item a { text-decoration-line: underline; }

	.hero {
		--orb: min(calc(100vw - 2 * var(--gutter)), 520px);
		height: auto;
	}

	.hero__art {
		position: relative;
		width: 100%;
		height: calc(var(--header-h) + var(--orb));
		background: linear-gradient(90deg, var(--beige) 50%, transparent 50%);
	}

	.hero__orb {
		top: var(--header-h);
		left: calc(50% - var(--orb) / 2);
		width: var(--orb);
		height: var(--orb);
	}

	.hero__copy {
		position: static;
		max-width: none;
		padding: 44px var(--gutter) 64px;
		gap: 24px;
	}

	.hero h1 { font-size: clamp(32px, 8.6vw, 60px); line-height: 0.95; }

	.hero__body { gap: 32px; }
	.hero__body p { font-size: 17px; }

	.text-row { padding-top: 64px; }
	.text-row--stack { padding-top: 40px; }
	.hero + .text-row { padding-top: 64px; }
	.site-main > .text-row:last-child { padding-bottom: 80px; }

	.text-row__inner,
	.text-row--stack .text-row__inner {
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding-top: 32px;
	}

	.text-row h2 { font-size: 30px; }
	.text-row__body { gap: 32px; }
	.text-row__text { font-size: 17px; }

	.icon-columns__grid,
	.contact-block__grid { grid-template-columns: 1fr; }
	.icon-columns .shell,
	.contact-block__grid { padding: 64px 0 80px; }

	.prose { padding: 64px 0 80px; font-size: 17px; }

	.site-main--empty { padding-bottom: 96px; }

	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
		height: auto;
		padding: 48px var(--gutter) 52px;
	}

	.site-footer .logo { width: 150px; }
	.footer-nav { margin: 0; }
	.footer-nav__list { flex-wrap: wrap; gap: 10px 32px; }
	.footer-nav a { font-size: 16px; }
}

@media (max-width: 480px) {
	:root {
		--gutter: 24px;
		--header-h: 72px;
	}

	.site-header__inner { padding-top: 22px; }
	.logo,
	.site-footer .logo { width: 136px; }

	.footer-nav__list { gap: 10px 24px; }

	.feature__text p,
	.text-row__text { font-size: 16px; }
}
