/* ==========================================================================
   Ivory — layout, header, footer and templates
   Design tokens are declared in blocks.css.
   ========================================================================== */

:root {
	--iv-bg: var(--iv-ivory-light);
	--iv-site-max: 89.5rem;
	--iv-margin: clamp(1.25rem, 0.5rem + 3.9vw, 5rem);
	--iv-gutter: clamp(1.25rem, 1rem + 0.8vw, 2rem);
	--iv-nav-h: 4.25rem;
	--iv-section: clamp(4rem, 2.75rem + 5vw, 8rem);
	--iv-read: 40rem;
	--iv-wide: 55rem;
	--iv-toc-w: 11rem;
	--iv-radius-m: 0.75rem;
	--iv-radius-xl: 1.5rem;
	--iv-admin-bar: 0px;
}

.admin-bar {
	--iv-admin-bar: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--iv-admin-bar: 46px;
	}
}

/* Base ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--iv-nav-h) + 1.5rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--iv-bg);
	color: var(--iv-slate-dark);
	font-family: var(--iv-serif);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.iv-tint {
	--iv-bg: var(--iv-ivory-medium);
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--iv-slate-dark);
	outline-offset: 2px;
	border-radius: 2px;
}

.iv-icon {
	display: inline-block;
	flex: none;
	width: 1rem;
	height: 1rem;
	vertical-align: middle;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	clip-path: none;
}

/* WordPress core classes */
.alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption,
.gallery-caption {
	font-family: var(--iv-sans);
	font-size: 0.875rem;
	color: var(--iv-slate-light);
}

.sticky,
.bypostauthor {
	position: relative;
}

/* Skip links ------------------------------------------------------------ */

.iv-skip {
	position: absolute;
	top: var(--iv-admin-bar);
	left: 50%;
	z-index: 1000;
	padding: 0.75rem 2rem;
	border-radius: 0 0 var(--iv-radius) var(--iv-radius);
	background: var(--iv-ivory-light);
	font-family: var(--iv-sans);
	font-weight: 600;
	text-decoration: none;
	transform: translate(-50%, -120%);
	transition: transform 0.2s var(--iv-ease);
}

.iv-skip:focus {
	transform: translate(-50%, 0);
}

/* Layout ---------------------------------------------------------------- */

.iv-container {
	width: 100%;
	max-width: var(--iv-site-max);
	margin-inline: auto;
	padding-inline: var(--iv-margin);
}

.iv-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--iv-gutter);
}

.iv-main {
	display: block;
	min-height: 50vh;
}

.iv-section {
	padding-block: var(--iv-section) 0;
}

.iv-section:last-child {
	padding-bottom: var(--iv-section);
}

.iv-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-bottom: clamp(1.5rem, 1rem + 1vw, 2rem);
}

.iv-section-title {
	margin: 0;
	font-family: var(--iv-sans);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.iv-eyebrow {
	margin: 0;
	font-family: var(--iv-mono);
	font-size: 0.8125rem;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.iv-stretched::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

/* Buttons & text links -------------------------------------------------- */

.iv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.25rem;
	padding: 0.5625rem 1rem;
	border: 1px solid var(--iv-slate-dark);
	border-radius: var(--iv-radius);
	background: var(--iv-slate-dark);
	color: var(--iv-ivory-light);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.005em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.iv-btn:hover {
	border-color: var(--iv-slate-medium);
	background: var(--iv-slate-medium);
	color: var(--iv-ivory-light);
}

.iv-btn .iv-icon--arrow-right,
.iv-textlink .iv-icon--arrow-right {
	transition: transform 0.2s var(--iv-ease);
}

.iv-btn:hover .iv-icon--arrow-right,
.iv-textlink:hover .iv-icon--arrow-right,
.iv-release:hover .iv-btn .iv-icon--arrow-right,
.iv-related__item:hover .iv-icon--arrow-right {
	transform: translateX(2px);
}

.iv-btn--inverse {
	border-color: var(--iv-ivory-light);
	background: var(--iv-ivory-light);
	color: var(--iv-slate-dark);
}

.iv-btn--inverse:hover {
	border-color: var(--iv-ivory-dark);
	background: var(--iv-ivory-dark);
	color: var(--iv-slate-dark);
}

.iv-btn:focus-visible {
	outline-offset: 3px;
}

.iv-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--iv-slate-light);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s;
}

.iv-textlink:hover {
	color: var(--iv-slate-dark);
}

.iv-badge {
	display: inline-block;
	margin-right: 0.375rem;
	padding: 0.125rem 0.375rem;
	border-radius: 0.25rem;
	background: var(--iv-ivory-dark);
	color: var(--iv-slate-dark);
	font-size: 0.75rem;
	vertical-align: 0.1em;
}

/* Swatches -------------------------------------------------------------- */

.iv-swatch-oat { background-color: #e3dacc; }
.iv-swatch-cactus { background-color: #bcd1ca; }
.iv-swatch-heather { background-color: #cbcadb; }
.iv-swatch-coral { background-color: #ebcece; }
.iv-swatch-manilla { background-color: #ebdbbc; }
.iv-swatch-sky { background-color: #6a9bcc; }
.iv-swatch-kraft { background-color: #d4a27f; }
.iv-swatch-olive { background-color: #788c5d; }
.iv-swatch-clay { background-color: #d97757; }
.iv-swatch-fig { background-color: #c46686; }
.iv-swatch-ivory { background-color: #e8e6dc; }

/* Header ---------------------------------------------------------------- */

.iv-header {
	position: sticky;
	top: var(--iv-admin-bar);
	z-index: 100;
	background: var(--iv-bg);
	transition: transform 0.35s var(--iv-ease), box-shadow 0.2s;
}

@media (max-width: 600px) {
	.admin-bar .iv-header {
		top: 0;
	}
}

.iv-header.is-scrolled {
	box-shadow: 0 1px 0 var(--iv-line);
}

.iv-header.is-hidden {
	transform: translateY(calc(-100% - var(--iv-admin-bar)));
}

.iv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--iv-nav-h);
}

.iv-header__brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.iv-wordmark {
	font-family: var(--iv-sans);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.custom-logo-link {
	display: flex;
}

.custom-logo {
	display: block;
	width: auto;
	max-height: 1.5rem;
}

.iv-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.iv-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iv-menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.iv-menu a,
.iv-submenu-toggle--label {
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s;
}

.iv-menu > li > a:hover,
.iv-submenu-toggle--label:hover {
	color: var(--iv-slate-light);
}

.iv-menu > .current-menu-item > a,
.iv-menu > .current-menu-ancestor > a,
.iv-menu > li > a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.4em;
}

.iv-submenu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0 0 0 0.125rem;
	padding: 0.25rem;
	border: 0;
	border-radius: 0.25rem;
	background: none;
	cursor: pointer;
}

.iv-submenu-toggle--label {
	margin: 0;
	padding: 0.25rem 0;
}

.iv-submenu-toggle .iv-icon,
.iv-cta__toggle .iv-icon {
	width: 0.875rem;
	height: 0.875rem;
	transition: transform 0.2s var(--iv-ease);
}

.iv-has-dropdown.is-open > .iv-dropdown-toggle .iv-icon {
	transform: rotate(180deg);
}

/* Dropdown panels (submenus and the header button menu). */
.iv-menu .sub-menu,
.iv-dropdown {
	position: absolute;
	top: calc(100% + 0.75rem);
	z-index: 10;
	min-width: 16rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	border: 1px solid var(--iv-line);
	border-radius: var(--iv-radius-m);
	background: var(--iv-ivory-light);
	box-shadow: 0 16px 40px -12px rgba(20, 20, 19, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s, transform 0.18s var(--iv-ease), visibility 0.18s;
}

.iv-menu .sub-menu {
	left: -0.75rem;
}

.iv-dropdown {
	right: 0;
}

/* Invisible bridge so the pointer can travel from the item to its panel. */
.iv-menu .sub-menu::before,
.iv-dropdown::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 0.875rem;
}

.iv-has-dropdown.is-open > .sub-menu,
.iv-has-dropdown.is-open > .iv-dropdown {
	opacity: 1;
	visibility: visible;
	transform: none;
}

@media (hover: hover) and (min-width: 60rem) {
	.iv-menu > .iv-has-dropdown:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

.iv-menu .sub-menu a,
.iv-dropdown a {
	display: block;
	padding: 0.625rem 0.75rem;
	border-radius: var(--iv-radius);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s;
}

.iv-menu .sub-menu a:hover,
.iv-dropdown a:hover {
	background: var(--iv-ivory-dark);
	color: var(--iv-slate-dark);
}

.iv-dropdown__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iv-menu-title {
	display: block;
}

.iv-menu-desc {
	display: block;
	margin-top: 0.125rem;
	color: var(--iv-slate-light);
	font-size: 0.8125rem;
	line-height: 1.35;
}

/* Header button (optionally split) */
.iv-cta {
	position: relative;
	display: inline-flex;
}

.iv-cta--split .iv-cta__main {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.iv-cta__toggle {
	padding-inline: 0.625rem;
	border-left-color: rgba(250, 249, 245, 0.18);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Burger */
.iv-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-right: -0.625rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.iv-burger .iv-icon {
	width: 1.375rem;
	height: 1.375rem;
}

.iv-burger__close,
.iv-header.is-menu-open .iv-burger__open {
	display: none;
}

.iv-header.is-menu-open .iv-burger__close {
	display: inline-block;
}

html.iv-lock {
	overflow: hidden;
}

@media (max-width: 59.9375rem) {
	.iv-burger {
		display: inline-flex;
	}

	.iv-nav {
		position: fixed;
		inset: calc(var(--iv-nav-h) + var(--iv-admin-bar)) 0 0;
		flex-direction: column;
		align-items: stretch;
		justify-content: space-between;
		gap: 2rem;
		padding: 0.5rem var(--iv-margin) calc(2rem + env(safe-area-inset-bottom));
		overflow-y: auto;
		background: var(--iv-bg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.5rem);
		transition: opacity 0.2s, transform 0.25s var(--iv-ease), visibility 0.2s;
	}

	.iv-header.is-menu-open .iv-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.iv-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.iv-menu > li {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid var(--iv-line);
	}

	.iv-menu > li > a,
	.iv-submenu-toggle--label {
		flex: 1;
		padding: 1rem 0;
		font-size: 1.375rem;
		font-weight: 500;
		text-align: left;
	}

	.iv-submenu-toggle {
		padding: 0.75rem;
		margin-right: -0.75rem;
	}

	.iv-submenu-toggle--label {
		display: flex;
		justify-content: space-between;
		margin-right: 0;
		padding: 1rem 0;
	}

	.iv-submenu-toggle .iv-icon {
		width: 1.125rem;
		height: 1.125rem;
	}

	.iv-menu .sub-menu {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 1rem;
		border: 0;
		background: none;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.iv-menu .sub-menu::before {
		display: none;
	}

	.iv-has-dropdown.is-open > .sub-menu {
		display: block;
	}

	.iv-menu .sub-menu a {
		padding: 0.5rem 0;
		font-size: 1.0625rem;
	}

	.iv-menu .sub-menu a:hover {
		background: none;
		color: var(--iv-slate-light);
	}

	.iv-cta {
		width: 100%;
	}

	.iv-cta__main {
		flex: 1;
		min-height: 3rem;
		font-size: 1rem;
	}

	.iv-cta .iv-dropdown {
		top: auto;
		bottom: calc(100% + 0.5rem);
		left: 0;
	}
}

/* Homepage: hero -------------------------------------------------------- */

.iv-hero {
	padding-block: clamp(3.5rem, 1.75rem + 6vw, 8rem) clamp(3rem, 2rem + 4vw, 6rem);
}

.iv-hero__grid {
	align-items: center;
	row-gap: 1.75rem;
}

.iv-hero__title {
	grid-column: 1 / span 7;
	max-width: 13.5em;
	margin: 0;
	font-family: var(--iv-sans);
	font-size: clamp(2.5rem, 1.45rem + 3.4vw, 3.875rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.iv-hero__title u {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 94%;
	background-size: 100% 0.07em;
}

.iv-hero__intro {
	grid-column: 8 / span 5;
	max-width: 40ch;
	margin: 0;
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.4;
}

@media (max-width: 59.9375rem) {
	.iv-hero__title,
	.iv-hero__intro {
		grid-column: 1 / -1;
	}
}

/* Homepage: feature card ------------------------------------------------ */

.iv-feature {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 26rem;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--iv-radius-l);
	background: var(--iv-slate-dark);
	color: var(--iv-ivory-light);
}

.iv-feature__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iv-feature.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(20, 20, 19, 0.72), rgba(20, 20, 19, 0) 62%);
}

.iv-feature__art {
	position: absolute;
	top: 50%;
	right: -6%;
	z-index: -1;
	width: min(62%, 46rem);
	color: var(--iv-ivory-light);
	transform: translateY(-50%);
}

.iv-orbit {
	display: block;
	width: 100%;
	height: auto;
}

.iv-orbit__ring {
	transform-box: view-box;
	transform-origin: 50% 50%;
}

@media (prefers-reduced-motion: no-preference) {
	.iv-orbit__ring--a { animation: iv-spin 90s linear infinite; }
	.iv-orbit__ring--b { animation: iv-spin 140s linear infinite reverse; }
	.iv-orbit__ring--c { animation: iv-spin 40s linear infinite; }
	.iv-orbit__ring--d { animation: iv-spin 200s linear infinite; }
}

@keyframes iv-spin {
	to {
		transform: rotate(360deg);
	}
}

.iv-feature__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	max-width: 36rem;
	padding: clamp(1.5rem, 0.9rem + 2.6vw, 3rem);
}

.iv-feature__body .iv-eyebrow {
	color: var(--iv-cloud-medium);
}

.iv-feature__title {
	margin: 0;
	font-family: var(--iv-serif);
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.iv-feature__text {
	margin: 0 0 0.5rem;
	color: var(--iv-cloud-light);
	font-size: 1.125rem;
	line-height: 1.45;
}

@media (max-width: 47.9375rem) {
	.iv-feature {
		min-height: 34rem;
		aspect-ratio: auto;
	}

	.iv-feature__art {
		top: 1.5rem;
		right: -25%;
		width: 110%;
		transform: none;
	}
}

/* Homepage: release cards ----------------------------------------------- */

.iv-releases {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--iv-gutter);
}

.iv-release {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2.5rem;
	min-height: 33rem;
	padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	border-radius: var(--iv-radius-l);
}

.iv-release__title {
	margin: 0 0 1rem;
	font-family: var(--iv-sans);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	text-wrap: balance;
}

.iv-release__excerpt {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.4;
}

.iv-meta-list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--iv-line);
	font-family: var(--iv-sans);
	font-size: 1rem;
	line-height: 1.4;
}

.iv-meta-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--iv-line);
}

.iv-meta-list__label {
	flex: none;
	white-space: nowrap;
	font-family: var(--iv-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.iv-meta-list__tags {
	text-align: right;
}

.iv-release:hover .iv-btn {
	border-color: var(--iv-slate-medium);
	background: var(--iv-slate-medium);
}

@media (max-width: 63.9375rem) {
	.iv-releases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 47.9375rem) {
	.iv-releases {
		grid-template-columns: minmax(0, 1fr);
	}

	.iv-release {
		min-height: 0;
	}
}

/* Homepage: statement + index ------------------------------------------ */

.iv-statement__head {
	grid-column: 1 / span 4;
}

.iv-statement__title {
	max-width: 20ch;
	margin: 0 0 2rem;
	font-family: var(--iv-sans);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	text-wrap: balance;
}

.iv-statement__list {
	grid-column: 5 / -1;
}

.iv-index {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--iv-line-strong);
}

.iv-index__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--iv-line-strong);
	font-family: var(--iv-sans);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.iv-index__title {
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.iv-index__meta {
	flex: none;
	color: rgba(20, 20, 19, 0.6);
	text-align: right;
	white-space: nowrap;
}

.iv-index__link:hover .iv-index__title {
	text-decoration-line: underline;
}

@media (max-width: 59.9375rem) {
	.iv-statement__head,
	.iv-statement__list {
		grid-column: 1 / -1;
	}
}

@media (max-width: 30rem) {
	.iv-index__link {
		flex-direction: column;
		gap: 0.25rem;
	}

	.iv-index__meta {
		text-align: left;
	}
}

/* Homepage: closing CTA ------------------------------------------------- */

.iv-bigcta {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--iv-gutter);
	align-items: end;
	min-height: 28rem;
	padding: clamp(2rem, 1rem + 4vw, 5rem);
	overflow: hidden;
	border-radius: var(--iv-radius-l);
	background: var(--iv-slate-dark);
	color: var(--iv-ivory-light);
}

.iv-bigcta__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
	grid-column: 1 / span 7;
}

.iv-bigcta__title {
	max-width: 16ch;
	margin: 0;
	font-family: var(--iv-serif);
	font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.25rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.iv-bigcta__art {
	position: absolute;
	top: 50%;
	right: 4%;
	width: min(40%, 30rem);
	transform: translateY(-50%);
}

.iv-bigcta__art svg {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 47.9375rem) {
	.iv-bigcta {
		min-height: 0;
	}

	.iv-bigcta__content {
		grid-column: 1 / -1;
	}

	.iv-bigcta__art {
		position: static;
		grid-column: 1 / -1;
		grid-row: 1;
		width: 60%;
		margin: -1rem 0 1rem auto;
		transform: none;
	}
}

/* Landing template & block-built front page ----------------------------- */

.iv-landing__content {
	padding-inline: var(--iv-margin);
	padding-bottom: var(--iv-section);
}

.iv-landing__content > * {
	max-width: var(--iv-read);
	margin-inline: auto;
}

.iv-landing__content > .alignwide {
	max-width: calc(var(--iv-site-max) - 2 * var(--iv-margin));
}

.iv-landing__content > .alignfull {
	max-width: none;
	margin-inline: calc(-1 * var(--iv-margin));
}

.iv-landing__content > * + * {
	margin-block-start: var(--iv-section);
}

.iv-landing__content > :first-child {
	margin-block-start: 0;
}

.iv-landing__content li + li {
	margin-top: 0.5rem;
}

.iv-landing__content .wp-block-separator {
	margin-block: 2rem;
}

/* Articles & pages ------------------------------------------------------ */

.iv-article__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
	text-align: center;
}

.iv-article__kicker {
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.iv-article__kicker:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.iv-article__title {
	max-width: 18em;
	margin: 0;
	font-family: var(--iv-sans);
	font-size: clamp(2.25rem, 1.55rem + 2.4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.iv-article__date {
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.iv-article__lede {
	max-width: 40ch;
	margin: 0;
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
	line-height: 1.45;
	color: var(--iv-slate-medium);
}

.iv-article__media {
	max-width: var(--iv-wide);
	margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* Media panel: illustration on a swatch, or a full-bleed photo. */
.iv-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--iv-radius-xl);
}

.iv-media__inner {
	display: grid;
	place-items: center;
	height: 64%;
	aspect-ratio: 1;
}

.iv-media__inner > img,
.iv-media__inner > svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.iv-media--photo .iv-media__inner {
	position: absolute;
	inset: 0;
	height: 100%;
	aspect-ratio: auto;
}

.iv-media--photo .iv-media__inner > img {
	object-fit: cover;
}

.iv-article__body {
	position: relative;
	padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

/* Prose */
.iv-prose {
	font-family: var(--iv-serif);
	font-size: 1.0625rem;
	line-height: 1.55;
}

.iv-prose::after {
	content: "";
	display: table;
	clear: both;
}

.iv-prose > * {
	max-width: var(--iv-read);
	margin-inline: auto;
	margin-block: 0 1rem;
}

.iv-prose > .alignwide {
	max-width: var(--iv-wide);
}

.iv-prose > .alignfull {
	max-width: none;
}

.iv-prose > .alignwide,
.iv-prose > .alignfull,
.iv-prose > figure,
.iv-prose > .wp-block-image,
.iv-prose > .wp-block-embed,
.iv-prose > .wp-block-code,
.iv-prose > .wp-block-quote,
.iv-prose > .wp-block-pullquote,
.iv-prose > .wp-block-table,
.iv-prose > .wp-block-group.has-background {
	margin-block: 2rem;
}

.iv-prose h2,
.iv-prose h3,
.iv-prose h4,
.iv-prose h5,
.iv-prose h6 {
	font-family: var(--iv-sans);
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

.iv-prose h2 {
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.5625rem);
}

.iv-prose h3 {
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	font-size: 1.1875rem;
}

.iv-prose h4,
.iv-prose h5,
.iv-prose h6 {
	margin-top: 1.75rem;
	margin-bottom: 0.5rem;
	font-size: 1.0625rem;
}

.iv-prose > :first-child {
	margin-top: 0;
}

.iv-prose a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
	transition: color 0.2s;
}

.iv-prose a:where(:not(.wp-element-button)):hover {
	color: var(--iv-slate-light);
}

.iv-prose ul,
.iv-prose ol {
	padding-left: 1.3rem;
}

.iv-prose li {
	margin-bottom: 0.75rem;
}

.iv-prose li > ul,
.iv-prose li > ol {
	margin-top: 0.75rem;
}

.iv-prose li::marker {
	color: var(--iv-slate-light);
}

.iv-prose img {
	border-radius: var(--iv-radius);
}

.iv-prose figcaption {
	margin-top: 0.75rem;
	margin-bottom: 0;
	font-family: var(--iv-sans);
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--iv-slate-light);
}

.iv-prose blockquote:not([class]) {
	margin-inline: auto;
	padding-left: 1.5rem;
	border-left: 2px solid var(--iv-slate-dark);
	font-size: 1.25rem;
	line-height: 1.45;
}

.iv-prose hr {
	margin-block: 2.5rem;
}

.iv-prose :not(pre) > code {
	padding: 0.1em 0.35em;
	border-radius: 0.25rem;
	background: var(--iv-ivory-dark);
	font-family: var(--iv-mono);
	font-size: 0.85em;
}

.iv-prose pre:not([class]) {
	padding: 1.25rem;
	overflow-x: auto;
	border-radius: var(--iv-radius);
	background: var(--iv-ivory-dark);
	font-family: var(--iv-mono);
	font-size: 0.875rem;
	line-height: 1.6;
}

.iv-prose table:not([class]) {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
}

.iv-prose .wp-block-table {
	overflow-x: auto;
}

.iv-prose sup {
	line-height: 0;
}

.iv-page-links {
	display: flex;
	gap: 0.5rem;
	margin-top: 2rem;
	font-family: var(--iv-sans);
}

.iv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	max-width: var(--iv-read);
	margin: 3rem auto 0;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid var(--iv-cloud-light);
}

.iv-tags a {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--iv-line-strong);
	border-radius: 100vw;
	font-family: var(--iv-sans);
	font-size: 0.8125rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.iv-tags a:hover {
	border-color: var(--iv-ivory-dark);
	background: var(--iv-ivory-dark);
}

/* Table of contents */
.iv-toc {
	max-width: var(--iv-read);
	margin: 0 auto 2rem;
	font-family: var(--iv-sans);
}

.iv-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--iv-line);
	border-radius: var(--iv-radius-m);
	background: var(--iv-ivory-medium);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
}

.iv-toc__label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.iv-toc.is-open .iv-toc__toggle > .iv-icon--chevron-down {
	transform: rotate(180deg);
}

.iv-toc__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 1rem 1rem 0.25rem;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.3;
}

.js .iv-toc:not(.is-open) .iv-toc__list {
	display: none;
}

.iv-toc__list a {
	display: block;
	color: var(--iv-cloud-dark);
	text-decoration: none;
	transition: color 0.2s;
}

.iv-toc__list a:hover,
.iv-toc__list a.is-active {
	color: var(--iv-slate-dark);
}

.iv-toc__list a.is-active {
	font-weight: 500;
}

@media (min-width: 75rem) {
	.iv-toc {
		position: absolute;
		top: 0;
		bottom: 0;
		left: var(--iv-margin);
		width: var(--iv-toc-w);
		max-width: none;
		margin: 0;
	}

	.iv-toc__inner {
		position: sticky;
		top: calc(var(--iv-admin-bar) + var(--iv-nav-h) + 1.5rem);
	}

	.iv-toc__toggle {
		display: none;
	}

	.iv-toc__list,
	.js .iv-toc:not(.is-open) .iv-toc__list {
		display: grid;
		padding: 0;
	}

	.has-toc .iv-prose > .alignwide,
	.has-toc .iv-prose > .alignfull {
		max-width: min(var(--iv-wide), calc(100% - 2 * (var(--iv-toc-w) + 2rem)));
	}
}

/* Related content */
.iv-related__inner {
	padding-block: clamp(3rem, 2rem + 4vw, 6rem);
	border-top: 1px solid var(--iv-cloud-light);
}

.iv-related__title {
	margin: 0 0 2rem;
	font-family: var(--iv-sans);
	font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
}

.iv-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

.iv-related__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.iv-related__item-title {
	margin: 0;
	font-family: var(--iv-sans);
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

.iv-related__excerpt {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.iv-related__item:hover .iv-textlink {
	color: var(--iv-slate-dark);
}

@media (max-width: 47.9375rem) {
	.iv-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Comments */
.iv-comments__inner {
	max-width: var(--iv-read);
	margin-inline: auto;
	padding-block: 3rem;
	border-top: 1px solid var(--iv-cloud-light);
}

.iv-comments__title {
	margin: 0 0 1.5rem;
	font-family: var(--iv-sans);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.iv-comment-list,
.iv-comment-list .children {
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

.iv-comment-list .children {
	margin: 1.5rem 0 0 1.5rem;
	padding-left: 1.5rem;
	border-left: 1px solid var(--iv-cloud-light);
}

.iv-comment-list .comment-body {
	margin-bottom: 1.5rem;
}

.iv-comment-list .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.75rem;
	margin-bottom: 0.5rem;
	font-family: var(--iv-sans);
	font-size: 0.875rem;
}

.iv-comment-list .avatar {
	float: left;
	margin-right: 0.75rem;
	border-radius: 50%;
}

.iv-comment-list .comment-author .says {
	display: none;
}

.iv-comment-list .comment-metadata a,
.iv-comment-list .reply a {
	color: var(--iv-slate-light);
	font-family: var(--iv-sans);
	font-size: 0.8125rem;
	text-decoration: none;
}

.comment-form {
	display: grid;
	gap: 1rem;
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 0.375rem;
	font-weight: 500;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--iv-cloud-light);
	border-radius: var(--iv-radius-m);
	background: #fff;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

/* Index: newsroom-style posts page & archives --------------------------- */

.iv-index-hero {
	padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3rem);
}

.iv-index-hero .iv-grid {
	row-gap: 2rem;
}

.iv-index-hero__title {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	grid-column: 1 / span 6;
}

.iv-index-hero__aside {
	grid-column: 7 / -1;
	align-self: center;
}

.iv-page-title {
	margin: 0;
	font-family: var(--iv-sans);
	font-size: clamp(2.25rem, 1.55rem + 2.4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.iv-index-hero__desc {
	max-width: 40ch;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--iv-slate-medium);
}

.iv-index-hero__desc > :first-child {
	margin-top: 0;
}

.iv-index-hero__count {
	margin: 0.75rem 0 0;
	color: var(--iv-slate-light);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
}

.iv-linklist {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--iv-cloud-light);
}

.iv-linklist li {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--iv-cloud-light);
	color: var(--iv-slate-light);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.iv-linklist a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.2s;
}

.iv-linklist a:hover {
	color: var(--iv-slate-dark);
}

.iv-featured {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem var(--iv-gutter);
	padding-top: 3rem;
	border-top: 1px solid var(--iv-cloud-light);
}

.iv-featured__main {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	grid-column: 1 / span 8;
}

.iv-featured__media {
	display: block;
}

.iv-featured__media .iv-media {
	border-radius: var(--iv-radius-l);
}

.iv-featured__media .iv-media__inner {
	transition: transform 0.6s var(--iv-ease);
}

.iv-featured__main:hover .iv-media__inner {
	transform: scale(1.03);
}

.iv-featured__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--iv-gutter);
}

.iv-featured__title {
	margin: 0;
	font-family: var(--iv-sans);
	font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

.iv-featured__title a {
	text-decoration: none;
}

.iv-featured__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.iv-featured__summary {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.iv-featured__side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	grid-column: 9 / -1;
}

.iv-post-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--iv-cloud-light);
}

.iv-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-family: var(--iv-sans);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
}

.iv-post-meta time {
	color: var(--iv-slate-light);
}

.iv-post-item__title {
	margin: 0;
	font-family: var(--iv-sans);
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

.iv-post-item__title a {
	text-decoration: none;
}

.iv-post-item:hover .iv-post-item__title a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.iv-post-item__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
}

@media (max-width: 63.9375rem) {
	.iv-featured__main,
	.iv-featured__side {
		grid-column: 1 / -1;
	}

	.iv-featured__side {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
		gap: 1.5rem var(--iv-gutter);
		margin-top: 1.5rem;
	}
}

@media (max-width: 47.9375rem) {
	.iv-index-hero__title,
	.iv-index-hero__aside {
		grid-column: 1 / -1;
	}

	.iv-featured__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}

/* Publication list */
.iv-publications {
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--iv-section);
}

.iv-publications__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--iv-gutter);
	row-gap: 1rem;
	align-items: center;
	margin-bottom: 2rem;
}

.iv-publications__title {
	grid-column: 1 / span 8;
	margin: 0;
	font-family: var(--iv-sans);
	font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
}

.iv-publications__search {
	grid-column: 10 / -1;
}

.iv-publist {
	/* Nine of twelve grid columns. */
	max-width: calc(75% - var(--iv-gutter) / 4);
}

.iv-publist__header,
.iv-publist__row {
	display: grid;
	grid-template-columns: 2fr 2fr 5fr;
	gap: 1.5rem;
}

.iv-publist__header {
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--iv-cloud-light);
	color: var(--iv-slate-light);
	font-family: var(--iv-sans);
	font-size: 0.875rem;
	line-height: 1.2;
}

.iv-publist__items {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 1rem 0 0;
	list-style: none;
}

.iv-publist__row {
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--iv-cloud-light);
	color: var(--iv-slate-light);
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s;
}

.iv-publist__title {
	color: var(--iv-slate-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.iv-publist__row:hover {
	color: var(--iv-slate-dark);
}

.iv-publist__row:hover .iv-publist__title {
	text-decoration-line: underline;
}

@media (max-width: 63.9375rem) {
	.iv-publist {
		max-width: none;
	}

	.iv-publications__title {
		grid-column: 1 / span 7;
	}

	.iv-publications__search {
		grid-column: 8 / -1;
	}
}

@media (max-width: 47.9375rem) {
	.iv-publications__title,
	.iv-publications__search {
		grid-column: 1 / -1;
	}

	.iv-publist__header {
		display: none;
	}

	.iv-publist__items {
		padding-top: 0;
	}

	.iv-publist__row {
		grid-template-columns: auto 1fr;
		gap: 0.25rem 0.75rem;
	}

	.iv-publist__title {
		grid-column: 1 / -1;
		font-size: 1rem;
	}
}

/* Search field */
.iv-search {
	position: relative;
	display: block;
	width: 100%;
}

.iv-search__icon {
	position: absolute;
	top: 50%;
	left: 0.875rem;
	color: var(--iv-slate-light);
	transform: translateY(-50%);
	pointer-events: none;
}

.iv-search__input {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 1rem 0.5rem 2.5rem;
	border: 1px solid var(--iv-cloud-light);
	border-radius: var(--iv-radius-m);
	background: #fff;
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.iv-search__input::placeholder {
	color: var(--iv-cloud-dark);
}

.iv-search__input:focus {
	border-color: var(--iv-slate-dark);
	outline: none;
	box-shadow: 0 0 0 1px var(--iv-slate-dark);
}

/* Pagination */
.iv-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	margin-top: 2.5rem;
	font-family: var(--iv-sans);
	font-size: 0.9375rem;
}

.iv-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	border-radius: var(--iv-radius);
	color: var(--iv-slate-light);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.iv-pagination a.page-numbers:hover {
	background: var(--iv-ivory-dark);
	color: var(--iv-slate-dark);
}

.iv-pagination .page-numbers.current {
	background: var(--iv-slate-dark);
	color: var(--iv-ivory-light);
}

/* Empty & 404 ----------------------------------------------------------- */

.iv-empty {
	max-width: 36rem;
	padding-block: 2rem;
}

.iv-empty__title {
	margin: 0 0 0.5rem;
	font-family: var(--iv-sans);
	font-size: 1.5rem;
	font-weight: 600;
}

.iv-notfound {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--iv-section);
	text-align: center;
}

.iv-notfound__art {
	display: grid;
	place-items: center;
	width: min(16rem, 60vw);
	aspect-ratio: 1;
	margin-bottom: 1rem;
	border-radius: var(--iv-radius-xl);
	background: var(--iv-ivory-dark);
}

.iv-notfound__art svg {
	width: 70%;
	height: 70%;
}

.iv-notfound__text {
	max-width: 40ch;
	margin: 0;
	font-size: 1.125rem;
}

.iv-notfound__search {
	width: min(100%, 24rem);
}

/* Footer ---------------------------------------------------------------- */

.iv-footer {
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem;
	background: var(--iv-slate-dark);
	color: var(--iv-ivory-light);
	font-family: var(--iv-sans);
}

.iv-footer a {
	text-decoration: none;
}

.iv-footer a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.iv-footer :focus-visible {
	outline-color: var(--iv-ivory-light);
}

.iv-footer__top {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 3rem var(--iv-gutter);
}

.iv-footer__brand {
	grid-column: 1 / span 3;
}

.iv-footer .custom-logo {
	filter: brightness(0) invert(0.97);
}

.iv-footer__tagline {
	max-width: 24ch;
	margin: 1rem 0 0;
	color: var(--iv-cloud-medium);
	font-family: var(--iv-serif);
	font-size: 1rem;
	line-height: 1.45;
}

.iv-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: 2.5rem var(--iv-gutter);
	grid-column: 4 / -1;
}

.iv-footer__heading {
	margin: 0 0 1rem;
	color: var(--iv-cloud-medium);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.3;
}

.iv-footer__list {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.35;
}

.iv-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: clamp(3rem, 2rem + 4vw, 6rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(250, 249, 245, 0.12);
	color: var(--iv-cloud-medium);
	font-size: 0.75rem;
	line-height: 1.4;
}

.iv-footer__copy {
	margin: 0;
}

.iv-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 59.9375rem) {
	.iv-footer__brand,
	.iv-footer__cols {
		grid-column: 1 / -1;
	}

	.iv-footer__cols {
		grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
	}
}

/* Reveal on scroll ------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0;
		transform: translateY(1rem);
		transition: opacity 0.8s var(--iv-ease), transform 0.8s var(--iv-ease);
		transition-delay: var(--iv-delay, 0ms);
	}

	.js [data-reveal].is-inview {
		opacity: 1;
		transform: none;
	}

	.js .iv-hero__title u {
		background-size: 0% 0.07em;
		transition: background-size 0.9s var(--iv-ease) 0.45s;
	}

	.js .iv-hero__title.is-inview u {
		background-size: 100% 0.07em;
	}
}

/* Print ----------------------------------------------------------------- */

@media print {
	.iv-header,
	.iv-footer,
	.iv-toc,
	.iv-related,
	.iv-comments,
	.iv-skip {
		display: none !important;
	}

	.js [data-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}
