/*
Theme Name: The Ellery
Author: The Ellery
Description: A neutral modern classic theme foundation for The Ellery.
Version: 0.6.19
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: ellery
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

html {
	scroll-padding-top: 12rem;
	color: var(--ellery-ink);
	background: var(--ellery-paper);
	text-rendering: optimizeLegibility;
}

/* The commerce plugin supplies order facts; the theme gives them the Ellery treatment. */
.woocommerce-order-received .woocommerce .woocommerce-thankyou-order-received {
	margin-block-end: var(--ellery-space-4);
}

.woocommerce .ellery-interac-illustration {
	margin-block-end: var(--ellery-space-4);
}

.woocommerce .ellery-interac-illustration img {
	display: block;
	width: 20rem;
	max-width: 100%;
	height: auto;
}

.woocommerce .ellery-interac-instructions {
	max-width: 42rem;
	margin-block: var(--ellery-space-5);
	padding: var(--ellery-space-4);
	border: 1px solid var(--ellery-rule);
	background: color-mix(in srgb, var(--ellery-accent-soft) 24%, var(--ellery-paper));
}

.woocommerce .ellery-interac-instructions h2 {
	margin: 0 0 var(--ellery-space-2);
}

.woocommerce .ellery-interac-instructions dl {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 0.6rem var(--ellery-space-4);
	margin-block: var(--ellery-space-4);
	padding-block: var(--ellery-space-3);
	border-block: 1px solid var(--ellery-rule);
}

.woocommerce .ellery-interac-instructions dt {
	color: var(--ellery-ink-soft);
}

.woocommerce .ellery-interac-instructions dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

:root {
	--ellery-paper: var(--wp--preset--color--base, #fbfaf6);
	--ellery-ink: var(--wp--preset--color--contrast, #172027);
	--ellery-ink-soft: var(--wp--preset--color--muted, #4f5957);
	--ellery-rule: rgba(23, 32, 39, 0.16);
	--ellery-accent: var(--wp--preset--color--accent, #4f6658);
	--ellery-accent-soft: rgba(79, 102, 88, 0.18);
	--ellery-font-body: var(--wp--preset--font-family--body, "Source Sans 3", "Segoe UI", Arial, sans-serif);
	--ellery-font-display: var(--wp--preset--font-family--display, "Newsreader", Georgia, "Times New Roman", serif);
	--ellery-font-identity-serif: "Ellery Cormorant Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ellery-font-identity-sans: "Ellery Archivo", Archivo, "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--ellery-font-identity-tagline: "Ellery Hanken Grotesk", "Hanken Grotesk", "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--ellery-text-xs: 0.8125rem;
	--ellery-text-sm: 0.9375rem;
	--ellery-text-base: 1.0625rem;
	--ellery-text-lg: 1.1875rem;
	--ellery-leading-body: 1.62;
	--ellery-leading-snug: 1.25;
	--ellery-leading-tight: 1.08;
	--ellery-canvas: var(--wp--style--global--wide-size, 76rem);
	--ellery-content: var(--wp--style--global--content-size, 54rem);
	--ellery-gutter: clamp(1rem, 4vw, 2rem);
	--ellery-shell-width: min(calc(100% - (2 * var(--ellery-gutter))), var(--ellery-canvas));
	--ellery-prose: 72ch;
	--ellery-space-1: 0.375rem;
	--ellery-space-2: 0.625rem;
	--ellery-space-3: 1rem;
	--ellery-space-4: 1.5rem;
	--ellery-space-5: 2.25rem;
	--ellery-space-6: 3.25rem;
	--ellery-space-7: 4.75rem;
	--ellery-fast: 140ms;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--ellery-paper);
	color: var(--ellery-ink);
	font-family: var(--ellery-font-body);
	font-size: var(--ellery-text-base);
	line-height: var(--ellery-leading-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.site-frame {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr) auto;
	min-height: 100vh;
}

body.admin-bar .site-frame {
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media (max-width: 782px) {
	body.admin-bar .site-frame {
		min-height: calc(100vh - var(--wp-admin--admin-bar--height, 46px));
	}
}

html:has(> body.ellery-page-booking),
body.ellery-page-booking {
	background: #fff;
}

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

a {
	color: var(--ellery-accent);
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-color: transparent;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

::selection {
	background: var(--ellery-accent-soft);
}

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

img {
	height: auto;
}

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

input,
select,
textarea {
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	color: inherit;
	background: #fff;
	border: 1px solid var(--ellery-rule);
	border-radius: 0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline-color: var(--ellery-accent);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.8rem;
	padding: 0.65rem 1rem;
	color: var(--ellery-paper);
	background: var(--ellery-ink);
	border: 1px solid var(--ellery-ink);
	border-radius: 0;
	font-size: var(--ellery-text-sm);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--ellery-fast) ease,
		color var(--ellery-fast) ease,
		border-color var(--ellery-fast) ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	color: var(--ellery-ink);
	background: transparent;
	border-color: currentColor;
}

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

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip: auto;
	clip-path: none;
	background: var(--wp--preset--color--base, #ffffff);
}

.site-header {
	grid-area: 1 / 1;
	position: sticky;
	z-index: 100;
	top: 0;
	background: color-mix(in srgb, var(--ellery-paper) 96%, #fff 4%);
	border-bottom: 1px solid var(--ellery-rule);
}

.site-footer {
	grid-area: 3 / 1;
	margin-top: calc(var(--ellery-space-7) * var(--ellery-section-space-scale));
	border-top: 1px solid var(--ellery-rule);
	border-bottom: 1px solid var(--ellery-rule);
}

.site-header__inner,
.site-main,
.site-footer__inner {
	width: var(--ellery-shell-width, min(calc(100% - 2rem), var(--ellery-canvas)));
	margin-inline: auto;
}

.page-hero {
	width: min(calc(100% - 2rem), var(--ellery-content));
	margin-inline: auto;
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1rem;
}

.site-branding {
	flex: 1 1 20rem;
	min-width: 0;
}

.site-main {
	grid-area: 2 / 1;
	padding-block: var(--ellery-space-6) calc(var(--ellery-space-6) * var(--ellery-section-space-scale));
}

.site-footer__inner {
	padding-block-start: var(--ellery-space-5);
}

.site-footer__upper {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
	gap: var(--ellery-space-5) clamp(2.25rem, 7vw, 7rem);
	padding-block-end: var(--ellery-space-5);
}

.site-footer__signup {
	min-width: 0;
}

.site-footer__support {
	padding-block-start: var(--ellery-space-3);
}

.site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links a,
.site-footer__elsewhere {
	font-family: var(--ellery-font-display);
	font-size: var(--ellery-text-base);
}

.site-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: calc(2.75rem * 0.7);
	color: var(--ellery-ink);
	text-decoration: none;
}

.site-footer__links a:hover {
	text-decoration: underline;
}

.site-footer__elsewhere {
	margin: var(--ellery-space-4) 0 0;
	color: var(--ellery-ink-soft);
}

.site-footer__support .ellery-social-links {
	justify-content: flex-start;
	/* Align the first icon's ink with the editorial links. */
	margin-inline-start: -0.75rem;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--ellery-space-4);
	padding-block: var(--ellery-space-2);
	border-block-start: 1px solid var(--ellery-rule);
}

.site-footer__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
}

@media (max-width: 63.99rem) {
	.site-footer__upper {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__support {
		padding-block-start: 0;
	}
}

.ellery-social-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
}

.ellery-social-links__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	min-height: 44px;
}

.ellery-social-links__item img {
	display: block;
	width: auto;
	height: 20px;
	opacity: 0.85;
}

.ellery-social-links a:is(:hover, :focus-visible) img {
	opacity: 1;
}

.ellery-social-links a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.site-title-line {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.75rem;
	align-items: baseline;
	white-space: nowrap;
}

.site-title {
	margin: 0;
	font-family: var(--ellery-font-identity-serif);
	font-size: 2rem;
	font-weight: 600;
	line-height: var(--ellery-leading-tight);
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-identity-descriptor {
	color: #465b58;
	font-family: var(--ellery-font-identity-sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	line-height: 1;
	text-transform: uppercase;
}

.site-description {
	width: fit-content;
	max-width: 100%;
	margin: 0.5rem 0 0;
	color: #566966;
	font-family: var(--ellery-font-identity-tagline);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: var(--ellery-leading-snug);
	text-transform: uppercase;
}

.site-footer__privacy,
.site-credit,
.entry-meta {
	color: var(--ellery-ink-soft);
	font-size: var(--ellery-text-sm);
}

.site-footer__privacy,
.site-credit {
	margin: 0;
}

.site-credit {
	text-align: left;
}

.primary-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__navigation {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex: 0 1 auto;
	margin-inline-start: auto;
}

.header-utility {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	min-height: 2.75rem;
	text-decoration: none;
}

.header-utility img {
	position: relative;
	/* Align the stem with the utility text rather than centering the key's bow. */
	top: -0.5rem;
	display: block;
	width: auto;
	height: 2.015625rem;
	opacity: 0.6336;
	transition: opacity var(--ellery-fast) ease, transform var(--ellery-fast) ease;
}

.header-utility:hover img,
.header-utility:focus-visible img {
	opacity: 1;
	transform: translateY(-1px);
}

.header-utility__tooltip {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.3125rem);
	right: 0;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--ellery-rule);
	background: var(--ellery-paper);
	box-shadow: 0 0.375rem 1.25rem rgba(23, 32, 39, 0.09);
	color: var(--ellery-ink);
	font-family: var(--ellery-font-body);
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.1em;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.25rem);
	transition: opacity var(--ellery-fast) ease, transform var(--ellery-fast) ease, visibility var(--ellery-fast) ease;
}

.header-utility__tooltip::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: 0.3125rem;
}

.header-utility:hover .header-utility__tooltip,
.header-utility:focus-visible .header-utility__tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-header__utilities {
	display: flex;
	align-items: center;
	gap: 0;
}

.header-cart-slot {
	flex: 0 0 2.75rem;
	width: 2.75rem;
}

[data-ellery-cart][hidden] {
	display: none !important;
}

.header-cart img {
	top: calc(-0.5rem + 2px);
	height: 2.45rem;
	filter: brightness(0);
}

.primary-navigation--desktop .menu {
	flex-wrap: nowrap;
	justify-content: flex-end;
}

/* Non-link section headings share the existing link geometry. */
.primary-navigation .section-menu-toggle {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	margin: 0;
	padding-inline: 0;
	font-family: inherit;
	letter-spacing: inherit;
	text-transform: none;
	cursor: pointer;
}

.primary-navigation .menu > .menu-item-has-children > a::after,
.primary-navigation .menu > .menu-item-has-children > .section-menu-toggle::after {
	content: "";
	display: inline-block;
	width: 0.38em;
	height: 0.38em;
	margin-inline-start: 0.45em;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	vertical-align: 0.16em;
	transform: rotate(45deg);
}

.primary-navigation .menu > .menu-item-has-children > .section-menu-toggle::after {
	/* Match the link chevron's inline baseline offset in the flex button. */
	margin-block-end: 0.16em;
}

.primary-navigation a,
.primary-navigation .section-menu-toggle {
	display: inline-block;
	min-height: 44px;
	padding-block: 0.55rem;
	color: inherit;
	font-size: var(--ellery-text-sm);
	font-weight: 600;
	text-decoration: none;
}

.primary-navigation .section-menu-toggle {
	display: inline-flex;
	align-items: baseline;
}

.primary-navigation .section-menu-toggle:hover,
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	text-decoration: underline;
}

.primary-navigation .sub-menu {
	flex-basis: 100%;
	padding-inline-start: 1rem;
	font-size: var(--ellery-text-sm);
}

.primary-navigation--mobile,
.mobile-navigation-toggle {
	display: none;
}

.mobile-navigation-toggle {
	position: relative;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	width: 2.75rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin-inline-end: var(--ellery-space-2);
	padding: 0;
	opacity: .8;
	color: var(--ellery-ink);
	background: transparent;
	border: 0;
}

.mobile-navigation-toggle:hover {
	color: var(--ellery-ink);
	background: transparent;
}

.mobile-navigation-toggle__text {
	font: 400 .875rem/1.2 var(--ellery-font-display);
	letter-spacing: .015em;
}

.mobile-navigation-toggle.is-open .mobile-navigation-toggle__text {
	visibility: hidden;
}

.mobile-navigation-toggle__icon,
.mobile-navigation-toggle__icon::before,
.mobile-navigation-toggle__icon::after {
	position: absolute;
	left: 50%;
	top: 0;
	width: 100%;
	height: 1.6px;
	border-radius: 1.6px;
	background: currentColor;
	transform: translateX(-50%);
	transition:
		transform var(--ellery-fast) ease,
		opacity var(--ellery-fast) ease;
}

.mobile-navigation-toggle__icon {
	position: relative;
	order: -1;
	left: auto;
	top: auto;
	width: 2rem;
	margin-block: .35rem;
	transform: none;
}

.mobile-navigation-toggle__icon::before,
.mobile-navigation-toggle__icon::after {
	content: "";
}

.mobile-navigation-toggle__icon::before {
	transform: translate(-50%, -.35rem);
}

.mobile-navigation-toggle__icon::after {
	transform: translate(-50%, .35rem);
}

.mobile-navigation-toggle.is-open .mobile-navigation-toggle__icon {
	width: 1.36rem;
	background: transparent;
}

.mobile-navigation-toggle.is-open .mobile-navigation-toggle__icon::before {
	transform: translate(-50%, 0) rotate(45deg);
}

.mobile-navigation-toggle.is-open .mobile-navigation-toggle__icon::after {
	transform: translate(-50%, 0) rotate(-45deg);
}

.ellery-promo-bar {
	background: color-mix(in srgb, var(--wp--preset--color--subtle, #f4f1ea) 34%, var(--ellery-paper) 66%);
	border-top: 1px solid var(--ellery-rule);
}

.ellery-promo-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: var(--ellery-shell-width, min(calc(100% - 2rem), var(--ellery-canvas)));
	min-height: 3.05rem;
	margin-inline: auto;
	padding-block: 0.55rem;
	text-align: center;
}

.ellery-promo-bar__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ellery-promo-bar__link:hover .ellery-promo-bar__message {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.ellery-promo-bar__link:focus-visible {
	outline-offset: -0.35rem;
}

.ellery-promo-bar__decoration {
	display: block;
	flex: 0 0 auto;
	width: clamp(1rem, 2.4vw, 1.45rem);
	height: clamp(1rem, 2.4vw, 1.45rem);
	object-fit: contain;
}

.ellery-promo-bar__decoration--fleuron {
	position: relative;
	color: var(--ellery-accent);
}

.ellery-promo-bar__decoration--fleuron::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.92rem;
	height: 0.92rem;
	background: currentColor;
	clip-path: polygon(50% 0, 62% 33%, 100% 50%, 62% 67%, 50% 100%, 38% 67%, 0 50%, 38% 33%);
	transform: translate(-50%, -50%);
}

.ellery-promo-bar__decoration--fleuron::after {
	content: none;
}

.ellery-promo-bar__message {
	color: var(--ellery-ink);
	font-family: var(--ellery-font-display);
	font-size: clamp(0.98rem, 1.12vw, 1.08rem);
	font-weight: 500;
	line-height: var(--ellery-leading-snug);
	text-wrap: balance;
}

.ellery-promo-bar__message p {
	display: inline;
	margin: 0;
}

.ellery-promo-bar__message-copy--mobile {
	display: none;
}

.ellery-promo-bar__message a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.ellery-promo-bar__arrow {
	white-space: nowrap;
}

@media (min-width: 48.01rem) {
	.primary-navigation .menu {
		align-items: center;
	}

	.primary-navigation .menu-item {
		position: relative;
	}

	.primary-navigation .menu > .menu-item > a,
	.primary-navigation .menu > .menu-item > .section-menu-toggle {
		padding-inline: 0.2rem;
		font-family: var(--ellery-font-display);
		font-size: 1.08rem;
		font-weight: 500;
		line-height: var(--ellery-leading-snug);
	}

	.primary-navigation .menu > .menu-item-has-children::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: 0.5rem;
	}

	.primary-navigation .menu > .menu-secondary > a,
	.primary-navigation .menu > .menu-secondary > .section-menu-toggle {
		color: color-mix(in srgb, var(--ellery-ink-soft) 82%, var(--ellery-paper) 18%);
		font-family: var(--ellery-font-body);
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}

	.primary-navigation .menu > .menu-secondary + .menu-secondary {
		margin-inline-start: -0.3rem;
	}

	.primary-navigation .menu > :not(.menu-secondary) + .menu-secondary {
		margin-inline-start: 1.2rem;
		padding-inline-start: 1.6rem;
		border-inline-start: 1px solid var(--ellery-rule);
	}

	.primary-navigation .sub-menu {
		position: absolute;
		z-index: 20;
		top: 100%;
		left: 50%;
		display: block;
		min-width: 21rem;
		width: max-content;
		margin-top: 0.35rem;
		padding: 0.75rem;
		border: 1px solid var(--ellery-rule);
		background: var(--ellery-paper);
		box-shadow: 0 0.85rem 1.5rem rgba(23, 32, 39, 0.08);
		font-size: var(--ellery-text-sm);
		opacity: 0;
		visibility: hidden;
		transform: translateX(-50%) translateY(-0.25rem);
		transition:
			opacity var(--ellery-fast) ease,
			transform var(--ellery-fast) ease,
			visibility 0s linear var(--ellery-fast);
	}

	.primary-navigation .sub-menu::before {
		content: "";
		position: absolute;
		top: -0.45rem;
		left: 50%;
		width: 0.8rem;
		height: 0.8rem;
		border-top: 1px solid var(--ellery-rule);
		border-left: 1px solid var(--ellery-rule);
		background: var(--ellery-paper);
		transform: translateX(-50%) rotate(45deg);
	}

	.primary-navigation .menu-item:not(.ellery-section-control):hover > .sub-menu,
	.primary-navigation .menu-item:not(.ellery-section-control):focus-within > .sub-menu,
	.primary-navigation .ellery-section-control.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
		transition-delay: 0s;
	}

	.primary-navigation .sub-menu a {
		display: flex;
		justify-content: space-between;
		column-gap: 2rem;
		align-items: baseline;
		min-height: 0;
		padding: 0.45rem 0.65rem;
		width: 100%;
		font-family: var(--ellery-font-display);
		font-size: 1rem;
		font-weight: 500;
		line-height: var(--ellery-leading-snug);
		text-decoration: none;
	}

	.primary-navigation .sub-menu a::after {
		content: "";
		flex: 0 0 4.8rem;
	}

	.primary-navigation .sub-menu .menu-location-toronto > a::after {
		content: "Toronto";
		color: var(--ellery-ink-soft);
		font-family: var(--ellery-font-body);
		font-size: 0.68rem;
		font-weight: 600;
		letter-spacing: 0.16em;
		text-align: right;
		text-transform: uppercase;
	}

	.primary-navigation .sub-menu a:hover,
	.primary-navigation .sub-menu a:focus-visible {
		background: var(--ellery-accent-soft);
	}
}

@media (min-width: 48.01rem) and (max-width: 68rem) {
	.site-header__navigation {
		flex-basis: 100%;
		justify-content: flex-end;
	}
}

/* Keep the existing menu on one line just above the mobile breakpoint. */
@media (min-width: 48.01rem) and (max-width: 50rem) {
	.site-header__navigation {
		gap: 0;
	}

	.client-login-key {
		width: 2.625rem;
	}

	.site-header__utilities {
		gap: 0;
	}

	.header-cart-slot {
		flex-basis: 2rem;
		width: 2rem;
	}

	.header-cart {
		width: 2rem;
	}
}

.entry-header,
.page-header,
.not-found {
	margin-bottom: var(--ellery-space-5);
}

.entry-title,
.page-title {
	margin-top: 0;
}

.post-summary {
	padding-block: var(--ellery-space-5);
	border-top: 1px solid var(--ellery-rule);
}

.post-summary:first-of-type {
	border-top: 0;
}

.page-hero {
	width: 100vw;
	max-width: 100vw;
	height: clamp(140px, 20vw, 300px);
	margin: calc(-1 * var(--ellery-space-6)) calc(50% - 50vw) var(--ellery-space-6);
	overflow: hidden;
	background: var(--wp--preset--color--subtle, #f4f1ea);
}

.site-header > .page-hero--sticky {
	width: 100%;
	max-width: none;
	margin: 0;
}

.page-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-hero--strip {
	background: var(--ellery-paper);
}

.page-hero__texture {
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

@media (min-width: 48.01rem) {
	.page-hero--hide-desktop {
		display: none;
	}
}

@media (max-width: 48rem) {
	.page-hero--hide-mobile {
		display: none;
	}
}

.page-layout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 2fr);
	gap: var(--ellery-space-6);
	align-items: start;
}

.page-layout .entry-content {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.page-sidebar {
	padding-inline-start: var(--ellery-space-5);
	border-inline-start: 1px solid var(--ellery-rule);
	color: var(--ellery-ink-soft);
	font-size: var(--ellery-text-sm);
}

.page-sidebar--default,
.page-sidebar--image {
	align-self: stretch;
	padding-inline-start: 0;
	border-inline-start: 0;
}

.page-sidebar--default {
	--ellery-sidebar-lattice-color: color-mix(in srgb, var(--ellery-accent) 14%, transparent);
	--ellery-sidebar-lattice-width: 3.6rem;
	--ellery-sidebar-lattice-height: 9.5rem;
	inline-size: calc(100% + ((100vw - min(calc(100vw - (2 * var(--ellery-gutter))), var(--ellery-canvas))) / 2));
	min-height: 12rem;
	background:
		repeating-linear-gradient(67deg, transparent 0, transparent calc(var(--ellery-sidebar-lattice-width) - 1px), var(--ellery-sidebar-lattice-color) var(--ellery-sidebar-lattice-width), transparent calc(var(--ellery-sidebar-lattice-width) + 1px)),
		repeating-linear-gradient(113deg, transparent 0, transparent calc(var(--ellery-sidebar-lattice-width) - 1px), var(--ellery-sidebar-lattice-color) var(--ellery-sidebar-lattice-width), transparent calc(var(--ellery-sidebar-lattice-width) + 1px));
	background-size: var(--ellery-sidebar-lattice-width) var(--ellery-sidebar-lattice-height);
}

.page-sidebar--image {
	--ellery-sidebar-image-overlap: clamp(10rem, 18vw, 18rem);
	position: relative;
	z-index: 0;
	inline-size: calc(100% + var(--ellery-sidebar-image-overlap) + ((100vw - min(calc(100vw - (2 * var(--ellery-gutter))), var(--ellery-canvas))) / 2));
	margin-inline-start: calc(-1 * var(--ellery-sidebar-image-overlap));
	overflow: hidden;
	background: var(--ellery-paper);
	-webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.7) var(--ellery-sidebar-image-overlap), #000 calc(var(--ellery-sidebar-image-overlap) + 6rem), #000 100%);
	mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.7) var(--ellery-sidebar-image-overlap), #000 calc(var(--ellery-sidebar-image-overlap) + 6rem), #000 100%);
}

.page-sidebar__image-wrap,
.page-sidebar__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 12rem;
}

.page-sidebar__image-wrap {
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.page-sidebar__image {
	object-fit: cover;
	opacity: var(--ellery-sidebar-image-opacity, 0.238);
	filter: var(--ellery-sidebar-image-filter, grayscale(1) contrast(0.85) sepia(0.08));
}

.page-sidebar--image::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background: color-mix(in srgb, var(--ellery-paper) 52%, transparent);
}

.ellery-header-banner-underlay {
	display: none;
}

@media (min-width: 48.01rem) {
	/* Share the header's intrinsic grid row without trapping artwork below it. */
	.ellery-header-layers-ready .site-frame {
		isolation: isolate;
	}

	.ellery-header-layers-ready .site-frame::before {
		content: "";
		grid-area: 1 / 1;
		position: sticky;
		top: 0;
		z-index: -1;
		background: color-mix(in srgb, var(--ellery-paper) 68%, transparent);
		backdrop-filter: blur(8px);
		border-bottom: 1px solid var(--ellery-rule);
		pointer-events: none;
	}

	.ellery-header-layers-ready .site-header {
		grid-area: 1 / 1;
		background: transparent;
		backdrop-filter: none;
		/* Preserve header height and all existing page-relative coordinates. */
		border-bottom-color: transparent;
	}

	.ellery-header-banner-underlay {
		display: block;
		grid-area: 1 / 1;
		align-self: start;
		position: sticky;
		top: 0;
		z-index: -1;
		pointer-events: none;
	}

	.ellery-header-banner-underlay > .page-hero--sticky {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.ellery-header-layers-ready .site-header > .page-hero--sticky {
		opacity: var(--ellery-header-conceal, 0);
	}

	/* Cover only the header intrusion; its content stays above this surface. */
	.ellery-header-layers-ready .site-header::before {
		content: "";
		position: absolute;
		inset: 0 0 -1px;
		z-index: -1;
		background: color-mix(in srgb, var(--ellery-paper) 96%, #fff 4%);
		border-bottom: 1px solid var(--ellery-rule);
		opacity: var(--ellery-header-conceal, 0);
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ellery-header-layers-ready .site-header::before {
		/* Retain the original intrusion without a scroll-linked opacity change. */
		opacity: 0;
	}
}

@media (min-width: 48.01rem) and (prefers-reduced-motion: reduce) {
	.ellery-header-layers-ready .site-header > .page-hero--sticky {
		opacity: 0;
	}
}

.page-links,
.posts-navigation,
.post-navigation,
.pagination,
.comments-area {
	margin-top: var(--ellery-space-6);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
}

.page-numbers,
.page-links a,
.page-links .post-page-numbers {
	display: inline-block;
	padding: 0.35rem 0.5rem;
}

@media (max-width: 42rem) {
	:root {
		--ellery-text-base: 1rem;
	}
}

@media (max-width: 48rem) {
	/* The document is frozen at its saved offset; the open header owns its viewport. */
	body.has-mobile-navigation-open {
		position: fixed;
		top: var(--ellery-scroll-offset);
		width: 100%;
	}

	.has-mobile-navigation-open .site-header {
		position: fixed;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		max-height: 100%;
		max-height: 100dvh;
	}

	/* Follow the fixed header's live boundary; clicks use existing outside dismissal. */
	.has-mobile-navigation-open .site-header::after {
		content: "";
		position: absolute;
		top: calc(100% + 1px);
		left: 0;
		right: 0;
		height: max(0px, calc(100vh - 100% - 1px - var(--ellery-navigation-toolbar-offset, 0px)));
		height: max(0px, calc(100dvh - 100% - 1px - var(--ellery-navigation-toolbar-offset, 0px)));
		background: rgb(42 37 31 / 25.3%);
	}

	body.has-mobile-navigation-open.admin-bar {
		top: calc(var(--ellery-scroll-offset) + 46px);
	}

	.has-mobile-navigation-open.admin-bar .site-header {
		--ellery-navigation-toolbar-offset: 46px;
		top: 46px;
		max-height: calc(100% - 46px);
		max-height: calc(100dvh - 46px);
	}

	.has-mobile-navigation-open .site-header__inner,
	.has-mobile-navigation-open .ellery-promo-bar {
		flex-shrink: 0;
	}

	/* Leave the bounded disclosure room to scroll on short viewports. */
	.has-mobile-navigation-open .site-header > .page-hero--sticky {
		display: none;
	}

	.site-header:has(> .page-hero--sticky:not(.page-hero--hide-mobile)) {
		display: flex;
		flex-direction: column;
		max-height: 100%;
		max-height: 100dvh;
	}

	.admin-bar .site-header:has(> .page-hero--sticky:not(.page-hero--hide-mobile)) {
		max-height: calc(100% - 46px);
		max-height: calc(100dvh - 46px);
	}

	.site-header > .page-hero--sticky {
		flex-shrink: 1;
		min-height: 0;
	}

	.site-header:has(> .page-hero--sticky:not(.page-hero--hide-mobile)) .site-header__inner {
		flex-shrink: 0;
	}

	.site-header__inner {
		display: flex;
		align-items: center;
		gap: 0.75rem 1rem;
		padding-block: 1.05rem;
	}

	.site-branding {
		flex-basis: calc(100% - 7rem);
	}

	.site-header__navigation {
		flex: 0 0 auto;
		gap: 0.5rem;
	}

	.site-header__utilities {
		display: none;
	}

	.site-title {
		font-size: clamp(1.9rem, 10vw, 2.3rem);
	}

	.site-identity-descriptor {
		font-size: 0.66rem;
		letter-spacing: 0.18em;
	}

	.site-description {
		max-width: 32rem;
		margin-top: 0.7rem;
		font-size: 0.75rem;
		letter-spacing: 0.06em;
	}

	.site-description__separator {
		display: none;
	}

	.site-description__line {
		display: block;
	}

	.site-description__line:last-child {
		margin-top: 0.15rem;
		padding-top: 0.15rem;
		border-top: 1px solid color-mix(in srgb, var(--ellery-rule) 75%, transparent);
	}

	.header-cart-slot {
		display: none;
	}

	.header-cart-menu-item > a {
		display: inline-flex;
		align-items: center;
		gap: 0.65rem;
		min-height: 2.75rem !important;
	}

	.header-cart-menu-item img {
		width: auto;
		height: 2rem;
		opacity: 0.6336;
		filter: brightness(0);
	}

	.header-cart-menu-item a:hover img,
	.header-cart-menu-item a:focus-visible img {
		opacity: 1;
	}

	.primary-navigation--desktop {
		display: none;
	}

	.mobile-navigation-toggle {
		display: inline-flex;
	}

	.primary-navigation--mobile {
		flex: 0 1 auto;
		min-height: 0;
		width: 100%;
		margin: 0.55rem 0 0;
		padding: 0.95rem var(--ellery-gutter) 1rem;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
		background: #f5f1e8;
		border-top: 1px solid var(--ellery-rule);
	}

	.primary-navigation--mobile[hidden] {
		display: none;
	}

	.primary-navigation--mobile:not([hidden]) {
		display: block;
	}

	.primary-navigation--mobile ul {
		display: block;
	}

	.primary-navigation--mobile .ellery-section-control:not(.is-open) > .sub-menu {
		display: none;
	}

	.primary-navigation--mobile .menu,
	.primary-navigation--mobile .sub-menu {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.primary-navigation--mobile .menu > .menu-item {
		margin-top: 1.45rem;
	}

	.primary-navigation--mobile .menu > .menu-item:first-child {
		margin-top: 0;
	}

	.primary-navigation--mobile .menu > .menu-item > a,
	.primary-navigation--mobile .menu > .menu-item > .section-menu-toggle {
		min-height: 0;
		padding: 0.12rem 0;
		color: inherit;
		font-family: var(--ellery-font-display);
		font-size: 1.55rem;
		font-weight: 500;
		line-height: 1.2;
		text-decoration: none;
	}

	.primary-navigation--mobile .ellery-section-control:not(.is-open) > .sub-menu {
		display: none;
	}

	.primary-navigation--mobile .sub-menu {
		margin-top: 0.45rem;
		padding-inline-start: clamp(1.15rem, 7vw, 1.75rem);
	}

	.primary-navigation--mobile .sub-menu a {
		display: inline-flex;
		align-items: baseline;
		column-gap: 12px;
		flex-wrap: wrap;
		min-height: 0;
		padding-block: 0.18rem;
		color: inherit;
		font-family: var(--ellery-font-display);
		font-size: 1.05rem;
		font-weight: 500;
		line-height: 1.35;
		text-decoration: none;
	}

	.primary-navigation--mobile .sub-menu .menu-location-toronto > a::after {
		content: "TORONTO";
		flex: 0 0 auto;
		font-family: var(--ellery-font-body);
		font-size: 9px;
		font-weight: 600;
		letter-spacing: 0.18em;
		line-height: 1;
		opacity: 0.46;
		position: relative;
		text-transform: uppercase;
		top: -0.12em;
	}

	.primary-navigation--mobile .menu > :not(.menu-secondary) + .menu-secondary {
		margin-top: 1.25rem;
		padding-top: 0.9rem;
		border-top: 1px solid var(--ellery-rule);
	}

	.primary-navigation--mobile .menu > .menu-secondary + .menu-secondary,
	.primary-navigation--mobile .menu > .menu-secondary:first-child {
		margin-top: 0.375rem;
	}

	.primary-navigation--mobile .menu > .menu-secondary > a,
	.primary-navigation--mobile .menu > .menu-secondary > .section-menu-toggle {
		min-height: 0;
		padding: 0.275rem 0;
		color: color-mix(in srgb, var(--ellery-ink-soft) 88%, var(--ellery-paper) 12%);
		font-family: var(--ellery-font-body);
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: 0.22em;
		text-transform: uppercase;
	}

	.primary-navigation--mobile .menu > .client-login-menu-item > a {
		display: flex;
		align-items: center;
		gap: 0.65rem;
		min-height: 2.75rem;
		padding-block: 0.22rem;
		/* Keep the hit area and original tracking; use dark ink for readable translucency. */
		font-size: 0.72rem;
		letter-spacing: 0.176rem;
		color: color-mix(in srgb, var(--ellery-ink) 47.8125%, transparent);
	}

	/* This permanent utility row needs no separate section divider. */
	.primary-navigation--mobile .menu > .menu-secondary.client-login-menu-item {
		margin-top: var(--ellery-space-4);
		padding-top: 0;
		border-top: 0;
	}

	.client-login-menu-item img {
		width: auto;
		height: 1.4875rem;
		opacity: 0.478125;
	}

	.client-login-menu-item a:hover img,
	.client-login-menu-item a:focus-visible img {
		opacity: 1;
	}

	.primary-navigation--mobile a:hover,
	.primary-navigation--mobile a:focus-visible,
	.primary-navigation--mobile .current-menu-item > a,
	.primary-navigation--mobile .current_page_item > a {
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 0.18em;
	}

	.ellery-promo-bar__inner {
		min-height: 3.1rem;
		align-items: flex-start;
		gap: 0.45rem;
		padding-block: 0.55rem;
	}

	.ellery-promo-bar__decoration {
		width: 1.05rem;
		height: 1.05rem;
		margin-top: 0.05rem;
	}

	.ellery-promo-bar__message {
		font-size: 0.96rem;
	}

	.ellery-promo-bar--has-mobile-message .ellery-promo-bar__message-copy--desktop {
		display: none;
	}

	.ellery-promo-bar__message-copy--mobile {
		display: inline;
	}

	.page-layout,
	.page-layout--has-sidebar {
		display: block;
		width: auto;
		margin-inline: 0;
	}

	.page-sidebar {
		display: none;
	}
}

/* Homepage service columns share kicker, heading, introduction and ruled-list rows. */
@container (min-width: 38.01rem) {
	.home .ellery-feature-columns--two .ellery-feature-columns__grid {
		grid-template-rows: repeat(4, auto);
	}

	.home .ellery-feature-columns--two .ellery-feature-columns__column {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
	}
}

/* Meal Prep: ordinary Classic Editor content, within the existing page shell. */
.page-layout:has(.ellery-mealprep) > .entry-content {
	grid-column: 1 / -1;
	/* Let text and tonal surfaces layer independently of ordinary artwork. */
	z-index: auto;
}

article:has(.ellery-mealprep) > .entry-header {
	position: relative;
	z-index: 20;
}

.ellery-mealprep {
	--mealprep-measure: 46rem;
	--mealprep-rule: var(--wp--preset--color--border, #d8d1c4);
	margin-block-start: 0;
}

/* Text stays above all 16 desktop artwork layers; rules may meet the artwork. */
.ellery-mealprep :is(h1, h2, p, dt, dd) {
	position: relative;
	z-index: 20;
}

.ellery-mealprep :is(h1, h2) {
	max-width: 18em;
	margin: 0;
	font-family: var(--ellery-font-display, "Newsreader", Georgia, serif);
	font-size: clamp(1.9rem, 2.6vw, 2.35rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -.025em;
	text-wrap: balance;
}

.ellery-mealprep p {
	line-height: 1.58;
}

.ellery-mealprep__hero {
	max-width: 58rem;
	padding: 0 0 var(--ellery-space-5);
	border-bottom: 1px solid var(--mealprep-rule);
}

.ellery-mealprep__hero__copy {
	max-width: 38rem;
}

.ellery-mealprep .ellery-mealprep__lede {
	max-width: 34rem;
	margin: 1.3rem 0 0;
	font-family: var(--ellery-font-display, "Newsreader", Georgia, serif);
	font-size: clamp(1.25rem, 1.6vw, 1.5rem);
	line-height: 1.34;
	color: var(--ellery-ink-soft);
}

.ellery-mealprep__section {
	padding: calc(clamp(3.25rem, 6vw, 5rem) * var(--ellery-section-space-scale)) 0;
}

.ellery-mealprep.ellery-mealprep__section--details {
	padding-top: calc(var(--ellery-space-6) * var(--ellery-section-space-scale));
}

.ellery-mealprep__measure {
	max-width: var(--mealprep-measure);
}

.ellery-mealprep__prose {
	max-width: 42rem;
	margin-top: 1.5rem;
}

.ellery-mealprep__prose p {
	margin: 0 0 1rem;
}

.ellery-mealprep__facts {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	max-width: 42rem;
	margin: 2.2rem 0 0;
	border-top: 1px solid var(--mealprep-rule);
}

.ellery-mealprep__facts > dt,
.ellery-mealprep__facts > dd {
	padding-block: 1rem;
	border-bottom: 1px solid var(--mealprep-rule);
}

.ellery-mealprep__facts dt {
	font-family: var(--ellery-font-body);
	font-size: .88rem;
	font-weight: 400;
	color: var(--ellery-ink-soft);
}

.ellery-mealprep__facts dd {
	margin: 0;
	padding-left: 1.5rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
}

.ellery-mealprep__band {
	position: relative;
}

/* Clip only the full-width paint, never the section, text or focus rings. */
.ellery-mealprep__band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: var(--wp--preset--color--subtle, #f4f1ea);
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--subtle, #f4f1ea);
	clip-path: inset(0 -100vmax);
}

.ellery-mealprep__band__inner {
	display: grid;
	grid-template-columns: minmax(15rem, .82fr) minmax(0, 1.18fr);
	gap: clamp(2.25rem, 5vw, 5rem);
	align-items: start;
	padding: calc(2rem * var(--ellery-section-space-scale)) 0 calc(2.15rem * var(--ellery-section-space-scale));
	max-width: 58rem;
}

.ellery-mealprep__band__inner p {
	max-width: 38rem;
	margin: .2rem 0 0;
}

.ellery-mealprep__section--options {
	padding-top: calc(clamp(3.75rem, 7vw, 5.5rem) * var(--ellery-section-space-scale));
	padding-bottom: calc(clamp(4rem, 7vw, 5.75rem) * var(--ellery-section-space-scale));
}

.ellery-mealprep__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	/* Shared intrinsic rows align headings, descriptions and prices. */
	grid-template-rows: auto auto auto;
	max-width: 58rem;
	border-top: 1px solid var(--ellery-ink);
	border-bottom: 1px solid var(--mealprep-rule);
}

.ellery-mealprep__option {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	min-width: 0;
	padding: 2rem 2.5rem 2.25rem 0;
}

.ellery-mealprep__option + .ellery-mealprep__option {
	padding-left: 2.5rem;
	padding-right: 0;
	border-left: 1px solid var(--mealprep-rule);
}

.ellery-mealprep__option h2 {
	margin-bottom: 1rem;
}

.ellery-mealprep__option p {
	margin: 0;
	font-size: .98rem;
}

.ellery-mealprep .ellery-mealprep__price {
	margin-top: 1.55rem;
	padding-top: .8rem;
	font-family: var(--ellery-font-display);
	font-size: 1.13rem;
	font-weight: 400;
	font-style: italic;
	color: var(--ellery-ink-soft);
}

.ellery-mealprep__band--cta {
	margin-top: .35rem;
}

.ellery-mealprep__band__inner--cta {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	padding-top: 2.35rem;
	padding-bottom: 2.55rem;
}

.ellery-mealprep__band__inner--cta > div {
	max-width: 42rem;
}

.ellery-mealprep__band__inner--cta h2 {
	margin-bottom: .65rem;
}

.ellery-mealprep .ellery-mealprep__action {
	margin: 0;
	white-space: nowrap;
}

.ellery-mealprep__action .ellery-cta-link {
	margin-top: 0;
}

@media (max-width: 900px) {
	.ellery-mealprep__band__inner {
		grid-template-columns: 1fr;
		gap: .8rem;
	}
	.ellery-mealprep__band__inner--cta {
		gap: 1.25rem;
		align-items: start;
	}
}

@media (max-width: 640px) {
	.ellery-mealprep :is(h1, h2) {
		font-size: clamp(1.75rem, 7.8vw, 1.9rem);
	}
	.ellery-mealprep__hero__copy {
		max-width: none;
	}
	.ellery-mealprep__section {
		padding: calc(3rem * var(--ellery-section-space-scale)) 0;
	}
	.ellery-mealprep__facts {
		grid-template-columns: 1fr;
	}
	.ellery-mealprep__facts > dt {
		padding-bottom: .25rem;
		border-bottom: 0;
	}
	.ellery-mealprep__facts > dd {
		padding-top: 0;
		padding-left: 0;
	}
	.ellery-mealprep__options {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	.ellery-mealprep__option,
	.ellery-mealprep__option + .ellery-mealprep__option {
		display: block;
		grid-row: auto;
		padding: 1.7rem 0 1.9rem;
		border-left: 0;
	}
	.ellery-mealprep__option + .ellery-mealprep__option {
		border-top: 1px solid var(--mealprep-rule);
	}
	.ellery-mealprep__band__inner,
	.ellery-mealprep__band__inner--cta {
		display: block;
		padding: 1.8rem 0 2rem;
	}
	.ellery-mealprep__band__inner p {
		margin-top: .7rem;
	}
	.ellery-mealprep .ellery-mealprep__action {
		margin-top: 1.2rem;
	}
}

/* Contact: editable editorial sections and the existing CF7 form, page 77 only. */
.page-id-77 .site-main { padding-block: 3.15rem 3.4rem; }
.page-id-77 .ellery-contact-hero { position: relative; min-height: 19.05rem; }
.page-id-77 .ellery-contact-hero__copy { position: relative; z-index: 1; max-width: 37rem; }
.page-id-77 .ellery-contact-hero h1 {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(2.55rem, 3.55vw, 3.42rem);
	font-weight: 400;
	line-height: 1.065;
	letter-spacing: -0.025em;
}
.page-id-77 .ellery-contact-hero__copy p {
	max-width: 30rem;
	margin: 1.4rem 0 0;
	font-size: 1.075rem;
	line-height: 1.55;
}
/* Desktop retains Atmospheric Artwork; the native image supplies the mobile crop. */
.page-id-77 .ellery-contact-hero__flower { display: none; }
.page-id-77 .ellery-contact-routes { position: relative; max-width: 39rem; margin-top: 1.15rem; }
.page-id-77 .ellery-contact-routes h2 {
	margin: 0 0 2rem;
	font-size: clamp(1.56rem, 2.15vw, 1.94rem);
	font-weight: 400;
	line-height: 1.16;
	letter-spacing: -0.01em;
}
.page-id-77 .ellery-contact-routes .ellery-cta-link {
	padding-block: 0 0.28rem;
	font-weight: 400;
}
.page-id-77 .ellery-contact-general { position: relative; max-width: 47.5rem; margin-top: 4.4rem; }
.page-id-77 .ellery-contact-general h2 {
	margin: 0;
	font-size: clamp(1.7rem, 2.4vw, 2.16rem);
	font-weight: 400;
	line-height: 1.13;
	letter-spacing: -0.015em;
}
.page-id-77 .ellery-contact-general__intro { margin: 1rem 0 2rem; font-size: 1.04rem; line-height: 1.55; }
.page-id-77 .ellery-contact-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.3rem; }
.page-id-77 .ellery-contact-form .ellery-contact-field { margin: 0 0 1.45rem; }
.page-id-77 .ellery-contact-form .ellery-contact-field--phone { width: calc(50% - 0.65rem); }
.page-id-77 .ellery-contact-field > label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.91rem;
	font-weight: 400;
	line-height: 1.35;
}
.page-id-77 .ellery-contact-form .wpcf7-form-control-wrap { display: block; }
.page-id-77 .ellery-contact-form :is(input.wpcf7-text, textarea.wpcf7-textarea) {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0.64rem 0.8rem;
	background: #fffdfa;
	border: 1px solid #c8cbc5;
	box-shadow: none;
	font-size: 1rem;
}
.page-id-77 .ellery-contact-form input.wpcf7-text { height: 2.84rem; }
.page-id-77 .ellery-contact-form textarea.wpcf7-textarea { height: 9.2rem; min-height: 9.2rem; resize: vertical; }
.page-id-77 .ellery-contact-form .ellery-contact-interests { min-width: 0; margin: 0.35rem 0 1.65rem; padding: 0; border: 0; }
.page-id-77 .ellery-contact-interests legend { width: 100%; padding: 0 0 0.5rem; font-size: 0.91rem; font-weight: 400; }
.page-id-77 .ellery-contact-interests > p { margin: 0; }
.page-id-77 .ellery-contact-form .ellery-checkbox-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.page-id-77 .ellery-checkbox-list .wpcf7-list-item { display: block; margin: 0; border-top: 1px solid var(--ellery-rule); }
.page-id-77 .ellery-checkbox-list .wpcf7-list-item label {
	display: flex;
	gap: 0.72rem;
	align-items: center;
	min-height: 2.75rem;
	font-size: 0.9rem;
	line-height: 1.25;
	cursor: pointer;
}
.page-id-77 .ellery-checkbox-list input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--ellery-accent); }
/* Cloudflare's native minimum is 300px; it still fits the 320px viewport gutter. */
.page-id-77 .ellery-contact-form .wpcf7-turnstile { width: 18.75rem; margin-bottom: 1.35rem; }
.page-id-77 .ellery-contact-form .ellery-form-submit { margin: 0.95rem 0 0; }
.page-id-77 .ellery-contact-form input.wpcf7-submit { padding: 0.82rem 1.35rem; font-size: 0.9rem; }
.page-id-77 .wpcf7-response-output { margin: 1.5rem 0 0; }

@media (min-width: 48.01rem) and (max-width: 65.625rem) {
	.page-id-77 .ellery-contact-hero__copy { width: 90%; }
	.page-id-77 .ellery-contact-routes { max-width: 86%; }

}

@media (max-width: 48rem) {
	.page-id-77 .site-main { padding-block: 0 calc(2.5rem * var(--ellery-section-space-scale)); }
	/* Mobile has no main top padding for the non-sticky banner to cancel. */
	.page-id-77 .site-main > article > .page-hero { margin-block: 0; }
	.page-id-77 .ellery-contact-hero { min-height: 20.3rem; padding-top: 2.5rem; overflow: clip; }
	.page-id-77 .ellery-contact-hero h1 { max-width: 10ch; font-size: clamp(2.15rem, 8vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; }
	.page-id-77 .ellery-contact-hero__copy p { max-width: 12.9rem; margin-top: 1.35rem; font-size: 0.96rem; line-height: 1.5; }
	.page-id-77 .ellery-contact-hero__flower {
		display: block;
		position: absolute;
		top: 0.55rem;
		right: -9.75rem;
		width: 18.4rem;
		max-width: none;
		height: auto;
		pointer-events: none;
		user-select: none;
	}
	.page-id-77 .ellery-contact-routes { margin-top: 0; }
	.page-id-77 .ellery-contact-routes h2 { margin-bottom: 1.75rem; font-size: 1.55rem; }
	.page-id-77 .ellery-contact-routes .ellery-cta-link { padding-inline-end: 2.65rem; }
	.page-id-77 .ellery-contact-general { margin-top: calc(7.4rem * var(--ellery-section-space-scale)); }
	.page-id-77 .ellery-contact-general h2 { font-size: 1.85rem; }
	.page-id-77 .ellery-contact-general__intro { margin: 1rem 0 1.7rem; font-size: 0.96rem; }
	.page-id-77 .ellery-contact-pair { display: block; }
	.page-id-77 .ellery-contact-form .ellery-contact-field--phone { width: 100%; }
	.page-id-77 .ellery-contact-form .ellery-checkbox-list { grid-template-columns: 1fr; }
}

@media (max-width: 21.875rem) {
	.page-id-77 .ellery-contact-hero__flower { right: -11.1rem; }
	.page-id-77 .ellery-contact-hero__copy p { max-width: 11rem; }
	.page-id-77 .ellery-contact-routes h2 { font-size: 1.4rem; }
}

/* Contact mobile opening; ordinary content and the existing form retain their styles. */
.page-id-77 .ellery-contact-mobile-headline {
	/* Retain the previous H2's size while giving the opening a semantic H1. */
	font-size: clamp(1.95rem, 3vw, 2.7rem);
}
.ellery-contact-mobile-art { display: none; }
@media (max-width: 48rem) {
	.page-id-77:not(.eca-native) .site-frame { overflow: clip; }
	.page-id-77:not(.eca-native) .ellery-contact-opening-space { display: none; }
	.page-id-77:not(.eca-native) .ellery-contact-mobile-headline {
		position: relative;
		z-index: 2;
		margin: 0;
		padding-top: var(--ellery-space-6);
		text-wrap: wrap;
	}
	.page-id-77:not(.eca-native) .ellery-contact-line { display: block; white-space: nowrap; }
	.page-id-77:not(.eca-native) .ellery-contact-desktop-break { display: none; }
	.page-id-77:not(.eca-native) .ellery-contact-mobile-art {
		display: block;
		position: absolute;
		z-index: 1;
		pointer-events: none;
		inset: -2rem calc(-1 * var(--ellery-gutter)) auto;
		margin: 0;
		height: 20.3rem;
		overflow: visible;
	}
	.page-id-77:not(.eca-native) .ellery-contact-mobile-art picture {
		position: absolute;
		width: 26rem;
		right: -16.5rem;
		top: 0;
		transform: rotate(15deg);
	}
	.page-id-77:not(.eca-native) .ellery-contact-mobile-art img { display: block; width: 100%; max-width: none; height: auto; }
	.page-id-77:not(.eca-native) .ellery-contact-mobile-art + .ellery-spacer { margin-block: calc(3.5rem * var(--ellery-section-space-scale)); }
	/* Text stays above the botanical; rules and arrow paint remain below it. */
	.page-id-77:not(.eca-native) .ellery-contact-link-text { position: relative; z-index: 2; }
	.page-id-77:not(.eca-native) .ellery-contact-routes .ellery-cta-link:is(:hover, :focus-visible) { opacity: 1; }
	.page-id-77:not(.eca-native) .ellery-contact-routes .ellery-cta-link:is(:hover, :focus-visible) .ellery-contact-link-text,
	.page-id-77:not(.eca-native) .ellery-contact-routes .ellery-cta-link:is(:hover, :focus-visible)::before,
	.page-id-77:not(.eca-native) .ellery-contact-routes .ellery-cta-link:is(:hover, :focus-visible)::after { opacity: .72; }
	@media (max-width: 22rem) {
		.page-id-77:not(.eca-native) .ellery-contact-mobile-art picture { width: 23rem; right: -16rem; top: 1rem; }
	}
}

/* Catering changes only its mobile opening; subsequent content retains native flow. */
.page-id-65:not(.eca-native) .ellery-catering-mobile-headline { font-size: clamp(1.95rem, 3vw, 2.7rem); }
.ellery-catering-mobile-art { display: none; }
@media (max-width: 48rem) {
	.page-id-65:not(.eca-native) .ellery-catering-opening { position: relative; }
	.page-id-65:not(.eca-native) .ellery-catering-mobile-headline {
		position: relative;
		z-index: 2;
		margin: 0;
		padding: 3rem .75rem 3.25rem;
		font-size: 2.25rem;
		line-height: 1.1;
		text-wrap: wrap;
	}
	.page-id-65:not(.eca-native) .ellery-catering-line { display: block; white-space: nowrap; }
	.page-id-65:not(.eca-native) .ellery-catering-mobile-art {
		display: block;
		position: absolute;
		z-index: 1;
		top: -5.25rem;
		/* Keep the leaf clear when the 36px headline starts above 22rem. */
		left: max(calc(100% - 12rem), 10rem);
		/* Temporary mobile clearance adjustment pending font/device investigation. */
		transform: translateX(32px);
		width: 33rem;
		margin: 0;
		pointer-events: none;
	}
	.page-id-65:not(.eca-native) .ellery-catering-mobile-art img { display: block; width: 100%; max-width: none; height: auto; }
	@media (max-width: 22rem) {
		.page-id-65:not(.eca-native) .ellery-catering-mobile-headline { padding-inline: 0; font-size: 2rem; }
		.page-id-65:not(.eca-native) .ellery-catering-mobile-art { left: calc(100% - 9rem); }
	}
}

/* Unactivated or rejected composition markup never paints beside legacy art. */
body:not(.eca-enabled) .entry-content :is(.ec-art, .ec-object) { display: none !important; }
