/**
 * INTERLUX — reading pages: articles and the footer's information pages.
 *
 * Markup: template-parts/reader/*.php (see inc/reader.php). Drawn in the
 * vocabulary of the menu, search and cart: gold kickers over serif titles,
 * pale stages, fine rules, and a contents list with a sliding gold marker.
 */

.ilx-main--read {
	max-width: none;
	margin: 0;
	padding: 0;
	background: #fff;
}

/* The hero meets the header, and the page meets the footer. */
.ilx-reading .ilx-site__content {
	padding-block: 0;
}

.ilx-read {
	--r-ink: #171714;
	--r-text: #3b3934;
	--r-muted: #8a857b;
	--r-wine: #8d2025;
	--r-gold: #c79d66;
	--r-gold-dark: #9f7442;
	--r-pale: #f5f3ed;
	--r-line: rgba(23, 23, 20, .1);
	--r-ease: cubic-bezier(.22, 1, .36, 1);
	--r-serif: Georgia, "Times New Roman", serif;
	--r-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--r-text);
	font-family: var(--r-sans);
	letter-spacing: 0;
}

.ilx-read__wrap {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

/* Reading progress: a gold line across the top of the window. */
.ilx-read__progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 130;
	height: 3px;
	pointer-events: none;
}

.ilx-read__progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #9f7442, #c79d66);
	transform: scaleX(var(--p, 0));
	transform-origin: left;
	will-change: transform;
}

/* ---------- shared pieces ---------- */

.ilx-read__kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--r-gold-dark);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .2em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ilx-read__kicker::before {
	content: "";
	flex: none;
	width: 18px;
	height: 1px;
	background: var(--r-gold);
}

.ilx-read .ilx-breadcrumbs {
	margin: 0 0 42px;
}

.ilx-read .ilx-breadcrumbs li {
	font-size: 12px;
	letter-spacing: .02em;
}

.ilx-read .ilx-breadcrumbs li + li::before {
	color: rgba(23, 23, 20, .25);
}

.ilx-read .ilx-breadcrumbs a {
	color: var(--r-muted);
}

.ilx-read .ilx-breadcrumbs a:hover {
	color: var(--r-wine);
}

.ilx-read .ilx-breadcrumbs [aria-current="page"] {
	display: inline-block;
	max-width: 46ch;
	overflow: hidden;
	color: var(--r-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

/* ---------- hero of an article or a text page ---------- */

.ilx-read__hero {
	position: relative;
	padding: 72px 0 72px;
	background: var(--r-pale);
}

/* The cover straddles the pale hero and the white page below it. */
.ilx-read--article .ilx-read__hero {
	padding-bottom: 0;
	background: linear-gradient(var(--r-pale) calc(100% - 170px), #fff calc(100% - 170px));
}

.ilx-read .ilx-read__title {
	max-width: 22ch;
	margin: 0;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: clamp(34px, 4.4vw, 62px);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.06;
	text-wrap: balance;
	animation: ilxReadUp .8s var(--r-ease) both;
}

.ilx-read .ilx-read__title.is-caps {
	max-width: 26ch;
	font-size: clamp(28px, 3.2vw, 44px);
	letter-spacing: .01em;
	line-height: 1.15;
}

.ilx-read--page .ilx-read__title {
	max-width: 28ch;
	font-size: clamp(32px, 3.8vw, 54px);
}

.ilx-read__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 26px 0 0;
	color: var(--r-muted);
	font-size: 13px;
	animation: ilxReadUp .8s .08s var(--r-ease) both;
}

.ilx-read__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--r-gold);
}

.ilx-read__cover {
	margin: 46px 0 0;
	overflow: hidden;
	aspect-ratio: 16 / 7;
	border-radius: 28px;
	background: var(--r-pale);
	box-shadow: 0 34px 80px rgba(28, 24, 18, .18);
	animation: ilxReadUp .9s .12s var(--r-ease) both;
}

.ilx-read__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: ilxReadZoom 1.8s var(--r-ease) both;
}

@keyframes ilxReadUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

@keyframes ilxReadZoom {
	from { transform: scale(1.06); }
	to { transform: none; }
}

/* ---------- text beside its contents ---------- */

.ilx-read__layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 720px);
	justify-content: center;
	column-gap: clamp(48px, 7vw, 110px);
	padding: 76px 0 120px;
}

.ilx-read__layout.is-single {
	grid-template-columns: minmax(0, 760px);
}

.ilx-read__layout.is-single .ilx-read__aside {
	display: none;
}

.ilx-toc {
	position: sticky;
	top: 118px;
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}

.ilx-toc::-webkit-scrollbar {
	display: none;
}

.ilx-toc__list {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 1px solid var(--r-line);
}

/* One gold marker, sliding to the section being read. */
.ilx-toc__list::before {
	content: "";
	position: absolute;
	top: 0;
	left: -1px;
	width: 2px;
	height: var(--toc-h, 0px);
	border-radius: 2px;
	background: linear-gradient(var(--r-gold), var(--r-gold-dark));
	opacity: 0;
	transform: translateY(var(--toc-y, 0px));
	transition: transform .5s var(--r-ease), height .5s var(--r-ease), opacity .3s ease;
}

.ilx-toc__list.has-marker::before {
	opacity: 1;
}

.ilx-toc__list li {
	margin: 0;
	padding: 0;
}

.ilx-read .ilx-toc__link {
	display: flex;
	gap: 12px;
	padding: 9px 0 9px 20px;
	color: var(--r-muted);
	font-size: 13.5px;
	line-height: 1.4;
	text-decoration: none;
	transition: color .3s ease;
}

.ilx-toc__num {
	flex: none;
	padding-top: 1px;
	color: rgba(159, 116, 66, .6);
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	transition: color .3s ease;
}

.ilx-read .ilx-toc__link:hover {
	color: var(--r-ink);
}

.ilx-read .ilx-toc__link.is-active {
	color: var(--r-ink);
	font-weight: 600;
}

.ilx-toc__link.is-active .ilx-toc__num {
	color: var(--r-gold-dark);
}

/* ---------- the text itself ---------- */

.ilx-read__content {
	min-width: 0;
	color: var(--r-text);
	font-size: 17.5px;
	line-height: 1.8;
}

.ilx-read__content > :first-child,
.ilx-read__content > .ilx-block:first-child .ilx-block__col:first-child > .ilx-block__text:first-child > :first-child {
	margin-top: 0;
}

.ilx-read__content p {
	margin: 0 0 1.3em;
}

.ilx-read--article .ilx-read__content > p:first-child {
	color: var(--r-ink);
	font-size: 21px;
	line-height: 1.65;
}

.ilx-read__content h2,
.ilx-read__content h3,
.ilx-read__content h4 {
	scroll-margin-top: 120px;
	color: var(--r-ink);
	text-wrap: balance;
}

.ilx-read__content h2 {
	margin: 2.4em 0 .75em;
	font-family: var(--r-serif);
	font-size: clamp(28px, 2.5vw, 36px);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.16;
}

.ilx-read__content h2::before {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	margin-bottom: 26px;
	background: var(--r-gold);
}

.ilx-read__content h3 {
	margin: 2em 0 .6em;
	font-family: var(--r-serif);
	font-size: clamp(22px, 1.9vw, 26px);
	font-weight: 400;
	letter-spacing: -.012em;
	line-height: 1.28;
}

.ilx-read__content h4 {
	margin: 1.8em 0 .5em;
	font-family: var(--r-sans);
	font-size: 17.5px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.45;
}

/* A page whose sections are marked by a heading level: those headings open with a rule. */
.ilx-read--page .ilx-read__content h3[id],
.ilx-read--page .ilx-read__content h4[id] {
	padding-top: 1.4em;
	border-top: 1px solid var(--r-line);
}

.ilx-read--page .ilx-read__content > h3[id]:first-child,
.ilx-read--page .ilx-read__content > .ilx-block:first-child .ilx-block__col:first-child > .ilx-block__text:first-child > h3[id]:first-child,
.ilx-read--page .ilx-read__content h3[id] + h3[id],
.ilx-read--page .ilx-read__content h4[id] + h4[id] {
	padding-top: 0;
	border-top: 0;
}

.ilx-read__content h3 + h3,
.ilx-read__content h4 + h4 {
	margin-top: .4em;
}

.ilx-read__content strong,
.ilx-read__content b {
	color: var(--r-ink);
	font-weight: 600;
}

.ilx-read__content a {
	color: var(--r-wine);
	text-decoration: underline;
	text-decoration-color: rgba(199, 157, 102, .55);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color .3s ease;
}

.ilx-read__content a:hover {
	color: var(--r-wine);
	text-decoration-color: var(--r-wine);
}

.ilx-read__content ul,
.ilx-read__content ol {
	margin: 0 0 1.4em;
	padding: 0;
	list-style: none;
}

.ilx-read__content li {
	position: relative;
	margin: .45em 0;
	padding-left: 28px;
}

.ilx-read__content ul > li::before {
	content: "";
	position: absolute;
	top: .9em;
	left: 2px;
	width: 13px;
	height: 1px;
	background: var(--r-gold);
}

.ilx-read__content ol {
	counter-reset: ilx-read;
}

.ilx-read__content ol > li {
	padding-left: 40px;
	counter-increment: ilx-read;
}

.ilx-read__content ol > li::before {
	content: counter(ilx-read, decimal-leading-zero);
	position: absolute;
	top: .2em;
	left: 0;
	color: var(--r-gold-dark);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: inherit;
}

.ilx-read__content li > ul,
.ilx-read__content li > ol {
	margin: .4em 0 .6em;
}

.ilx-read__content blockquote {
	margin: 2em 0;
	padding: 6px 0 6px 28px;
	border-left: 2px solid var(--r-gold);
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: 22px;
	line-height: 1.55;
}

.ilx-read__content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.ilx-read__content table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 15px;
}

.ilx-read__content th,
.ilx-read__content td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--r-line);
	text-align: left;
}

.ilx-read__content th {
	color: var(--r-ink);
	font-weight: 600;
}

/* Text pages built of WPBakery rows read as one text. */
.ilx-read__content .ilx-block,
.ilx-read__content .ilx-block__grid,
.ilx-read__content .ilx-block__col {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.ilx-read .ilx-read__content .ilx-block__text {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.ilx-read .ilx-read__content .ilx-block__text p {
	margin: 0 0 1.3em;
}

/* ---------- a form inside a text page (the return form) ----------
   The return form (Contact Form 7, see inc/forms.php) on a pale panel:
   every label above its field, as in the theme's other forms. */

.ilx-read__content .ilx-form-panel {
	margin: 64px 0 0;
	padding: 44px 44px 40px;
	border-radius: 28px;
	background: var(--r-pale);
}

/* The form's own title is not a section of the text: no rule above it
   (headings with an anchor get one on text pages). */
.ilx-read .ilx-read__content .ilx-form-panel .ilx-form-panel__title {
	margin: 0 0 26px;
	padding: 0;
	border: 0;
	font-family: var(--r-serif);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.2;
}

.ilx-read__content .ilx-form-panel form > p {
	margin: 0 0 20px;
}

.ilx-read .ilx-read__content .ilx-form-panel label {
	display: block;
	margin: 0;
	color: var(--r-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.4;
}

.ilx-read__content .ilx-form-panel .ilx-required {
	color: var(--r-wine);
}

.ilx-read__content .ilx-form-panel .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.ilx-read .ilx-read__content .ilx-form-panel input[type="text"],
.ilx-read .ilx-read__content .ilx-form-panel input[type="email"],
.ilx-read .ilx-read__content .ilx-form-panel input[type="tel"],
.ilx-read .ilx-read__content .ilx-form-panel input[type="date"],
.ilx-read .ilx-read__content .ilx-form-panel textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid rgba(23, 23, 20, .14);
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	color: var(--r-ink);
	font-family: var(--r-sans);
	font-size: 15px;
	font-weight: 400;
	transition: border-color .3s ease, box-shadow .3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ilx-read .ilx-read__content .ilx-form-panel textarea {
	height: 130px;
	resize: vertical;
}

/* A date field keeps the height of the others (Safari draws it shorter). */
.ilx-read .ilx-read__content .ilx-form-panel input[type="date"] {
	line-height: 24px;
	text-align: left;
}

.ilx-read .ilx-read__content .ilx-form-panel input:focus,
.ilx-read .ilx-read__content .ilx-form-panel textarea:focus {
	border-color: var(--r-gold);
	outline: none;
	box-shadow: 0 0 0 4px rgba(199, 157, 102, .18);
}

/* The note on personal data under every form (inc/forms.php). */
.ilx-read .wpcf7 .ilx-form-privacy {
	margin: 16px 0 0;
	color: #7b766c;
	font-size: 12.5px;
	line-height: 1.55;
}

.ilx-read .wpcf7 .ilx-form-privacy a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ilx-read .ilx-read__content .ilx-form-panel .wpcf7-submit {
	min-height: 54px;
	margin: 10px 0 0;
	padding: 0 34px;
	border: 0;
	border-radius: 999px;
	background: var(--r-ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .4s ease;
}

@media (hover: hover) {
	.ilx-read .ilx-read__content .ilx-form-panel .wpcf7-submit:hover {
		background: var(--r-wine);
	}
}

.ilx-read__content .ilx-form-panel .wpcf7-spinner {
	margin: 10px 0 0 14px;
	vertical-align: middle;
}

.ilx-read .ilx-read__content .ilx-form-panel .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: var(--r-wine);
	font-size: 13px;
	font-weight: 400;
}

.ilx-read .ilx-read__content .ilx-form-panel .wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border: 1px solid rgba(199, 157, 102, .55);
	border-radius: 14px;
	background: #fff;
	color: var(--r-ink);
	font-size: 14px;
}

.ilx-read .ilx-read__content .ilx-form-panel .wpcf7 form.invalid .wpcf7-response-output,
.ilx-read .ilx-read__content .ilx-form-panel .wpcf7 form.failed .wpcf7-response-output {
	border-color: rgba(141, 32, 37, .45);
}

@media (max-width: 720px) {
	.ilx-read__content .ilx-form-panel {
		padding: 30px 20px 26px;
		border-radius: 22px;
	}

	.ilx-read .ilx-read__content .ilx-form-panel .ilx-form-panel__title {
		font-size: 26px;
	}
}

/* ---------- other articles ---------- */

.ilx-read__more {
	padding: 90px 0 110px;
	background: var(--r-pale);
}

.ilx-read__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.ilx-read .ilx-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--r-ink);
	text-decoration: none;
}

.ilx-card__media {
	display: block;
	margin-bottom: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
	background: #e9e4da;
}

.ilx-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--r-ease);
}

.ilx-card__date {
	color: var(--r-muted);
	font-size: 12.5px;
}

.ilx-card__title {
	font-family: var(--r-serif);
	font-size: 23px;
	letter-spacing: -.01em;
	line-height: 1.25;
	transition: color .3s ease;
}

.ilx-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ilx-card__more i {
	font-style: normal;
	transition: transform .5s var(--r-ease);
}

.ilx-read .ilx-card:hover .ilx-card__media img {
	transform: scale(1.05);
}

.ilx-read .ilx-card:hover .ilx-card__title {
	color: var(--r-wine);
}

.ilx-read .ilx-card:hover .ilx-card__more i {
	transform: translateX(5px);
}

/* ---------- presentation pages (WPBakery rows as the theme's sections) ---------- */

.ilx-show {
	position: relative;
	padding: 72px 0 96px;
	overflow: hidden;
	background: var(--r-pale);
}

.ilx-show__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 64px;
}

.ilx-show.has-image .ilx-show__grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.ilx-show__copy {
	animation: ilxReadUp .8s var(--r-ease) both;
}

.ilx-read .ilx-show__title {
	max-width: 14ch;
	margin: 0;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: clamp(38px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: -.005em;
	line-height: 1.06;
	text-wrap: balance;
}

.ilx-show:not(.has-image) .ilx-show__title {
	max-width: 20ch;
}

/* The words the old title underlined, drawn under in gold as the page opens. */
.ilx-read .ilx-accent {
	padding-bottom: .02em;
	background-image: linear-gradient(var(--r-gold), var(--r-gold));
	background-position: 0 94%;
	background-repeat: no-repeat;
	background-size: 100% 2px;
	animation: ilxReadDraw 1.1s .45s var(--r-ease) both;
}

@keyframes ilxReadDraw {
	from { background-size: 0 2px; }
	to { background-size: 100% 2px; }
}

.ilx-show__lede {
	max-width: 44ch;
	margin-top: 30px;
	color: var(--r-text);
	font-size: 18px;
	line-height: 1.7;
}

.ilx-show__lede p {
	margin: 0;
}

.ilx-show__lede strong {
	color: var(--r-text);
	font-weight: 400;
}

.ilx-show__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	border-radius: 28px;
	background: #e9e4da;
	box-shadow: 0 40px 90px rgba(28, 24, 18, .2);
	animation: ilxReadUp .9s .1s var(--r-ease) both;
}

.ilx-show__media > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: ilxReadZoom 1.8s var(--r-ease) both;
}

.ilx-show__body {
	padding: 96px 0 120px;
}

.ilx-show__body .ilx-block + .ilx-block {
	margin-top: 96px;
	padding-top: 96px;
	border-top: 1px solid var(--r-line);
}

.ilx-block__grid {
	display: grid;
	gap: 28px;
}

.ilx-block--cols-2 .ilx-block__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 6vw, 96px);
}

.ilx-block--cols-3 .ilx-block__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* Three columns side by side: cards on pale stages. */
.ilx-show__body .ilx-block--cols-3 .ilx-block__col {
	padding: 40px 34px 36px;
	border-radius: 24px;
	background: var(--r-pale);
	transition: background .45s ease, box-shadow .6s var(--r-ease), transform .6s var(--r-ease);
}

.ilx-show__body .ilx-block--cols-3 .ilx-block__col:hover {
	background: #fff;
	box-shadow: 0 30px 70px rgba(28, 24, 18, .12), inset 0 0 0 1px rgba(199, 157, 102, .45);
	transform: translateY(-4px);
}

.ilx-block__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(199, 157, 102, .5);
	color: var(--r-gold-dark);
}

.ilx-block__icon svg {
	width: 24px;
	height: 24px;
}

.ilx-read .ilx-block__title {
	margin: 0 0 18px;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.2;
	text-wrap: balance;
}

.ilx-read h2.ilx-block__title {
	font-size: clamp(32px, 3.2vw, 44px);
}

.ilx-read h2.ilx-block__title::before {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	margin-bottom: 26px;
	background: var(--r-gold);
}

.ilx-block__text {
	color: var(--r-text);
	font-size: 16.5px;
	line-height: 1.8;
}

.ilx-block__text p {
	margin: 0 0 1em;
}

.ilx-block__text > :last-child {
	margin-bottom: 0;
}

.ilx-block__text strong {
	color: var(--r-ink);
	font-weight: 600;
}

.ilx-read .ilx-block__text h4 {
	margin: 0 0 24px;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 400;
	letter-spacing: -.01em;
	line-height: 1.45;
}

.ilx-block__text ul {
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
}

.ilx-block__text li {
	position: relative;
	margin: .55em 0;
	padding-left: 26px;
}

.ilx-block__text li::before {
	content: "";
	position: absolute;
	top: .9em;
	left: 2px;
	width: 12px;
	height: 1px;
	background: var(--r-gold);
}

.ilx-block__figure {
	margin: 30px 0 0;
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--r-line);
}

.ilx-block__figure img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

/* Sections rise into place as they come into view (assets/js/reader.js). */
html.ilx-js .ilx-show__body .ilx-block[data-ilx-rise] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s ease, transform 1s var(--r-ease);
}

html.ilx-js .ilx-show__body .ilx-block[data-ilx-rise].is-in {
	opacity: 1;
	transform: none;
}

/* ---------- narrower screens ---------- */

@media (max-width: 1080px) {
	.ilx-read__layout {
		grid-template-columns: minmax(0, 760px);
		padding-top: 56px;
	}

	/* The contents open the text instead of standing beside it. */
	.ilx-toc {
		position: static;
		max-height: none;
		margin-bottom: 48px;
		padding: 28px 28px 20px;
		border-radius: 22px;
		background: var(--r-pale);
	}

	.ilx-toc__list {
		border-left: 0;
	}

	.ilx-toc__list::before {
		display: none;
	}

	.ilx-read .ilx-toc__link {
		padding-left: 0;
	}

	.ilx-show.has-image .ilx-show__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.ilx-block--cols-3 .ilx-block__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.ilx-read__wrap {
		width: calc(100% - 32px);
	}

	.ilx-read__hero {
		padding: 30px 0 48px;
	}

	.ilx-read--article .ilx-read__hero {
		background: linear-gradient(var(--r-pale) calc(100% - 90px), #fff calc(100% - 90px));
	}

	.ilx-read .ilx-breadcrumbs {
		margin-bottom: 28px;
	}

	.ilx-read .ilx-breadcrumbs [aria-current="page"] {
		max-width: 22ch;
	}

	.ilx-read__cover {
		margin-top: 32px;
		aspect-ratio: 4 / 3;
		border-radius: 20px;
	}

	.ilx-read__layout {
		padding: 44px 0 80px;
	}

	.ilx-read__content {
		font-size: 16.5px;
	}

	.ilx-read--article .ilx-read__content > p:first-child {
		font-size: 18.5px;
	}

	.ilx-read__more {
		padding: 64px 0 80px;
	}

	.ilx-show {
		padding: 30px 0 64px;
	}

	.ilx-show__media {
		border-radius: 20px;
	}

	.ilx-show__body {
		padding: 64px 0 80px;
	}

	.ilx-show__body .ilx-block + .ilx-block {
		margin-top: 64px;
		padding-top: 64px;
	}

	.ilx-block--cols-2 .ilx-block__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.ilx-show__body .ilx-block--cols-3 .ilx-block__col {
		padding: 32px 24px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ilx-read *,
	.ilx-read *::before,
	.ilx-read *::after {
		animation: none !important;
		transition: none !important;
	}

	html.ilx-js .ilx-show__body .ilx-block[data-ilx-rise] {
		opacity: 1;
		transform: none;
	}
}

/* =========================================================================
 * Contact page (template-parts/reader/contact.php)
 * ====================================================================== */

.ilx-read .ilx-contact__title {
	max-width: 15ch;
	font-size: clamp(36px, 4.2vw, 62px);
	text-transform: uppercase;
	letter-spacing: .005em;
}

.ilx-contact__address {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 30px 0 0;
	color: var(--r-text);
	font-size: 17px;
	line-height: 1.6;
}

.ilx-contact__address-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(199, 157, 102, .5);
	color: var(--r-gold-dark);
}

.ilx-contact__address-icon svg {
	width: 20px;
	height: 20px;
}

.ilx-contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.ilx-read .ilx-contact__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background .4s ease, color .4s ease, box-shadow .4s ease, transform .5s var(--r-ease);
}

.ilx-contact__btn svg {
	width: 16px;
	height: 16px;
	transition: transform .5s var(--r-ease);
}

.ilx-read .ilx-contact__btn--ink {
	background: var(--r-ink);
	color: #fff;
}

.ilx-read .ilx-contact__btn--ink:hover {
	background: var(--r-wine);
	color: #fff;
}

.ilx-contact__btn--ink:hover svg {
	transform: translateY(3px);
}

.ilx-read .ilx-contact__btn--line {
	box-shadow: inset 0 0 0 1px rgba(23, 23, 20, .22);
	color: var(--r-ink);
}

.ilx-read .ilx-contact__btn--line:hover {
	box-shadow: inset 0 0 0 1px var(--r-ink);
	color: var(--r-ink);
}

.ilx-contact__btn--line:hover svg {
	transform: translate(2px, -2px);
}

/* The map, in the page's own quiet tones; it still answers to the hand. */
.ilx-contact__map {
	aspect-ratio: 5 / 4.4;
}

.ilx-contact__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #e9e4da;
	transition: opacity .6s ease;
}

/* Until the map has drawn, the frame shows the page's own paper tone. */
.ilx-contact__canvas[data-ilx-later] {
	opacity: 0;
}

/* The map waits to be asked for: a quiet sheet of the paper tone, ruled like
   a street plan, with a pin and the question. */
.ilx-contact__map-ask {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 18px;
	padding: 32px;
	text-align: center;
	background:
		radial-gradient(circle at 50% 46%, rgba(233, 228, 218, .2), #e9e4da 70%),
		repeating-linear-gradient(28deg, transparent 0 46px, rgba(23, 23, 20, .05) 46px 48px),
		repeating-linear-gradient(118deg, transparent 0 62px, rgba(23, 23, 20, .05) 62px 64px),
		#e9e4da;
	transition: opacity .6s ease;
}

.ilx-contact__map-ask p {
	max-width: 30ch;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5f5a52;
}

.ilx-contact__map-pin {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	color: var(--r-gold-dark);
	box-shadow: 0 14px 30px rgba(28, 24, 18, .14);
}

.ilx-contact__map-pin svg {
	width: 22px;
	height: 22px;
}

.ilx-contact__map.is-shown .ilx-contact__map-ask {
	opacity: 0;
	pointer-events: none;
}

/* ---------- the company in brief, and each location's lines ---------- */

.ilx-contact__info {
	padding: 110px 0;
	background: #fff;
}

.ilx-contact__info-grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(48px, 7vw, 110px);
	align-items: start;
}

.ilx-contact__about {
	position: sticky;
	top: 130px;
}

.ilx-contact__about p:not(.ilx-read__kicker) {
	margin: 0 0 18px;
	color: var(--r-text);
	font-size: 17px;
	line-height: 1.8;
}

.ilx-read .ilx-contact__about p:not(.ilx-read__kicker):nth-of-type(2) {
	margin-bottom: 26px;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: clamp(24px, 2.2vw, 30px);
	letter-spacing: -.015em;
	line-height: 1.35;
}

.ilx-contact__places {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.ilx-place {
	padding: 38px 34px 30px;
	border-radius: 26px;
	background: var(--r-pale);
	transition: background .45s ease, box-shadow .6s var(--r-ease), transform .6s var(--r-ease);
}

.ilx-place:hover {
	background: #fff;
	box-shadow: 0 30px 70px rgba(28, 24, 18, .12), inset 0 0 0 1px rgba(199, 157, 102, .45);
	transform: translateY(-4px);
}

.ilx-read .ilx-place__name {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 26px;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.2;
}

.ilx-place__name::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--r-gold);
}

.ilx-place__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ilx-place__item {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid var(--r-line);
}

.ilx-place__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(199, 157, 102, .45);
	color: var(--r-gold-dark);
	transition: background .4s ease, color .4s ease;
}

.ilx-place:hover .ilx-place__icon {
	background: var(--r-pale);
}

.ilx-place__icon svg {
	width: 18px;
	height: 18px;
}

.ilx-place__lines {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	padding-top: 2px;
}

.ilx-read .ilx-place__line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 10px;
	color: var(--r-ink);
	font-size: 15.5px;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ilx-place__label {
	min-width: 58px;
	color: var(--r-muted);
	font-size: 12.5px;
}

.ilx-place__value {
	font-variant-numeric: tabular-nums;
	transition: color .3s ease;
}

.ilx-read .ilx-place__line.is-link:hover .ilx-place__value,
.ilx-read .ilx-place__value a:hover {
	color: var(--r-wine);
}

.ilx-read .ilx-place__value a {
	color: var(--r-ink);
	text-decoration: none;
	background-image: linear-gradient(var(--r-gold), var(--r-gold));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: color .3s ease, background-size .5s var(--r-ease);
}

.ilx-read .ilx-place__value a:hover {
	background-size: 100% 1px;
}

/* ---------- the message form ---------- */

.ilx-contact__write {
	scroll-margin-top: 90px;
	padding: 110px 0 120px;
	background: var(--r-pale);
}

.ilx-contact__write-grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(48px, 7vw, 110px);
	align-items: start;
}

.ilx-read .ilx-contact__write-title {
	margin: 0;
	color: var(--r-ink);
	font-family: var(--r-serif);
	font-size: clamp(38px, 4vw, 58px);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.05;
}

.ilx-contact__write-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 1px;
	margin-top: 30px;
	background: var(--r-gold);
}

.ilx-contact__calls {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 34px;
}

.ilx-read .ilx-contact__call {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: fit-content;
	color: var(--r-ink);
	text-decoration: none;
}

.ilx-contact__call-label {
	color: var(--r-muted);
	font-size: 12px;
	letter-spacing: .04em;
}

.ilx-contact__call-number {
	font-family: var(--r-serif);
	font-size: clamp(24px, 2.2vw, 30px);
	letter-spacing: -.01em;
	line-height: 1.2;
	background-image: linear-gradient(var(--r-gold), var(--r-gold));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: color .3s ease, background-size .5s var(--r-ease);
}

.ilx-read .ilx-contact__call:hover .ilx-contact__call-number {
	color: var(--r-wine);
	background-size: 100% 1px;
}

.ilx-contact__form {
	padding: 44px 44px 40px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(28, 24, 18, .08);
}

.ilx-contact__form .wpcf7 .row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
	margin: 0;
}

.ilx-contact__form .wpcf7 [class*="col-"] {
	width: auto;
	max-width: none;
	padding: 0;
}

.ilx-contact__form .wpcf7 p {
	margin: 0 0 20px;
}

.ilx-read .ilx-contact__form .wpcf7 label {
	display: block;
	margin: 0 0 8px;
	color: var(--r-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
}

.ilx-read .ilx-contact__form .ilx-required {
	color: var(--r-wine);
}

.ilx-contact__form .wpcf7-form-control-wrap {
	display: block;
}

.ilx-read .ilx-contact__form .wpcf7 input[type="text"],
.ilx-read .ilx-contact__form .wpcf7 input[type="email"],
.ilx-read .ilx-contact__form .wpcf7 input[type="tel"],
.ilx-read .ilx-contact__form .wpcf7 textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid rgba(23, 23, 20, .14);
	border-radius: 14px;
	background: var(--r-pale);
	box-shadow: none;
	color: var(--r-ink);
	font-family: var(--r-sans);
	font-size: 15px;
	transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.ilx-read .ilx-contact__form .wpcf7 textarea {
	height: 170px;
	resize: vertical;
}

.ilx-read .ilx-contact__form .wpcf7 input:focus,
.ilx-read .ilx-contact__form .wpcf7 textarea:focus {
	border-color: var(--r-gold);
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(199, 157, 102, .18);
}

.ilx-read .ilx-contact__form .wpcf7 .wpcf7-submit {
	min-height: 54px;
	margin: 6px 0 0;
	padding: 0 38px;
	border: 0;
	border-radius: 999px;
	background: var(--r-ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .4s ease;
}

.ilx-read .ilx-contact__form .wpcf7 .wpcf7-submit:hover {
	background: var(--r-wine);
}

.ilx-contact__form .wpcf7-spinner {
	margin: 0 0 0 14px;
	vertical-align: middle;
}

.ilx-read .ilx-contact__form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: var(--r-wine);
	font-size: 12.5px;
}

.ilx-read .ilx-contact__form .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 14px 18px;
	border: 1px solid rgba(199, 157, 102, .55);
	border-radius: 14px;
	background: var(--r-pale);
	color: var(--r-ink);
	font-size: 14px;
}

.ilx-read .ilx-contact__form .wpcf7 form.invalid .wpcf7-response-output,
.ilx-read .ilx-contact__form .wpcf7 form.failed .wpcf7-response-output {
	border-color: rgba(141, 32, 37, .45);
}

@media (max-width: 1080px) {
	.ilx-contact__info-grid,
	.ilx-contact__write-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.ilx-contact__about {
		position: static;
	}
}

@media (max-width: 720px) {
	.ilx-contact__places {
		grid-template-columns: minmax(0, 1fr);
	}

	.ilx-contact__info,
	.ilx-contact__write {
		padding: 72px 0;
	}

	.ilx-place {
		padding: 30px 22px 22px;
	}

	.ilx-contact__form {
		padding: 30px 20px 26px;
		border-radius: 22px;
	}

	.ilx-contact__form .wpcf7 .row {
		grid-template-columns: minmax(0, 1fr);
	}

	.ilx-read .ilx-contact__btn {
		height: 46px;
		padding: 0 20px;
	}
}
