/**
 * Marlowe theme styles.
 *
 * 1. Fonts
 * 2. Tokens and scroll tones
 * 3. Base
 * 4. Header, main menu and mobile panel
 * 5. Elementor building blocks (mw-* classes set on widgets and containers)
 * 6. Hero, sections and layouts
 * 7. Forms
 * 8. Journal, articles and plain pages
 * 9. Footer
 * 10. Motion
 */

/* 1. Fonts ------------------------------------------------------------- */

/*
 * The bundled fonts are declared in theme.json (Archivo and Inter),
 * so WordPress loads them on the site and in the editors. Fonts chosen in
 * Theme Options > Typography replace the --wp--preset--font-family-- values
 * used below.
 */

/* 2. Tokens and scroll tones ------------------------------------------ */

:root,
body {
	/*
	 * Colours and fonts follow Theme Options (Colours, Typography), which set
	 * the --wp--preset-- values on <body>; the tokens are declared on body too
	 * so they pick up those changes. The fallbacks are the theme defaults.
	 */
	--mw-shade: 0.25;
	--mw-paper: var(--wp--preset--color--base, #111110);
	--mw-stone: var(--wp--preset--color--tone-stone, #161615);
	--mw-slate: var(--wp--preset--color--tone-slate, #0d0d0c);
	--mw-mist: var(--wp--preset--color--tone-mist, #131312);
	--mw-sage: var(--wp--preset--color--tone-sage, #161615);
	--mw-moss: var(--wp--preset--color--dark, #0a0a09); /* footer and menu */
	--mw-ink: var(--wp--preset--color--contrast, #ece8e1);
	--mw-ink-soft: var(--wp--preset--color--contrast-soft, #a39e95);
	--mw-cream: #f4f1eb;
	--mw-night: #111110; /* fixed dark for buttons, whatever the palette */
	--mw-night-soft: #2a2926;
	--mw-day: #ece8e1; /* fixed light for buttons */
	--mw-brass: var(--wp--preset--color--accent, #c2ae8a); /* solid buttons and hover colour */
	--mw-brass-light: var(--mw-brass);
	--mw-red: var(--wp--preset--color--brand, #ece8e1);
	--mw-header-bg: var(--mw-paper);

	--mw-serif: var(--wp--preset--font-family--serif, Archivo, "Helvetica Neue", Arial, sans-serif);
	--mw-serif-weight: var(--heading-weight, 300);
	--mw-serif-weight-small: 400;
	--mw-sans: var(--wp--preset--font-family--sans, Archivo, "Helvetica Neue", Arial, sans-serif); /* menu, labels, buttons */
	--mw-stretch-heading: 112%; /* Archivo's width axis; other fonts ignore it */
	--mw-stretch-label: 125%;
	--mw-text: var(--wp--preset--font-family--text, Inter, "Helvetica Neue", Arial, sans-serif); /* running text */
	--mw-text-weight: 400;
	--mw-text-size: var(--wp--preset--font-size--medium, 14px);
	--mw-radius: 0;
	--mw-btn-radius: 0; /* square buttons */

	--mw-gutter: clamp(20px, 4vw, 56px);
	--mw-header-h: 96px;
	--mw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	/* Current scroll tone. The theme script swaps these on <body>. */
	--mw-bg: var(--mw-paper);
	--mw-fg: var(--mw-ink);
	--mw-soft: var(--mw-ink-soft);
	--mw-rule: rgba(236, 232, 225, 0.14);
	--mw-accent: var(--mw-brass);
}


body[data-mw-tone="stone"] {
	--mw-bg: var(--mw-stone);
}

body[data-mw-tone="sage"] {
	--mw-bg: var(--mw-sage);
}

body[data-mw-tone="slate"] {
	--mw-bg: var(--mw-slate);
}

body[data-mw-tone="mist"] {
	--mw-bg: var(--mw-mist);
}

body[data-mw-tone="moss"] {
	--mw-bg: var(--mw-moss);
}

/* Without JavaScript each band keeps its own colour. */
html:not(.mw-js) .mw-tone-stone { background-color: var(--mw-stone); }
html:not(.mw-js) .mw-tone-sage { background-color: var(--mw-sage); }
html:not(.mw-js) .mw-tone-slate { background-color: var(--mw-slate); }
html:not(.mw-js) .mw-tone-mist { background-color: var(--mw-mist); }
html:not(.mw-js) .mw-tone-moss { background-color: var(--mw-moss); }

/* 3. Base -------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--mw-bg);
	color: var(--mw-fg);
	font-family: var(--mw-text);
	font-size: var(--mw-text-size);
	font-weight: 400;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	transition: background-color 2s ease-in-out, color 2s ease-in-out;
}

body.mw-menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

h1,
h2,
h3,
h4,
.mw-h .elementor-heading-title,
.mw-wordmark__name,
.mw-caps {
	font-optical-sizing: auto;
}

h1,
h2,
h3,
h4 {
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-weight: var(--mw-serif-weight);
	line-height: 1.08;
	letter-spacing: -0.01em;
}

:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

.mw-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--mw-brass);
	color: var(--mw-night);
}

.mw-skip:focus {
	left: 12px;
	top: 12px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.mw-eyebrow-text {
	margin: 0 0 1em;
	color: var(--mw-accent);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-transform: uppercase;
}

/* 4. Header, main menu and mobile panel --------------------------------- */

.mw-masthead {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	background-color: var(--mw-header-bg);
	border-bottom: 1px solid var(--mw-rule);
	color: var(--mw-red);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	transition: background-color 0.5s var(--mw-ease), border-color 0.5s var(--mw-ease);
}

body:not(.mw-sticky-header) .mw-masthead {
	position: absolute;
}

body.admin-bar .mw-masthead {
	top: 32px;
}

.mw-main {
	padding-top: var(--mw-header-h);
}

/* Home page with a photo at the top: the header sits on the photo until the page scrolls. */
body.mw-has-hero .mw-main {
	padding-top: 0;
}

body.mw-has-hero:not(.mw-scrolled) .mw-masthead {
	background-color: transparent;
	background-image: linear-gradient(180deg, rgba(8, 8, 7, 0.55) 0%, rgba(8, 8, 7, 0) 100%);
	border-bottom-color: transparent;
	color: var(--mw-cream);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.mw-header {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 48px);
	min-height: var(--mw-header-h);
	padding: 0 var(--mw-gutter);
	box-sizing: border-box;
	transition: min-height 0.3s ease-in-out;
}

body.mw-scrolled .mw-header {
	min-height: 72px;
}

.mw-header__logo {
	flex: 0 0 auto;
}

.mw-header__logo img {
	display: block;
	width: auto;
}

.mw-header__end {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: clamp(18px, 2vw, 32px);
	margin-left: auto;
}

/* Wordmark: the name, a fine rule and the second line, side by side. */
.mw-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: inherit;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.mw-wordmark__name {
	font-family: var(--mw-serif);
	font-size: var(--logo-text-size, 22px);
	font-stretch: 125%;
	font-weight: 500;
	letter-spacing: 0.22em;
	margin-right: -0.22em;
	text-transform: uppercase;
}

.mw-wordmark__sub {
	padding-left: 16px;
	border-left: 1px solid currentColor;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1.5;
	opacity: 0.72;
	text-transform: uppercase;
}

/* Main menu in a line, for screens 1100px and wider. */
.mw-nav {
	display: none;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
}

.mw-nav__list,
.mw-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mw-nav__list {
		display: flex;
	justify-content: center;
	gap: clamp(18px, 1.7vw, 32px);
}

.mw-nav__list > li {
	position: relative;
}

.mw-nav__list a {
	display: block;
	color: inherit;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
		font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.3s var(--mw-ease);
}

.mw-nav__list > li > a {
	position: relative;
	padding: 14px 0;
}

.mw-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	border-bottom: 1px solid var(--mw-brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--mw-ease);
}

.mw-nav__list > li > a:hover,
.mw-nav__list > li:focus-within > a,
.mw-nav__list > .current-menu-item > a,
.mw-nav__list > .current-menu-ancestor > a {
	color: var(--mw-brass);
}

.mw-nav__list > li > a:hover::after,
.mw-nav__list > .current-menu-item > a::after,
.mw-nav__list > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.mw-nav__list .menu-item-has-children > a {
	padding-right: 14px;
}

.mw-nav__list .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}

.mw-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -24px;
	z-index: 2;
	min-width: 220px;
	padding: 14px 0;
	background-color: var(--mw-moss);
	border: 1px solid var(--mw-rule);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s var(--mw-ease), transform 0.25s var(--mw-ease), visibility 0.25s;
}

.mw-nav__list li:hover > .sub-menu,
.mw-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mw-nav__list .sub-menu a {
	padding: 11px 24px;
	color: var(--mw-ink-soft);
}

.mw-nav__list .sub-menu a:hover,
.mw-nav__list .sub-menu .current-menu-item > a {
	color: var(--mw-ink);
}

.mw-header__phone {
	display: none;
	margin: 0;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 11px;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.mw-header__phone a {
	color: inherit;
	text-decoration: none;
}

.mw-header__phone a:hover {
	color: var(--mw-brass);
}

.mw-header__book {
	display: inline-block;
	padding: 14px 24px;
	border: 1px solid currentColor;
	border-radius: var(--mw-btn-radius);
	color: inherit;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.mw-header__book:hover,
.mw-header__book.is-solid {
	background-color: var(--mw-brass);
	border-color: var(--mw-brass);
	color: var(--mw-night);
}

.mw-header__book.is-solid:hover {
	background-color: var(--mw-day);
	border-color: var(--mw-day);
}

/*
 * The theme's own buttons (Menu, Close, newsletter) are <button> elements,
 * and Elementor's Site Settings > Buttons style every <button> on the page.
 * "body button.class" keeps them in the theme's design.
 */
body button.mw-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font: 500 10.5px/1 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

body button.mw-menu-toggle:hover,
body button.mw-menu-toggle:focus,
body .mw-footer__form button:hover,
body .mw-footer__form button:focus {
	background: none;
	color: inherit;
}

/* Two lines, the lower one shorter: opens the panel. */
.mw-menu-toggle__icon {
	position: relative;
	width: 24px;
	height: 7px;
	border-top: 1px solid currentColor;
}

.mw-menu-toggle__icon::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 15px;
	border-top: 1px solid currentColor;
}

.mw-menu-toggle__icon.is-close {
	width: 18px;
	height: 18px;
	border-top: 0;
}

.mw-menu-toggle__icon.is-close::before,
.mw-menu-toggle__icon.is-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 18px;
	border-top: 1px solid currentColor;
	transform: rotate(45deg);
}

.mw-menu-toggle__icon.is-close::after {
	transform: rotate(-45deg);
}

@media (min-width: 1100px) {
	.mw-nav {
		display: flex;
	}

	.mw-masthead .mw-menu-toggle {
		display: none;
	}
}

@media (min-width: 1520px) {
	.mw-header__phone {
		display: block;
	}
}

/* Mobile menu: a panel that slides in from the right. */
.mw-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	opacity: 0;
	transition: opacity 0.45s var(--mw-ease);
}

.mw-menu[hidden] {
	display: none;
}

.mw-menu.is-open {
	opacity: 1;
}

body.admin-bar .mw-menu {
	top: 32px;
}

.mw-menu__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(8, 8, 7, 0.6);
	cursor: pointer;
}

.mw-menu__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background-color: var(--mw-moss);
	border-left: 1px solid var(--mw-rule);
	color: var(--mw-ink);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.45s var(--mw-ease);
}

.mw-menu.is-open .mw-menu__panel {
	transform: none;
}

.mw-menu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--mw-header-h);
	padding: 0 clamp(22px, 5vw, 40px);
	border-bottom: 1px solid var(--mw-rule);
}

.mw-menu__bar .mw-wordmark__sub {
	display: none;
}

.mw-menu__nav {
	flex: 1 0 auto;
	padding: 24px clamp(22px, 5vw, 40px);
}

.mw-menu__list,
.mw-menu__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mw-menu__list > li {
	border-bottom: 1px solid var(--mw-rule);
	opacity: 0;
	transform: translateX(16px);
	transition: opacity 0.45s var(--mw-ease), transform 0.45s var(--mw-ease);
}

.mw-menu.is-open .mw-menu__list > li {
	opacity: 1;
	transform: none;
}

.mw-menu__list > li > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0;
	color: inherit;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: 24px;
	font-weight: var(--mw-serif-weight);
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-decoration: none;
	transition: color 0.3s var(--mw-ease);
}

.mw-menu__list > li > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	opacity: 0.5;
	transform: rotate(45deg);
}

.mw-menu__list a:hover,
.mw-menu__list .current-menu-item > a {
	color: var(--mw-brass);
}

.mw-menu__list .sub-menu {
	padding: 0 0 16px;
}

.mw-menu__list .sub-menu a {
	display: block;
	padding: 8px 0;
	color: var(--mw-ink-soft);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.mw-menu__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 28px clamp(22px, 5vw, 40px) 40px;
	border-top: 1px solid var(--mw-rule);
	color: var(--mw-ink-soft);
	font-size: 13px;
}

.mw-menu__details .mw-header__book {
	margin-bottom: 18px;
}

.mw-menu__details p {
	margin: 0;
}

.mw-menu__location {
	color: var(--mw-brass);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mw-menu__details a {
	color: inherit;
	text-decoration: none;
}

.mw-menu__details a:hover {
	color: var(--mw-brass);
}

.mw-menu__social {
	display: flex;
	gap: 24px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

/* 5. Elementor building blocks ------------------------------------------ */

/* Elementor wraps every widget; these rules target the class set on the widget. */
.mw-eyebrow .elementor-heading-title {
	color: var(--mw-accent);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-transform: uppercase;
}

.mw-h .elementor-heading-title {
	color: inherit;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
		font-weight: var(--mw-serif-weight);
	letter-spacing: -0.025em;
	line-height: 1.04;
}

/* No word left alone on the last line: balanced headings, tidy paragraphs. */
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
	text-wrap: balance;
}

p,
li,
dd,
figcaption,
blockquote {
	text-wrap: pretty;
}

/* Accent words in headings: wrapped in <em>, shown upright in the accent colour. */
.mw-h .elementor-heading-title em {
	color: var(--mw-brass);
	font-style: normal;
}

.mw-hero .mw-h .elementor-heading-title em {
	color: inherit;
	font-weight: calc(var(--mw-serif-weight) + 200);
}

.mw-h-hero .elementor-heading-title { font-size: clamp(38px, 3.6vw, 56px); line-height: 1.04; }
.mw-h-xl .elementor-heading-title { font-size: clamp(32px, 3vw, 46px); line-height: 1.06; }
.mw-h-l .elementor-heading-title { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.08; }
.mw-h-m .elementor-heading-title { font-size: clamp(21px, 1.5vw, 24px); line-height: 1.15; }
.mw-h-quote .elementor-heading-title { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.12; }
.mw-h-figure .elementor-heading-title { font-size: clamp(30px, 2.6vw, 40px); line-height: 1; }

/* A large closing line in the light display serif, like the other headings. */
.mw-h-giant .elementor-heading-title {
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: clamp(44px, 6vw, 92px);
	font-weight: var(--mw-serif-weight);
	letter-spacing: -0.02em;
	line-height: 1;
}

.e-con.mw-life-title {
	margin-top: 40px;
}

/* Section titles: plain capitals in the text face. */
.mw-h-mono .elementor-heading-title {
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: clamp(16px, 1.2vw, 18px);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-transform: uppercase;
}

/*
 * Text colours are set on the widget, never on its paragraphs, so a colour
 * chosen in Elementor (Text Editor > Style > Text Color) reaches every line.
 */
.mw-text {
	color: var(--mw-soft);
}

.mw-text,
.mw-text p {
	max-width: 34em;
	font-size: var(--mw-text-size);
	line-height: 1.45;
}

/* Running text is set in the book serif; spaced-capital statements keep the sans. */
.mw-text:not(.mw-caps),
.mw-text:not(.mw-caps) p,
.mw-faq p,
.mw-prose,
.mw-journal-card__excerpt,
.mw-page-head__lede,
.mw-journal__empty {
	font-family: var(--mw-text);
	font-weight: var(--mw-text-weight);
}

.mw-text:not(.mw-caps) strong,
.mw-prose strong {
	font-weight: 600;
}

.mw-text p:last-child {
	margin-bottom: 0;
}

.mw-lede,
.mw-lede p {
	font-size: 15px;
	line-height: 1.45;
}

.mw-details {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	border-top: 1px solid var(--mw-rule);
}

.mw-details li {
	padding: 12px 0;
	border-bottom: 1px solid var(--mw-rule);
	font-size: 15px;
}

/* Detail lists read a shade darker; set on the widget so Elementor's Text Color still wins. */
:where(.elementor-widget):has(> .mw-details, > .elementor-widget-container > .mw-details),
:where(.elementor-widget):has(> .mw-columns-list, > .elementor-widget-container > .mw-columns-list) {
	color: var(--mw-fg);
}

.mw-columns-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 48px;
	text-align: left;
}

.mw-columns-list li {
	break-inside: avoid;
	padding: 12px 0;
	border-bottom: 1px solid var(--mw-rule);
}

/*
 * Plain Heading and Text Editor widgets dropped in from the Elementor panel.
 * Fonts and colours come from Site Settings (linked to Theme Options); these
 * rules add the display sizes. :where() keeps them weak, so the theme classes
 * (mw-h, mw-eyebrow, mw-text) and sizes set on a widget in Elementor win.
 */
:where(.elementor-widget-heading:not(.mw-h, .mw-eyebrow)) h1.elementor-heading-title {
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1.04;
}

:where(.elementor-widget-heading:not(.mw-h, .mw-eyebrow)) h2.elementor-heading-title {
	font-size: clamp(32px, 3.6vw, 52px);
	line-height: 1.1;
}

:where(.elementor-widget-heading:not(.mw-h, .mw-eyebrow)) h3.elementor-heading-title {
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.15;
}

:where(.elementor-widget-heading:not(.mw-h, .mw-eyebrow)) h4.elementor-heading-title {
	font-size: clamp(21px, 1.7vw, 24px);
	line-height: 1.25;
}

:where(.elementor-widget-heading:not(.mw-h, .mw-eyebrow)) h5.elementor-heading-title {
	font-size: 19px;
	font-weight: var(--mw-serif-weight-small);
	line-height: 1.3;
}

:where(.elementor-widget-heading:not(.mw-h, .mw-eyebrow)) h6.elementor-heading-title {
	color: var(--mw-accent);
	letter-spacing: 0.3em;
}

:where(.elementor-widget-text-editor:not(.mw-text)) {
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-weight: var(--mw-text-weight);
	line-height: 1.78;
}

:where(.elementor-widget-text-editor:not(.mw-text)) a {
	color: var(--mw-fg);
	text-decoration: underline;
}

:where(.elementor-widget-text-editor:not(.mw-text)) a:hover {
	color: var(--mw-accent);
}

/*
 * Buttons. Elementor's default button styles are replaced.
 *
 * Every rule here stays below the specificity of Elementor's own widget
 * styles (four classes), so colours, borders and sizes set on a button in the
 * Elementor panel always win. Inside the theme, each level is one step
 * stronger than the one before (by specificity, then by order):
 * theme default < Theme Options page style < Theme Options photo style <
 * the "Button style" choice on a single button.
 */
.elementor-widget-button.mw-btn .elementor-button {
	display: inline-flex;
	padding: 11px 34px;
	border: 1px solid currentColor;
	border-radius: var(--mw-btn-radius);
	background: transparent;
	color: inherit;
	fill: currentColor;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 0.35s var(--mw-ease), color 0.35s var(--mw-ease), border-color 0.35s var(--mw-ease);
}

.elementor-widget-button[class*="mw-btn-is-"] .elementor-button {
	display: inline-flex;
	padding: 11px 34px;
	border: 1px solid currentColor;
	border-radius: var(--mw-btn-radius);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 0.35s var(--mw-ease), color 0.35s var(--mw-ease), border-color 0.35s var(--mw-ease);
}

.elementor-widget-button.mw-btn-outline .elementor-button:hover {
	background-color: var(--mw-fg);
	border-color: var(--mw-fg);
	color: var(--mw-bg);
}

.elementor-widget-button.mw-btn-solid a.elementor-button {
	background-color: var(--mw-brass);
	border-color: var(--mw-brass);
	color: var(--mw-night);
}

.elementor-widget-button.mw-btn-solid a.elementor-button:hover {
	background-color: var(--mw-day);
	border-color: var(--mw-day);
	color: var(--mw-night);
}

/* Theme Options > Colours: main buttons on the page and on photos. */
:where(.mw-btn-page-solid-dark) .elementor-widget-button.mw-btn-solid a.elementor-button,
:where(.mw-btn-photo-solid-dark .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button,
:where(.mw-btn-page-outline-dark) .elementor-widget-button.mw-btn-solid a.elementor-button:hover,
:where(.mw-btn-photo-outline-dark .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button:hover {
	background-color: var(--mw-night);
	border-color: var(--mw-night);
	color: var(--mw-day);
}

:where(.mw-btn-page-solid-light) .elementor-widget-button.mw-btn-solid a.elementor-button,
:where(.mw-btn-photo-solid-light .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button,
:where(.mw-btn-page-outline-light) .elementor-widget-button.mw-btn-solid a.elementor-button:hover,
:where(.mw-btn-photo-outline-light .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button:hover {
	background-color: var(--mw-brass);
	border-color: var(--mw-brass);
	color: var(--mw-night);
}

:where(.mw-btn-page-outline-dark) .elementor-widget-button.mw-btn-solid a.elementor-button,
:where(.mw-btn-photo-outline-dark .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button {
	background-color: transparent;
	border-color: var(--mw-night);
	color: var(--mw-night);
}

:where(.mw-btn-page-outline-light) .elementor-widget-button.mw-btn-solid a.elementor-button,
:where(.mw-btn-photo-outline-light .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button {
	background-color: transparent;
	border-color: var(--mw-day);
	color: var(--mw-day);
}

:where(.mw-btn-page-solid-dark) .elementor-widget-button.mw-btn-solid a.elementor-button:hover {
	background-color: var(--mw-night-soft);
	border-color: var(--mw-night-soft);
	color: var(--mw-day);
}

:where(.mw-btn-page-solid-light) .elementor-widget-button.mw-btn-solid a.elementor-button:hover,
:where(.mw-btn-photo-solid-light .mw-hero) div.elementor-widget-button.mw-btn-solid a.elementor-button:hover {
	background-color: var(--mw-brass);
	border-color: var(--mw-brass);
	color: var(--mw-night);
}

/* Elementor > Button > Button style: one button, any section. */
div.mw-btn-is-solid-dark.mw-btn-is-solid-dark a.elementor-button,
div.mw-btn-is-outline-dark.mw-btn-is-outline-dark a.elementor-button:hover {
	background-color: var(--mw-night);
	border-color: var(--mw-night);
	color: var(--mw-day);
}

div.mw-btn-is-solid-light.mw-btn-is-solid-light a.elementor-button,
div.mw-btn-is-outline-light.mw-btn-is-outline-light a.elementor-button:hover {
	background-color: var(--mw-brass);
	border-color: var(--mw-brass);
	color: var(--mw-night);
}

div.mw-btn-is-outline-dark.mw-btn-is-outline-dark a.elementor-button {
	background-color: transparent;
	border-color: var(--mw-night);
	color: var(--mw-night);
}

div.mw-btn-is-outline-light.mw-btn-is-outline-light a.elementor-button {
	background-color: transparent;
	border-color: var(--mw-day);
	color: var(--mw-day);
}

div.mw-btn-is-solid-dark.mw-btn-is-solid-dark a.elementor-button:hover {
	background-color: var(--mw-night-soft);
	border-color: var(--mw-night-soft);
	color: var(--mw-day);
}

div.mw-btn-is-solid-light.mw-btn-is-solid-light a.elementor-button:hover {
	background-color: var(--mw-brass);
	border-color: var(--mw-brass);
	color: var(--mw-night);
}

/* Text links: small text with a thin underline. */
.elementor-widget-button.mw-btn-link .elementor-button {
	padding: 0 0 3px;
	border-width: 0 0 1px;
	border-radius: 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 12px;
}

.elementor-widget-button.mw-btn-link .elementor-button:hover {
	border-bottom-color: transparent;
	color: var(--mw-brass);
}

.mw-hero .mw-btn-outline-light .elementor-button:hover {
	background-color: var(--mw-cream);
	border-color: var(--mw-cream);
	color: var(--mw-ink);
}

.mw-buttons {
	margin-top: 6px;
}

/* Images. Ratios are set by class so the Elementor panel stays simple. */
.mw-img,
.mw-img .elementor-widget-container {
	width: 100%;
}

.mw-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--mw-radius);
}

.mw-ratio-45 img { aspect-ratio: 4 / 5; object-fit: cover; }
.mw-ratio-34 img { aspect-ratio: 3 / 4; object-fit: cover; }
.mw-ratio-11 img { aspect-ratio: 1; object-fit: cover; }
.mw-ratio-32 img { aspect-ratio: 3 / 2; object-fit: cover; }
.mw-ratio-169 img { aspect-ratio: 16 / 9; object-fit: cover; }
.mw-ratio-219 img { aspect-ratio: 21 / 9; object-fit: cover; }
.mw-square img { border-radius: var(--mw-radius); }

.mw-img .widget-image-caption,
.mw-img figcaption {
	margin-top: 10px;
	color: var(--mw-fg);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-weight: 400;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-align: left;
	text-transform: uppercase;
}

/* Parallax: the photo is enlarged inside its frame and shifted by the theme script. */
.is-parallax,
.is-parallax .elementor-widget-container {
	overflow: hidden;
	border-radius: var(--mw-radius);
}

.mw-js .is-parallax img {
	transform: translate3d(0, var(--mw-shift, 0px), 0) scale(1.14);
	will-change: transform;
}

/* Drift: the whole image block rises faster than the page (set by the theme script). */
.mw-js .mw-drift,
.mw-js [class*="mw-drift-"] {
	will-change: transform;
}

.mw-no-parallax .is-parallax img {
	transform: none;
}

/* 6. Hero, sections and layouts ----------------------------------------- */

.e-con.mw-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--mw-cream);
	--mw-fg: var(--mw-cream);
	--mw-soft: rgba(246, 241, 232, 0.88);
	--mw-accent: var(--mw-cream);
	background-color: #1a1918;
}

.e-con.mw-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(120deg, rgba(8, 8, 7, 0.45) 0%, rgba(8, 8, 7, 0.12) 50%, rgba(8, 8, 7, 0.05) 100%);
	pointer-events: none;
}

/* Centred photo bands: an even shade so the words read anywhere on the photo. */
.e-con.mw-hero-centre::after {
	background:
		radial-gradient(ellipse 55% 60% at 50% 50%, rgba(8, 8, 7, 0.3) 0%, rgba(8, 8, 7, 0) 100%),
		rgba(8, 8, 7, 0.38);
}

.e-con.mw-hero-centre .mw-buttons {
	justify-content: center;
}

.e-con.mw-hero-centre .mw-hero-content {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.e-con.mw-hero > .mw-hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
}

.e-con.mw-hero > .mw-hero-media .elementor-widget-container,
.e-con.mw-hero > .mw-hero-media img {
	width: 100%;
	max-width: none;
	height: 100%;
}

.e-con.mw-hero > .mw-hero-media img {
	object-fit: cover;
}

.e-con.mw-hero-content {
	max-width: 980px;
	text-shadow: 0 1px 30px rgba(8, 8, 7, 0.2);
}

.mw-hero .mw-eyebrow .elementor-heading-title {
	color: var(--mw-cream);
}

.e-con.mw-section {
	background-color: transparent;
}

.e-con.mw-measure { max-width: 780px; }
.e-con.mw-measure-wide { max-width: 1040px; }

/* Life at Marlowe: a calm grid of photos. */
.e-con.mw-life {
	justify-content: space-between;
}

.mw-copy .mw-h-l .elementor-heading-title {
	max-width: 12em;
}

.mw-card .mw-eyebrow .elementor-heading-title {
	margin-top: 10px;
}

.mw-facts .mw-eyebrow .elementor-heading-title,
.mw-timeline .mw-eyebrow .elementor-heading-title {
	letter-spacing: 0.24em;
}

.mw-timeline .mw-h-figure .elementor-heading-title {
	font-style: normal;
}

/* Inner page banner and home statement: the display serif in sentence case. */
.mw-h-banner .elementor-heading-title,
.mw-h-caps .elementor-heading-title {
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-weight: var(--mw-serif-weight);
}

.mw-h-banner .elementor-heading-title {
	font-size: clamp(32px, 3.6vw, 56px);
	letter-spacing: -0.01em;
	line-height: 1.08;
}

/* Home statement: a large sentence-case line in the display serif. */
.mw-h-caps .elementor-heading-title {
	color: inherit;
	font-size: clamp(28px, 2.9vw, 42px);
	letter-spacing: -0.01em;
	line-height: 1.22;
}

/*
 * Shade behind titles on inner page photos: a soft pool of shadow behind the
 * title plus a light wash at the edges. Strength comes from Theme Options >
 * Colours (--mw-shade, 0 to 1) and can be set per section with mw-shade-* classes.
 */
.e-con.mw-banner::after {
	background:
		radial-gradient(ellipse 55% 50% at 50% 50%, rgba(8, 8, 7, calc(var(--mw-shade) * 0.62)) 0%, rgba(8, 8, 7, 0) 100%),
		linear-gradient(180deg, rgba(8, 8, 7, calc(var(--mw-shade) * 0.3)) 0%, rgba(8, 8, 7, calc(var(--mw-shade) * 0.4)) 100%);
}

.e-con.mw-banner .mw-h-banner .elementor-heading-title {
	text-shadow: 0 0 calc(var(--mw-shade) * 40px) rgba(8, 8, 7, calc(var(--mw-shade) * 0.45));
}

.e-con.mw-shade-none { --mw-shade: 0; }
.e-con.mw-shade-light { --mw-shade: 0.4; }
.e-con.mw-shade-medium { --mw-shade: 0.7; }
.e-con.mw-shade-strong { --mw-shade: 1; }

.e-con.mw-hero-strip {
	min-height: 50vw;
	background-position: center bottom;
	background-color: transparent;
}

.e-con.mw-hero-strip::after {
	display: none;
}

@media (max-width: 767px) {
	.e-con.mw-hero-strip {
		min-height: 66vw;
	}
}

/* Intro statement under inner page banners: sentence case in the display serif. */
.mw-caps {
	color: var(--mw-ink-soft);
}

.mw-caps,
.mw-caps p {
	max-width: 24em;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
		font-size: clamp(20px, 1.8vw, 26px);
	font-weight: var(--mw-serif-weight);
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Masonry gallery inside a container. */
.e-con.mw-masonry {
	display: block;
	columns: 3 320px;
	column-gap: 16px;
}

.e-con.mw-masonry > .elementor-element {
	break-inside: avoid;
	margin: 0 0 16px;
	width: 100%;
}

.e-con.mw-masonry img {
	border-radius: var(--mw-radius);
}

/* FAQ accordions (HTML widget). */
.mw-faq-group {
	margin: 64px 0 12px;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-weight: var(--mw-serif-weight);
	font-size: clamp(28px, 2.6vw, 38px);
}

.mw-faq-group:first-child {
	margin-top: 0;
}

.mw-faq {
	border-bottom: 1px solid var(--mw-rule);
}

.mw-faq summary {
	position: relative;
	padding: 22px 48px 22px 0;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-weight: var(--mw-serif-weight-small);
	font-size: 25px;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.mw-faq summary::-webkit-details-marker {
	display: none;
}

.mw-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 18px;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 22px;
	font-weight: 300;
	transition: transform 0.3s var(--mw-ease);
}

.mw-faq[open] summary::after {
	transform: rotate(45deg);
}

.mw-faq p {
	margin: 0 0 24px;
	color: var(--mw-soft);
}

@media (max-width: 767px) {
	.mw-columns-list {
		grid-template-columns: 1fr;
		columns: 1;
	}
}

/*
 * Split banner: the photo fills the left half and the words sit on the page
 * colour on the right. Used at the top of the home page and every inner page.
 */
.e-con.mw-banner {
	display: grid;
	padding: 0;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	min-height: 64vh;
	background-color: var(--mw-paper);
	color: var(--mw-ink);
	--mw-fg: var(--mw-ink);
	--mw-soft: var(--mw-ink-soft);
	--mw-accent: var(--mw-ink);
}

.e-con.mw-banner::after {
	display: none;
}

.e-con.mw-banner > .mw-hero-media {
	position: relative;
	inset: auto;
	z-index: 0;
	grid-column: 1;
	min-height: 64vh;
}

.e-con.mw-banner > .mw-hero-media img {
	position: absolute;
	inset: 0;
}

.e-con.mw-banner > .e-con.mw-hero-content {
	grid-column: 2;
	align-self: center;
	justify-self: start;
	max-width: 660px;
	padding: 64px clamp(24px, 5vw, 90px);
	align-items: flex-start;
	text-align: left;
	text-shadow: none;
}

.e-con.mw-banner .mw-h-banner .elementor-heading-title,
.e-con.mw-banner .elementor-heading-title {
	color: var(--mw-ink);
	text-align: left;
	text-shadow: none;
}

/* Portraits in the home banner keep the head in view when the photo is cropped. */
.e-con.mw-home-hero > .mw-hero-media img {
	object-position: 50% 25%;
}

.e-con.mw-home-hero,
.e-con.mw-home-hero > .mw-hero-media {
	min-height: calc(100vh - var(--mw-header-h));
}

/* Feature: a full photo with a short story in its top corner. */
.e-con.mw-feature {
	justify-content: flex-start;
	align-items: flex-start;
}

.e-con.mw-feature::after {
	background: linear-gradient(110deg, rgba(8, 8, 7, 0.5) 0%, rgba(8, 8, 7, 0.15) 45%, rgba(8, 8, 7, 0) 75%);
}

.e-con.mw-feature > .e-con.mw-hero-content {
	max-width: 460px;
	align-items: flex-start;
	text-align: left;
}

.e-con.mw-feature :where(.mw-text) {
	color: var(--mw-cream);
}

/* Quote band: centred words over a full photo. */
.e-con.mw-quote-band::after {
	background:
		radial-gradient(ellipse 60% 55% at 50% 50%, rgba(8, 8, 7, 0.35) 0%, rgba(8, 8, 7, 0) 100%),
		rgba(8, 8, 7, 0.42);
}

.e-con.mw-quote-band .mw-h-quote .elementor-heading-title {
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.e-con.mw-quote-band .mw-h-quote .elementor-heading-title {
	max-width: 16em;
	margin: 0 auto;
}

/* Rituals and the loose photo row: different sizes, aligned to the top. */
.e-con.mw-rituals,
.e-con.mw-loose {
	align-items: flex-start;
}

.e-con.mw-split .mw-journal-thumb {
	margin: 6px 0;
}

.mw-aside {
	max-width: 26em;
}

@media (max-width: 767px) {
	.e-con.mw-banner {
		grid-template-columns: 1fr;
	}

	.e-con.mw-banner > .mw-hero-media,
	.e-con.mw-home-hero > .mw-hero-media {
		min-height: 56vh;
	}

	.e-con.mw-banner > .e-con.mw-hero-content {
		grid-column: 1;
		padding: 40px 22px 48px;
	}
}

/*
 * Editorial text placement.
 * Title above its words in one narrow, left-aligned column. Running text is
 * justified to a firm block, with the last line left ragged.
 */
.e-con.mw-measure:has(> .mw-h):not(:has(.mw-h-quote, .mw-h-giant)),
.e-con.mw-measure-wide:has(> .mw-h):not(:has(.mw-h-quote, .mw-h-giant)) {
	max-width: 520px;
	margin-inline: 0;
	align-items: flex-start;
}

.mw-text:not(.mw-caps):not(.mw-quote-band .mw-text),
.mw-text:not(.mw-caps):not(.mw-quote-band .mw-text) p {
	max-width: 32em;
	text-align: left;
}

.mw-h + .mw-text,
.mw-h + .mw-label + .mw-text {
	margin-top: 4px;
}

.e-con.mw-stack {
	max-width: 520px;
}

/* Lists inside text blocks: plus markers, set in two columns when long. */
.mw-text ul {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 32px;
	text-align: left;
}

.mw-text ul li {
	position: relative;
	padding-left: 1.4em;
	break-inside: avoid;
}

.mw-text ul li::before {
	position: absolute;
	left: 0;
	content: "+";
}

.mw-img,
.mw-img .elementor-widget-container {
	text-align: left;
}

/* Numbered steps and plain cards: a thin rule above, equal widths. */
.e-con.mw-step,
.e-con.mw-card-plain {
	flex: 1 1 0;
	min-width: 0;
}

.e-con.mw-step {
	padding-top: 28px;
	border-top: 1px solid var(--mw-rule);
}

.e-con.mw-step .mw-h-figure .elementor-heading-title {
	color: var(--mw-brass);
}

/* Search bar lifted over the bottom edge of the home hero. */
.e-con.mw-search-band {
	position: relative;
	z-index: 2;
	margin-top: -64px;
}

.e-con.mw-contact-row > .e-con {
	flex: 1 1 0;
	min-width: 0;
}

.e-con.mw-faq-stack {
	gap: 72px;
}

@media (max-width: 767px) {
	.e-con.mw-search-band {
		margin-top: 0;
		padding-top: 32px;
	}
}

/* 7. Forms, booking and theme widgets ----------------------------------- */

/* Shared field look: small spaced labels, underlined fields in the text font. */
.mw-form__label,
.marlowe-contact__label,
.marlowe-title__eyebrow {
	color: var(--mw-accent);
	font: 400 11px/1.6 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.mw-form__input,
.marlowe-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.marlowe-form select,
.marlowe-form textarea {
	width: 100%;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--mw-rule);
	border-radius: 0;
	background: transparent;
	color: var(--mw-fg);
	font-family: var(--mw-text);
	font-size: 16px;
	font-weight: var(--mw-text-weight);
	line-height: 1.4;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

select.mw-form__input,
.marlowe-form select {
	padding-right: 22px;
	background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 7px center / 5px 5px no-repeat,
		linear-gradient(-45deg, transparent 50%, currentColor 50%) right 2px center / 5px 5px no-repeat;
	cursor: pointer;
}

.mw-form__input:focus,
.marlowe-form input:focus,
.marlowe-form select:focus,
.marlowe-form textarea:focus {
	border-bottom-color: var(--mw-fg);
	outline: none;
}

.marlowe-form ::placeholder,
.mw-form__input::placeholder {
	color: var(--mw-soft);
	opacity: 0.8;
}

textarea.mw-form__input,
.marlowe-form textarea {
	min-height: 8rem;
	resize: vertical;
}

body button.mw-form__submit,
body .marlowe-form input.wpcf7-submit,
body .mw-footer__form button,
.mw-footer__link-button {
	display: inline-block;
	padding: 18px 32px;
	border: 1px solid var(--mw-fg);
	border-radius: var(--mw-btn-radius);
	background-color: var(--mw-fg);
	color: var(--mw-bg);
	font: 500 11.5px/1 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.28em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.35s var(--mw-ease), color 0.35s var(--mw-ease);
}

body button.mw-form__submit:hover,
body .marlowe-form input.wpcf7-submit:hover,
body .marlowe-form input.wpcf7-submit:focus {
	background-color: transparent;
	color: var(--mw-fg);
}

/* Booking: date search bar and the full enquiry form. */
.mw-form__fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 32px;
}

.mw-form__fields.is-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mw-form__fields.is-one {
	grid-template-columns: minmax(0, 1fr);
}

.mw-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.mw-form__optional {
	color: var(--mw-soft);
	letter-spacing: 0.1em;
	text-transform: none;
}

.mw-form.is-layout-bar .mw-form__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 28px;
	padding: 26px 0 30px;
	border-top: 1px solid var(--mw-rule);
	border-bottom: 1px solid var(--mw-rule);
}

.mw-form.is-layout-full .mw-form__form {
	display: grid;
	gap: 28px;
}

.mw-form.is-layout-full .mw-form__submit {
	justify-self: start;
}

.mw-form__eyebrow {
	margin: 0 0 10px;
	color: var(--mw-accent);
	font: 400 11px/1.6 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.mw-form__title {
	margin: 0 0 14px;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: var(--mw-serif-weight);
}

.mw-form__intro,
.mw-form.is-sent p:last-child {
	margin: 0 0 32px;
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-weight: var(--mw-text-weight);
}

.mw-form__note {
	margin: 0;
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-size: 15px;
}

.mw-form__error {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid #c4614f;
	color: #e5a196;
	font-family: var(--mw-text);
}

/* Jumps to the form result land below the fixed header and section bar. */
.mw-main [id] {
	scroll-margin-top: calc(var(--mw-header-h) + 40px);
}

.mw-form__trap {
	position: absolute;
	left: -9999px;
}

/* Contact Form 7, wrapped by the Contact Form widget. */
.marlowe-form .wpcf7-form {
	display: grid;
	gap: 28px;
}

.marlowe-form .form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 32px;
}

.marlowe-form .form-field {
	margin: 0;
}

.marlowe-form .form-field.is-wide {
	grid-column: 1 / -1;
}

.marlowe-form .form-field label {
	display: block;
}

.marlowe-form .form-label {
	display: block;
	margin-bottom: 8px;
	color: var(--mw-accent);
	font: 400 11px/1.6 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.marlowe-form .form-label em {
	color: var(--mw-soft);
	font-style: normal;
	letter-spacing: 0.1em;
	text-transform: none;
}

.marlowe-form .form-field br {
	display: none;
}

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

.marlowe-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.marlowe-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-size: 15px;
}

.marlowe-form .wpcf7-acceptance input {
	margin-top: 5px;
	accent-color: var(--mw-fg);
}

.marlowe-form .wpcf7-submit {
	justify-self: start;
}

.marlowe-form .wpcf7-spinner {
	margin: 0 0 0 16px;
}

.marlowe-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #e5a196;
	font-family: var(--mw-text);
	font-size: 14px;
}

.marlowe-form .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--mw-rule);
	font-family: var(--mw-text);
}

.marlowe-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: #6f9f7b;
	color: #a9d1b2;
}

.marlowe-form .wpcf7 form.invalid .wpcf7-response-output,
.marlowe-form .wpcf7 form.failed .wpcf7-response-output {
	border-color: #c4614f;
	color: #e5a196;
}

/* Contact Details and Social Links widgets. */
.marlowe-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 28px;
	border-top: 1px solid var(--mw-rule);
}

/* The free-text column beside the Contact Details widgets on the Contact page. */
.e-con.mw-contact-extra {
	padding-top: 28px;
	border-top: 1px solid var(--mw-rule);
}

.mw-contact-extra .mw-eyebrow .elementor-heading-title {
	font-size: 11px;
	letter-spacing: 0.26em;
}

.marlowe-contact p {
	margin: 0;
	color: var(--mw-fg);
	font-family: var(--mw-text);
	font-weight: var(--mw-text-weight);
}

.marlowe-contact .marlowe-contact__label {
	margin-bottom: 6px;
	color: var(--mw-accent);
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
}

.marlowe-contact a,
.marlowe-social a {
	color: inherit;
	text-decoration: none;
}

.marlowe-contact a:hover,
.marlowe-social a:hover {
	color: var(--mw-accent);
}

.marlowe-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.marlowe-social.is-vertical {
	flex-direction: column;
}

.marlowe-social.is-icons svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Section Title widget. */
.marlowe-title {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.marlowe-title.is-align-center {
	align-items: center;
	text-align: center;
}

.marlowe-title__eyebrow,
.marlowe-title__heading,
.marlowe-title__text {
	margin: 0;
}

.marlowe-title__heading {
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: clamp(34px, 4vw, 58px);
	font-weight: var(--mw-serif-weight);
	line-height: 1.1;
}

.marlowe-title.is-small .marlowe-title__heading {
	font-size: clamp(23px, 1.8vw, 28px);
}

.marlowe-title.is-hero .marlowe-title__heading {
	font-size: clamp(40px, 6vw, 92px);
	line-height: 1.02;
}

.marlowe-title__text {
	max-width: 40rem;
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-weight: var(--mw-text-weight);
}

.marlowe-title.is-light,
.marlowe-title.is-light .marlowe-title__text,
.marlowe-title.is-light .marlowe-title__eyebrow {
	color: #fff;
}

/* FAQ and Price List widgets. */
.marlowe-faq__title,
.marlowe-prices__title {
	margin: 0 0 12px;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: clamp(28px, 2.6vw, 38px);
	font-weight: var(--mw-serif-weight);
}

.marlowe-faq__item {
	border-bottom: 1px solid var(--mw-rule);
}

.marlowe-faq__question {
	position: relative;
	padding: 22px 48px 22px 0;
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: 22px;
	font-weight: var(--mw-serif-weight-small);
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.marlowe-faq__question::-webkit-details-marker {
	display: none;
}

.marlowe-faq__question::after {
	content: "+";
	position: absolute;
	top: 18px;
	right: 4px;
	font-family: var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	font-size: 22px;
	font-weight: 300;
	transition: transform 0.3s var(--mw-ease);
}

.marlowe-faq__item[open] .marlowe-faq__question::after {
	transform: rotate(45deg);
}

.marlowe-faq__answer {
	padding-bottom: 24px;
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-weight: var(--mw-text-weight);
}

.marlowe-faq__answer > :last-child {
	margin-bottom: 0;
}

.marlowe-prices__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.marlowe-prices__item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--mw-rule);
}

.marlowe-prices__main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.marlowe-prices__name {
	font-family: var(--mw-serif);
	font-stretch: var(--mw-stretch-heading);
	font-size: 20px;
	font-weight: var(--mw-serif-weight-small);
}

.marlowe-prices__desc {
	color: var(--mw-soft);
	font-family: var(--mw-text);
	font-size: 15px;
}

.marlowe-prices__price {
	flex: 0 0 auto;
	font-family: var(--mw-text);
	white-space: nowrap;
	font-variant-numeric: lining-nums tabular-nums;
}

.marlowe-editor-note {
	padding: 12px 16px;
	border: 1px dashed currentColor;
	font-size: 13px;
}

/* An uploaded logo image in the header and footer. */
.site-logo {
	display: inline-block;
	line-height: 0;
}

.site-logo img {
	display: block;
	width: auto;
	height: var(--logo-height, 44px);
}

.mw-footer .site-logo img {
	height: calc(var(--logo-height, 44px) * 1.1);
}

@media (max-width: 900px) {
	.mw-form.is-layout-bar .mw-form__form {
		grid-template-columns: minmax(0, 1fr);
	}

	.mw-form.is-layout-bar .mw-form__submit {
		justify-self: stretch;
	}
}

@media (max-width: 767px) {
	.site-logo img {
		height: var(--logo-height-mobile, 32px);
	}
}

@media (max-width: 600px) {
	.mw-form__fields,
	.mw-form__fields.is-two,
	.marlowe-form .form-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 8. Journal, articles and plain pages ---------------------------------- */

.mw-page-head {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(80px, 10vw, 150px) var(--mw-gutter) clamp(48px, 6vw, 80px);
	text-align: center;
}

.mw-page-head--tall {
	padding-bottom: 160px;
}

.mw-page-head__title {
	margin: 0;
	font-size: clamp(34px, 3.8vw, 56px);
	line-height: 1;
}

.mw-page-head__lede {
	max-width: 36em;
	margin: 28px auto 0;
	color: var(--mw-soft);
	font-size: 19px;
}

.mw-journal {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 var(--mw-gutter) 140px;
}

.mw-journal__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 64px 36px;
}

.mw-journal__grid.is-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px 48px;
}

.mw-journal-card__link {
	display: block;
	text-decoration: none;
}

.mw-journal-card__image {
	margin: 0 0 22px;
	overflow: hidden;
}

.mw-journal-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 1.2s var(--mw-ease);
}

.mw-journal-card__link:hover img {
	transform: scale(1.04);
}

.mw-journal-card__title {
	margin: 0 0 10px;
	font-size: clamp(20px, 1.6vw, 24px);
}

.mw-journal-card__excerpt {
	margin: 0;
	color: var(--mw-soft);
}

.mw-journal .navigation {
	margin-top: 80px;
	text-align: center;
}

.mw-journal .nav-links {
	display: flex;
	justify-content: center;
	gap: 18px;
	font: 500 12px/1 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.mw-article__image {
	max-width: 1320px;
	margin: 0 auto 80px;
	padding: 0 var(--mw-gutter);
	box-sizing: border-box;
}

.mw-article__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--mw-radius);
}

.mw-prose {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--mw-gutter) 120px;
	font-size: calc(var(--mw-text-size) + 1px);
}

.mw-prose p {
	color: var(--mw-soft);
}

.mw-prose h2 {
	margin: 2em 0 0.6em;
	font-size: clamp(30px, 2.6vw, 40px);
}

.mw-article__nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: baseline;
	gap: 24px;
	max-width: 720px;
	margin: -60px auto 0;
	padding: 0 var(--mw-gutter) 140px;
	font: 500 12px/1.5 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.mw-article__nav p {
	margin: 0;
}

.mw-article__back {
	grid-column: 2;
	text-align: center;
}

.mw-article__next {
	grid-column: 3;
	text-align: right;
}

.mw-article__nav a {
	text-decoration: none;
}

@media (max-width: 1024px) {
	.mw-journal__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mw-journal__grid {
		grid-template-columns: 1fr;
	}
}

/* 9. Footer ------------------------------------------------------------- */

.mw-footer {
	background-color: var(--mw-moss);
	color: var(--mw-ink);
	padding: 0 var(--mw-gutter);
	font-size: 15px;
}

.mw-footer .mw-eyebrow-text {
	color: var(--mw-accent);
}

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

.mw-footer a:hover {
	text-decoration: underline;
}

.mw-footer__letter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: end;
	max-width: 1320px;
	margin: 0 auto;
	padding: 110px 0 80px;
	border-bottom: 1px solid rgba(236, 232, 225, 0.12);
}

.mw-footer__title {
	margin: 0;
	font-size: clamp(26px, 2.4vw, 36px);
}

.mw-footer__letter-body p {
	margin-top: 0;
	color: var(--mw-ink-soft);
}

.mw-footer__form {
	display: flex;
	gap: 0;
	border-bottom: 1px solid rgba(236, 232, 225, 0.35);
}

.mw-footer__form input {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: 400 17px/1.4 var(--mw-sans);
	font-stretch: var(--mw-stretch-label);
}

.mw-footer__form input::placeholder {
	color: var(--mw-ink-soft);
}

body .mw-footer__form button {
	padding: 14px 0 14px 20px;
	border: 0;
	background: none;
	color: inherit;
}

.mw-footer__link-button {
	border-color: var(--mw-ink);
	background-color: transparent;
	color: var(--mw-ink);
}

.mw-footer__link-button:hover {
	background-color: var(--mw-ink);
	color: var(--mw-moss);
	text-decoration: none !important;
}

.mw-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
	gap: 40px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 72px 0;
}

.mw-footer__brand .mw-wordmark {
	display: inline-flex;
	align-items: flex-start;
	margin-bottom: 18px;
	padding-left: 0;
}

.mw-footer__brand p {
	max-width: 22em;
	color: var(--mw-ink-soft);
}

.mw-footer__social,
.mw-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 2;
}

.mw-footer__base {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 28px 0 40px;
	border-top: 1px solid rgba(236, 232, 225, 0.12);
	color: var(--mw-ink-soft);
	font-size: 13px;
}

.mw-footer__base p {
	margin: 0;
}

.mw-footer__base nav {
	margin-right: auto;
}

.mw-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mw-footer__legal a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.mw-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mw-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	body.admin-bar .mw-masthead,
	body.admin-bar .mw-menu {
		top: 46px;
	}
}

@media (max-width: 767px) {
	:root {
		--mw-header-h: 76px;
	}

	.mw-header__book {
		padding: 12px 14px;
		font-size: 9.5px;
		letter-spacing: 0.12em;
	}

	.mw-masthead .mw-menu-toggle__label {
		display: none;
	}

	.mw-wordmark {
		gap: 12px;
	}

	.mw-wordmark__name {
		font-size: var(--logo-text-size-mobile, 17px);
		letter-spacing: 0.18em;
		margin-right: -0.18em;
	}

	.mw-wordmark__sub {
		display: none;
	}

	.mw-footer__letter {
		grid-template-columns: 1fr;
		padding-top: 80px;
	}

	.mw-footer__grid {
		grid-template-columns: 1fr;
	}

	.mw-footer__base {
		flex-direction: column;
	}
}

/* 10. Motion ------------------------------------------------------------ */

.mw-main {
	transition: opacity 0.3s ease;
}

.mw-loading .mw-main {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	body,
	.mw-header,
	.mw-menu,
	.mw-menu__list > li {
		transition: none;
	}

	.mw-js .is-parallax img,
	.mw-js .mw-drift,
	.mw-js [class*="mw-drift-"] {
		transform: none !important;
	}

	.mw-main {
		transition: none;
	}
}

/* The Elementor editor always shows the page, with no load fade. */
.elementor-editor-active .mw-main {
	opacity: 1 !important;
}
