/*
Theme Name: More Tables
Theme URI: https://moretablesmarketing.com
Author: Peak Creative Design
Author URI: https://peakcreativedesign.com
Description: Block theme for More Tables Marketing. We automate the back of house of a restaurant's online presence so owners have more time for their guests. Creates its pages on activation.
Version: 2.3.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: more-tables
*/

:root {
	--mt-paper: #ffffff;
	--mt-stone: #f1f2ef;
	--mt-ink: #231f1c;
	--mt-ink-soft: #5e5751;
	--mt-espresso: #2a211c;
	--mt-on-dark: #f5f2ee;
	--mt-on-dark-soft: #c4bbb3;
	--mt-blue: #2d4bc9;
	--mt-blue-on-dark: #9fb2ff;
	--mt-rule: #dcd9d3;
	--mt-rule-blue: #d5dcf5;
	--mt-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--mt-serif: "Young Serif", Georgia, serif;
	--mt-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	--mt-hand: "Nanum Pen Script", "Bradley Hand", cursive;
}

/* ---------- Rhythm ---------- */

.wp-site-blocks > * + * { margin-block-start: 0; }
.mt-main { margin: 0; }
.wp-block-post-content > .mt-section { margin-block: 0; }

.mt-wrap {
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: var(--mt-gutter);
	box-sizing: content-box;
}
.mt-section { padding-block: clamp(4rem, 9vw, 7.5rem); overflow-x: clip; }
.mt-section .mt-wrap > * + * { margin-block-start: 1.25rem; }
.mt-section .mt-wrap > h2 + .mt-lede { margin-block-start: 1rem; }
.mt-section .mt-wrap > .mt-lede + * { margin-block-start: 3rem; }

.mt-plain { background: var(--mt-paper); }
.mt-stone { background: var(--mt-stone); }

h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 15ch; }
h2 { max-width: 19ch; }
p, li { max-width: 66ch; }

.mt-lede { font-size: var(--wp--preset--font-size--large); line-height: 1.55; max-width: 56ch; color: var(--mt-ink-soft); }
.mt-quiet { color: var(--mt-ink-soft); }
.mt-small { font-size: 0.9375rem; }
.mt-more { font-weight: 600; }
.mt-more a { text-underline-offset: 0.25em; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, .wp-element-button:focus-visible {
	outline: 3px solid var(--mt-blue);
	outline-offset: 3px;
}

/* ---------- Handwriting: the human voice, always in ballpoint blue ---------- */

.mt-hand {
	font-family: var(--mt-hand);
	color: var(--mt-blue);
	font-size: 2.1rem;
	line-height: 1.05;
	letter-spacing: 0.005em;
}
.mt-hand--sign { margin-top: 1.75rem !important; transform: rotate(-1.5deg); transform-origin: left center; }

/* ---------- Buttons ---------- */

.wp-element-button, .wp-block-button__link { transition: background-color 0.15s ease, color 0.15s ease; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #3d3530; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--mt-ink);
	border: 1.5px solid currentColor;
	padding: calc(0.95rem - 1.5px) calc(1.6rem - 1.5px);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--mt-stone); }

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

.mt-header { background: var(--mt-paper); border-bottom: 1px solid var(--mt-rule); position: relative; z-index: 20; }
.mt-header__inner { display: flex; align-items: center; gap: 2rem; padding-block: 1.1rem; }
.mt-header__inner > * { margin: 0 !important; }
.mt-header .wp-block-site-title {
	font-family: var(--mt-serif);
	font-size: 1.5rem;
	line-height: 1;
	margin-right: auto !important;
	letter-spacing: -0.01em;
}
.mt-header .wp-block-site-title a { color: var(--mt-ink); text-decoration: none; }
.mt-nav { font-weight: 500; font-size: 1rem; gap: 1.75rem; }
.mt-nav .wp-block-navigation-item__content { color: var(--mt-ink); text-decoration: none; }
.mt-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.mt-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem var(--mt-gutter); }
.mt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--mt-serif);
	font-size: 2rem;
}
.mt-header__cta .wp-block-button__link { padding: 0.7rem 1.2rem; font-size: 0.9375rem; }
@media (max-width: 600px) {
	.mt-header .mt-header__cta { display: none !important; }
}

/* ---------- Hero ---------- */

.mt-hero { padding-block: clamp(4rem, 9vw, 7rem) clamp(4rem, 8vw, 6.5rem); }
.mt-hero h1 { margin: 0 0 1.75rem; }
.mt-hero__btns { margin-block-start: 2.25rem; gap: 0.75rem; }
.mt-hero__cols { gap: clamp(2rem, 5vw, 5rem); align-items: flex-end !important; }
.mt-hero__aside { position: relative; padding-bottom: 0.5rem; }
.mt-hand--hero {
	font-size: clamp(2.2rem, 3.4vw, 2.9rem);
	line-height: 1;
	transform: rotate(-3deg);
	transform-origin: left bottom;
	max-width: 11em;
	margin: 0 !important;
	position: relative;
}
/* hand-drawn arrow pointing back at the headline */
.mt-hand--hero::before {
	content: "";
	position: absolute;
	left: -5.25rem;
	top: -3.6rem;
	width: 5.5rem;
	height: 4.5rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 72' fill='none' stroke='%232D4BC9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M84 68C70 58 54 30 22 14'/%3E%3Cpath d='M30 8 20 13l9 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mt-hand__by { font-size: 0.875rem; color: var(--mt-ink-soft); margin-top: 1rem !important; padding-left: 0.25rem; }

@media (max-width: 781px) {
	.mt-hand--hero::before { display: none; }
	.mt-hero__aside { padding-top: 0.5rem; }
}

/* ---------- The sheet: typed (ours) vs handwritten (yours) ---------- */

.mt-sheet {
	background: var(--mt-paper);
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(35, 31, 28, 0.06), 0 24px 48px -28px rgba(35, 31, 28, 0.35);
	padding: clamp(1.75rem, 4vw, 3.25rem);
	max-width: 1080px;
}
.mt-sheet__cols { gap: 0 !important; margin: 0 !important; }
.mt-sheet__col { padding-inline: clamp(0rem, 2vw, 2rem); }
.mt-sheet__col:first-child { padding-left: 0; }
.mt-sheet__col--hand { border-left: 1px dashed #c9c4bc; padding-right: 0; }
.mt-sheet__label { font-weight: 650; font-size: 0.9375rem; color: var(--mt-ink-soft); margin: 0 0 0.75rem; }
.mt-sheet__typed, .mt-sheet__hand { list-style: none; padding: 0; margin: 0; }
.mt-sheet__typed li {
	position: relative;
	padding: 0.85rem 0 0.85rem 2rem;
	border-bottom: 1px solid var(--mt-rule);
	font-size: 1.0625rem;
	max-width: none;
}
.mt-sheet__typed li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: 1.05rem;
	height: 1.05rem;
	border: 1.5px solid var(--mt-ink);
	border-radius: 3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23231F1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.mt-sheet__hand li {
	font-family: var(--mt-hand);
	color: var(--mt-blue);
	font-size: 2rem;
	line-height: 1;
	padding: 0.7rem 0 0.55rem;
	border-bottom: 1px solid var(--mt-rule-blue);
	max-width: none;
}
.mt-sheet__hand li:nth-child(2n) { padding-left: 0.6rem; }
.mt-sheet__hand li:nth-child(3n) { padding-left: 0.25rem; }

@media (max-width: 781px) {
	.mt-sheet__col { padding-inline: 0; }
	.mt-sheet__col--hand { border-left: 0; border-top: 1px dashed #c9c4bc; margin-top: 1.5rem !important; padding-top: 1.5rem; }
}

/* ---------- Dark bands ---------- */

.mt-dark { background: var(--mt-espresso); color: var(--mt-on-dark); }
.mt-dark h2, .mt-dark h3 { color: #ffffff; }
.mt-dark a:not(.wp-element-button) { color: #ffffff; }
.mt-dark .mt-lede, .mt-dark .mt-quiet { color: var(--mt-on-dark-soft); }
.mt-dark .mt-hand { color: var(--mt-blue-on-dark); }

.mt-manifesto { gap: clamp(2rem, 6vw, 6rem) !important; }
.mt-manifesto h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); margin: 0; }
.mt-manifesto p { font-size: 1.1875rem; line-height: 1.65; }
.mt-manifesto p:first-child { margin-top: 0.4rem; }
.mt-stat {
	margin-top: 2rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--mt-rule);
	font-size: 1rem !important;
	color: var(--mt-ink-soft);
}
.mt-stat a { color: var(--mt-ink-soft) !important; }
.mt-dark .mt-stat { border-top-color: rgba(255, 255, 255, 0.2); color: var(--mt-on-dark-soft); }
.mt-dark .mt-stat a { color: var(--mt-on-dark-soft) !important; }

/* ---------- Front door: points + phone ---------- */

.mt-door { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; }
.mt-points { list-style: none; padding: 0; margin-top: 2.25rem; }
.mt-points li {
	padding: 1.1rem 0;
	border-top: 1px solid var(--mt-rule);
	font-size: 1.0625rem;
	color: var(--mt-ink-soft);
}
.mt-points li strong { color: var(--mt-ink); font-weight: 650; }
.mt-phone-col { display: flex; justify-content: center; }

.mt-phone { margin: 0; width: min(100%, 320px); }
.mt-phone__screen {
	background: #fffdf9;
	border: 10px solid var(--mt-ink);
	border-radius: 42px;
	padding: 1.6rem 1.25rem 1.5rem;
	box-shadow: 0 30px 60px -30px rgba(35, 31, 28, 0.45);
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--mt-ink);
}
.mt-phone p { margin: 0; max-width: none; }
.mt-phone__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.9rem; border-bottom: 1px solid #ece6dd; }
.mt-phone__name { font-family: var(--mt-serif); font-size: 1.25rem; }
.mt-phone__menu-icon { width: 18px; height: 10px; border-top: 2px solid var(--mt-ink); border-bottom: 2px solid var(--mt-ink); }
.mt-phone__status { margin-top: 0.9rem !important; font-weight: 650; display: flex; align-items: center; gap: 0.45rem; }
.mt-phone__dot { width: 8px; height: 8px; border-radius: 50%; background: #2f8a55; }
.mt-phone__addr { color: var(--mt-ink-soft); margin-top: 0.2rem !important; }
.mt-phone__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.9rem; }
.mt-phone__actions span {
	text-align: center;
	padding: 0.55rem 0.4rem;
	border-radius: 999px;
	border: 1.5px solid var(--mt-ink);
	font-weight: 650;
	font-size: 0.8125rem;
}
.mt-phone__actions span:first-child { background: var(--mt-ink); color: #ffffff; }
.mt-phone__welcome { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.25rem; padding: 0.9rem; background: #f5efe6; border-radius: 14px; }
.mt-phone__avatar {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #c9714e;
	color: #ffffff;
	display: grid;
	place-items: center;
	font-family: var(--mt-serif);
	font-size: 1.1rem;
}
.mt-phone__note { font-family: var(--mt-hand); color: var(--mt-blue); font-size: 1.55rem; line-height: 1; }
.mt-phone__dish { padding: 0.75rem 0; border-bottom: 1px solid #ece6dd; }
.mt-phone__dish:first-of-type { margin-top: 0.6rem; }
.mt-phone__dish-line { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 650; }
.mt-phone__aside { font-family: var(--mt-hand); color: var(--mt-blue); font-size: 1.3rem; line-height: 1; margin-top: 0.15rem !important; }
.mt-phone__call { margin-top: 0.9rem !important; font-size: 0.8125rem; color: var(--mt-ink-soft); }
.mt-phone figcaption { margin-top: 1.1rem; font-size: 0.875rem; color: var(--mt-ink-soft); text-align: center; }

/* ---------- Pricing: menu-style lines ---------- */

.mt-offer {
	background: var(--mt-paper);
	border-radius: 6px;
	padding: clamp(1.75rem, 4vw, 3rem);
	border-top: 3px solid var(--mt-ink);
}
.mt-offer__cols { gap: clamp(2rem, 5vw, 4.5rem) !important; margin: 0 !important; }
.mt-offer__title { margin: 0; font-size: 2rem; }
.mt-offer__desc { color: var(--mt-ink-soft); margin-top: 0.75rem !important; }
.mt-offer__prices > * + * { margin-top: 1.75rem !important; }

.mt-mi > * { margin: 0; max-width: none; }
.mt-mi > * + * { margin-top: 0.5rem; }
.mt-mi__line { display: flex; align-items: baseline; gap: 0.6rem; }
.mt-mi__name { font-family: var(--mt-serif); font-size: 1.5rem; line-height: 1.1; }
.mt-mi__dots { flex: 1; border-bottom: 2px dotted #b7b0a7; transform: translateY(-0.3rem); min-width: 1.5rem; }
.mt-mi__price { font-family: var(--mt-serif); font-size: 1.5rem; line-height: 1.1; white-space: nowrap; }
.mt-mi__desc { color: var(--mt-ink-soft); }
.mt-mi__items { list-style: none; padding: 0; margin-top: 1rem !important; font-size: 0.975rem; }
.mt-mi__items li { position: relative; padding: 0.45rem 0 0.45rem 1.25rem; border-top: 1px solid var(--mt-rule); }
.mt-mi__items li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 0.5rem; height: 2px; border-radius: 1px; background: var(--mt-ink); }
.mt-mi__note { font-size: 1.75rem; transform: rotate(-2deg); transform-origin: left center; margin-top: 1rem !important; }

.mt-plans__title { margin-top: 3.5rem !important; }
.mt-plans { gap: clamp(1rem, 2.5vw, 2rem) !important; margin-top: 1.5rem !important; }
.mt-plans > .wp-block-column {
	background: var(--mt-paper);
	border-radius: 6px;
	padding: 1.75rem;
	border-top: 3px solid var(--mt-ink);
}

/* ---------- Steps (a real sequence) ---------- */

.mt-steps { list-style: none; counter-reset: mt-step; padding: 0; margin-top: 2.5rem !important; max-width: 56rem; }
.mt-steps li {
	counter-increment: mt-step;
	position: relative;
	padding: 1.6rem 0 1.6rem 5rem;
	border-top: 1px solid var(--mt-rule);
	font-size: 1.0625rem;
	color: var(--mt-ink-soft);
	max-width: none;
}
.mt-steps li::before {
	content: counter(mt-step);
	position: absolute;
	left: 0;
	top: 1.2rem;
	font-family: var(--mt-serif);
	font-size: 2.75rem;
	line-height: 1;
	color: var(--mt-ink);
}
.mt-steps li strong { display: block; color: var(--mt-ink); font-family: var(--mt-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.3rem; }

/* ---------- Fit, checks, crosses ---------- */

.mt-fit-cols { gap: clamp(1.5rem, 4vw, 4rem) !important; margin-top: 2.5rem !important; }
.mt-fit h3 { margin-top: 0; }
.mt-checks, .mt-crosses { list-style: none; padding: 0; }
.mt-checks li, .mt-crosses li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-top: 1px solid var(--mt-rule); }
.mt-checks li::before, .mt-crosses li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 1.1rem;
	height: 1.1rem;
	background: center / contain no-repeat;
}
.mt-checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23231F1C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5 6 12 13.5 3.5'/%3E%3C/svg%3E"); }
.mt-crosses li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23231F1C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E"); }
.mt-fit--no .mt-crosses li { color: var(--mt-ink-soft); }

.mt-card { background: var(--mt-stone); border-radius: 6px; padding: 2rem; }
.mt-card h3 { margin-top: 0; }
.mt-card h3 + * { margin-top: 0.75rem; }
.mt-card ul + h3 { margin-top: 2rem; }

/* ---------- Tables ---------- */

.mt-compare { margin: 2.5rem 0 0 !important; overflow-x: auto; }
.mt-compare table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 600px; }
.mt-compare th, .mt-compare td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border: 0; border-bottom: 1px solid var(--mt-rule); }
.mt-compare thead th { font-weight: 650; font-size: 0.9375rem; color: var(--mt-ink-soft); border-bottom: 2px solid var(--mt-ink); }
.mt-compare thead th:nth-child(2) { color: var(--mt-ink); }
.mt-compare tbody td:first-child { font-weight: 650; width: 20%; }
.mt-compare tbody td:nth-child(2) { background: var(--mt-stone); }
.mt-compare tbody td:nth-child(3) { color: var(--mt-ink-soft); }
.mt-compare tbody td:nth-child(3) a { color: var(--mt-ink-soft); }

/* ---------- FAQ ---------- */

.mt-faq .wp-block-details { border-top: 1px solid var(--mt-rule); padding-block: 1.25rem; max-width: 52rem; }
.mt-faq .wp-block-details:last-child { border-bottom: 1px solid var(--mt-rule); }
.mt-faq summary { font-family: var(--mt-serif); font-size: 1.375rem; cursor: pointer; line-height: 1.25; }
.mt-faq .wp-block-details[open] summary { margin-bottom: 0.5rem; }
.mt-faq .wp-block-details p { color: var(--mt-ink-soft); }

/* ---------- CTA + form ---------- */

.mt-cta-cols { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.mt-cta h2 { margin-top: 0; }
.mt-form-card { background: var(--mt-stone); border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.mt-form-card h3 { margin-top: 0; }

.mt-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.25rem;
	background: var(--mt-paper);
	color: var(--mt-ink);
	border-radius: 6px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.mt-form-card .mt-form { padding: 0; background: transparent; }
.mt-form .mt-field { display: grid; gap: 0.35rem; }
.mt-form .mt-field--full { grid-column: 1 / -1; }
.mt-form label { font-weight: 600; font-size: 0.9375rem; }
.mt-form .mt-optional { font-weight: 400; color: var(--mt-ink-soft); }
.mt-form input, .mt-form select, .mt-form textarea {
	font: inherit;
	font-size: 1rem;
	color: var(--mt-ink);
	background: #ffffff;
	border: 1.5px solid #b9b2a9;
	border-radius: 6px;
	padding: 0.7rem 0.8rem;
	min-height: 48px;
	width: 100%;
	box-sizing: border-box;
}
.mt-form input:focus, .mt-form select:focus, .mt-form textarea:focus { border-color: var(--mt-ink); }
.mt-form textarea { min-height: 96px; resize: vertical; }
.mt-form .mt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mt-form button {
	grid-column: 1 / -1;
	justify-self: start;
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	background: var(--mt-ink);
	color: #ffffff;
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.6rem;
	cursor: pointer;
}
.mt-form button:hover { background: #3d3530; }
.mt-form__note { grid-column: 1 / -1; margin: 0; font-size: 0.875rem; color: var(--mt-ink-soft); }
.mt-form-msg { background: var(--mt-paper); color: var(--mt-ink); padding: 1.25rem 1.5rem; border-radius: 6px; border-left: 4px solid var(--mt-blue); margin-bottom: 1rem; }
.mt-form-msg.is-error { border-left-color: #b8322a; }
.mt-form-msg p { margin: 0; }
.mt-form-msg .mt-hand { font-size: 1.6rem; margin-top: 0.5rem; }
@media (max-width: 600px) { .mt-form { grid-template-columns: 1fr; } }

/* ---------- Articles, blog, 404 ---------- */

.mt-article { padding-block: clamp(3rem, 7vw, 5rem); }
.mt-article h1, .mt-article .wp-block-post-title { font-size: clamp(2.5rem, 5.5vw, 4rem); max-width: 18ch; }
.mt-article__date { color: var(--mt-ink-soft); font-size: 0.9375rem; }
.mt-article__cta { margin-block-start: 3rem !important; padding: 1.75rem; background: var(--mt-stone); border-radius: 6px; }
.mt-blog .wp-block-post-template { list-style: none; padding: 0; }
.mt-blog .wp-block-post-template > li { padding-block: 1.75rem; border-top: 1px solid var(--mt-rule); }
.mt-blog .wp-block-post-title { font-size: 1.875rem; max-width: none; }
.mt-blog .wp-block-post-title a { text-decoration: none; }
.mt-blog .wp-block-post-title a:hover { text-decoration: underline; }

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

.mt-footer { background: var(--mt-stone); padding-block: 3.5rem 2rem; font-size: 0.9375rem; }
.mt-footer__cols { gap: 2.5rem !important; }
.mt-footer__brand { font-family: var(--mt-serif); font-size: 1.75rem; line-height: 1; margin-top: 0; }
.mt-footer__label { font-weight: 650; color: var(--mt-ink-soft); margin-top: 0; }
.mt-footer__links { list-style: none; padding: 0; }
.mt-footer__links li + li { margin-top: 0.35rem; }
.mt-footer a { text-underline-offset: 0.2em; }
.mt-contact { display: grid; gap: 0.35rem; }
.mt-contact p { margin: 0; }
.mt-contact .mt-contact__cta { margin-top: 0.85rem; }
.mt-contact .mt-contact__cta a {
	display: inline-block;
	background: var(--mt-ink);
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	padding: 0.65rem 1.1rem;
	border-radius: 999px;
}
.mt-footer__legal { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--mt-rule); color: var(--mt-ink-soft); font-size: 0.875rem; max-width: none; }

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

/* Offer card on a white band gets a stone fill so it still reads as a card */
.mt-plain .mt-offer { background: var(--mt-stone); }

/* ---------- Services list (home) ---------- */

.mt-svcs { margin-top: 2.5rem !important; border-bottom: 1px solid var(--mt-rule); }
.mt-svc {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
	gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
	align-items: baseline;
	padding-block: 1.75rem;
	border-top: 1px solid var(--mt-rule);
}
.mt-svc > * { margin: 0 !important; max-width: none; }
.mt-svc__title { font-size: 1.75rem; }
.mt-svc__title a { text-decoration: none; color: var(--mt-ink); }
.mt-svc__title a::after { content: ""; position: absolute; inset: 0; }
.mt-svc__desc { color: var(--mt-ink-soft); }
.mt-svc__more { font-weight: 600; white-space: nowrap; }
.mt-svc__more a { text-underline-offset: 0.25em; }
.mt-svc:hover .mt-svc__title a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.mt-svc:focus-within { outline: 3px solid var(--mt-blue); outline-offset: 4px; }
.mt-svc__title a:focus-visible { outline: none; }
@media (max-width: 781px) {
	.mt-svc { grid-template-columns: 1fr; gap: 0.4rem; padding-block: 1.4rem; }
	.mt-svc__title { font-size: 1.5rem; }
	.mt-svc__more { display: none; }
}

/* ---------- Short CTA ---------- */

.mt-cta--short .mt-wrap > .mt-lede + * { margin-block-start: 2rem; }
.mt-cta__btns .wp-block-button__link { background: #ffffff; color: var(--mt-ink); }
.mt-cta__btns .wp-block-button__link:hover { background: var(--mt-stone) !important; }

/* ---------- Stories list on the stone band ---------- */

.mt-stories { margin-top: 0 !important; }
.mt-stories li { font-size: 2.1rem; }

/* ---------- Services submenu ---------- */

.mt-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--mt-rule) !important;
	border-radius: 8px;
	padding: 0.5rem 0;
	min-width: 16rem !important;
	box-shadow: 0 16px 32px -20px rgba(35, 31, 28, 0.35);
}
.mt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 1.1rem; }

/* ---------- Tighter mobile rhythm ---------- */

@media (max-width: 600px) {
	.mt-section { padding-block: 3.25rem; }
	.mt-hero { padding-block: 2.75rem 3rem; }
	.mt-section .mt-wrap > .mt-lede + * { margin-block-start: 2rem; }
	.mt-sheet { padding: 1.25rem; }
	.mt-sheet__typed li { padding-block: 0.65rem; font-size: 1rem; }
	.mt-sheet__hand li { font-size: 1.7rem; padding-block: 0.5rem 0.4rem; }
	.mt-hand--hero { font-size: 2rem; }
}

/* ---------- Photos ---------- */

.mt-photo { margin: 0; }
.mt-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* Hero with a photo: the handwritten note overlaps the photo's bottom edge */
.mt-hero--photo .mt-hero__cols { align-items: center !important; }
.mt-hero__photo { position: relative; z-index: 1; }
.mt-hero--photo .mt-hand--hero {
	position: relative;
	z-index: 2;
	margin: -2.25rem 0 0 -1.5rem !important;
	background: var(--mt-paper);
	padding: 0.8rem 1.1rem 0.9rem;
	border-radius: 4px;
	box-shadow: 0 10px 24px -14px rgba(35, 31, 28, 0.4);
	max-width: 12em;
	font-size: clamp(1.9rem, 2.6vw, 2.3rem);
}
.mt-hero--photo .mt-hand--hero::before { display: none; }
.mt-hero--photo .mt-hand__by { margin-left: -1.25rem; }

/* Service rows with a thumbnail */
.mt-svc { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; }
.mt-svc__img img { border-radius: 4px; }
@media (max-width: 781px) {
	.mt-svc { grid-template-columns: 96px minmax(0, 1fr); column-gap: 1rem; align-items: start; }
	.mt-svc__img { grid-row: span 2; }
}

/* Manifesto with a photo */
.mt-manifesto--photo { align-items: center !important; }
.mt-manifesto--photo h2 { margin-bottom: 1.25rem; }

/* Wide photo band right under a hero */
.mt-photo-band { padding-block: 0 !important; }
.mt-photo--wide img { border-radius: 6px; }

.mt-side-photo { margin-top: 2rem !important; max-width: 420px; }
.mt-card__photo { margin: -2rem -2rem 1.75rem !important; }
.mt-card__photo img { border-radius: 6px 6px 0 0; }

/* Headshot + handwritten sign-off */
.mt-headshot { display: block; border-radius: 50%; object-fit: cover; aspect-ratio: 1; }
.mt-headshot--small { width: 64px; height: 64px; flex: none; }
.mt-headshot--large { width: 100%; height: auto; max-width: 380px; border-radius: 6px; aspect-ratio: 4 / 5; margin-left: auto; }
.mt-signoff { display: flex; align-items: center; gap: 1rem; margin-top: 2rem !important; }
.mt-signoff > * { margin: 0 !important; }
.mt-signoff .wp-block-shortcode, .mt-signoff > p:first-child { flex: none; }
.mt-signoff__note { font-size: 1.9rem; transform: rotate(-1.5deg); transform-origin: left center; }
.mt-dark .mt-headshot { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }

/* Footer contact with headshot */
.mt-contact__who { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem !important; }
.mt-contact__who .mt-headshot--small { width: 48px; height: 48px; }

@media (max-width: 781px) {
	.mt-hero--photo .mt-hand--hero { margin: -2rem 0 0 0.75rem !important; }
	.mt-hero--photo .mt-hand__by { margin-left: 0.75rem; }
	.mt-headshot--large { margin: 0; max-width: 300px; }
	.mt-side-photo { max-width: none; }
}

/* Shorter crops on phones so photos don't push content too far down */
@media (max-width: 600px) {
	.mt-hero__photo img, .mt-hero--photo .mt-photo img { aspect-ratio: 4 / 3 !important; }
}

/* ---------- Work: project cards ---------- */

.mt-work-band .mt-wrap > h2 + * { margin-top: 2.5rem; }
.mt-work-grid .wp-block-post-template { gap: clamp(1.25rem, 3vw, 2.5rem); list-style: none; padding: 0; margin: 0; }
.mt-work-grid .wp-block-post-template > li { margin: 0; }
.mt-work-grid .wp-block-post-featured-image { margin: 0 0 1rem; }
.mt-work-grid .wp-block-post-featured-image img { border-radius: 6px; }
.mt-work-grid .wp-block-post-title { font-size: 1.5rem; margin: 0 0 0.4rem; }
.mt-work-grid .wp-block-post-title a { text-decoration: none; }
.mt-work-grid li:hover .wp-block-post-title a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.mt-work-grid .wp-block-post-excerpt { color: var(--mt-ink-soft); font-size: 1rem; margin: 0; }
.mt-work-grid .wp-block-post-excerpt__more-link { display: none; }
.mt-hide-if-no-projects + .mt-hide-if-no-testimonials { margin-top: 3.5rem !important; }

/* ---------- Testimonials ---------- */

.mt-quotes .wp-block-post-template { gap: clamp(1.25rem, 3vw, 2rem); list-style: none; padding: 0; margin: 0; }
.mt-quotes .wp-block-post-template > li {
	margin: 0;
	background: var(--mt-paper);
	border-radius: 6px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
}
.mt-stone .mt-quotes .wp-block-post-template > li { background: var(--mt-paper); }
.mt-plain .mt-quotes .wp-block-post-template > li { background: var(--mt-stone); }
.mt-quotes .wp-block-post-content { font-family: var(--mt-serif); font-size: 1.375rem; line-height: 1.4; }
.mt-quotes .wp-block-post-content p { margin: 0; }
.mt-quotes .wp-block-post-content p + p { margin-top: 0.75rem; }
.mt-quotes .wp-block-post-content > :first-child::before { content: "“"; }
.mt-quotes .wp-block-post-content > :last-child::after { content: "”"; }
.mt-quote__by { display: flex; align-items: center; gap: 0.85rem; }
.mt-quote__by > * { margin: 0 !important; }
.mt-quote__by .wp-block-post-featured-image img { border-radius: 50%; }
.mt-quote__who { font-weight: 600; font-size: 0.975rem; color: var(--mt-ink-soft); }

/* ---------- Work archive + single project ---------- */

.mt-hero--short { padding-bottom: 1rem; }
.mt-work-list { padding-top: 2rem; }
.mt-crumb { font-weight: 600; font-size: 0.9375rem; }
.mt-crumb a { color: var(--mt-ink-soft); }
.mt-project-hero .wp-block-post-title { margin: 0.5rem 0 1.25rem; max-width: 18ch; }
.mt-project-hero .wp-block-post-excerpt__more-link { display: none; }
.mt-project__cover { margin-top: 2.5rem !important; }
.mt-project__cover img { border-radius: 6px; }
.mt-project-body { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.mt-project-body .wp-block-post-content { padding-inline: var(--mt-gutter); }
.mt-project-body h2 { font-size: 2rem; margin-top: 2.75rem; }
.mt-project-body .alignwide { max-width: 1000px; margin-block: 2.5rem; }
.mt-project-body .wp-block-quote {
	border: 0;
	margin: 3rem 0 0;
	padding: 2rem 0 0;
	border-top: 3px solid var(--mt-ink);
}
.mt-project-body .wp-block-quote p { font-family: var(--mt-serif); font-size: 1.625rem; line-height: 1.35; }
.mt-project-body .wp-block-quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; font-size: 0.975rem; color: var(--mt-ink-soft); }
.mt-glance {
	background: var(--mt-stone);
	border-radius: 6px;
	padding: 1.5rem 1.75rem;
	margin-top: 0.5rem;
}
.mt-glance p { margin: 0; }
.mt-glance p + p { margin-top: 0.4rem; }
