/* Nevis is self-hosted (not on Google Fonts); used when the "Modularity" font pair is chosen. */
@font-face { font-family: 'Nevis'; src: url('fonts/Nevis.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }

/* Modularity Maker — generated-site styles. Brand + light/dark surfaces arrive as --mm-* variables. */

body.mm-site { margin: 0; background: var(--mm-bg); color: var(--mm-text); font-family: var(--mm-font-body); -webkit-font-smoothing: antialiased; }
.mm-site h1, .mm-site h2, .mm-site h3, .mm-site h4,
.editor-styles-wrapper .mm-section h1, .editor-styles-wrapper .mm-section h2, .editor-styles-wrapper .mm-section h3,
.editor-styles-wrapper .mm-hero h1 { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); }
.mm-skip { position: absolute; left: -9999px; }
.mm-skip:focus { left: 16px; top: 16px; z-index: 1000; background: var(--mm-bg); color: var(--mm-text); padding: 10px 16px; border-radius: 999px; }

/* ------------------------------------------------------------ header */
.mm-header { position: relative; z-index: 50; background: color-mix(in srgb, var(--mm-bg) 92%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--mm-line); }
.mm-header.is-sticky { position: sticky; top: 0; }
.admin-bar .mm-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .mm-header.is-sticky { top: 0; } }
.mm-header-inner { max-width: 1180px; margin: 0 auto; padding: 14px clamp(20px, 4vw, 48px); display: flex; align-items: center; gap: 28px; box-sizing: content-box; }
.mm-brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--mm-text); flex: none; margin-right: auto; }
.mm-logo-img { height: 44px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.mm-logo-text { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); font-size: 22px; letter-spacing: -.02em; }
.mm-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.mm-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-family: var(--mm-font-body); font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--mm-text); text-decoration: none; opacity: .78; transition: opacity .15s, background .15s; }
.mm-nav a:hover, .mm-nav a.is-current { opacity: 1; background: color-mix(in srgb, var(--mm-text) 7%, transparent); }
.mm-header-cta, .mm-mobile-panel .mm-header-cta {
	display: inline-flex; align-items: center; padding: 11px 22px; border-radius: var(--mm-btn-radius, 999px); background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important;
	font-family: var(--mm-font-body); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s; flex: none;
}
.mm-header-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.mm-burger { display: none; position: relative; }
.mm-burger summary { list-style: none; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; background: color-mix(in srgb, var(--mm-text) 7%, transparent); }
.mm-burger summary::-webkit-details-marker { display: none; }
.mm-burger summary span, .mm-burger summary span::before, .mm-burger summary span::after { display: block; width: 18px; height: 2px; background: var(--mm-text); border-radius: 2px; position: relative; transition: transform .2s; }
.mm-burger summary span::before, .mm-burger summary span::after { content: ""; position: absolute; left: 0; }
.mm-burger summary span::before { top: -6px; } .mm-burger summary span::after { top: 6px; }
.mm-burger[open] summary span { background: transparent; }
.mm-burger[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.mm-burger[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.mm-mobile-panel { position: absolute; right: 0; top: 54px; width: min(86vw, 320px); background: var(--mm-bg); color: var(--mm-text); border: 1px solid var(--mm-line); border-radius: 20px; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.mm-mobile-panel ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mm-mobile-panel a:not(.mm-header-cta) { display: block; padding: 12px 14px; border-radius: 12px; color: var(--mm-text); text-decoration: none; font-weight: 600; font-family: var(--mm-font-body); }
.mm-mobile-panel a:not(.mm-header-cta):hover { background: color-mix(in srgb, var(--mm-text) 7%, transparent); }
.mm-mobile-panel .mm-header-cta { display: flex; justify-content: center; }
@media (max-width: 860px) {
	.mm-nav, .mm-header-inner > .mm-header-cta { display: none; }
	.mm-burger { display: block; }
}

/* ------------------------------------------------------------ footer */
.mm-footer { background: var(--mm-bg-deep); color: rgba(255,255,255,.78); font-family: var(--mm-font-body); font-size: 15px; }
.mm-footer-inner { max-width: 1180px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 48px) 40px; display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; box-sizing: content-box; }
.mm-footer .mm-brand { color: #fff; margin: 0 0 14px; }
.mm-footer .mm-logo-img { height: 40px; }
.mm-footer-brand p { margin: 0 0 18px; max-width: 34ch; }
.mm-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px; font-family: var(--mm-font-body); font-weight: 700; }
.mm-footer ul { list-style: none; margin: 0; padding: 0; }
.mm-footer-col li { margin: 0 0 10px; line-height: 1.5; }
.mm-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.mm-footer a:hover { color: #fff; }
.mm-footer-bottom { max-width: 1180px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .8; box-sizing: content-box; }
.mm-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mm-social-row a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; transition: background .15s, transform .15s; }
.mm-social-row a:hover { background: var(--mm-primary); color: var(--mm-on-primary); transform: translateY(-2px); }
.mm-social-row svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 781px) { .mm-footer-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; } }

/* ------------------------------------------------------------ canvas */
.mm-main { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.mm-canvas, .mm-main > .mm-canvas { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.mm-canvas > .mm-section, .mm-canvas > .wp-block-cover.mm-hero,
.editor-styles-wrapper .is-root-container > .mm-section,
.editor-styles-wrapper .is-root-container > .mm-hero { margin-top: 0 !important; margin-bottom: 0 !important; }
.mm-canvas > .alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

/* Section shell */
.mm-section, .wp-block-cover.mm-hero {
	--mm-pad-y: clamp(72px, 9vw, 128px);
	padding: var(--mm-pad-y) clamp(20px, 4vw, 48px) !important;
	box-sizing: border-box; font-family: var(--mm-font-body); font-size: clamp(16px, 1.1vw, 18px); line-height: 1.65;
}
.mm-section > *, .wp-block-cover.mm-hero > .wp-block-cover__inner-container > * { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; }
.mm-section > * + * { margin-top: clamp(32px, 4vw, 52px); }
.mm-section h1, .mm-section h2, .mm-section h3, .mm-hero h1 { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; color: inherit; }
.mm-section h2 { font-size: clamp(32px, 3.8vw, 52px); }
.mm-section h3 { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -.01em; line-height: 1.25; }
.mm-section p { margin: 0 0 1em; }

.mm-bg-white   { background: var(--mm-bg); color: var(--mm-text); }
.mm-bg-light   { background: var(--mm-bg-alt); color: var(--mm-text); }
.mm-bg-dark    { background: var(--mm-bg-deep); color: #fff; }
.mm-bg-primary { background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary); }
.mm-section a:not(.wp-element-button) { color: inherit; text-decoration-color: var(--mm-primary-text); text-underline-offset: 3px; }

.mm-eyebrow { font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mm-primary-text); margin-bottom: .9em !important; }
.mm-bg-dark .mm-eyebrow, .mm-hero.wp-block-cover .mm-eyebrow, .mm-hero--plain .mm-eyebrow { color: var(--mm-accent); }
.mm-bg-primary .mm-eyebrow { color: inherit; opacity: .8; }
.mm-lead { font-size: 1.2em; opacity: .8; }
.mm-center { text-align: center; }
.mm-intro.mm-center { max-width: 760px !important; }
.mm-intro.mm-center > * { margin-left: auto; margin-right: auto; }
.mm-narrow { max-width: 820px !important; }
.mm-body { max-width: 760px !important; }

/* Buttons — always pill-shaped */
.mm-section .wp-block-button__link, .mm-hero .wp-block-button__link, .mm-section .mm-form-submit {
	background: var(--mm-grad, var(--mm-primary)); background-origin: border-box; color: var(--mm-on-primary); border: 2px solid transparent; border-radius: var(--mm-btn-radius, 999px);
	padding: .9em 1.8em; font-weight: 700; font-family: var(--mm-font-body); font-size: 16px; letter-spacing: -.005em;
	text-decoration: none; transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.mm-section .wp-block-button__link:hover, .mm-hero .wp-block-button__link:hover, .mm-section .mm-form-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
.mm-section .is-style-outline .wp-block-button__link, .mm-hero .is-style-outline .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }
.mm-bg-primary .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--mm-dark); border-color: var(--mm-dark); color: #fff; }
.mm-section .wp-block-buttons, .mm-hero .wp-block-buttons { gap: 12px; margin-top: 1.6em; }

/* ------------------------------------------------------------ heroes */
.wp-block-cover.mm-hero { color: #fff; align-items: center; }
.mm-hero--impact.wp-block-cover, .mm-hero--centered.wp-block-cover { min-height: min(88vh, 780px); }
.mm-hero--compact.wp-block-cover { min-height: 380px; --mm-pad-y: clamp(64px, 7vw, 96px); }
.mm-hero--plain { min-height: min(70vh, 620px); display: flex; flex-direction: column; justify-content: center;
	background: radial-gradient(1100px 520px at 85% -10%, color-mix(in srgb, var(--mm-primary) 45%, transparent), transparent 60%), var(--mm-bg-deep) !important; color: #fff; }
.mm-hero--compact.mm-hero--plain { min-height: 340px; }
.mm-hero .wp-block-cover__inner-container { width: 100%; }
.mm-hero-inner { width: 100%; }
.mm-hero-inner:not(.mm-center) > * { margin-left: 0 !important; margin-right: 0 !important; }
.mm-hero-inner.mm-center > * { margin-left: auto !important; margin-right: auto !important; }
.mm-hero .mm-hero-title { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; margin-bottom: .35em; }
.mm-hero--compact .mm-hero-title { font-size: clamp(36px, 4.6vw, 60px); }
.mm-hero.wp-block-cover .mm-hero-title, .mm-hero--plain .mm-hero-title { color: #fff; }
.mm-hero .mm-lead { max-width: 58ch; font-size: clamp(18px, 1.5vw, 21px); }

/* Split */
.mm-hero--split { min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.mm-hero-split { align-items: center !important; }
.mm-hero--split .mm-hero-title { font-size: clamp(40px, 5vw, 72px); }
.mm-img--hero img { aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: calc(var(--mm-radius) * 1.6) !important; }

/* Editorial */
.mm-hero--editorial { padding-bottom: clamp(40px, 5vw, 72px) !important; }
.mm-hero--editorial .mm-hero-title { font-size: clamp(44px, 7.4vw, 104px); max-width: 14ch; }
.mm-img--wide { max-width: 1180px !important; }
.mm-img--wide img { aspect-ratio: 21 / 9; object-fit: cover; border-radius: calc(var(--mm-radius) * 1.6) !important; width: 100%; }

/* ------------------------------------------------------------ cards */
.mm-grid { gap: clamp(16px, 2.4vw, 28px) !important; margin-bottom: clamp(16px, 2.4vw, 28px) !important; }
.mm-grid > .wp-block-column { display: flex; }
.mm-card {
	flex: 1; background: var(--mm-card); color: var(--mm-text); border-radius: var(--mm-radius); overflow: hidden;
	box-shadow: inset 0 3px 0 var(--mm-primary), inset 0 0 0 1px var(--mm-line), var(--mm-shadow);
	padding: clamp(24px, 2.6vw, 36px) !important;
}
.mm-bg-white .mm-card { background: var(--mm-card-alt); }
.mm-card > * { margin-top: 0 !important; }
.mm-card p:last-child { margin-bottom: 0; }
.mm-card p { opacity: .85; }
.mm-card-meta, .mm-step { font-weight: 800; color: var(--mm-primary-text); font-size: 13px !important; letter-spacing: .1em; text-transform: uppercase; opacity: 1 !important; }
.mm-step { font-family: var(--mm-font-heading); font-size: 34px !important; letter-spacing: -.02em; line-height: 1; margin-bottom: .45em !important; }

.mm-stats .mm-card { background: transparent; box-shadow: none; text-align: center; color: #fff; padding: 0 !important; }
.mm-stat-value { font-family: var(--mm-font-heading); font-size: clamp(42px, 5vw, 66px) !important; font-weight: var(--mm-heading-weight); letter-spacing: -.03em; line-height: 1; color: var(--mm-accent); margin-bottom: .3em !important; opacity: 1 !important; }
.mm-stat-label { opacity: .75; }

.mm-testimonials .mm-card { box-shadow: inset 0 0 0 1px var(--mm-line), var(--mm-shadow); }
.mm-quote { font-size: 1.08em; opacity: 1 !important; }
.mm-cite { font-weight: 700; color: var(--mm-primary-text); opacity: 1 !important; }

.mm-pricing .mm-card { display: flex; flex-direction: column; }
.mm-price { font-family: var(--mm-font-heading); font-size: 36px !important; font-weight: var(--mm-heading-weight); letter-spacing: -.02em; color: var(--mm-primary-text); opacity: 1 !important; }
.mm-checklist { list-style: none; padding: 0 !important; margin: 0 0 1.5em !important; flex: 1; }
.mm-checklist li { padding: .5em 0 .5em 1.8em; position: relative; border-bottom: 1px solid var(--mm-line); }
.mm-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--mm-primary-text); font-weight: 800; }

/* About / split */
.mm-split { gap: clamp(28px, 5vw, 72px) !important; align-items: center !important; }
.mm-img img { border-radius: var(--mm-radius); width: 100%; height: auto; display: block; box-shadow: var(--mm-shadow); }
.mm-img--feature img { aspect-ratio: 4 / 3.2; object-fit: cover; }

/* FAQ */
.mm-faq-item { background: var(--mm-card); border-radius: var(--mm-radius); padding: 18px 24px; margin: 0 0 12px !important; box-shadow: inset 0 0 0 1px var(--mm-line); }
.mm-bg-white .mm-faq-item { background: var(--mm-card-alt); }
.mm-faq-item summary { font-weight: 700; cursor: pointer; font-size: 1.05em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.mm-faq-item summary::-webkit-details-marker { display: none; }
.mm-faq-item summary::after { content: "+"; color: var(--mm-primary-text); font-size: 1.4em; line-height: 1; transition: transform .2s; }
.mm-faq-item[open] summary::after { transform: rotate(45deg); }
.mm-faq-item > p { margin: 12px 0 0 !important; opacity: .82; }

.mm-gallery img { border-radius: var(--mm-radius); }
.mm-cta h2 { font-size: clamp(34px, 4.6vw, 58px); }

/* Contact */
.mm-contact-line { margin-bottom: 1.1em !important; }
.mm-contact-line strong { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-primary-text); }
.mm-contact-line a { font-size: 1.1em; }
.mm-social { gap: 10px !important; margin-top: 1.5em !important; }
.mm-social .wp-social-link { background: var(--mm-primary) !important; color: var(--mm-on-primary) !important; }

.mm-form p { margin: 0 0 16px; }
.mm-form label { display: block; font-weight: 600; font-size: 14px; }
.mm-form input, .mm-form textarea, .mm-form select {
	display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 13px 16px; font: inherit; font-weight: 400;
	color: var(--mm-text); background: var(--mm-bg); border: 1px solid var(--mm-line); border-radius: min(var(--mm-radius), 14px);
}
.mm-form input:focus, .mm-form textarea:focus, .mm-form select:focus { outline: 2px solid var(--mm-primary); outline-offset: 1px; border-color: transparent; }
.mm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mm-section .mm-form-submit { cursor: pointer; width: 100%; }
.mm-hp { position: absolute !important; left: -9999px !important; }
.mm-form-notice { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.mm-form-ok { background: #e7f8ee; color: #0f5132; }
.mm-form-err { background: #fdecea; color: #842029; }
/* A field to fix after a try that did not go through. */
.mm-form .mm-has-err input, .mm-form .mm-has-err textarea, .mm-form .mm-has-err select { border-color: #d63c3c; box-shadow: 0 0 0 1px #d63c3c; }
.mm-field-err { display: block; margin-top: 6px; font-size: .86em; font-weight: 600; color: #c0392b; }
.mm-bg-dark .mm-field-err { color: #ff9b8f; }

/* ------------------------------------------------------------ section variants (design library) */

/* Features: minimal — no card boxes, a thin brand rule on top */
.mm-v-minimal .mm-card { background: transparent !important; box-shadow: inset 0 2px 0 var(--mm-primary) !important; border-radius: 0; padding: 22px 0 0 !important; }
/* Features: numbered — big step numbers */
.mm-v-numbered .mm-step { font-size: 44px !important; }

/* Services: rows */
.mm-rows { border-top: 1px solid var(--mm-line); }
.mm-row { padding: clamp(20px, 2.6vw, 30px) 0; margin: 0 !important; border-bottom: 1px solid var(--mm-line); gap: clamp(16px, 4vw, 64px) !important; align-items: baseline !important; }
.mm-row > .wp-block-column:first-child { flex: 0 0 38% !important; display: flex; gap: 18px; align-items: baseline; }
.mm-row .mm-step { font-size: 15px !important; margin: 0 !important; opacity: .9; }
.mm-row h3 { margin: 0 !important; }
.mm-row p { margin: 0 0 .4em !important; opacity: .85; }

/* Testimonials: spotlight */
.mm-spotlight { max-width: 900px !important; }
.mm-quote--big { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); font-size: clamp(24px, 3vw, 38px) !important; line-height: 1.25; letter-spacing: -.015em; margin-bottom: .6em !important; }
.mm-spotlight .mm-cite { font-size: 15px; }

/* Process: timeline */
.mm-grid--one { max-width: 640px !important; margin-left: auto !important; margin-right: auto !important; }
.mm-timeline { max-width: 760px !important; position: relative; padding-left: 0; }
.mm-timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--mm-line); }
.mm-timeline > .mm-card { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; background: transparent !important; box-shadow: none !important; padding: 0 0 28px !important; }
.mm-timeline > .mm-card > .mm-step { grid-row: span 2; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important; font-size: 18px !important; margin: 0 !important; position: relative; }
.mm-timeline > .mm-card > h3 { margin: 12px 0 .3em !important; }

/* Stats: light */
.mm-stats.mm-v-light .mm-card { color: var(--mm-text); }
.mm-stats.mm-v-light .mm-stat-value { color: var(--mm-primary-text); }

/* FAQ: two columns */
.mm-faq-cols { gap: 16px !important; }

/* Gallery: mosaic — first photo large */
.mm-v-mosaic .mm-gallery.wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 12px !important; }
.mm-v-mosaic .mm-gallery.wp-block-gallery > figure { width: 100% !important; margin: 0 !important; height: 100%; }
.mm-v-mosaic .mm-gallery.wp-block-gallery > figure:first-child { grid-column: span 2; grid-row: span 2; }
.mm-v-mosaic .mm-gallery.wp-block-gallery > figure img { height: 100% !important; object-fit: cover; }

/* CTA: card and split */
.mm-cta-card { color: var(--mm-on-primary); border-radius: calc(var(--mm-radius) * 1.5); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px) !important; box-shadow: var(--mm-shadow); background: radial-gradient(600px 300px at 90% 0, color-mix(in srgb, #fff 18%, transparent), transparent 70%), var(--mm-grad, var(--mm-primary)); }
.mm-cta-card .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--mm-dark); border-color: var(--mm-dark); color: #fff; }
.mm-cta-split { align-items: center !important; gap: 32px !important; }
.mm-cta-split > .wp-block-column:last-child { flex: 0 0 auto !important; }
.mm-cta-split h2 { margin-bottom: .2em !important; }
.mm-cta-split .wp-block-buttons { margin: 0 !important; justify-content: flex-end; }

/* ------------------------------------------------------------ v1.3 header layouts */
/* Covers used as sections keep their photo/overlay full-bleed. */
.wp-block-cover.mm-section > .wp-block-cover__background,
.wp-block-cover.mm-section > .wp-block-cover__image-background,
.wp-block-cover.mm-hero > .wp-block-cover__background,
.wp-block-cover.mm-hero > .wp-block-cover__image-background { max-width: none !important; margin: 0 !important; }
.wp-block-cover.mm-section { color: #fff; }
.wp-block-cover.mm-section > .wp-block-cover__inner-container { width: 100%; }

.mm-hero--banner.wp-block-cover { min-height: min(62vh, 560px); align-items: flex-end; }
.mm-hero--banner .mm-hero-title { font-size: clamp(38px, 5.4vw, 72px); }

.mm-hero--split-left, .mm-hero--framed, .mm-hero--collage, .mm-hero--overlap { min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.mm-hero--split-left .mm-hero-title, .mm-hero--framed .mm-hero-title, .mm-hero--collage .mm-hero-title { font-size: clamp(40px, 5vw, 70px); }

.mm-hero--framed .mm-img--hero { position: relative; }
.mm-hero--framed .mm-img--hero img { border-radius: 0 !important; box-shadow: 18px 18px 0 var(--mm-primary) !important; aspect-ratio: 4 / 4.6; }

.mm-collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 42vw, 560px); }
.mm-collage > figure { margin: 0 !important; height: 100%; }
.mm-collage > figure img { width: 100%; height: 100% !important; object-fit: cover; border-radius: var(--mm-radius); }
.mm-collage > .mm-collage-1 { grid-row: span 2; }

.mm-overlap { align-items: center !important; gap: 0 !important; }
.mm-overlap > .wp-block-column:first-child { position: relative; z-index: 2; margin-right: -12%; }
.mm-overlap-card { background: var(--mm-card); color: var(--mm-text); border-radius: calc(var(--mm-radius) * 1.4); padding: clamp(28px, 4vw, 52px) !important; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.mm-overlap .mm-img--hero img { aspect-ratio: 4 / 4.2; }

.mm-hero--boxed { padding-top: clamp(24px, 3vw, 40px) !important; }
.mm-hero-box.wp-block-cover { border-radius: calc(var(--mm-radius) * 1.8); overflow: hidden; min-height: min(72vh, 640px); padding: clamp(40px, 6vw, 88px) !important; color: #fff; }
.mm-hero-box .mm-hero-title { color: #fff; margin-left: auto !important; margin-right: auto !important; }

.mm-hero--minimal { min-height: min(78vh, 700px); display: flex; flex-direction: column; justify-content: center;
	background: radial-gradient(900px 480px at 100% 0, color-mix(in srgb, var(--mm-primary) 22%, transparent), transparent 65%), var(--mm-bg-alt) !important; }
.mm-hero--minimal .mm-hero-title { font-size: clamp(48px, 8.5vw, 124px); max-width: 13ch; line-height: .98; }

.mm-hero--stacked { padding-bottom: 0 !important; }
.mm-hero--stacked .mm-hero-title { color: var(--mm-on-primary); }
.mm-hero--stacked .mm-eyebrow { color: inherit !important; opacity: .8; }
.mm-hero--stacked .is-style-outline .wp-block-button__link { color: var(--mm-on-primary) !important; }
.mm-hero--stacked .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--mm-dark); border-color: var(--mm-dark); color: #fff; }
.mm-img--lift { margin-bottom: calc(var(--mm-pad-y) * -0.6) !important; position: relative; z-index: 2; }
.mm-img--lift img { box-shadow: 0 30px 80px rgba(0,0,0,.25) !important; }
.mm-hero--stacked + .mm-section { padding-top: calc(var(--mm-pad-y) * 1.4) !important; }

/* ------------------------------------------------------------ v1.3 section layouts */
.mm-card--photo { padding: 0 !important; display: flex; flex-direction: column; }
.mm-card--photo > * { padding-left: clamp(22px, 2.4vw, 30px); padding-right: clamp(22px, 2.4vw, 30px); }
.mm-card--photo > .mm-card-img { padding: 0; margin: 0 0 18px !important; }
.mm-card--photo > .mm-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.mm-card--photo > :last-child { padding-bottom: clamp(22px, 2.4vw, 30px); }
.mm-more { font-weight: 700; font-size: 15px; }
.mm-more a { color: var(--mm-primary-text) !important; text-decoration: none !important; }

.mm-img--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.mm-feature-row { padding: 16px 0; border-bottom: 1px solid var(--mm-line); }
.mm-feature-row h3 { margin-bottom: .25em !important; }
.mm-feature-row p { margin: 0 !important; opacity: .85; }

.mm-v-icons .mm-card { background: transparent !important; box-shadow: none !important; padding: 0 0 0 44px !important; position: relative; }
.mm-v-icons .mm-card::before { content: "✓"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--mm-primary) 16%, transparent); color: var(--mm-primary-text); font-weight: 800; font-size: 15px; }

.mm-duo { position: relative; height: clamp(360px, 40vw, 520px); }
.mm-duo > figure { position: absolute; margin: 0 !important; }
.mm-duo > .mm-duo-1 { inset: 0 22% 18% 0; }
.mm-duo > .mm-duo-2 { inset: 38% 0 0 38%; }
.mm-duo > figure img { width: 100%; height: 100% !important; object-fit: cover; box-shadow: var(--mm-shadow); border: 6px solid var(--mm-bg); }

.mm-testimonials.mm-bg-dark .mm-quote--big { color: #fff; }
.mm-v-band .mm-spotlight { max-width: 980px !important; }

.mm-v-steps .mm-grid { position: relative; }
.mm-v-steps .mm-card { background: transparent !important; box-shadow: none !important; text-align: center; padding: 0 8px !important; }
.mm-v-steps .mm-card .mm-step { width: 64px; height: 64px; margin: 0 auto 16px !important; border-radius: 999px; display: grid; place-items: center; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important; font-size: 20px !important; }

.mm-stats.mm-v-photo .mm-card { background: transparent !important; box-shadow: none !important; text-align: center; color: #fff; }
.mm-stats.mm-v-photo .mm-stat-value { color: #fff; }
.mm-cta.mm-v-photo.wp-block-cover { min-height: 420px; }
.mm-cta.mm-v-photo h2 { color: #fff; }

.mm-faq-split { gap: clamp(28px, 5vw, 72px) !important; }
.mm-faq-split > .wp-block-column:first-child { flex: 0 0 34% !important; }
.mm-faq-split .mm-intro { text-align: left; }

.mm-v-strip .mm-gallery.wp-block-gallery { display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 8px !important; max-width: none !important; }
.mm-v-strip .mm-gallery.wp-block-gallery > figure { width: 100% !important; margin: 0 !important; }
.mm-v-strip .mm-gallery.wp-block-gallery > figure img { aspect-ratio: 3 / 4; height: auto !important; object-fit: cover; }

.mm-v-highlight .mm-grid > .wp-block-column:nth-child(2) .mm-card { background: var(--mm-grad, var(--mm-primary)) !important; color: var(--mm-on-primary); transform: scale(1.04); box-shadow: 0 24px 60px rgba(0,0,0,.2) !important; }
.mm-v-highlight .mm-grid > .wp-block-column:nth-child(2) .mm-card .mm-price,
.mm-v-highlight .mm-grid > .wp-block-column:nth-child(2) .mm-card .mm-checklist li::before { color: inherit; }
.mm-v-highlight .mm-grid > .wp-block-column:nth-child(2) .wp-block-button__link { background: var(--mm-dark); border-color: var(--mm-dark); color: #fff; }
/* The badge sits on the brand-colored card, so it is always a white pill with dark text (brand-on-brand was unreadable). */
.mm-v-highlight .mm-grid > .wp-block-column:nth-child(2) .mm-card .mm-badge { background: #fff !important; color: var(--mm-dark) !important; box-shadow: 0 2px 8px rgba(0,0,0,.18); }

@media (max-width: 781px) {
	.mm-overlap > .wp-block-column:first-child { margin-right: 0; }
	.mm-collage { height: 320px; }
	.mm-v-strip .mm-gallery.wp-block-gallery { grid-template-columns: repeat(3, 1fr); }
	.mm-faq-split > .wp-block-column:first-child { flex-basis: 100% !important; }
	.mm-v-highlight .mm-grid > .wp-block-column:nth-child(2) .mm-card { transform: none; }
}

/* ------------------------------------------------------------ features */
.mm-map { margin-top: clamp(32px, 4vw, 52px); border-radius: var(--mm-radius); overflow: hidden; box-shadow: var(--mm-shadow); line-height: 0; }
.mm-map iframe { width: 100%; height: 380px; border: 0; }
.mm-feature-page { min-height: 40vh; }
/* Feature pages (Book, Portfolio, Events, Shop…): a slim header in the design's own tones, so the page's content (the
   calendar, the projects) starts near the top instead of below a second hero. Same look as the blog header. */
.mm-hero--compact.mm-hero--plain { --mm-pad-y: clamp(30px, 4vw, 50px); min-height: 0; display: block; position: relative;
	background: linear-gradient(90deg, color-mix(in srgb, var(--mm-primary) 9%, transparent), transparent 70%), var(--mm-bg-alt) !important; color: var(--mm-text);
	border-bottom: 1px solid color-mix(in srgb, var(--mm-text) 10%, transparent); }
.mm-hero--compact.mm-hero--plain .mm-hero-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: var(--mm-text); max-width: 28ch; margin-bottom: .3em; }
.mm-hero--compact.mm-hero--plain .mm-lead { font-size: clamp(16px, 1.2vw, 18px); opacity: .85; max-width: 62ch; margin-bottom: 0; }
.mm-hero--compact.mm-hero--plain .mm-eyebrow { color: var(--mm-primary); }
.mm-hero--compact.mm-hero--plain + .mm-feature-page, .mm-feature-page { --mm-pad-y: clamp(28px, 3.5vw, 52px); min-height: 0; }
.mm-call-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: var(--mm-btn-radius, 999px); background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important; font-family: var(--mm-font-body); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .15s; }
.mm-call-fab:hover { transform: translateY(-2px); }
.mm-call-fab svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 781px) {
	.mm-form-row { grid-template-columns: 1fr; }
	.mm-grid > .wp-block-column { flex-basis: 100% !important; }
	.mm-img--hero img { aspect-ratio: 4 / 3; }
	.mm-row > .wp-block-column:first-child { flex-basis: 100% !important; }
	.mm-v-mosaic .mm-gallery.wp-block-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.mm-cta-split .wp-block-buttons { justify-content: flex-start; }
	.mm-call-fab span { display: none; }
	.mm-call-fab { padding: 16px; }
}

/* Reviews: stars, initial avatar, reviewer line. */
.mm-stars { color: #F5B301; letter-spacing: 2px; font-size: 18px !important; margin: 0 0 .5em !important; line-height: 1; opacity: 1 !important; }
.mm-stars .screen-reader-text, .mm-section .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mm-reviewer { display: flex !important; align-items: center; gap: 12px; margin-top: auto !important; padding-top: 1em; }
.mm-reviewer > * { margin: 0 !important; }
.mm-spotlight .mm-reviewer { justify-content: center; }
.mm-avatar { flex: none; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important; font-family: var(--mm-font-heading); font-weight: 700; font-size: 17px !important; opacity: 1 !important; }
.mm-review { display: flex; flex-direction: column; }
.mm-testimonials.mm-bg-dark .mm-spotlight .mm-cite { color: #fff; }
.mm-testimonials.mm-bg-dark .mm-card .mm-cite { color: var(--mm-primary-text); }

/* Pricing: "Most popular" badge, amount + period. */
.mm-badge { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--mm-accent); color: var(--mm-dark) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .8em !important; opacity: 1 !important; }
.mm-price .mm-price-per { font-family: var(--mm-font-body); font-size: 16px; font-weight: 500; opacity: .75; letter-spacing: 0; }
.mm-price .mm-price-text { font-size: 24px; }

/* Gallery: photos open in the lightbox; hint that they are clickable. */
.mm-gallery figure { overflow: hidden; border-radius: var(--mm-radius); }
.mm-gallery figure img { transition: transform .35s ease; }
.mm-gallery figure:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------------ store */
/* Header cart button (WooCommerce link with live count, or SureCart's cart icon). */
.mm-cart { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; color: var(--mm-text) !important; text-decoration: none; flex: none; transition: background .15s; }
.mm-cart:hover { background: color-mix(in srgb, var(--mm-text) 8%, transparent); }
.mm-cart svg { width: 22px; height: 22px; }
.mm-cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary); font: 700 11px/18px var(--mm-font-body); text-align: center; }
.mm-cart-count.is-empty { display: none; }
.mm-cart--sc { width: auto; }

/* WooCommerce inside the Modularity layout. */
.mm-shop { max-width: 1180px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) 24px; font-family: var(--mm-font-body); color: var(--mm-text); }
.mm-site .woocommerce-products-header__title, .mm-site .product_title, .mm-site .woocommerce h2 { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); letter-spacing: -.02em; }
.mm-site .woocommerce-products-header__title { font-size: clamp(32px, 4vw, 48px); margin: 0 0 24px; }
.mm-site .woocommerce ul.products li.product { background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 14px 14px 20px; box-shadow: var(--mm-shadow); text-align: left; }
.mm-site .woocommerce ul.products li.product a img { border-radius: calc(var(--mm-radius) * .7); margin-bottom: 14px; aspect-ratio: 1; object-fit: cover; }
.mm-site .woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--mm-font-heading); font-size: 17px; color: var(--mm-text); padding: 0; }
.mm-site .woocommerce .price, .mm-site .woocommerce ul.products li.product .price, .mm-site .woocommerce div.product p.price { color: var(--mm-primary-text) !important; font-weight: 700; font-size: 18px; }
.mm-site .woocommerce a.button, .mm-site .woocommerce button.button, .mm-site .woocommerce input.button, .mm-site .woocommerce #respond input#submit,
.mm-site .woocommerce a.button.alt, .mm-site .woocommerce button.button.alt, .mm-site .wc-block-components-button:not(.is-link) {
	background: var(--mm-grad, var(--mm-primary)) !important; color: var(--mm-on-primary) !important; border: 0 !important; border-radius: var(--mm-btn-radius, 999px) !important;
	padding: .8em 1.5em !important; font-family: var(--mm-font-body); font-weight: 700; transition: filter .15s, transform .15s;
}
.mm-site .woocommerce a.button:hover, .mm-site .woocommerce button.button:hover, .mm-site .wc-block-components-button:not(.is-link):hover { filter: brightness(1.08); transform: translateY(-1px); }
.mm-site .woocommerce span.onsale { background: var(--mm-accent); color: var(--mm-dark); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.6; font-weight: 700; }
.mm-site .woocommerce div.product div.images img { border-radius: var(--mm-radius); }
.mm-site .woocommerce-message, .mm-site .woocommerce-info { border-top-color: var(--mm-primary); background: var(--mm-bg-alt); color: var(--mm-text); }
.mm-site .woocommerce-message::before, .mm-site .woocommerce-info::before { color: var(--mm-primary); }
.mm-site .woocommerce .quantity .qty, .mm-site .woocommerce form .form-row input.input-text, .mm-site .woocommerce form .form-row textarea { border: 1px solid var(--mm-line); border-radius: 10px; padding: .6em .8em; background: var(--mm-card); color: var(--mm-text); }
.mm-site .woocommerce-breadcrumb, .mm-site .woocommerce-result-count { color: color-mix(in srgb, var(--mm-text) 60%, transparent) !important; }
.mm-site .woocommerce-breadcrumb a { color: var(--mm-primary-text) !important; }
/* Cart / checkout / account pages rendered from the canvas. */
.mm-canvas > .woocommerce, .mm-canvas > .wp-block-woocommerce-cart, .mm-canvas > .wp-block-woocommerce-checkout, .mm-canvas > .wc-block-cart, .mm-canvas > .wc-block-checkout { max-width: 1180px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) 24px; }

/* "Popular products" homepage section (WooCommerce shortcode grid). */
.mm-products .woocommerce { margin: 8px 0 28px; }
.mm-products .woocommerce ul.products { margin-bottom: 0; }

/* WooCommerce's ".woocommerce img { height: auto }" must not resize the Modularity header/footer. */
.mm-site .mm-header img.mm-logo-img { height: 44px !important; width: auto !important; max-width: 200px !important; }
.mm-site .mm-footer img.mm-logo-img { height: 40px !important; }
.mm-site .mm-header svg, .mm-site .mm-footer svg { max-width: none; }

/* Content on a Modularity page that isn't a Modularity section (plugin pages such as SureCart's
   shop, checkout or dashboard, or blocks added by hand) gets the site width and breathing room. */
.mm-canvas > :not([class^="mm-"]):not([class*=" mm-"]):not(.alignfull):not(script):not(style) { box-sizing: border-box; max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; }
.mm-canvas > :first-child:not([class^="mm-"]):not([class*=" mm-"]) { margin-top: clamp(32px, 5vw, 64px); }
.mm-canvas > :last-child:not([class^="mm-"]):not([class*=" mm-"]) { margin-bottom: clamp(32px, 5vw, 64px); }
.mm-shop-page .mm-intro h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 8px; }

/* Google reviews (Settings → Reviews): rating summary beside the latest reviews. */
.mm-greviews { padding: clamp(56px, 7vw, 96px) 24px clamp(40px, 5vw, 64px); }
.mm-greviews-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.mm-greviews-summary { position: sticky; top: 96px; background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: calc(var(--mm-radius) * 1.2); padding: 28px; box-shadow: var(--mm-shadow); }
.mm-greviews-summary > p { margin: 0 0 8px; }
.mm-greviews-score { display: flex; align-items: center; gap: 12px; }
.mm-greviews-score b { font-family: var(--mm-font-heading); font-size: 56px; line-height: 1; font-weight: var(--mm-heading-weight); color: var(--mm-text); }
.mm-greviews-score .mm-stars-row { font-size: 22px; }
.mm-greviews-count { color: color-mix(in srgb, var(--mm-text) 65%, transparent); font-size: 15px; }
.mm-greviews-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.mm-greviews-btn { display: inline-block; text-align: center; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important; border-radius: var(--mm-btn-radius, 999px); padding: .8em 1.4em; font-weight: 700; text-decoration: none; }
.mm-greviews-link { color: var(--mm-primary-text) !important; font-weight: 600; font-size: 14px; text-align: center; }
.mm-greviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mm-greview { background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 22px; box-shadow: var(--mm-shadow); display: flex; flex-direction: column; gap: 10px; }
.mm-greview-head { display: flex; align-items: center; gap: 12px; }
.mm-greview-head > div { flex: 1; min-width: 0; }
.mm-greview-head b { display: block; font-size: 15px; color: var(--mm-text); }
.mm-greview-head b a { color: inherit; text-decoration: none; }
.mm-greview-head small { color: color-mix(in srgb, var(--mm-text) 55%, transparent); font-size: 13px; }
.mm-greview-photo { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; flex: none; }
.mm-greview .mm-stars { margin: 0 !important; }
.mm-greview-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mm-text); }
.mm-stars-row { color: #F5B301; letter-spacing: 1px; }
.mm-stars-off { color: color-mix(in srgb, var(--mm-text) 18%, transparent); }
.mm-greviews-attr { max-width: 1180px; margin: 22px auto 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: color-mix(in srgb, var(--mm-text) 55%, transparent); }
@media (max-width: 900px) {
	.mm-greviews-inner { grid-template-columns: 1fr; }
	.mm-greviews-summary { position: static; }
	.mm-greviews-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- business-type starters */
/* Menu: dish ···· price */
.mm-menu:not(.mm-section) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 56px; max-width: 1000px; margin: 8px auto 28px !important; }
.mm-menu-item { padding: 16px 0; border-bottom: 1px dashed var(--mm-line); }
.mm-menu-line { display: flex !important; align-items: baseline; gap: 10px; }
.mm-menu-line > * { margin: 0 !important; }
.mm-menu-name { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); font-size: 18px !important; color: var(--mm-text); }
.mm-menu-line::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--mm-text) 25%, transparent); transform: translateY(-4px); }
.mm-menu-price { order: 2; font-weight: 700; color: var(--mm-primary-text); font-size: 17px !important; opacity: 1 !important; }
.mm-menu-desc { margin: 6px 0 0 !important; font-size: 15px !important; color: color-mix(in srgb, var(--mm-text) 70%, transparent); }
/* Team */
.mm-person { display: flex; flex-direction: column; align-items: center; }
.mm-avatar--lg { width: 88px !important; height: 88px !important; font-size: 34px !important; margin: 0 auto 14px !important; }
/* Listings */
.mm-listing .mm-price { font-size: 26px !important; margin: 12px 0 2px !important; }
.mm-listing-facts { font-size: 14px !important; color: color-mix(in srgb, var(--mm-text) 65%, transparent); letter-spacing: .01em; }
/* Booking: service rows */
.mm-appts { max-width: 960px; margin: 8px auto 0 !important; display: grid; gap: 12px; }
.mm-appt { background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 20px 24px; box-shadow: var(--mm-shadow); align-items: center !important; margin: 0 !important; }
.mm-appt > .wp-block-column:last-child { flex: 0 0 auto !important; display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.mm-appt h3 { margin: 0 0 4px !important; font-size: 19px !important; }
.mm-appt p { margin: 0 !important; }
.mm-appt-meta { font-weight: 700; color: var(--mm-primary-text); white-space: nowrap; opacity: 1 !important; }
.mm-appt .wp-block-buttons { margin: 0 !important; }
@media (max-width: 781px) {
	.mm-menu:not(.mm-section) { grid-template-columns: 1fr; }
	.mm-appt > .wp-block-column:last-child { justify-content: flex-start; }
}

/* Header menu: never wider than the header. Extra links live under "More"; long menus switch to the
   mobile menu earlier so the cart and button always stay on screen. */
.mm-nav { min-width: 0; }
.mm-nav ul { flex-wrap: nowrap; }
.mm-nav a, .mm-more > button { white-space: nowrap; }
.mm-more { position: relative; }
.mm-more > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-family: var(--mm-font-body); font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--mm-text); opacity: .78; }
.mm-more:hover > button, .mm-more:focus-within > button { opacity: 1; background: color-mix(in srgb, var(--mm-text) 7%, transparent); }
.mm-nav .mm-more > ul { display: none; position: absolute; right: 0; top: 100%; min-width: 200px; flex-direction: column; gap: 2px; padding: 8px; margin: 0; background: var(--mm-bg); border: 1px solid var(--mm-line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.18); z-index: 60; }
.mm-nav .mm-more:hover > ul, .mm-nav .mm-more:focus-within > ul { display: flex; }
.mm-nav .mm-more > ul a { border-radius: 10px; padding: 10px 12px; }
@media (max-width: 1120px) {
	.mm-header--long .mm-nav, .mm-header--long .mm-header-inner > .mm-header-cta { display: none; }
	.mm-header--long .mm-burger { display: block; }
}
body.mm-site { overflow-x: clip; }

/* Product page (WooCommerce classic layout inside the Modularity shop). */
.mm-site .woocommerce div.product { display: flow-root; }
.mm-site .woocommerce div.product form.cart { margin: 20px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mm-site .woocommerce div.product form.cart .quantity .qty { width: 72px; height: 48px; text-align: center; }
.mm-site .woocommerce div.product form.cart .button { float: none; }
.mm-site .woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.6; }
.mm-site .woocommerce div.product .product_meta { font-size: 14px; color: color-mix(in srgb, var(--mm-text) 60%, transparent); border-top: 1px solid var(--mm-line); padding-top: 14px; margin-top: 18px; }
.mm-site .woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 32px; }
.mm-site .woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--mm-line); }
.mm-site .woocommerce div.product .woocommerce-tabs ul.tabs::before, .mm-site .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .mm-site .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.mm-site .woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 24px 0 0; padding: 0; }
.mm-site .woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 700; color: color-mix(in srgb, var(--mm-text) 60%, transparent); border-bottom: 3px solid transparent; }
.mm-site .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mm-text); border-bottom-color: var(--mm-primary); }
.mm-site .woocommerce div.product .woocommerce-tabs .panel { font-size: 16px; line-height: 1.7; max-width: 760px; }
.mm-site .woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.mm-site .woocommerce .related.products { clear: both; padding-top: 40px; }
.mm-site .woocommerce .related.products > h2 { font-size: 28px; margin: 0 0 20px; }

/* -------------------------------------------------- dropdowns + mega menu */
.mm-header-inner { position: relative; }
.mm-nav li { position: relative; }
.mm-nav .mm-caret { margin-left: 6px; opacity: .7; transition: transform .15s; vertical-align: middle; }
.mm-nav .mm-has-sub:hover > a .mm-caret, .mm-nav .mm-has-sub:focus-within > a .mm-caret, .mm-nav .mm-has-sub:hover > button .mm-caret { transform: rotate(180deg); }
.mm-nav-btn { display: inline-flex; align-items: center; padding: 8px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-family: var(--mm-font-body); font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--mm-text); opacity: .78; white-space: nowrap; }
.mm-has-sub:hover > .mm-nav-btn, .mm-has-sub:focus-within > .mm-nav-btn { opacity: 1; background: color-mix(in srgb, var(--mm-text) 7%, transparent); }
/* Dropdown (one or two child pages, and the "More" list). */
.mm-nav .mm-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; flex-direction: column; gap: 2px; padding: 8px; margin: 0; list-style: none; background: var(--mm-bg); border: 1px solid var(--mm-line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.18); z-index: 60; }
.mm-nav .mm-more > .mm-sub { left: auto; right: 0; }
.mm-nav .mm-has-sub:hover > .mm-sub, .mm-nav .mm-has-sub:focus-within > .mm-sub { display: flex; }
.mm-nav .mm-sub a { border-radius: 10px; padding: 10px 12px; white-space: normal; }
/* Mega menu (six or more child pages): a panel as wide as the header, links in columns. */
.mm-nav .mm-has-mega { position: static; }
.mm-mega { display: none; position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); top: 100%; padding: 20px; background: var(--mm-bg); border: 1px solid var(--mm-line); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.2); z-index: 60; }
.mm-nav .mm-has-mega:hover > .mm-mega, .mm-nav .mm-has-mega:focus-within > .mm-mega { display: block; }
/* Invisible bridge so the pointer can travel from the link down to the panel. */
.mm-nav .mm-has-sub > a::after, .mm-nav .mm-has-sub > button::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.mm-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mm-mega-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-nav a.mm-mega-link { display: block; padding: 12px 14px; border-radius: 14px; opacity: 1; white-space: normal; }
.mm-nav a.mm-mega-link:hover, .mm-nav a.mm-mega-link.is-current { background: var(--mm-bg-alt); }
.mm-mega-link b { display: block; font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); font-size: 16px; color: var(--mm-text); }
.mm-mega-link small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; line-height: 1.45; color: color-mix(in srgb, var(--mm-text) 62%, transparent); }
.mm-nav a.mm-mega-all { display: inline-block; margin: 12px 0 0 14px; padding: 0; background: none !important; color: var(--mm-primary-text); opacity: 1; font-weight: 700; }
/* Mobile menu: child pages indented under their parent. */
.mm-mobile-sub { list-style: none; margin: 0 0 6px 12px !important; padding: 0 0 0 10px !important; border-left: 2px solid var(--mm-line); }
.mm-mobile-panel .mm-mobile-sub a:not(.mm-header-cta) { padding: 8px 12px; font-weight: 500; font-size: 15px; }
.mm-mobile-panel { max-height: calc(100vh - 110px); overflow-y: auto; }
.mm-mobile-panel .mm-nav-btn { padding: 12px 14px; opacity: 1; }
@media (max-width: 1120px) { .mm-mega-grid, .mm-mega-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Footer credit */
.mm-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mm-credit { opacity: .75; }

/* ---------------------------------------------------------------- alignment
   One content column everywhere: 1180px wide, lined up with the logo and the header button. */
/* Block themes add their own side padding inside covers ("has-global-padding"); the section already has ours. */
.wp-block-cover.mm-hero > .wp-block-cover__inner-container,
.wp-block-cover.mm-section > .wp-block-cover__inner-container { padding-left: 0 !important; padding-right: 0 !important; width: 100%; box-sizing: border-box; }
.mm-section.has-global-padding > .alignfull { margin-left: auto !important; margin-right: auto !important; }
/* Stacked sections share one scheme: a centered heading above full-width content.
   (Side-by-side "split" layouts keep their left-aligned text beside the photo.) */
.mm-section.mm-v-rows > .mm-intro { text-align: center; max-width: 760px; }
.mm-section.mm-v-rows > .wp-block-buttons { justify-content: center; }
.mm-gallery figure.wp-block-gallery { overflow: visible; border-radius: 0; }

/* Dropdown / mega menu hover: the panel stays open while the pointer travels to it.
   - an invisible strip above each panel bridges the gap under the menu link,
   - closing waits a moment, so a diagonal move across the gap doesn't dismiss it. */
.mm-nav .mm-sub, .mm-nav .mm-mega, .mm-nav .mm-more > ul {
	display: flex; visibility: hidden; opacity: 0; pointer-events: none;
	transition: opacity .15s ease, visibility 0s linear .35s;
}
.mm-nav .mm-mega { display: block; }
.mm-nav .mm-has-sub:hover > .mm-sub, .mm-nav .mm-has-sub:focus-within > .mm-sub,
.mm-nav .mm-has-mega:hover > .mm-mega, .mm-nav .mm-has-mega:focus-within > .mm-mega,
.mm-nav .mm-more:hover > ul, .mm-nav .mm-more:focus-within > ul {
	visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s, 0s;
}
/* Keep a just-left panel clickable during its close delay only if the pointer is on it. */
.mm-nav .mm-sub:hover, .mm-nav .mm-mega:hover { visibility: visible; opacity: 1; pointer-events: auto; }
.mm-nav .mm-sub::before, .mm-nav .mm-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 8px; }
.mm-nav .mm-mega::before { height: 18px; } /* The mega panel hangs from the header, 14px below the links. */
.mm-nav .mm-has-sub > a::after, .mm-nav .mm-has-sub > button::after { display: none; }
/* Only one panel at a time: a panel that is closing hides at once when another opens. */
.mm-nav ul:has(> li:hover) > li:not(:hover) > .mm-sub, .mm-nav ul:has(> li:hover) > li:not(:hover) > .mm-mega { visibility: hidden; opacity: 0; transition: none; }

/* Centered blocks stay centered wherever they sit (inside a card, a cover, a column), and so do their buttons. */
.mm-narrow, .mm-intro.mm-center, .mm-spotlight { margin-left: auto !important; margin-right: auto !important; }
.mm-cta-card > * { margin-left: auto !important; margin-right: auto !important; }
.mm-center > .wp-block-buttons, .mm-center .wp-block-buttons { justify-content: center !important; }
.mm-center > .mm-reviewer { justify-content: center; }
/* Service rows: a centered column under the centered heading, instead of spanning the whole width. */
.mm-section > .mm-rows { max-width: 960px; }
.mm-row > .wp-block-column:first-child { flex: 0 0 40% !important; }

/* Service rows: name and description are equal halves, so the gap between them sits on the
   same center line as the section heading above. */
.mm-row { --mm-row-gap: clamp(24px, 4vw, 64px); gap: var(--mm-row-gap) !important; }
.mm-row > .wp-block-column:first-child { flex: 0 0 calc(50% - var(--mm-row-gap) / 2) !important; }
.mm-row > .wp-block-column:last-child { flex: 0 0 calc(50% - var(--mm-row-gap) / 2) !important; }
@media (max-width: 781px) { .mm-row > .wp-block-column:first-child, .mm-row > .wp-block-column:last-child { flex: 1 1 100% !important; } }

/* Service rows mirror each other: the name starts at the left edge, the description ends at the right edge. */
.mm-row > .wp-block-column:last-child { text-align: right; }
@media (max-width: 781px) { .mm-row > .wp-block-column:last-child { text-align: left; } }

/* Service rows, brought in: a narrower block, with the text inset equally from both ends of the divider lines. */
.mm-section > .mm-rows { max-width: 880px; }
.mm-row { padding-left: clamp(12px, 2.4vw, 32px) !important; padding-right: clamp(12px, 2.4vw, 32px) !important; }

/* Medium menu (three to five child pages): a panel centered under its link, titles with a line of description. */
.mm-nav .mm-mid { position: absolute; left: 50%; transform: translateX(calc(-50% + var(--mm-mid-shift, 0px))); top: 100%; width: 340px; max-width: calc(100vw - 40px); padding: 10px; background: var(--mm-bg); border: 1px solid var(--mm-line); border-radius: 18px; box-shadow: 0 26px 70px rgba(0,0,0,.19); z-index: 60;
	display: block; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .15s ease, visibility 0s linear .35s; }
.mm-nav .mm-mid--2 { width: 580px; }
.mm-mid-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.mm-mid--2 .mm-mid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mm-nav .mm-mid a.mm-mega-link { padding: 10px 12px; border-radius: 12px; }
.mm-nav .mm-mid .mm-mega-link b { font-size: 15px; }
.mm-nav .mm-mid a.mm-mega-all { margin: 8px 0 4px 12px; font-size: 14px; }
.mm-nav .mm-has-mid:hover > .mm-mid, .mm-nav .mm-has-mid:focus-within > .mm-mid, .mm-nav .mm-mid:hover { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s, 0s; }
.mm-nav .mm-mid::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.mm-nav ul:has(> li:hover) > li:not(:hover) > .mm-mid { visibility: hidden; opacity: 0; transition: none; }

/* Booking calendar ([modularity_booking]) */
.mm-booking { padding: clamp(40px, 6vw, 80px) 24px; scroll-margin-top: 96px; }
.mm-booking-inner { max-width: 1180px; margin: 0 auto; }
.mm-booking-frame { border: 1px solid var(--mm-line); border-radius: calc(var(--mm-radius) * 1.2); overflow: hidden; background: #fff; box-shadow: var(--mm-shadow); }
.mm-booking-frame iframe { display: block; width: 100%; height: 760px; border: 0; }
.mm-booking-alt { margin: 14px 0 0; text-align: center; font-size: 14px; color: color-mix(in srgb, var(--mm-text) 65%, transparent); }
.mm-booking-alt a { color: var(--mm-primary-text); font-weight: 700; }
.mm-booking-card { max-width: 620px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); text-align: center; }
.mm-booking-card h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); }
.mm-booking-card p { margin: 0 0 22px; }
.mm-booking-btn { display: inline-block; text-decoration: none; }
/* Everything in the booking section sits on the page's center line. */
.mm-booking .mm-booking-inner { margin-left: auto !important; margin-right: auto !important; width: 100%; box-sizing: border-box; }
.mm-booking .mm-booking-inner > * { margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.mm-booking .mm-booking-frame { max-width: 1040px; }
.mm-booking .mm-booking-alt, .mm-booking .mm-booking-card, .mm-booking .mm-booking-card > * { text-align: center !important; }
.mm-booking .mm-booking-card .mm-booking-btn { margin-left: auto; margin-right: auto; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 700px) { .mm-booking-frame iframe { height: 900px; } }

/* Announcement bar + popup (Settings → Promotions) */
.mm-bar { background: var(--mm-primary); color: var(--mm-on-primary); font-family: var(--mm-font-body); font-size: 14.5px; line-height: 1.4; position: relative; z-index: 70; }
.mm-bar--dark { background: var(--mm-dark); color: #fff; }
.mm-bar--accent { background: var(--mm-accent); color: #111; }
.mm-bar[hidden] { display: none; }
.mm-bar-inner { max-width: 1180px; margin: 0 auto; padding: 9px clamp(20px, 4vw, 48px); display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; }
.mm-bar p { margin: 0; text-align: center; }
.mm-bar a.mm-bar-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mm-bar-x { position: absolute; right: clamp(10px, 2vw, 24px); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .75; }
.mm-bar-x:hover { opacity: 1; background: rgba(255,255,255,.18); }
@media (max-width: 700px) { .mm-bar-inner { padding-right: 44px; justify-content: flex-start; } .mm-bar p { text-align: left; } }
.mm-pop { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,12,20,.6); backdrop-filter: blur(3px); }
.mm-pop[hidden] { display: none; }
.mm-pop-box { position: relative; width: min(460px, 100%); padding: clamp(28px, 5vw, 40px); text-align: center; background: var(--mm-bg); color: var(--mm-text); border-radius: calc(var(--mm-radius) * 1.3); box-shadow: 0 40px 120px rgba(0,0,0,.4); font-family: var(--mm-font-body); }
.mm-pop-box h2 { margin: 0 0 10px; font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight); font-size: clamp(24px, 4vw, 30px); line-height: 1.15; }
.mm-pop-box p { margin: 0 0 20px; line-height: 1.55; color: color-mix(in srgb, var(--mm-text) 78%, transparent); }
.mm-pop-btn { display: inline-block; text-decoration: none; }
.mm-pop-no { display: block; margin: 14px auto 0; padding: 4px 8px; border: 0; background: none; color: color-mix(in srgb, var(--mm-text) 55%, transparent); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.mm-pop-x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--mm-text) 8%, transparent); color: var(--mm-text); font-size: 20px; line-height: 1; cursor: pointer; }
.mm-form select, .mm-form input[type=date], .mm-form input[type=number] { width: 100%; box-sizing: border-box; }

/* Contact form: choices and tick boxes */
.mm-form fieldset.mm-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.mm-form .mm-choices legend { padding: 0; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.mm-form .mm-choice { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 400; cursor: pointer; }
.mm-form .mm-choices .mm-choice { display: inline-flex; margin-right: 18px; }
.mm-form .mm-choice input[type=checkbox], .mm-form .mm-choice input[type=radio] { display: inline-block; width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--mm-primary); }
.mm-form .mm-choice--single span { font-size: 14px; line-height: 1.45; }

/* Store-first headers: storefront (product tiles), lookbook (three tall photos), promo (offer card) */
.mm-hero--storefront, .mm-hero--lookbook { min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.mm-hero--storefront .mm-hero-title { font-size: clamp(40px, 5vw, 68px); }
.mm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mm-tiles > figure { margin: 0 !important; }
.mm-tiles > figure img { width: 100%; aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; border-radius: var(--mm-radius); box-shadow: var(--mm-shadow); display: block; }
.mm-tiles > figure:nth-child(2) { margin-top: 28px !important; }
.mm-tiles > figure:nth-child(3) { margin-top: -28px !important; }
.mm-hero--lookbook .mm-hero-title { font-size: clamp(42px, 6vw, 84px); line-height: 1.02; }
.mm-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); margin-top: clamp(28px, 4vw, 52px); }
.mm-looks > figure { margin: 0 !important; }
.mm-looks > figure img { width: 100%; aspect-ratio: 3 / 4; height: auto !important; object-fit: cover; border-radius: var(--mm-radius); display: block; }
.mm-looks > .mm-look-2 { margin-top: clamp(18px, 3vw, 44px) !important; }
.wp-block-cover.mm-hero--promo { min-height: min(78vh, 700px); align-items: center; }
.mm-promo-card { max-width: 540px; padding: clamp(28px, 4vw, 48px) !important; background: var(--mm-card); color: var(--mm-text); border-radius: calc(var(--mm-radius) * 1.2); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.mm-promo-card .mm-hero-title, .mm-promo-card .mm-lead { color: var(--mm-text) !important; }
.mm-promo-card .mm-hero-title { font-size: clamp(34px, 4.4vw, 58px); }
.mm-promo-card .mm-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary) !important; letter-spacing: .08em; }
@media (max-width: 760px) { .mm-looks { grid-template-columns: repeat(2, 1fr); } .mm-looks > .mm-look-3 { display: none; } .mm-tiles > figure:nth-child(n) { margin-top: 0 !important; } }

/* Product row (the shop's own, and the preview's samples) */
.mm-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.mm-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-product-grid--featured > .mm-product:first-child { grid-column: span 2; grid-row: span 2; }
.mm-product-grid--strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mm-product { background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); overflow: hidden; display: flex; flex-direction: column; }
.mm-product > figure { margin: 0 !important; flex: 1; }
.mm-product img { width: 100%; height: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 0 !important; }
.mm-product-body { padding: 14px 16px 18px; }
.mm-product-body h3 { margin: 0 0 4px; font-size: 16px; }
.mm-product-body .mm-price { margin: 0 0 10px; font-weight: 700; color: var(--mm-primary-text); }
.mm-product-add { display: inline-block; margin: 0 !important; padding: 8px 16px; border: 1px solid var(--mm-primary); border-radius: var(--mm-btn-radius, 999px); color: var(--mm-primary-text); font-size: 13px; font-weight: 700; }
.mm-product-grid--strip .mm-product-body h3 { font-size: 14px; }
.mm-products--featured ul.products, .mm-products--strip ul.products { display: grid !important; gap: 22px; margin: 0; }
.mm-products--featured ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-products--strip ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mm-products--featured ul.products li.product, .mm-products--strip ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.mm-products--featured ul.products li.product:first-child { grid-column: span 2; grid-row: span 2; }
.mm-products--featured ul.products::before, .mm-products--featured ul.products::after, .mm-products--strip ul.products::before, .mm-products--strip ul.products::after { display: none !important; }
@media (max-width: 900px) { .mm-product-grid, .mm-product-grid--strip, .mm-product-grid--featured, .mm-products--featured ul.products, .mm-products--strip ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mm-product-grid--featured > .mm-product:first-child, .mm-products--featured ul.products li.product:first-child { grid-column: span 2; grid-row: auto; } }

/* Store: every product grid is a CSS grid. WooCommerce's float layout can't fit padded, bordered cards (4 wrapped to 3 + 1). */
.mm-site ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: clamp(16px, 2vw, 28px); margin: 0 0 36px !important; padding: 0; list-style: none; }
.mm-site ul.products.columns-1 { grid-template-columns: minmax(0, 1fr) !important; }
.mm-site ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.mm-site ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.mm-site ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.mm-site ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.mm-site .mm-products--featured ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.mm-site .mm-products--strip ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.mm-site ul.products::before, .mm-site ul.products::after { display: none !important; }
.mm-site ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; }
.mm-site ul.products li.product a.woocommerce-LoopProduct-link { display: block; flex: 0 0 auto; }
.mm-site ul.products li.product .button { margin-top: auto !important; align-self: flex-start; }
.mm-site ul.products li.product .price { display: block; margin: 4px 0 14px; }
.mm-site .woocommerce-ordering { margin: 0 0 20px; }
.mm-site .woocommerce-ordering select { padding: 10px 38px 10px 16px; border: 1px solid var(--mm-line); border-radius: 999px; background-color: var(--mm-card); color: var(--mm-text); font: inherit; font-size: 14px; cursor: pointer; }
.mm-site .woocommerce-result-count { margin: 6px 0 20px; font-size: 14.5px; }
@media (max-width: 1000px) { .mm-site ul.products, .mm-site ul.products.columns-4, .mm-site ul.products.columns-5, .mm-site ul.products.columns-6, .mm-site .mm-products--strip ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .mm-site .mm-products--featured ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .mm-site ul.products, .mm-site ul.products[class*="columns-"], .mm-site .mm-products--strip ul.products, .mm-site .mm-products--featured ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .mm-site .mm-products--featured ul.products li.product:first-child { grid-column: span 2; grid-row: auto; } }
/* Featured product (spans 2 columns and 2 rows): its photo fills the card instead of leaving blank space. */
.mm-site .mm-products--featured ul.products li.product:first-child a.woocommerce-LoopProduct-link { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.mm-site .mm-products--featured ul.products li.product:first-child a.woocommerce-LoopProduct-link img { flex: 1 1 auto; width: 100%; height: 100% !important; min-height: 0; aspect-ratio: auto !important; object-fit: cover; }
@media (max-width: 640px) { .mm-site .mm-products--featured ul.products li.product:first-child a.woocommerce-LoopProduct-link img { aspect-ratio: 1 !important; height: auto !important; } }
.mm-site .mm-products--featured ul.products li.product:first-child a.woocommerce-LoopProduct-link img { flex: 1 1 0 !important; height: 0 !important; min-height: 0 !important; max-height: none; }
/* "View cart" link that appears after Add to cart on a product card */
.mm-site ul.products li.product a.added_to_cart, .mm-site .woocommerce a.added_to_cart { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 12px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font-family: var(--mm-font-body); font-size: 14px !important; font-weight: 700; line-height: 1.3; color: var(--mm-primary-text) !important; text-decoration: none !important; }
.mm-site ul.products li.product a.added_to_cart::after, .mm-site .woocommerce a.added_to_cart::after { content: "→"; transition: transform .15s; }
.mm-site ul.products li.product a.added_to_cart:hover, .mm-site .woocommerce a.added_to_cart:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.mm-site ul.products li.product a.added_to_cart:hover::after { transform: translateX(3px); }

/* Footer logo that can't be made light: SVG shown white, solid-background logo on a white plate */
.mm-footer img.mm-logo--invert { filter: brightness(0) invert(1); }
.mm-site .mm-footer img.mm-logo--chip, .mm-footer img.mm-logo--chip { background: #fff; padding: 7px 12px; border-radius: 10px; box-sizing: content-box; height: 30px !important; }

/* Industry headers (Estate, Glow, Motor, Chapel, Campus, Vow, Stack, Diner, Kindred, Works) */
.mm-hero--arch, .mm-hero--diag, .mm-hero--round, .mm-hero--portrait, .mm-hero--device, .mm-hero--sticker, .mm-hero--blob, .mm-hero--blueprint { min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.mm-hero--arch .mm-hero-title, .mm-hero--diag .mm-hero-title, .mm-hero--round .mm-hero-title, .mm-hero--portrait .mm-hero-title, .mm-hero--device .mm-hero-title, .mm-hero--sticker .mm-hero-title, .mm-hero--blob .mm-hero-title, .mm-hero--blueprint .mm-hero-title { font-size: clamp(38px, 4.8vw, 68px); }
.mm-hero--arch .mm-img--hero img { aspect-ratio: 3 / 4; border-radius: 999px 999px calc(var(--mm-radius) * 1.4) calc(var(--mm-radius) * 1.4) !important; }
.mm-hero--diag .mm-img--hero img { aspect-ratio: 5 / 4.4; border-radius: 0 !important; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.mm-hero--round .mm-img--hero img { aspect-ratio: 1 / 1; border-radius: 50% !important; box-shadow: 0 0 0 8px var(--mm-bg), 0 0 0 12px var(--mm-primary) !important; }
.mm-hero--portrait .mm-img--hero img { aspect-ratio: 3 / 3.9; box-shadow: -16px 16px 0 var(--mm-accent) !important; }
.mm-hero--blob .mm-img--hero img { aspect-ratio: 1 / 1; border-radius: 58% 42% 55% 45% / 52% 48% 52% 48% !important; }
.mm-hero--sticker .mm-img--hero img { aspect-ratio: 4 / 3.5; border: 8px solid #fff; border-radius: 14px !important; transform: rotate(-3deg); box-shadow: 0 22px 44px rgba(0,0,0,.22) !important; }
.mm-hero--sticker .mm-eyebrow { display: inline-block; padding: 6px 14px; background: var(--mm-accent); color: var(--mm-dark) !important; border-radius: 6px; transform: rotate(-2deg); letter-spacing: .06em; }
.mm-hero--device .mm-img--hero img { aspect-ratio: 16 / 11; border-radius: 14px !important; box-sizing: border-box; padding-top: 28px; background-color: var(--mm-dark); background-repeat: no-repeat;
	background-image: radial-gradient(circle at 16px 14px, #ff5f57 4.5px, transparent 5.5px), radial-gradient(circle at 34px 14px, #febc2e 4.5px, transparent 5.5px), radial-gradient(circle at 52px 14px, #28c840 4.5px, transparent 5.5px);
	box-shadow: 0 40px 80px rgba(10,14,23,.28) !important; }
.mm-hero--blueprint { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; }
.mm-hero--blueprint .mm-eyebrow { color: var(--mm-accent) !important; }
.mm-hero--blueprint .mm-img--hero img { aspect-ratio: 4 / 3.4; border-radius: 0 !important; border: 2px solid var(--mm-accent); box-shadow: -14px 14px 0 rgba(255,255,255,.09) !important; }
.mm-hero--search.wp-block-cover { min-height: min(84vh, 760px); }
.mm-hero--search .mm-hero-title { margin-left: auto !important; margin-right: auto !important; max-width: 18ch; }
.mm-hero--search .wp-block-buttons { background: #fff; padding: 8px; border-radius: 999px; width: fit-content; max-width: 100%; margin-left: auto !important; margin-right: auto !important; box-shadow: 0 24px 60px rgba(0,0,0,.3); gap: 6px; }
.mm-hero--search .is-style-outline .wp-block-button__link { color: var(--mm-dark) !important; border-color: transparent !important; }
.mm-hero--inset.wp-block-cover { min-height: min(86vh, 780px); }
.mm-hero--inset.wp-block-cover::after { content: ''; position: absolute; inset: clamp(14px, 2.4vw, 34px); border: 1px solid rgba(255,255,255,.7); pointer-events: none; z-index: 2; }
.mm-hero--inset .mm-hero-title { font-size: clamp(38px, 5.4vw, 80px); font-weight: 500; max-width: 18ch; margin-left: auto !important; margin-right: auto !important; }
.mm-hero--inset .mm-eyebrow { letter-spacing: .24em; text-transform: uppercase; font-size: 12.5px; }
@media (max-width: 760px) { .mm-hero--diag .mm-img--hero img { clip-path: none; } .mm-hero--sticker .mm-img--hero img { transform: none; } }

/* Industry headers, round two (Assembly, Panel, Showtime, Commons, Frame, Press, Armory, Neon) */
.mm-hero--hex, .mm-hero--duo, .mm-hero--press, .mm-hero--panels, .mm-hero--filmstrip { min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.mm-hero--hex .mm-hero-title, .mm-hero--duo .mm-hero-title, .mm-hero--press .mm-hero-title { font-size: clamp(38px, 4.8vw, 68px); }
.mm-hero--hex .mm-img--hero img { aspect-ratio: 1 / 1.05; border-radius: 0 !important; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.mm-hero--press .mm-img--hero img { aspect-ratio: 4 / 3.4; border-radius: 4px !important; box-shadow: -10px 10px 0 var(--mm-primary), -20px 20px 0 var(--mm-secondary), -30px 30px 0 var(--mm-accent) !important; }
.mm-hero--press .mm-hero-split > .wp-block-column:last-child { padding: 0 30px 30px 0; }
.mm-duo { position: relative; padding-bottom: 14%; }
.mm-duo > figure { margin: 0 !important; }
.mm-duo .mm-duo-1 img { width: 78%; aspect-ratio: 4 / 4.6; object-fit: cover; margin-left: auto; display: block; border-radius: calc(var(--mm-radius) * 1.6) !important; }
.mm-duo .mm-duo-2 { position: absolute; left: 0; bottom: 0; width: 52%; }
.mm-duo .mm-duo-2 img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 6px solid var(--mm-bg); border-radius: calc(var(--mm-radius) * 1.6) !important; box-shadow: var(--mm-shadow); }
.mm-hero--panels .mm-hero-title { font-size: clamp(40px, 5.4vw, 76px); text-transform: uppercase; letter-spacing: -.01em; }
.mm-hero--panels { background-image: radial-gradient(color-mix(in srgb, var(--mm-primary) 22%, transparent) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.mm-hero--panels .mm-looks > figure img { aspect-ratio: 3 / 4; border: 4px solid var(--mm-dark); border-radius: 4px !important; box-shadow: 8px 8px 0 var(--mm-dark); }
.mm-hero--panels .mm-looks > .mm-look-1 { transform: rotate(-2.4deg); }
.mm-hero--panels .mm-looks > .mm-look-2 { transform: rotate(1.6deg); }
.mm-hero--panels .mm-looks > .mm-look-3 { transform: rotate(-1.2deg); }
.mm-hero--filmstrip .mm-hero-title { font-size: clamp(36px, 4.8vw, 64px); font-weight: 500; letter-spacing: .01em; }
.mm-hero--filmstrip .mm-looks { gap: 6px; }
.mm-hero--filmstrip .mm-looks > figure img { aspect-ratio: 2 / 3; border-radius: 0 !important; }
.mm-hero--filmstrip .mm-looks > .mm-look-2 { margin-top: 0 !important; }
.mm-hero--spotlight.wp-block-cover { min-height: min(86vh, 780px); }
.mm-hero--spotlight.wp-block-cover::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 55% 75% at 50% 0, color-mix(in srgb, var(--mm-accent) 38%, transparent), transparent 70%), radial-gradient(ellipse 100% 60% at 50% 120%, rgba(0,0,0,.7), transparent); pointer-events: none; }
.mm-hero--spotlight .mm-hero-title { margin-left: auto !important; margin-right: auto !important; max-width: 16ch; text-transform: uppercase; letter-spacing: -.02em; }
.mm-hero--bracket.wp-block-cover { min-height: min(84vh, 760px); }
.mm-hero--bracket .mm-hero-inner { position: relative; max-width: 720px; padding: clamp(26px, 4vw, 52px) !important; margin-left: 0 !important; }
.mm-hero--bracket .mm-hero-inner::before, .mm-hero--bracket .mm-hero-inner::after { content: ''; position: absolute; width: 46px; height: 46px; border: 3px solid var(--mm-accent); pointer-events: none; }
.mm-hero--bracket .mm-hero-inner::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.mm-hero--bracket .mm-hero-inner::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.mm-hero--bracket .mm-hero-title { text-transform: uppercase; letter-spacing: .005em; }
.mm-hero--neon.wp-block-cover { min-height: min(86vh, 780px); }
.mm-hero--neon .mm-hero-title { margin-left: auto !important; margin-right: auto !important; max-width: 15ch; text-shadow: 0 0 6px color-mix(in srgb, var(--mm-primary) 80%, #fff), 0 0 24px var(--mm-primary), 0 0 54px var(--mm-primary); }
.mm-hero--neon .mm-eyebrow { color: var(--mm-secondary) !important; text-shadow: 0 0 10px var(--mm-secondary); letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 760px) { .mm-hero--hex .mm-img--hero img { clip-path: none; border-radius: 18px !important; } .mm-hero--panels .mm-looks > figure { transform: none !important; } .mm-hero--press .mm-img--hero img { box-shadow: -6px 6px 0 var(--mm-primary), -12px 12px 0 var(--mm-secondary) !important; } }

/* Motor: racing header (photo, red stripes, checkered-flag edge) */
.mm-hero--racing.wp-block-cover { min-height: min(86vh, 780px); align-items: center; overflow: hidden; }
.mm-hero--racing.wp-block-cover::before { content: ''; position: absolute; top: 0; bottom: 0; right: -6%; width: 34%; z-index: 1; background: linear-gradient(115deg, transparent 0 38%, var(--mm-primary) 38% 50%, transparent 50% 58%, var(--mm-primary) 58% 64%, transparent 64%); opacity: .92; pointer-events: none; }
.mm-hero--racing.wp-block-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; z-index: 2; background: repeating-conic-gradient(#fff 0 25%, #0a0a0a 0 50%) 0 0 / 26px 26px; opacity: .95; pointer-events: none; }
.mm-hero--racing .wp-block-cover__inner-container { position: relative; z-index: 3; }
.mm-hero--racing .mm-hero-title { font-style: italic; text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; transform: skewX(-6deg); transform-origin: left bottom; max-width: 14ch; }
.mm-hero--racing .mm-eyebrow { display: inline-block; padding: 5px 14px; background: var(--mm-primary); color: #fff !important; transform: skewX(-12deg); letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.mm-hero--racing .wp-block-button__link { text-transform: uppercase; letter-spacing: .08em; font-style: italic; }
@media (max-width: 760px) { .mm-hero--racing.wp-block-cover::before { width: 46%; opacity: .5; } .mm-hero--racing .mm-hero-title { transform: none; } }

/* Events (list and cards) */
/* Tickets sold on the site: the box on an event's own page */
.mm-tickets { max-width: 620px; margin: 32px auto; padding: clamp(22px, 3vw, 34px); scroll-margin-top: 110px; }
.mm-tickets h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 28px); }
.mm-tickets-price { margin: 0 0 16px; font-weight: 600; }
.mm-tickets-form { display: grid; grid-template-columns: 110px 1fr; gap: 12px 14px; }
.mm-tickets-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.mm-tickets-form label:nth-of-type(3) { grid-column: 1 / -1; }
.mm-tickets-form input, .mm-tickets-form select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--mm-line); border-radius: min(var(--mm-radius), 12px); background: var(--mm-bg, #fff); color: var(--mm-text); min-width: 0; }
.mm-tickets-form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.mm-tickets-small { grid-column: 1 / -1; margin: 0; font-size: 13px; opacity: .75; }
.mm-tickets-err { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(220, 38, 38, .1); color: #b91c1c; font-weight: 600; }
.mm-tickets-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .mm-tickets-form { grid-template-columns: 1fr; } }
/* Board forms ([modularity_task_form]): same look as the ticket form, two columns of fields. */
.mm-task-form-f { grid-template-columns: 1fr 1fr; }
.mm-task-form-f label:nth-of-type(3) { grid-column: auto; }
.mm-task-form-f .mm-task-form-wide { grid-column: 1 / -1; }
.mm-task-form-f textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--mm-line); border-radius: min(var(--mm-radius), 12px); background: var(--mm-bg, #fff); color: inherit; resize: vertical; }
.mm-task-form-f .mm-task-form-check { display: flex; align-items: center; gap: 10px; }
.mm-task-form-f .mm-task-form-check input { width: 20px; height: 20px; }
.mm-task-form-thanks { margin: 0; font-size: 17px; }
@media (max-width: 560px) { .mm-task-form-f { grid-template-columns: 1fr; } }
.mm-footer-legal button { font-size: inherit; }
.mm-privacy { max-width: 760px; margin: 0 auto; }
.mm-privacy h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 34px 0 10px; }
.mm-events { display: flex; flex-direction: column; gap: 14px; max-width: 980px; margin: 0 auto; }
.mm-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 22px; padding: 16px 20px; background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); }
.mm-event-img { grid-column: 1 / -1; display: block; margin: -16px -20px 0; overflow: hidden; border-radius: var(--mm-radius) var(--mm-radius) 0 0; }
.mm-event-img img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.mm-events--list .mm-event-img { display: none; }
.mm-event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 10px 8px; border-radius: calc(var(--mm-radius) * .8); background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary); line-height: 1; }
.mm-event-date b { font-family: var(--mm-font-heading); font-size: 28px; }
.mm-event-date span { margin-top: 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.mm-event-body h3 { margin: 0 0 4px; font-size: clamp(18px, 2vw, 22px); }
.mm-event-body h3 a { color: inherit; text-decoration: none; }
.mm-event-meta { margin: 0; color: var(--mm-muted, inherit); opacity: .85; font-size: 14.5px; }
.mm-event-text { margin: 6px 0 0; font-size: 14.5px; opacity: .85; }
.mm-event-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.mm-event-price { font-weight: 700; font-size: 18px; }
.mm-event-status { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.mm-event-status.is-few { color: var(--mm-primary-text, var(--mm-primary)); opacity: 1; }
.mm-event-status.is-soldout, .mm-event-status.is-cancelled { color: #c0392b; opacity: 1; }
.mm-event.is-off { opacity: .6; }
.mm-event-btn { white-space: nowrap; }
.mm-events--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); max-width: 1180px; }
.mm-events--cards .mm-event { grid-template-columns: auto 1fr; align-items: start; }
.mm-events--cards .mm-event-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
.mm-events--empty { text-align: center; opacity: .8; }
.mm-event-single { margin-bottom: 28px; }
@media (max-width: 640px) { .mm-event { grid-template-columns: auto 1fr; } .mm-event-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; } }

/* Extra blocks: video, logo bar, newsletter, map, comparison, content, blog, trust badges, store blocks */
.mm-video-frame { max-width: 900px; margin: 0 auto; border-radius: var(--mm-radius); overflow: hidden; background: var(--mm-bg-alt); }
.mm-video-frame iframe { border-radius: var(--mm-radius); }
.mm-hint { text-align: center; font-size: 13px; opacity: .6; }
.mm-logobar .mm-eyebrow { margin-bottom: 18px; }
.mm-logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(24px, 5vw, 64px); }
.mm-logo-slot { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 44px; padding: 0 16px; border: 1px dashed var(--mm-line); border-radius: 8px; font-weight: 700; letter-spacing: .04em; opacity: .55; }
.mm-logo-row img { max-height: 44px; width: auto; opacity: .7; filter: grayscale(1); }
.mm-news { position: relative; display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 0 auto; justify-content: center; }
.mm-news input[type=email] { flex: 1 1 220px; min-height: 48px; padding: 0 18px; border: 1px solid var(--mm-line); border-radius: var(--mm-btn-radius, 999px); background: var(--mm-card); color: var(--mm-text); font: inherit; }
.mm-news button { min-height: 48px; cursor: pointer; }
.mm-news--done { text-align: center; font-weight: 600; max-width: none; }
.mm-news-err { flex: 1 0 100%; text-align: center; color: #e11d48; margin: 0; font-size: 14px; }
.mm-map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.mm-map-info p { margin: 0 0 18px; line-height: 1.6; }
.mm-mapblock .mm-map { margin: 0; height: 100%; min-height: 320px; }
.mm-mapblock .mm-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--mm-radius); }
.mm-map--empty { display: grid; place-items: center; border: 1px dashed var(--mm-line); border-radius: var(--mm-radius); text-align: center; padding: 20px; }
@media (max-width: 760px) { .mm-map-grid { grid-template-columns: 1fr; } }
.mm-compare-table table { width: 100%; border-collapse: collapse; }
.mm-compare-table th, .mm-compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--mm-line); text-align: center; }
.mm-compare-table th:first-child, .mm-compare-table td:first-child { text-align: left; }
.mm-compare-table thead th { font-family: var(--mm-font-heading); font-size: 1.05em; border-bottom: 2px solid var(--mm-primary); }
.mm-compare-table tbody td:nth-child(3) { background: color-mix(in srgb, var(--mm-primary) 7%, transparent); font-weight: 600; }
.mm-prose h2 { margin-bottom: .6em; }
.mm-latest { margin: 0 0 28px; padding: 0; list-style: none; }
.mm-latest li { background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); overflow: hidden; padding-bottom: 18px; }
.mm-latest .wp-block-latest-posts__featured-image img { width: 100%; height: 190px; object-fit: cover; }
.mm-latest a { color: inherit; font-weight: 700; text-decoration: none; }
.mm-latest .wp-block-latest-posts__post-title, .mm-latest .wp-block-latest-posts__post-date, .mm-latest .wp-block-latest-posts__post-excerpt { display: block; padding: 0 18px; margin-top: 12px; }
.mm-trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.mm-trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.mm-trust-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: color-mix(in srgb, var(--mm-primary) 12%, transparent); color: var(--mm-primary-text, var(--mm-primary)); }
.mm-trust-item small { opacity: .75; }
.mm-pdp .mm-price { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 6px 0 10px; }
.mm-stars-line { margin: 0; color: #f5a623; }
.mm-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.mm-chipx { padding: 8px 18px; border: 1px solid var(--mm-line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.mm-chipx.is-on { background: var(--mm-primary); border-color: var(--mm-primary); color: var(--mm-on-primary); }
.mm-rsum { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; margin-bottom: 32px; }
.mm-rscore { display: flex; flex-direction: column; align-items: center; }
.mm-rscore b { font-family: var(--mm-font-heading); font-size: 56px; line-height: 1; }
.mm-rscore span { color: #f5a623; letter-spacing: 2px; }
.mm-rscore small { opacity: .7; }
.mm-rbars { min-width: min(320px, 100%); }
.mm-rbar { display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; margin: 5px 0; }
.mm-rbar i { display: block; height: 8px; border-radius: 99px; background: var(--mm-line); overflow: hidden; }
.mm-rbar i b { display: block; height: 100%; background: #f5a623; }
.mm-rcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mm-rcards .mm-card h3 { margin: 6px 0; font-size: 18px; }
.mm-rcards .mm-stars { margin: 0; color: #f5a623; }

/* Projects (portfolio and case studies) */
.mm-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.mm-projects--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-projects--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-projects--cols-1 { grid-template-columns: 1fr; }
.mm-projects--empty { display: block; text-align: center; opacity: .75; }
.mm-project { background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); overflow: hidden; display: flex; flex-direction: column; }
.mm-project-img { display: block; aspect-ratio: 4 / 3; background: var(--mm-bg-alt); overflow: hidden; }
.mm-project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.mm-project:hover .mm-project-img img { transform: scale(1.04); }
.mm-project-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--mm-primary) 18%, transparent), color-mix(in srgb, var(--mm-secondary) 12%, transparent)); }
.mm-project-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mm-project-tags { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-primary-text, var(--mm-primary)); }
.mm-project-body h3 { margin: 0; font-size: clamp(18px, 1.8vw, 22px); }
.mm-project-body h3 a { color: inherit; text-decoration: none; }
.mm-project-meta { margin: 0; font-size: 13.5px; opacity: .7; }
.mm-project-text { margin: 0; font-size: 15px; opacity: .88; }
.mm-project .mm-more { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .mm-projects, .mm-projects--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mm-projects, .mm-projects--cols-2, .mm-projects--cols-4 { grid-template-columns: 1fr; } }
.mm-project-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 18px 0; margin: 0 0 22px; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }
.mm-project-facts > div { display: flex; flex-direction: column; gap: 2px; }
.mm-project-facts span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.mm-project-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 26px; }
.mm-project-results > div { padding: 16px 18px; border-radius: var(--mm-radius); background: color-mix(in srgb, var(--mm-primary) 10%, transparent); display: flex; flex-direction: column; }
.mm-project-results b { font-family: var(--mm-font-heading); font-size: clamp(26px, 3vw, 38px); line-height: 1.1; color: var(--mm-primary-text, var(--mm-primary)); }
.mm-project-results span { font-size: 14px; opacity: .8; }
.mm-project-quote { margin: 32px 0; padding: 22px 26px; border-left: 4px solid var(--mm-primary); background: var(--mm-bg-alt); border-radius: 0 var(--mm-radius) var(--mm-radius) 0; }
.mm-project-quote p { margin: 0 0 8px; font-size: 1.15em; }
.mm-project-quote cite { font-style: normal; font-weight: 600; opacity: .75; }
.mm-project-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 30px 0 10px; }
/* Event and project pages are not blog posts: hide the byline and category lines the theme adds. */
body.single-mm_event .wp-block-post-author, body.single-mm_event .wp-block-post-author-name, body.single-mm_event .wp-block-post-date, body.single-mm_event .wp-block-post-terms,
body.single-mm_project .wp-block-post-author, body.single-mm_project .wp-block-post-author-name, body.single-mm_project .wp-block-post-date, body.single-mm_project .wp-block-post-terms { display: none !important; }

/* Case study layout and the featured project banner */
.mm-case { max-width: 980px; margin: 0 auto; }
.mm-case-hero { margin: 0 0 22px; }
.mm-case-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: calc(var(--mm-radius) * 1.4); display: block; }
.mm-case-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; margin: 0 0 18px; opacity: .9; }
.mm-case-sec { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 8px 36px; padding: 26px 0; border-top: 1px solid var(--mm-line); }
.mm-case-sec h2 { margin: 0; font-size: clamp(18px, 1.8vw, 22px); }
.mm-case-sec p { margin: 0 0 1em; }
.mm-case-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 26px 0; }
.mm-case-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mm-radius); display: block; }
.mm-case-more { padding-top: 10px; }
@media (max-width: 680px) { .mm-case-sec { grid-template-columns: 1fr; } }
.mm-project--feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin: 0 0 clamp(18px, 2.6vw, 32px); }
.mm-project--feature .mm-project-img { aspect-ratio: auto; min-height: 340px; height: 100%; }
.mm-project--feature .mm-project-body { padding: clamp(22px, 3vw, 40px); gap: 12px; justify-content: center; }
.mm-project--feature h3 { font-size: clamp(24px, 3vw, 36px); }
.mm-project-badge { align-self: flex-start; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--mm-grad, var(--mm-primary)); color: var(--mm-on-primary); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mm-project-results--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 10px; }
.mm-project-results--mini > div { padding: 10px 12px; }
.mm-project-results--mini b { font-size: clamp(20px, 2.2vw, 28px); }
.mm-project--feature .wp-block-button__link { align-self: flex-start; }
body.single-mm_project .wp-block-post-featured-image { display: none !important; }
@media (max-width: 860px) { .mm-project--feature { grid-template-columns: 1fr; } .mm-project--feature .mm-project-img { min-height: 240px; } }
body.single-mm_project .wp-block-group.has-small-font-size:has(.wp-block-post-author-name), body.single-mm_event .wp-block-group.has-small-font-size:has(.wp-block-post-author-name) { display: none !important; }
.mm-case-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--mm-radius); }
.mm-case-gallery a img { width: 100% !important; height: 100% !important; aspect-ratio: auto; object-fit: cover; transition: transform .3s; }
.mm-case-gallery a:hover img { transform: scale(1.04); }
body.single-mm_project .wp-block-post-title ~ .wp-block-group.has-small-font-size, body.single-mm_event .wp-block-post-title ~ .wp-block-group.has-small-font-size { display: none !important; }

/* Online booking widget */
.mm-bw { max-width: 760px; margin: 0 auto; }
.mm-bw-card { background: var(--mm-card, #fff); border: 1px solid var(--mm-line); border-radius: calc(var(--mm-radius) * 1.2); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--mm-shadow, none); }
.mm-bw h3 { margin: 0 0 14px; font-size: clamp(18px, 2.2vw, 22px); }
.mm-bw h3:not(:first-child) { margin-top: 26px; }
.mm-bw-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; padding: 10px 14px; border-radius: var(--mm-radius); background: color-mix(in srgb, var(--mm-primary) 9%, transparent); font-size: 15px; }
.mm-bw-svcs { display: grid; gap: 10px; }
.mm-bw-svc { text-align: left; display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); background: transparent; color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.mm-bw-svc:hover, .mm-bw-svc:focus-visible { border-color: var(--mm-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mm-primary) 18%, transparent); outline: 0; }
.mm-bw-svc small { opacity: .7; }
.mm-bw-svc em { font-style: normal; opacity: .8; font-size: 14px; }
.mm-bw-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.mm-bw-nav button { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--mm-line); background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.mm-bw-nav button:disabled { opacity: .35; cursor: default; }
.mm-bw-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mm-bw-h { text-align: center; font-size: 12px; opacity: .65; padding: 4px 0; }
.mm-bw-d { aspect-ratio: 1; border-radius: var(--mm-radius); border: 1px solid transparent; background: transparent; color: inherit; font: inherit; opacity: .35; cursor: default; }
.mm-bw-d.is-open { opacity: 1; border-color: var(--mm-line); cursor: pointer; font-weight: 600; }
.mm-bw-d.is-open:hover { border-color: var(--mm-primary); }
.mm-bw-d.is-on { background: var(--mm-primary); border-color: var(--mm-primary); color: var(--mm-on-primary, #fff); }
.mm-bw-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.mm-bw-t { padding: 10px 8px; border-radius: 999px; border: 1px solid var(--mm-line); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.mm-bw-t:hover { border-color: var(--mm-primary); }
.mm-bw-t.is-on { background: var(--mm-primary); border-color: var(--mm-primary); color: var(--mm-on-primary, #fff); }
.mm-bw-form { display: grid; gap: 12px; position: relative; }
.mm-bw-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.mm-bw-form input, .mm-bw-form textarea { font: inherit; padding: 11px 13px; border-radius: var(--mm-radius); border: 1px solid var(--mm-line); background: transparent; color: inherit; width: 100%; box-sizing: border-box; }
.mm-bw-form input:focus, .mm-bw-form textarea:focus { outline: 0; border-color: var(--mm-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mm-primary) 18%, transparent); }
.mm-bw-go { justify-self: start; cursor: pointer; }
.mm-bw-note { margin: 6px 0 0; font-size: 14px; opacity: .75; }
.mm-bw-err { margin: 0; color: #b91c1c; font-weight: 600; }
.mm-bw-back { background: none; border: 0; padding: 0; margin-top: 14px; color: var(--mm-primary-text); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mm-bw-done { text-align: center; padding: 10px 0; }
.mm-bw-link { color: var(--mm-primary-text); font-weight: 600; }
@media (max-width: 520px) { .mm-bw-grid { gap: 4px; } }

/* Candidate hero: navy header, a three-color flag bar on top, a squared portrait on a hard offset block, big uppercase headline. */
.mm-hero--candidate { position: relative; min-height: min(84vh, 760px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.mm-hero--candidate::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: linear-gradient(90deg, var(--mm-secondary) 0 33.34%, #fff 33.34% 66.67%, var(--mm-accent) 66.67% 100%); }
.mm-hero--candidate .mm-hero-title { font-size: clamp(38px, 5.2vw, 76px); text-transform: uppercase; line-height: .98; letter-spacing: -.01em; font-weight: 800; }
.mm-hero--candidate .mm-eyebrow { color: var(--mm-accent) !important; letter-spacing: .14em; text-transform: uppercase; }
.mm-hero--candidate .mm-img--hero img { aspect-ratio: 4 / 4.6; border-radius: 0 !important; border-bottom: 10px solid var(--mm-accent); box-shadow: 18px 18px 0 var(--mm-secondary) !important; }
.mm-hero--candidate .wp-block-button__link { background: var(--mm-accent) !important; border-color: var(--mm-accent) !important; color: var(--mm-dark) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.mm-hero--candidate .is-style-outline .wp-block-button__link { background: transparent !important; color: #fff !important; border: 2px solid #fff !important; }
@media (max-width: 760px) { .mm-hero--candidate .mm-img--hero img { box-shadow: 10px 10px 0 var(--mm-secondary) !important; } }

/* Awning hero: a scalloped striped market awning over a full photo. */
.mm-hero--awning { position: relative; min-height: min(78vh, 700px); }
.mm-hero--awning::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 3; pointer-events: none;
	background: repeating-linear-gradient(90deg, var(--mm-primary) 0 60px, #fff 60px 120px);
	-webkit-mask: radial-gradient(circle 30px at 30px 34px, #000 98%, transparent) 0 0 / 60px 64px repeat-x, linear-gradient(#000, #000) 0 0 / 100% 34px no-repeat;
	mask: radial-gradient(circle 30px at 30px 34px, #000 98%, transparent) 0 0 / 60px 64px repeat-x, linear-gradient(#000, #000) 0 0 / 100% 34px no-repeat; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.mm-hero--awning .mm-hero-inner { padding-top: 96px !important; }
.mm-hero--awning .mm-hero-title { font-size: clamp(38px, 5vw, 72px); }
.mm-hero--awning .mm-eyebrow { color: var(--mm-accent) !important; letter-spacing: .12em; text-transform: uppercase; }

/* ------------------------------------------------------------ Editorial front pages ([modularity_news]): newspaper, games and tech, tabloid */
.mm-front-sec { padding: clamp(28px, 4vw, 56px) clamp(16px, 4vw, 40px) !important; overflow-x: clip; }
.mm-front { max-width: 1240px; margin: 0 auto; }
.mm-n-img { display: block; overflow: hidden; background: var(--mm-card-alt); }
.mm-n-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mm-n-img:hover img { transform: scale(1.03); }
.mm-n-ph { display: block; width: 100%; height: 100%; min-height: 100%; background: linear-gradient(135deg, var(--mm-primary), var(--mm-secondary)); }
.mm-n-title { margin: 0; line-height: 1.12; text-wrap: balance; }
.mm-n-title a { color: inherit; text-decoration: none; }
.mm-n-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mm-n-excerpt { margin: 10px 0 0; line-height: 1.5; opacity: .82; }
.mm-n-meta { margin: 10px 0 0; font-size: 12.5px; opacity: .7; display: flex; gap: 8px; flex-wrap: wrap; }
.mm-n-meta i { font-style: normal; }
.mm-n-by { font-weight: 700; }
.mm-front-empty { text-align: center; padding: 60px 0; }
.mm-n-kicker { display: inline-block; font: 800 12px/1 var(--mm-font-body); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; margin-bottom: 8px; }

/* newspaper */
.mm-front-sec--paper { background: var(--mm-bg-alt) !important; }
.mm-front--paper { color: var(--mm-text); }
.mm-front--paper .mm-n-kicker { color: var(--mm-secondary); }
.mm-np-bar { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 10px 0; border-top: 4px double var(--mm-text); border-bottom: 1px solid var(--mm-text); font: 700 12px/1.2 var(--mm-font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 28px; }
.mm-np-top { display: flex; gap: 0; align-items: flex-start; }
.mm-np-top > * { min-width: 0; padding: 0 26px; border-left: 1px solid color-mix(in srgb, var(--mm-text) 35%, transparent); }
.mm-np-top > *:first-child { padding-left: 0; border-left: 0; }
.mm-np-top > *:last-child { padding-right: 0; }
.mm-np-lead { flex: 1.6; }
.mm-np-mid { flex: 1; }
.mm-np-brief { flex: .8; }
.mm-np-lead .mm-n-img { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.mm-front--paper .mm-n-title--xl { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.015em; line-height: 1.05; }
.mm-front--paper .mm-n-excerpt { font-size: 17px; font-family: var(--mm-font-body); }
.mm-np-s { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--mm-text) 22%, transparent); }
.mm-np-s:first-child { padding-top: 0; }
.mm-np-s:last-child { border-bottom: 0; }
.mm-np-s .mm-n-img { aspect-ratio: 1; }
.mm-np-s .mm-n-title { font-size: 19px; }
.mm-np-s .mm-n-meta { margin-top: 6px; }
.mm-np-h { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 3px solid var(--mm-text); font: 800 13px/1 var(--mm-font-body); letter-spacing: .16em; text-transform: uppercase; }
.mm-np-brief ol { list-style: none; margin: 0; padding: 0; }
.mm-np-brief li { padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, var(--mm-text) 22%, transparent); }
.mm-np-brief li a { display: block; color: var(--mm-text); text-decoration: none; font: 700 17px/1.25 var(--mm-font-heading); }
.mm-np-brief li a:hover { text-decoration: underline; }
.mm-np-brief small { display: block; margin-top: 5px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.mm-np-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; border-top: 4px double var(--mm-text); padding-top: 26px; }
.mm-np-c { padding: 0 20px; border-left: 1px solid color-mix(in srgb, var(--mm-text) 30%, transparent); }
.mm-np-c:first-child { padding-left: 0; border-left: 0; }
.mm-np-c:last-child { padding-right: 0; }
.mm-np-c .mm-n-img { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.mm-np-c .mm-n-title { font-size: 20px; }
.mm-np-c .mm-n-excerpt { font-size: 15px; }
@media (max-width: 980px) {
	.mm-np-top { flex-direction: column; gap: 28px; }
	.mm-np-top > * { padding: 0; border-left: 0; width: 100%; }
	.mm-np-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
	.mm-np-row { grid-template-columns: 1fr 1fr; gap: 28px 0; }
	.mm-np-c:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) { .mm-np-mid, .mm-np-row { grid-template-columns: 1fr; } .mm-np-c { padding: 0; border-left: 0; } }

/* games and tech */
.mm-front-sec--tech { background: var(--mm-bg) !important; }
.mm-front--tech { color: var(--mm-text); }
.mm-nt-head { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-bottom: 18px; }
.mm-nt-title { margin: 0; font-size: clamp(28px, 3vw, 42px); text-transform: uppercase; letter-spacing: -.01em; }
.mm-nt-title::after { content: ''; display: inline-block; width: 44px; height: 6px; background: var(--mm-primary); margin-left: 14px; vertical-align: middle; }
.mm-nt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mm-nt-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--mm-line); background: var(--mm-card); color: var(--mm-text); font: 700 12.5px/1 var(--mm-font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.mm-nt-chips a:hover { background: var(--mm-primary); border-color: var(--mm-primary); color: var(--mm-on-primary); }
.mm-nt-top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 16px; }
.mm-nt-lead { position: relative; border-radius: 6px; overflow: hidden; min-height: 460px; background: #000; }
.mm-nt-lead .mm-n-img { position: absolute; inset: 0; }
.mm-nt-over { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 36px); padding-top: 90px; background: linear-gradient(transparent, rgba(0, 0, 0, .9) 72%); color: #fff; }
.mm-nt-lead .mm-n-title--xl { font-size: clamp(26px, 3.2vw, 46px); color: #fff; font-weight: 800; line-height: 1.06; }
.mm-nt-lead .mm-n-meta { color: #fff; opacity: .8; }
.mm-n-chip { display: inline-block; background: var(--mm-primary); color: var(--mm-on-primary); font: 800 11.5px/1 var(--mm-font-body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; text-decoration: none; margin-bottom: 10px; border-radius: 2px; }
.mm-n-chip--sm { font-size: 10.5px; padding: 4px 7px; margin-bottom: 7px; }
.mm-nt-stack { display: grid; gap: 12px; align-content: start; }
.mm-nt-c { display: grid; grid-template-columns: 148px 1fr; gap: 14px; background: var(--mm-card); padding: 10px; border-radius: 6px; align-items: center; }
.mm-nt-c .mm-n-img { aspect-ratio: 16 / 10; border-radius: 3px; }
.mm-nt-c .mm-n-title { font-size: 16px; line-height: 1.22; }
.mm-nt-c .mm-n-meta { margin-top: 6px; }
.mm-nt-cols { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 16px; margin-top: 30px; align-items: start; }
.mm-nt-row { display: grid; grid-template-columns: 250px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--mm-line); }
.mm-nt-row:first-child { border-top: 0; padding-top: 0; }
.mm-nt-row .mm-n-img { aspect-ratio: 16 / 10; border-radius: 4px; }
.mm-nt-row .mm-n-title { font-size: 22px; }
.mm-n-new { display: inline-block; background: var(--mm-accent); color: var(--mm-dark); font: 800 10.5px/1 var(--mm-font-body); padding: 5px 7px; letter-spacing: .1em; text-transform: uppercase; margin: 0 6px 7px 0; border-radius: 2px; vertical-align: top; }
.mm-nt-h { margin: 0 0 6px; font-size: 18px; text-transform: uppercase; border-left: 6px solid var(--mm-primary); padding-left: 10px; }
.mm-nt-trend { background: var(--mm-card); padding: 18px 20px; border-radius: 6px; }
.mm-nt-trend ol { list-style: none; margin: 0; padding: 0; }
.mm-nt-trend li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--mm-line); align-items: flex-start; }
.mm-nt-trend li:last-child { border-bottom: 0; }
.mm-nt-n { font: 900 38px/1 var(--mm-font-heading); color: transparent; -webkit-text-stroke: 1.5px var(--mm-primary); min-width: 34px; }
.mm-nt-trend a { color: var(--mm-text); font-weight: 700; text-decoration: none; line-height: 1.3; }
.mm-nt-trend a:hover { text-decoration: underline; }
.mm-nt-trend small { display: block; margin-top: 4px; opacity: .6; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
@media (max-width: 960px) { .mm-nt-top, .mm-nt-cols { grid-template-columns: 1fr; } .mm-nt-lead { min-height: 360px; } }
@media (max-width: 600px) { .mm-nt-row { grid-template-columns: 1fr; gap: 12px; } .mm-nt-c { grid-template-columns: 112px 1fr; } }

/* tabloid */
.mm-front-sec--tabloid { background: var(--mm-light) !important; padding-top: 0 !important; }
.mm-front--tabloid { color: var(--mm-dark); }
.mm-nb-ticker { display: flex; align-items: stretch; background: var(--mm-dark); color: #fff; overflow: hidden; width: 100vw; max-width: 100vw; margin: 0 0 26px calc(50% - 50vw); }
.mm-nb-tag { background: var(--mm-primary); color: var(--mm-on-primary); font: 900 14px/1 var(--mm-font-heading); letter-spacing: .14em; text-transform: uppercase; padding: 14px 32px 14px 22px; flex: none; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); position: relative; z-index: 1; }
.mm-nb-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.mm-nb-run { display: flex; white-space: nowrap; animation: mm-tick 70s linear infinite; }
.mm-nb-run a { color: #fff; text-decoration: none; font: 600 15px/1 var(--mm-font-body); padding: 0 26px; }
.mm-nb-run a::before { content: '★'; color: var(--mm-accent); margin-right: 12px; }
.mm-nb-run:hover { animation-play-state: paused; }
@keyframes mm-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mm-nb-run { animation: none; } .mm-nb-track { overflow-x: auto; } }
.mm-nb-splash { position: relative; min-height: 540px; background: #000; border: 6px solid var(--mm-dark); margin-bottom: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.mm-nb-splash .mm-n-img { position: absolute; inset: 0; }
.mm-nb-over { position: relative; padding: clamp(18px, 3vw, 40px); padding-top: 120px; background: linear-gradient(transparent, rgba(0, 0, 0, .86) 60%); color: #fff; }
.mm-nb-label { display: inline-block; background: var(--mm-primary); color: var(--mm-on-primary); font: 900 13px/1 var(--mm-font-heading); letter-spacing: .14em; text-transform: uppercase; padding: 8px 13px; transform: skew(-8deg); margin-bottom: 14px; }
.mm-nb-splash .mm-n-title--xl { font-size: clamp(34px, 5.4vw, 80px); text-transform: uppercase; line-height: 1.18; font-weight: 700; margin: 0; }
.mm-nb-splash .mm-n-title--xl a { color: var(--mm-dark); background: var(--mm-accent); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-decoration: none; }
.mm-nb-splash .mm-n-excerpt { margin-top: 16px; color: #fff; font-size: 18px; max-width: 60ch; opacity: .95; }
.mm-nb-burst { position: absolute; right: 26px; top: 26px; width: 118px; height: 118px; display: grid; place-items: center; background: var(--mm-accent); color: var(--mm-dark); font: 900 24px/1 var(--mm-font-heading); text-transform: uppercase; transform: rotate(12deg); clip-path: polygon(50% 0, 61% 14%, 79% 8%, 82% 26%, 100% 32%, 90% 50%, 100% 68%, 82% 74%, 79% 92%, 61% 86%, 50% 100%, 39% 86%, 21% 92%, 18% 74%, 0 68%, 10% 50%, 0 32%, 18% 26%, 21% 8%, 39% 14%); }
.mm-nb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mm-nb-c { background: #fff; border: 3px solid var(--mm-dark); position: relative; padding-bottom: 16px; display: flex; flex-direction: column; }
.mm-nb-c .mm-n-img { aspect-ratio: 4 / 3; }
.mm-nb-c .mm-nb-label { position: absolute; top: 14px; left: -8px; margin: 0; }
.mm-nb-c .mm-n-title { padding: 16px 16px 8px; font-size: 22px; text-transform: uppercase; line-height: 1.08; font-weight: 700; color: var(--mm-dark); }
.mm-nb-more { padding: 0 16px; font: 800 13px/1 var(--mm-font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--mm-primary-text); text-decoration: none; margin-top: auto; }
.mm-nb-more:hover { text-decoration: underline; }
.mm-nb-c--wide { grid-column: span 2; }
.mm-nb-c--wide .mm-n-img { aspect-ratio: 16 / 8; }
.mm-nb-c--wide .mm-n-title { font-size: 28px; }
@media (max-width: 900px) { .mm-nb-grid { grid-template-columns: 1fr 1fr; } .mm-nb-splash { min-height: 420px; } .mm-nb-burst { width: 84px; height: 84px; font-size: 17px; } }
@media (max-width: 560px) { .mm-nb-grid { grid-template-columns: 1fr; } .mm-nb-c--wide { grid-column: auto; } }

/* editorial heroes */
.mm-hero--masthead { border-bottom: 4px double var(--mm-text); }
.mm-hero--masthead .mm-hero-title { font-size: clamp(36px, 4.8vw, 70px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; max-width: 15ch; }
.mm-hero--masthead .mm-eyebrow { display: block; border-top: 3px solid var(--mm-text); border-bottom: 1px solid var(--mm-text); padding: 7px 0; letter-spacing: .2em; text-transform: uppercase; color: var(--mm-text) !important; font-size: 12px; max-width: 460px; }
.mm-hero--masthead .mm-img--hero img { aspect-ratio: 4 / 3; border-radius: 0 !important; filter: grayscale(.2) contrast(1.05); box-shadow: none !important; border: 1px solid var(--mm-text); padding: 6px; background: #fff; }
.wp-block-cover.mm-hero--headliner, .wp-block-cover.mm-hero--splash { min-height: min(82vh, 720px); align-items: flex-end; }
.mm-hero--headliner .wp-block-cover__inner-container, .mm-hero--splash .wp-block-cover__inner-container { max-width: 1240px; margin: 0 auto; width: 100%; padding: 0 clamp(20px, 4vw, 48px) 56px; box-sizing: border-box; }
.mm-hero--headliner .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 12, 18, .15), rgba(10, 12, 18, .94)) !important; opacity: 1 !important; }
.mm-hero--headliner .mm-hero-title { font-size: clamp(36px, 5.6vw, 84px); text-transform: uppercase; line-height: .98; max-width: 16ch; font-weight: 800; color: #fff; }
.mm-hero--headliner .mm-eyebrow { display: inline-block; background: var(--mm-primary); color: var(--mm-on-primary) !important; padding: 7px 11px; letter-spacing: .12em; border-radius: 2px; }
.mm-hero--headliner .mm-lead { max-width: 56ch; }
.mm-hero--splash .wp-block-cover__background { background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .8)) !important; opacity: 1 !important; }
.mm-hero--splash .mm-hero-title { display: inline; font-size: clamp(38px, 6.2vw, 92px); text-transform: uppercase; line-height: 1.2; font-weight: 700; background: var(--mm-accent); color: var(--mm-dark) !important; padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mm-hero--splash .mm-eyebrow { display: table; background: var(--mm-primary); color: var(--mm-on-primary) !important; padding: 8px 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; transform: skew(-8deg); margin-bottom: 18px; }
.mm-hero--splash .mm-lead { margin-top: 22px; max-width: 56ch; color: #fff; }

/* each editorial design's header */
.mm-design-gazette .mm-header-inner { flex-wrap: wrap; justify-content: center; gap: 4px 26px; padding-top: 22px; padding-bottom: 10px; }
.mm-design-gazette .mm-brand { flex: 0 0 100%; justify-content: center; margin: 0; }
.mm-design-gazette .mm-logo-text { font-size: clamp(34px, 5vw, 62px); font-weight: 800; letter-spacing: -.02em; }
.mm-design-gazette .mm-header { border-bottom: 4px double var(--mm-text); }
.mm-design-gazette .mm-nav a { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; border-radius: 0; }
.mm-design-signal .mm-header { border-bottom: 3px solid var(--mm-primary); }
.mm-design-signal .mm-nav a, .mm-design-signal .mm-logo-text { text-transform: uppercase; letter-spacing: .02em; font-weight: 800; }
.mm-design-signal .mm-nav a { border-radius: 2px; font-size: 13px; letter-spacing: .08em; }
.mm-design-scoop .mm-header { border-top: 8px solid var(--mm-primary); border-bottom: 3px solid var(--mm-dark); }
.mm-design-scoop .mm-logo-text { text-transform: uppercase; font-weight: 700; font-size: 28px; }
.mm-design-scoop .mm-nav a { text-transform: uppercase; font-weight: 800; letter-spacing: .06em; border-radius: 0; }
@media (max-width: 860px) { .mm-design-gazette .mm-brand { flex: 1 1 auto; justify-content: flex-start; } .mm-design-gazette .mm-header-inner { justify-content: space-between; } }

/* ------------------------------------------------------------ Campaign: the political playbook */
.mm-hero--candidate .mm-eyebrow { display: inline-block; background: var(--mm-secondary); color: #fff !important; padding: 8px 14px; letter-spacing: .16em; font-weight: 800; }
.mm-hero--candidate .mm-eyebrow::before { content: '★ '; color: var(--mm-accent); }
.mm-hero--candidate::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(90deg, var(--mm-secondary) 0 28px, #fff 28px 56px); }
.mm-design-campaign .mm-header-cta { text-transform: uppercase; letter-spacing: .06em; border-radius: 0; font-weight: 800; }
.mm-design-campaign .mm-newsletter, .mm-design-campaign .mm-signup { border-top: 6px solid var(--mm-accent); border-bottom: 6px solid var(--mm-secondary); }
.mm-design-campaign .mm-features .mm-card { border-radius: 0 !important; border-top: 6px solid var(--mm-secondary); }
.mm-design-campaign .mm-stats { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 80 80'%3E%3Cpath fill='%23fff' fill-opacity='.06' d='M40 14l5.9 12 13.3 1.9-9.6 9.4 2.3 13.2L40 44.2 28.1 50.5l2.3-13.2-9.6-9.4L34.1 26z'/%3E%3C/svg%3E"); }
.mm-design-campaign .mm-process .mm-card, .mm-design-campaign .mm-process .mm-step { border-radius: 0 !important; border-top: 6px solid var(--mm-accent); }
.mm-amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 22px; }
.mm-amount { min-width: 86px; padding: 14px 18px; border: 2px solid var(--mm-on-primary); color: var(--mm-on-primary); font: 800 20px/1 var(--mm-font-heading); text-decoration: none; text-align: center; border-radius: var(--mm-btn-radius, 0); transition: background .15s, color .15s; }
.mm-amount:hover, .mm-amount:focus-visible { background: var(--mm-accent); border-color: var(--mm-accent); color: var(--mm-dark); }
.mm-amount--other { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.mm-newsletter form.mm-news, .mm-signup form.mm-news { max-width: 640px; margin-left: auto; margin-right: auto; }
.mm-hero--candidate .mm-img--hero { position: relative; }
.mm-hero--candidate .mm-img--hero::after { content: 'VOTE'; position: absolute; left: -22px; bottom: 34px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--mm-secondary); color: #fff; font: 900 22px/1 var(--mm-font-heading); letter-spacing: .08em; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transform: rotate(-10deg); }
@media (max-width: 760px) { .mm-hero--candidate .mm-img--hero::after { left: 6px; width: 78px; height: 78px; font-size: 17px; } }

/* ------------------------------------------------------------ Listings (Projects in real-estate mode) */
.mm-listing-card .mm-project-img { position: relative; }
.mm-status { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 6px 11px; border-radius: 999px; font: 800 11.5px/1 var(--mm-font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #1F7A4D; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.mm-status--rent { background: #1D4ED8; }
.mm-status--coming { background: #7C3AED; }
.mm-status--pending { background: #B45309; }
.mm-status--sold, .mm-status--rented { background: #B91C1C; }
.mm-status--lg { position: static; font-size: 13px; padding: 9px 16px; box-shadow: none; }
.mm-listing-price { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 7px 12px; border-radius: 8px; background: rgba(10, 14, 23, .82); color: #fff; font: 800 18px/1 var(--mm-font-heading); }
.mm-listing-facts { margin: 6px 0 10px; font-weight: 700; font-size: 14.5px; }
.mm-listing-card[hidden] { display: none !important; }
.mm-listing-lead { margin-bottom: 28px; }
.mm-listing-lead .mm-listing-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.mm-listing-lead .mm-listing-card .mm-project-img img { aspect-ratio: 16 / 10; }
.mm-listing-lead .mm-listing-card h3 { font-size: clamp(22px, 2.4vw, 32px); }
@media (max-width: 760px) { .mm-listing-lead .mm-listing-card { grid-template-columns: 1fr; } }
.mm-listing-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.mm-listing-filter button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--mm-line); background: var(--mm-card); color: var(--mm-text); font: 700 13.5px/1 var(--mm-font-body); cursor: pointer; }
.mm-listing-filter button.on { background: var(--mm-primary); border-color: var(--mm-primary); color: var(--mm-on-primary); }
.mm-listing .mm-case-hero { position: relative; }
.mm-listing .mm-case-hero .mm-status { top: 18px; left: 18px; font-size: 13px; padding: 8px 14px; }
.mm-listing-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.mm-listing-bigprice { margin: 0; font: 800 clamp(30px, 3.6vw, 44px)/1.05 var(--mm-font-heading); color: var(--mm-text); }
.mm-listing-addr { margin: 6px 0 0; font-size: 17px; opacity: .8; }
.mm-listing-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.mm-listing-feats { columns: 2 220px; padding-left: 20px; line-height: 1.8; }
.mm-listing-ext { margin-left: 8px; }

/* ------------------------------------------------------------ Front page: 1 to 4 pinned stories on top */
.mm-np-top--1 .mm-np-lead { flex: 2.2; }
.mm-np-top--1 .mm-np-lead .mm-n-img { aspect-ratio: 16 / 9; }
.mm-nt-top--1 { grid-template-columns: 1fr; }
.mm-nt-top--1 .mm-nt-lead { min-height: 540px; }
.mm-nt-top--2 .mm-nt-stack .mm-nt-c { grid-template-columns: 1fr; }
.mm-nt-top--2 .mm-nt-stack .mm-nt-c .mm-n-img { aspect-ratio: 16 / 9; }
.mm-nt-top--2 .mm-nt-stack .mm-nt-c .mm-n-title { font-size: 20px; }
.mm-nb-pins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.mm-nb-pins--1 { grid-template-columns: 1fr; }
.mm-nb-pins--2 { grid-template-columns: 1fr 1fr; }
.mm-nb-pin { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; background: var(--mm-dark); color: #fff; border: 3px solid var(--mm-dark); }
.mm-nb-pins--1 .mm-nb-pin { grid-template-columns: 280px 1fr; }
.mm-nb-pin .mm-n-img { aspect-ratio: 1; height: 100%; }
.mm-nb-pin > div { padding: 12px 14px 12px 0; }
.mm-nb-pin .mm-nb-label { margin-bottom: 8px; font-size: 11px; padding: 6px 10px; }
.mm-nb-pin .mm-n-title { font-size: 20px; text-transform: uppercase; line-height: 1.08; font-weight: 700; }
.mm-nb-pin .mm-n-title a { color: #fff; }
@media (max-width: 900px) { .mm-nb-pins, .mm-nb-pins--2 { grid-template-columns: 1fr; } .mm-nb-pins--1 .mm-nb-pin { grid-template-columns: 140px 1fr; } }
.mm-listing-lead > .mm-project-badge { display: inline-block; width: auto; margin: 0 0 12px; }
/* On a brand-color band the lead line stays fully opaque: faded white on a saturated color drops under 4.5:1. */
.mm-bg-primary .mm-lead, .mm-cta-card .mm-lead { opacity: 1; }

/* ------------------------------------------------------------ Campaign (v1.43): red, white and blue, no stripes, no sticker */
.mm-hero--candidate::before, .mm-hero--candidate::after, .mm-hero--candidate .mm-img--hero::after { content: none !important; display: none !important; }
.mm-hero--candidate { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 80 80'%3E%3Cpath fill='%23fff' fill-opacity='.045' d='M40 14l5.9 12 13.3 1.9-9.6 9.4 2.3 13.2L40 44.2 28.1 50.5l2.3-13.2-9.6-9.4L34.1 26z'/%3E%3C/svg%3E"); }
.mm-hero--candidate .mm-eyebrow { background: var(--mm-secondary); color: #fff !important; padding: 7px 13px; }
.mm-hero--candidate .mm-eyebrow::before { content: '★ '; color: #fff; }
.mm-hero--candidate .mm-img--hero img { border-bottom: 0 !important; box-shadow: 16px 16px 0 var(--mm-secondary) !important; }
.mm-hero--candidate .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--mm-secondary) !important; border-color: var(--mm-secondary) !important; color: #fff !important; }
.mm-design-campaign .mm-header-cta { background: var(--mm-secondary); color: #fff !important; }
.mm-design-campaign .mm-newsletter, .mm-design-campaign .mm-signup { border-top: 6px solid var(--mm-secondary); border-bottom: 0; }
.mm-design-campaign .mm-bg-dark .mm-eyebrow { color: #fff !important; opacity: .85; }
.mm-design-campaign .mm-process .mm-card, .mm-design-campaign .mm-process .mm-step { border-top-color: var(--mm-secondary); }
.mm-design-campaign .mm-amount:hover, .mm-design-campaign .mm-amount:focus-visible { background: #fff; border-color: #fff; color: var(--mm-primary); }

/* ------------------------------------------------------------ Scoop (v1.43): explainer-site black and highlighter yellow, rounded and friendly */
.mm-design-scoop .mm-header { border-top: 8px solid var(--mm-accent); border-bottom: 1px solid var(--mm-dark); }
.mm-design-scoop .mm-logo-text { letter-spacing: -.01em; font-weight: 800; }
.mm-design-scoop .mm-nav a { border-radius: 999px; }
.mm-front-sec--tabloid { background: var(--mm-light) !important; }
.mm-front--tabloid .mm-nb-ticker { background: var(--mm-dark); }
.mm-front--tabloid .mm-nb-tag { background: var(--mm-accent); color: var(--mm-dark); clip-path: none; padding: 14px 20px; }
.mm-front--tabloid .mm-nb-run a::before { content: '●'; font-size: 9px; vertical-align: 2px; color: var(--mm-accent); }
.mm-front--tabloid .mm-nb-splash { border: 0; border-radius: 18px; overflow: hidden; }
.mm-front--tabloid .mm-nb-label { background: var(--mm-accent); color: var(--mm-dark); transform: none; border-radius: 999px; padding: 7px 12px; font-family: var(--mm-font-heading); font-size: 12px; letter-spacing: .06em; }
.mm-front--tabloid .mm-nb-splash .mm-n-title--xl { text-transform: none; font-weight: 800; line-height: 1.16; letter-spacing: -.015em; }
.mm-front--tabloid .mm-nb-burst { clip-path: none; border-radius: 50%; width: 92px; height: 92px; font-size: 18px; transform: rotate(-8deg); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.mm-front--tabloid .mm-nb-pin { background: #fff; color: var(--mm-dark); border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(17, 17, 17, .08); }
.mm-front--tabloid .mm-nb-pin .mm-n-title { text-transform: none; font-weight: 800; }
.mm-front--tabloid .mm-nb-pin .mm-n-title a { color: var(--mm-dark); }
.mm-front--tabloid .mm-nb-c { border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(17, 17, 17, .08); transition: transform .2s, box-shadow .2s; }
.mm-front--tabloid .mm-nb-c:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(17, 17, 17, .14); }
.mm-front--tabloid .mm-nb-c .mm-nb-label { left: 12px; top: 12px; }
.mm-front--tabloid .mm-nb-c .mm-n-title { text-transform: none; font-weight: 800; font-size: 21px; line-height: 1.18; letter-spacing: -.01em; }
.mm-front--tabloid .mm-nb-c--wide .mm-n-title { font-size: 28px; }
.mm-front--tabloid .mm-nb-more { color: var(--mm-dark); text-decoration: underline; text-decoration-color: var(--mm-accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.mm-hero--splash .mm-hero-title { text-transform: none; font-weight: 800; letter-spacing: -.015em; }
.mm-hero--splash .mm-eyebrow { background: var(--mm-accent); color: var(--mm-dark) !important; transform: none; border-radius: 999px; }
.mm-design-scoop .wp-block-button__link { border-radius: 999px; }
.mm-design-campaign .mm-stars { color: var(--mm-secondary) !important; }
.mm-design-campaign .mm-bg-dark .mm-stars { color: #fff !important; }
.mm-hero--splash .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--mm-accent) !important; border-color: var(--mm-accent) !important; color: var(--mm-dark) !important; }
/* Promo header: the offer card sits on the left and leaves the photo showing on the right */
.wp-block-cover.mm-hero--promo .mm-promo-card { max-width: 540px !important; width: 100%; margin-left: 0 !important; margin-right: auto !important; box-sizing: border-box; }
/* Scoop: less yellow. The header headline is white with a highlighter underline and a narrower measure; labels go black. */
.mm-hero--splash .mm-hero-inner { max-width: 780px; }
.mm-hero--splash .mm-hero-title { font-size: clamp(34px, 4.6vw, 66px) !important; line-height: 1.12; background: linear-gradient(to top, var(--mm-accent) .16em, transparent .16em) !important; color: #fff !important; padding: 0 .04em; }
.mm-design-scoop .mm-header { border-top-width: 5px; }
.mm-front--tabloid .mm-nb-label { background: var(--mm-dark); color: #fff; }
.mm-front--tabloid .mm-nb-splash .mm-nb-label { background: var(--mm-accent); color: var(--mm-dark); }
.mm-front--tabloid .mm-nb-splash .mm-n-title--xl { font-size: clamp(30px, 4.2vw, 60px); max-width: 22ch; }
/* Scoop header: two-thirds of the screen tall, the words in the left two-thirds, the headline back on a full highlighter. */
.wp-block-cover.mm-hero--splash { min-height: min(66vh, 620px); }
.mm-hero--splash .mm-hero-inner { max-width: 66%; }
.mm-hero--splash .mm-hero-title { background: var(--mm-accent) !important; color: var(--mm-dark) !important; padding: 0 .2em; }
@media (max-width: 760px) { .mm-hero--splash .mm-hero-inner { max-width: none; } }

/* Scoop: halftone. A dot screen over the photos (header, splash, cards) and yellow dot fields fading in behind the front page. */
.wp-block-cover.mm-hero--splash { position: relative; }
.wp-block-cover.mm-hero--splash::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: radial-gradient(rgba(0, 0, 0, .5) 1.3px, transparent 1.6px); background-size: 6px 6px; mix-blend-mode: multiply; }
.wp-block-cover.mm-hero--splash .wp-block-cover__inner-container { position: relative; z-index: 2 !important; }
.wp-block-cover.mm-hero--splash .wp-block-cover__image-background { filter: contrast(1.15) saturate(.9); }
.mm-front--tabloid .mm-n-img { position: relative; }
.mm-front--tabloid .mm-n-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(0, 0, 0, .38) 1.1px, transparent 1.4px); background-size: 5px 5px; mix-blend-mode: multiply; }
.mm-front--tabloid .mm-n-img img { filter: contrast(1.12) saturate(.9); }
.mm-front--tabloid .mm-nb-splash .mm-n-img::after { background-image: radial-gradient(rgba(0, 0, 0, .5) 1.3px, transparent 1.6px); background-size: 6px 6px; }
.mm-front-sec--tabloid { position: relative; }
.mm-front-sec--tabloid::before, .mm-front-sec--tabloid::after { content: ''; position: absolute; width: min(420px, 45vw); height: 360px; pointer-events: none; background-image: radial-gradient(var(--mm-accent) 2.2px, transparent 2.6px); background-size: 12px 12px; }
.mm-front-sec--tabloid::before { top: 40px; right: 0; -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000 0, transparent 70%); }
.mm-front-sec--tabloid::after { bottom: 0; left: 0; -webkit-mask-image: radial-gradient(circle at 0 100%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 0 100%, #000 0, transparent 70%); }
.mm-front-sec--tabloid > * { position: relative; z-index: 1; }
.mm-design-scoop .mm-section.mm-bg-dark, .mm-design-scoop .mm-newsletter { background-image: radial-gradient(rgba(255, 242, 0, .16) 1.4px, transparent 1.7px); background-size: 9px 9px; }

/* ------------------------------------------------------------ Panel (comic shop): white/black split header, fanned covers, hard comic shadows */
.mm-hero--comicbook { min-height: min(78vh, 700px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(104deg, var(--mm-bg) 0 56%, var(--mm-dark) 56% 100%) !important; overflow: hidden; }
.mm-hero--comicbook .mm-hero-title { font-size: clamp(46px, 6vw, 92px); line-height: .92; text-transform: uppercase; letter-spacing: .005em; max-width: 11ch; transform: skew(-4deg); transform-origin: left; }
.mm-hero--comicbook .mm-eyebrow { display: inline-block; background: var(--mm-dark); color: #fff !important; padding: 7px 14px; border-radius: 999px; font: 700 11.5px/1 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; }
.mm-hero--comicbook .mm-lead { max-width: 46ch; }
.mm-cb-stack { position: relative; min-height: 440px; }
.mm-cb-stack .mm-cb { position: absolute; margin: 0; width: 46%; }
.mm-cb-stack .mm-cb img { aspect-ratio: 2 / 3; object-fit: cover; border: 5px solid #fff; border-radius: 3px !important; box-shadow: 10px 12px 0 rgba(0, 0, 0, .55) !important; }
.mm-cb-stack .mm-cb-1 { left: 2%; top: 14%; transform: rotate(-9deg); z-index: 1; }
.mm-cb-stack .mm-cb-2 { left: 27%; top: 4%; transform: rotate(-2deg); z-index: 2; }
.mm-cb-stack .mm-cb-3 { left: 52%; top: 12%; transform: rotate(7deg); z-index: 3; }
.mm-cb-burst { position: absolute; right: -2%; top: -2%; z-index: 4; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; background: var(--mm-primary); color: #fff; font: 400 30px/0.9 var(--mm-font-heading); text-transform: uppercase; transform: rotate(10deg); clip-path: polygon(50% 0, 61% 14%, 79% 8%, 82% 26%, 100% 32%, 90% 50%, 100% 68%, 82% 74%, 79% 92%, 61% 86%, 50% 100%, 39% 86%, 21% 92%, 18% 74%, 0 68%, 10% 50%, 0 32%, 18% 26%, 21% 8%, 39% 14%); }
.mm-cb-burst small { display: block; font: 800 9px/1.2 var(--mm-font-body); letter-spacing: .12em; }
@media (max-width: 860px) {
	.mm-hero--comicbook { background: linear-gradient(176deg, var(--mm-bg) 0 58%, var(--mm-dark) 58% 100%) !important; }
	.mm-cb-stack { min-height: 340px; margin-top: 24px; }
	.mm-cb-burst { width: 84px; height: 84px; font-size: 22px; }
}

.mm-design-panel { --mm-ink: var(--mm-dark); }
.mm-design-panel .mm-eyebrow { font: 700 11.5px/1 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-primary-text); }
.mm-design-panel .mm-section h2 { text-transform: uppercase; letter-spacing: .01em; transform: skew(-3deg); }
.mm-design-panel .mm-intro.mm-center { text-align: left; margin-left: 0; margin-right: auto; }
.mm-design-panel .wp-block-buttons.is-content-justification-center, .mm-design-panel .mm-intro + .wp-block-buttons { justify-content: flex-start; }
.mm-design-panel .wp-block-button__link { border: 3px solid var(--mm-dark) !important; border-radius: 6px !important; box-shadow: 4px 4px 0 var(--mm-dark) !important; text-transform: uppercase; font-weight: 800; letter-spacing: .05em; font-size: 14px; transition: transform .12s, box-shadow .12s; }
.mm-design-panel .wp-block-button__link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--mm-dark) !important; }
.mm-design-panel .is-style-outline .wp-block-button__link { background: #fff !important; color: var(--mm-dark) !important; }
.mm-design-panel .mm-bg-dark .wp-block-button__link, .mm-design-panel .mm-cta .wp-block-button__link { border-color: #fff !important; box-shadow: 4px 4px 0 #fff !important; }
.mm-design-panel .mm-header-cta { border: 3px solid var(--mm-dark); border-radius: 6px; box-shadow: 3px 3px 0 var(--mm-dark); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.mm-design-panel .mm-logo-text { font-size: 26px; letter-spacing: .02em; }
.mm-design-panel .mm-nav a { text-transform: uppercase; font-size: 13px; letter-spacing: .06em; border-radius: 4px; }

/* the dark trust strip right under the header */
.mm-design-panel .mm-hero + .mm-features, .mm-design-panel .mm-features { background: var(--mm-dark) !important; color: #fff; padding-top: 28px !important; padding-bottom: 28px !important; }
.mm-design-panel .mm-features .mm-intro { display: none; }
.mm-design-panel .mm-features .mm-card { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 0 0 46px !important; position: relative; color: #fff; }
.mm-design-panel .mm-features .mm-card::before { content: '★'; position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--mm-primary); color: #fff; font-size: 15px; }
.mm-design-panel .mm-features .mm-card h3 { font-family: var(--mm-font-body); font-size: 15px; font-weight: 800; margin: 0 0 4px; color: #fff; }
.mm-design-panel .mm-features .mm-card p { font-size: 13px; opacity: .7; margin: 0; }

/* chunky comic-panel cards */
.mm-design-panel .mm-card, .mm-design-panel .mm-product, .mm-design-panel .mm-project, .mm-design-panel .mm-post { border: 3px solid var(--mm-dark) !important; border-radius: 8px !important; box-shadow: 6px 6px 0 var(--mm-dark) !important; background: #fff !important; overflow: hidden; }
.mm-design-panel .mm-card--photo { padding: 0 !important; position: relative; transition: transform .15s, box-shadow .15s; }
.mm-design-panel .mm-card--photo:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--mm-dark) !important; }
.mm-design-panel .mm-card--photo .mm-card-img { margin: 0 !important; border-bottom: 3px solid var(--mm-dark); }
.mm-design-panel .mm-card--photo .mm-card-img img { border-radius: 0 !important; aspect-ratio: 16 / 9; }
.mm-design-panel .mm-card--photo h3 { font-size: 26px; text-transform: uppercase; padding: 14px 64px 0 18px; margin: 0; transform: skew(-3deg); }
.mm-design-panel .mm-card--photo p { padding: 4px 64px 18px 18px; margin: 0; font-size: 13.5px; }
.mm-design-panel .mm-card--photo::after { content: '→'; position: absolute; right: 16px; bottom: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mm-dark); color: #fff; font-weight: 800; }
.mm-design-panel .mm-stats .mm-card, .mm-design-panel .mm-timeline > .mm-card { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.mm-design-panel .mm-review .mm-quote { font-family: var(--mm-font-heading); font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.mm-design-panel .mm-stars { color: var(--mm-primary) !important; }

/* sell-us band: a red comic panel on black */
.mm-design-panel .mm-cta { background: var(--mm-dark) !important; }
.mm-design-panel .mm-cta-card { background: var(--mm-primary) !important; color: #fff; border: 3px solid #fff; border-radius: 10px; box-shadow: 8px 8px 0 rgba(255, 255, 255, .9); }
.mm-design-panel .mm-cta-card h2 { font-size: clamp(36px, 4.4vw, 60px); color: #fff; }
.mm-design-panel .mm-newsletter, .mm-design-panel .mm-signup { background: var(--mm-light) !important; color: var(--mm-text); }
.mm-design-panel .mm-newsletter h2, .mm-design-panel .mm-signup h2 { color: var(--mm-dark); }
.mm-design-panel .mm-newsletter .mm-lead, .mm-design-panel .mm-signup .mm-lead { color: var(--mm-text); }
.mm-design-panel .mm-bg-light { background: var(--mm-light); }
.mm-hero--comicbook > .mm-hero-split { width: 100%; max-width: 1180px; }
.mm-hero--comicbook .mm-hero-split > .wp-block-column:first-child { flex-basis: 52% !important; }
.mm-cb-stack { min-height: 500px; }
.mm-cb-stack .mm-cb { width: 50%; }
.mm-design-panel .mm-intro.mm-center { margin-left: 0 !important; }
.mm-design-panel .mm-features { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.mm-design-panel .mm-features > .mm-grid { flex: 1 1 500px; max-width: 590px !important; margin: 0 !important; }
.mm-hero--comicbook .mm-hero-split > .wp-block-column:last-child { flex: 1 1 44% !important; min-width: 0; }
.mm-hero--comicbook .mm-hero-split > .wp-block-column:first-child { flex: 1 1 52% !important; }
.mm-design-panel .mm-intro.mm-center { max-width: 1180px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; }
.mm-design-panel .mm-features { padding-left: max(28px, calc((100% - 1180px) / 2)) !important; padding-right: max(28px, calc((100% - 1180px) / 2)) !important; }
.mm-design-panel .mm-signup .mm-intro.mm-center, .mm-design-panel .mm-newsletter .mm-intro.mm-center { text-align: center; }
.mm-design-panel .mm-signup .mm-intro h2, .mm-design-panel .mm-newsletter .mm-intro h2 { transform: none; }

/* v1.45: Scoop halftone lighter */
.wp-block-cover.mm-hero--splash::after { background-image: radial-gradient(rgba(0, 0, 0, .2) 1px, transparent 1.3px); background-size: 5px 5px; }
.mm-front--tabloid .mm-n-img::after { background-image: radial-gradient(rgba(0, 0, 0, .14) .9px, transparent 1.2px) !important; background-size: 4px 4px !important; }
.wp-block-cover.mm-hero--splash .wp-block-cover__image-background, .mm-front--tabloid .mm-n-img img { filter: contrast(1.05); }
.mm-front-sec--tabloid::before, .mm-front-sec--tabloid::after { opacity: .55; }

/* v1.45: Panel fixes */
.mm-hero--comicbook { min-height: 0; padding-top: clamp(40px, 5vw, 64px) !important; padding-bottom: clamp(40px, 5vw, 64px) !important; background-image: radial-gradient(rgba(20, 20, 20, .09) 1px, transparent 1.3px), linear-gradient(104deg, var(--mm-bg) 0 56%, var(--mm-dark) 56% 100%) !important; background-size: 7px 7px, auto !important; }
.mm-hero--comicbook .mm-hero-title { text-shadow: 6px 6px 0 color-mix(in srgb, var(--mm-primary) 45%, transparent); }
.mm-cb-stack { min-height: 420px; }
.mm-cb-stack a.mm-cb { display: block; transition: transform .2s; }
.mm-cb-stack a.mm-cb:hover { z-index: 5; transform: rotate(0deg) translateY(-6px) scale(1.03) !important; }
.mm-cb-stack .mm-cb::after { content: ''; position: absolute; inset: 5px; pointer-events: none; background-image: radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1.3px); background-size: 4px 4px; mix-blend-mode: multiply; }
.mm-design-panel .mm-features { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 32px; }
.mm-design-panel .mm-features > .mm-grid, .mm-design-panel .mm-features > .mm-grid > .wp-block-column { display: contents !important; }
.mm-design-panel .mm-features .mm-card { max-width: none; }
.mm-design-panel .mm-signup, .mm-design-panel .mm-newsletter { background: var(--mm-accent) !important; color: var(--mm-dark); padding-top: clamp(36px, 4vw, 52px) !important; padding-bottom: clamp(36px, 4vw, 52px) !important; border-top: 3px solid var(--mm-dark); border-bottom: 3px solid var(--mm-dark); }
.mm-design-panel .mm-signup .mm-eyebrow, .mm-design-panel .mm-newsletter .mm-eyebrow { color: var(--mm-dark); }
.mm-design-panel .mm-signup .mm-intro, .mm-design-panel .mm-newsletter .mm-intro { margin-bottom: 14px; }
.mm-design-panel .mm-signup form.mm-news input[type=email], .mm-design-panel .mm-newsletter form.mm-news input[type=email] { border: 3px solid var(--mm-dark); border-radius: 6px; }
.mm-design-panel .mm-signup form.mm-news button, .mm-design-panel .mm-newsletter form.mm-news button { background: var(--mm-dark); color: #fff; border: 3px solid var(--mm-dark); border-radius: 6px; box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }
.mm-design-panel .mm-v-steps .mm-grid::before, .mm-design-panel .mm-v-steps .mm-grid::after { display: none !important; }
.mm-design-panel .mm-v-steps .mm-card { padding: 26px 20px 22px !important; text-align: left; }
.mm-design-panel .mm-v-steps .mm-card .mm-step { margin: 0 0 14px !important; width: 52px; height: 52px; border: 3px solid var(--mm-dark); }
.mm-design-panel .mm-features { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px 24px !important; }
@media (max-width: 760px) { .mm-design-panel .mm-features { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 440px) { .mm-design-panel .mm-features { grid-template-columns: 1fr !important; } }

/* ------------------------------------------------------------ v1.46: Panel and Scoop touch-ups */
.mm-design-panel .mm-img--feature img, .mm-design-panel .mm-about .wp-block-image img { border: 3px solid var(--mm-dark) !important; border-radius: 8px !important; box-shadow: 8px 8px 0 var(--mm-dark) !important; }
.mm-design-panel .mm-features { justify-items: center; max-width: none; }
.mm-design-panel .mm-features .mm-card { width: 100%; max-width: 250px; }
.wp-block-cover.mm-hero--splash::after { background-image: radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1.3px) !important; }
.mm-front--tabloid .mm-n-img::after { background-image: radial-gradient(rgba(0, 0, 0, .08) .9px, transparent 1.2px) !important; }

/* ------------------------------------------------------------ Front page: magazine (Journal) */
.mm-front-sec--magazine { background: var(--mm-bg) !important; }
.mm-front--magazine .mm-n-kicker { color: var(--mm-primary-text); letter-spacing: .16em; font-size: 11.5px; }
.mm-nm-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mm-nm-top--1 { grid-template-columns: 1fr; }
.mm-nm-top--1 .mm-nm-lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.mm-nm-lead .mm-n-img { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.mm-nm-top--1 .mm-nm-lead .mm-n-img { margin: 0; aspect-ratio: 5 / 4; }
.mm-front--magazine .mm-n-title--xl { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -.02em; }
.mm-front--magazine .mm-n-excerpt { font-size: 18px; line-height: 1.6; }
.mm-nm-side { display: grid; gap: 30px; }
.mm-nm-s .mm-n-img { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.mm-nm-s .mm-n-title { font-size: 22px; line-height: 1.15; }
.mm-nm-h { margin: 56px 0 22px; padding-top: 18px; border-top: 1px solid var(--mm-line); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-family: var(--mm-font-body); }
.mm-nm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.mm-nm-c .mm-n-img { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.mm-nm-c .mm-n-title { font-size: 22px; line-height: 1.15; }
@media (max-width: 900px) { .mm-nm-top, .mm-nm-top--1 .mm-nm-lead { grid-template-columns: 1fr; } .mm-nm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mm-nm-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Front page: brief (Briefing) */
.mm-front-sec--brief { background: var(--mm-bg) !important; }
.mm-front--brief .mm-n-kicker { color: var(--mm-primary-text); }
.mm-br-top { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mm-br-lead { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; padding-bottom: 26px; border-bottom: 3px solid var(--mm-text); }
.mm-br-lead > .mm-n-img { order: 2; aspect-ratio: 1; border-radius: 4px; }
.mm-br-lead > div { order: 1; }
.mm-br-lead:not(:has(> .mm-n-img)) { grid-template-columns: 1fr; }
.mm-front--brief .mm-n-title--xl { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -.015em; }
.mm-front--brief .mm-n-excerpt { font-size: 17px; line-height: 1.55; }
.mm-front--brief .mm-n-excerpt b { color: var(--mm-text); }
.mm-br-pins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 22px; }
.mm-br-pins--1 { grid-template-columns: 1fr; }
.mm-br-pins--2 { grid-template-columns: 1fr 1fr; }
.mm-br-pin { border-left: 3px solid var(--mm-primary); padding-left: 14px; }
.mm-br-pin .mm-n-title { font-size: 19px; line-height: 1.2; }
.mm-br-list { background: var(--mm-bg-alt); border-radius: 6px; padding: 18px 20px; }
.mm-br-h { margin: 0 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mm-font-body); }
.mm-br-list ol { list-style: none; margin: 0; padding: 0; }
.mm-br-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--mm-line); }
.mm-br-list li:last-child { border-bottom: 0; }
.mm-br-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mm-primary); color: var(--mm-on-primary); font: 700 12.5px/1 var(--mm-font-body); }
.mm-br-list a { color: var(--mm-text); text-decoration: none; font-weight: 700; line-height: 1.3; }
.mm-br-list a:hover { text-decoration: underline; }
.mm-br-list small { display: block; margin-top: 4px; font-size: 12px; opacity: .65; }
.mm-br-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 34px; }
.mm-br-row { padding: 18px 0; border-top: 1px solid var(--mm-line); }
.mm-br-row .mm-n-title { font-size: 19px; line-height: 1.25; }
.mm-br-row .mm-n-excerpt { font-size: 15px; }
@media (max-width: 900px) { .mm-br-top, .mm-br-more { grid-template-columns: 1fr; } .mm-br-lead { grid-template-columns: 1fr; } .mm-br-lead > .mm-n-img { order: 0; aspect-ratio: 16 / 9; } .mm-br-pins { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Front page: column (Dispatch) */
.mm-front-sec--column { background: var(--mm-bg) !important; }
.mm-front--column { max-width: 720px; }
.mm-front--column .mm-n-kicker { color: var(--mm-primary-text); }
.mm-co-lead { padding-bottom: 30px; border-bottom: 1px solid var(--mm-line); }
.mm-co-lead .mm-n-img { aspect-ratio: 16 / 9; border-radius: 14px; margin-bottom: 22px; }
.mm-front--column .mm-n-title--xl { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.mm-front--column .mm-n-excerpt { font-size: 18px; line-height: 1.6; }
.mm-co-read { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--mm-primary-text); text-decoration: none; }
.mm-co-pins { display: grid; gap: 0; margin-top: 8px; }
.mm-co-pin { padding: 16px 0; border-bottom: 1px solid var(--mm-line); }
.mm-co-pin .mm-n-title { font-size: 21px; }
.mm-co-h { margin: 40px 0 6px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-family: var(--mm-font-body); opacity: .7; }
.mm-co-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--mm-line); }
.mm-co-row time { font-size: 13px; opacity: .6; padding-top: 4px; }
.mm-co-row .mm-n-title { font-size: 21px; line-height: 1.25; }
.mm-co-row .mm-n-excerpt { font-size: 15.5px; margin-top: 6px; }
.mm-co-sub { margin: 26px 0; padding: 24px; border-radius: 16px; background: var(--mm-bg-alt); border: 1px solid var(--mm-line); }
.mm-co-sub b { display: block; margin-bottom: 12px; font-size: 18px; }
@media (max-width: 600px) { .mm-co-row { grid-template-columns: 1fr; gap: 4px; } }

/* ------------------------------------------------------------ Design accents for the new themes */
.mm-design-journal .mm-header { border-bottom: 1px solid var(--mm-line); }
.mm-design-journal .mm-nav a { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; border-radius: 0; }
.mm-design-journal .mm-logo-text { font-weight: 500; letter-spacing: .02em; font-size: 28px; }
.mm-design-briefing .mm-header { border-bottom: 3px solid var(--mm-text); }
.mm-design-briefing .mm-logo-text { font-weight: 700; letter-spacing: -.02em; }
.mm-design-briefing .mm-logo-text::after { content: '.'; color: var(--mm-primary); }
.mm-design-dispatch .mm-header-inner { max-width: 960px; }
.mm-design-dispatch .mm-newsletter form.mm-news, .mm-design-dispatch .mm-signup form.mm-news { max-width: 520px; }
.mm-design-gadget .mm-header { background: color-mix(in srgb, #fff 80%, transparent); }
.mm-design-gadget .mm-section h2 { letter-spacing: -.03em; }
.mm-design-gadget .mm-card { border-radius: 22px !important; }
.mm-design-gadget .mm-products .mm-product { border-radius: 22px; background: var(--mm-light); }
.mm-design-pantry .mm-section h2 { letter-spacing: -.01em; }
.mm-design-pantry .mm-card, .mm-design-pantry .mm-product { border-radius: 26px !important; }
.mm-design-pantry .mm-bg-light { background-image: radial-gradient(color-mix(in srgb, var(--mm-accent) 35%, transparent) 2px, transparent 2.5px); background-size: 22px 22px; }
.mm-design-maison .mm-nav a { letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; border-radius: 0; }
.mm-design-maison .mm-section h2 { font-weight: 500; letter-spacing: .01em; }
.mm-design-maison .mm-product { border-radius: 2px; }
.mm-front.mm-front--column { max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; }
.mm-design-panel .mm-features { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
@media (max-width: 900px) { .mm-design-panel .mm-features { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 440px) { .mm-design-panel .mm-features { grid-template-columns: 1fr !important; } }

/* ------------------------------------------------------------ Panel as a store: WooCommerce and SureCart in the comic-panel look */
.mm-design-panel .mm-cart { border: 3px solid var(--mm-dark); border-radius: 6px; box-shadow: 3px 3px 0 var(--mm-dark); background: #fff; }
.mm-design-panel .woocommerce ul.products li.product, .mm-design-panel .wc-block-grid__product, .mm-design-panel .wp-block-surecart-product-template > li, .mm-design-panel .sc-product-item {
	background: #fff !important; border: 3px solid var(--mm-dark) !important; border-radius: 8px !important; box-shadow: 6px 6px 0 var(--mm-dark) !important; padding: 0 0 16px !important; overflow: hidden; transition: transform .15s, box-shadow .15s;
}
.mm-design-panel .woocommerce ul.products li.product:hover, .mm-design-panel .wc-block-grid__product:hover, .mm-design-panel .wp-block-surecart-product-template > li:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--mm-dark) !important; }
.mm-design-panel .woocommerce ul.products li.product a img, .mm-design-panel .wc-block-grid__product-image img, .mm-design-panel .wp-block-surecart-product-template img { border-radius: 0 !important; margin: 0 0 14px !important; aspect-ratio: 3 / 4; object-fit: cover; border-bottom: 3px solid var(--mm-dark); width: 100%; }
.mm-design-panel .woocommerce ul.products li.product .woocommerce-loop-product__title, .mm-design-panel .wc-block-grid__product-title { padding: 0 14px !important; font-family: var(--mm-font-body) !important; font-weight: 800; font-size: 15px !important; line-height: 1.25; color: var(--mm-dark); }
.mm-design-panel .woocommerce ul.products li.product .price, .mm-design-panel .wc-block-grid__product-price { display: block; padding: 4px 14px 0; font-family: var(--mm-font-heading) !important; font-size: 26px !important; color: var(--mm-dark) !important; transform: skew(-4deg); }
.mm-design-panel .woocommerce ul.products li.product .button, .mm-design-panel .wc-block-grid__product-add-to-cart .wp-block-button__link { margin: 10px 14px 0 !important; }
.mm-design-panel .woocommerce a.button, .mm-design-panel .woocommerce button.button, .mm-design-panel .woocommerce input.button, .mm-design-panel .wc-block-components-button:not(.is-link), .mm-design-panel .sc-button, .mm-design-panel .wp-block-surecart-product-buy-button .wp-block-button__link {
	background: var(--mm-dark) !important; color: #fff !important; border: 3px solid var(--mm-dark) !important; border-radius: 6px !important; box-shadow: 3px 3px 0 color-mix(in srgb, var(--mm-primary) 70%, transparent) !important; text-transform: uppercase; font-weight: 800 !important; letter-spacing: .05em; font-size: 13px !important; filter: none !important;
}
.mm-design-panel .woocommerce a.button.alt, .mm-design-panel .woocommerce button.button.alt, .mm-design-panel .woocommerce div.product form.cart .button { background: var(--mm-primary) !important; border-color: var(--mm-dark) !important; box-shadow: 4px 4px 0 var(--mm-dark) !important; }
.mm-design-panel .woocommerce a.button:hover, .mm-design-panel .woocommerce button.button:hover { transform: translate(-1px, -1px); }
.mm-design-panel .woocommerce span.onsale { background: var(--mm-primary) !important; color: #fff !important; border-radius: 0 !important; padding: 14px 10px !important; font: 400 18px/1 var(--mm-font-heading) !important; text-transform: uppercase; transform: rotate(10deg); clip-path: polygon(50% 0, 61% 14%, 79% 8%, 82% 26%, 100% 32%, 90% 50%, 100% 68%, 82% 74%, 79% 92%, 61% 86%, 50% 100%, 39% 86%, 21% 92%, 18% 74%, 0 68%, 10% 50%, 0 32%, 18% 26%, 21% 8%, 39% 14%); min-width: 64px !important; min-height: 64px !important; display: grid; place-items: center; top: 8px !important; right: 8px !important; left: auto !important; margin: 0 !important; }
.mm-design-panel .woocommerce-products-header__title, .mm-design-panel .woocommerce div.product .product_title { text-transform: uppercase; transform: skew(-3deg); transform-origin: left; text-shadow: 5px 5px 0 color-mix(in srgb, var(--mm-primary) 40%, transparent); }
.mm-design-panel .woocommerce div.product div.images img, .mm-design-panel .woocommerce div.product .woocommerce-product-gallery__image img { border: 3px solid var(--mm-dark) !important; border-radius: 8px !important; box-shadow: 8px 8px 0 var(--mm-dark); }
.mm-design-panel .woocommerce div.product p.price, .mm-design-panel .woocommerce div.product span.price { font-family: var(--mm-font-heading) !important; font-size: 40px !important; color: var(--mm-dark) !important; transform: skew(-4deg); display: inline-block; }
.mm-design-panel .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mm-dark); box-shadow: inset 0 -4px 0 var(--mm-primary); }
.mm-design-panel .woocommerce .quantity .qty, .mm-design-panel .woocommerce form .form-row input.input-text { border: 3px solid var(--mm-dark) !important; border-radius: 6px !important; }
.mm-design-panel .woocommerce-message, .mm-design-panel .woocommerce-info { border: 3px solid var(--mm-dark) !important; border-radius: 8px; box-shadow: 4px 4px 0 var(--mm-dark); background: var(--mm-accent) !important; color: var(--mm-dark) !important; }
.mm-design-panel .woocommerce-message::before, .mm-design-panel .woocommerce-info::before { color: var(--mm-dark) !important; }
.mm-design-panel .wc-block-cart, .mm-design-panel .wc-block-checkout { --wc-red: var(--mm-primary); }
.mm-design-panel .wc-block-components-order-summary, .mm-design-panel .wc-block-components-totals-wrapper, .mm-design-panel .wp-block-woocommerce-cart-order-summary-block { border-color: var(--mm-dark) !important; }
.mm-design-panel .mm-products .woocommerce ul.products { gap: 22px; }

/* ------------------------------------------------------------ v1.48: signature details for the 15 new designs */

/* Keystone: quiet luxury, thin bronze rules */
.mm-design-keystone .mm-eyebrow { letter-spacing: .24em; }
.mm-design-keystone .mm-eyebrow::before { content: ''; display: inline-block; width: 38px; height: 1px; background: var(--mm-accent); vertical-align: middle; margin-right: 14px; }
.mm-design-keystone .mm-section h2, .mm-design-keystone .mm-hero-title { font-weight: 500; letter-spacing: -.015em; }
.mm-design-keystone .wp-block-button__link { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; padding: 16px 30px; }
.mm-design-keystone .mm-card { box-shadow: none !important; border-top: 1px solid var(--mm-accent); border-radius: 0 !important; }

/* Galley: subway tile and brass */
.mm-design-galley .mm-bg-light { background-color: var(--mm-light); background-image: linear-gradient(rgba(74, 107, 93, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 107, 93, .07) 1px, transparent 1px); background-size: 64px 32px; }
.mm-design-galley .mm-eyebrow { color: var(--mm-secondary); }
.mm-design-galley .mm-section h2::after { content: ''; display: block; width: 54px; height: 3px; background: var(--mm-secondary); margin: 14px 0 0; }
.mm-design-galley .mm-intro.mm-center h2::after { margin-left: auto; margin-right: auto; }
.mm-design-galley .mm-card--photo .mm-card-img img { border-radius: 14px 14px 0 0; }

/* Sentinel: night mode with a green "armed" glow */
.mm-design-sentinel .mm-eyebrow::before { content: '●'; color: var(--mm-primary); margin-right: 8px; font-size: .9em; animation: mm-armed 2s ease-in-out infinite; }
@keyframes mm-armed { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .mm-design-sentinel .mm-eyebrow::before { animation: none; } }
.mm-design-sentinel .mm-card { box-shadow: 0 0 0 1px color-mix(in srgb, var(--mm-primary) 45%, transparent), 0 0 28px color-mix(in srgb, var(--mm-primary) 14%, transparent) !important; }
.mm-design-sentinel .mm-section h2 { letter-spacing: .02em; text-transform: uppercase; }

/* Tower: blueprint grid and steel */
.mm-design-tower .mm-hero, .mm-design-tower .mm-bg-light { background-image: linear-gradient(rgba(31, 59, 87, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 59, 87, .07) 1px, transparent 1px); background-size: 44px 44px; }
.mm-design-tower .mm-stat-value, .mm-design-tower .mm-stats h3 { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: -.02em; }
.mm-design-tower .mm-eyebrow { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .12em; }
.mm-design-tower .mm-card { border-left: 4px solid var(--mm-accent); border-radius: 0 !important; }

/* Roster: name-badge chips */
.mm-design-roster .mm-eyebrow { display: inline-block; background: var(--mm-accent); color: var(--mm-dark) !important; padding: 6px 12px; border-radius: 999px; letter-spacing: .08em; }
.mm-design-roster .mm-card { border-radius: 20px !important; border-top: 5px solid var(--mm-primary); }
.mm-design-roster .mm-section h2 { letter-spacing: -.025em; }

/* Roadway: road-line divider and sign yellow */
.mm-design-roadway .mm-hero { position: relative; }
.mm-design-roadway .mm-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--mm-secondary) 0 46px, transparent 46px 80px); }
.mm-design-roadway .mm-eyebrow { display: inline-block; background: var(--mm-secondary); color: var(--mm-dark) !important; padding: 5px 10px; transform: skew(-8deg); }
.mm-design-roadway .mm-section h2 { text-transform: uppercase; letter-spacing: .01em; }
.mm-design-roadway .mm-card { border: 3px solid var(--mm-dark) !important; border-radius: 4px !important; box-shadow: none !important; }

/* Showroom: racing red underline and clipped corners */
.mm-design-showroom .mm-section h2 { text-transform: uppercase; letter-spacing: .01em; font-style: italic; }
.mm-design-showroom .mm-section h2::after { content: ''; display: block; width: 72px; height: 5px; background: var(--mm-primary); margin-top: 14px; transform: skew(-20deg); }
.mm-design-showroom .mm-intro.mm-center h2::after { margin-left: auto; margin-right: auto; }
.mm-design-showroom .mm-card, .mm-design-showroom .mm-card-img img { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); border-radius: 0 !important; }

/* Bloom: organic shapes and leaf green */
.mm-design-bloom .mm-img--hero img, .mm-design-bloom .mm-img--feature img { border-radius: 46% 54% 48% 52% / 54% 44% 56% 46% !important; }
.mm-design-bloom .mm-card { border-radius: 30px !important; }
.mm-design-bloom .mm-bg-light { background-image: radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--mm-accent) 22%, transparent) 0, transparent 40%), radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--mm-secondary) 16%, transparent) 0, transparent 45%); }

/* Altitude: night sky, gold hairlines, wide tracking */
.mm-design-altitude .mm-hero-title { text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.mm-design-altitude .mm-eyebrow { color: var(--mm-primary) !important; letter-spacing: .3em; }
.mm-design-altitude .mm-card { background: transparent !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mm-primary) 45%, transparent) !important; border-radius: 2px !important; }
.mm-design-altitude .mm-bg-white, .mm-design-altitude .mm-bg-light { background-image: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mm-secondary) 8%, transparent)); }

/* Passport: postcard edges and tilted photos */
.mm-design-passport .mm-card { outline: 2px dashed color-mix(in srgb, var(--mm-secondary) 55%, transparent); outline-offset: -10px; border-radius: 6px !important; }
.mm-design-passport .mm-card--photo .mm-card-img img { transform: rotate(-1.2deg); }
.mm-design-passport .mm-eyebrow::before { content: '✈ '; color: var(--mm-secondary); }

/* Atlas: architectural hairlines and tiny caps */
.mm-design-atlas .mm-eyebrow { letter-spacing: .3em; font-size: 11px; }
.mm-design-atlas .mm-card { box-shadow: none !important; border: 1px solid var(--mm-dark); border-radius: 0 !important; }
.mm-design-atlas .mm-section h2 { font-weight: 500; letter-spacing: -.02em; }
.mm-design-atlas .mm-bg-light { background-image: linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }

/* Hearth: soft and warm */
.mm-design-hearth .mm-card { border-radius: 28px !important; box-shadow: 0 14px 40px rgba(31, 45, 45, .08) !important; }
.mm-design-hearth .mm-eyebrow { color: var(--mm-primary-text); letter-spacing: .08em; text-transform: none; font-size: 15px; font-weight: 700; }
.mm-design-hearth .mm-bg-light { background-color: color-mix(in srgb, var(--mm-secondary) 12%, var(--mm-light)); }

/* Smile: bright, bubbly, a sparkle */
.mm-design-smile .mm-eyebrow::before { content: '✦ '; color: var(--mm-accent); }
.mm-design-smile .mm-card { border-radius: 24px !important; background: color-mix(in srgb, var(--mm-secondary) 9%, #fff) !important; }
.mm-design-smile .mm-bg-light { background-image: radial-gradient(color-mix(in srgb, var(--mm-secondary) 25%, transparent) 2px, transparent 2.5px); background-size: 26px 26px; }

/* Serene: calm, centered, no hard edges */
.mm-design-serene .mm-intro { text-align: center; margin-left: auto; margin-right: auto; }
.mm-design-serene .mm-card { box-shadow: none !important; border: 1px solid color-mix(in srgb, var(--mm-secondary) 35%, transparent); border-radius: 16px !important; }
.mm-design-serene .mm-section h2 { font-weight: 500; }
.mm-design-serene .mm-eyebrow { color: var(--mm-secondary); letter-spacing: .18em; }

/* Tempo: belt-stripe bars and energy */
.mm-design-tempo .mm-section h2::after { content: ''; display: block; width: 96px; height: 8px; margin-top: 14px; background: linear-gradient(90deg, var(--mm-primary) 0 33%, var(--mm-secondary) 33% 66%, var(--mm-accent) 66%); border-radius: 4px; }
.mm-design-tempo .mm-intro.mm-center h2::after { margin-left: auto; margin-right: auto; }
.mm-design-tempo .mm-card { border-radius: 22px !important; transform: rotate(-.4deg); }
.mm-design-tempo .mm-card:nth-child(even) { transform: rotate(.4deg); }
.mm-design-tempo .mm-section h2 { letter-spacing: -.02em; }
.mm-design-galley .mm-eyebrow { color: color-mix(in srgb, var(--mm-secondary) 62%, #000) !important; }
.mm-design-serene .mm-eyebrow { color: color-mix(in srgb, var(--mm-secondary) 55%, #000) !important; }
.mm-design-hearth .mm-eyebrow { color: color-mix(in srgb, var(--mm-primary) 78%, #000) !important; }

/* ------------------------------------------------------------ v1.49: Petal, Dew, Facet */
.mm-design-petal .mm-eyebrow::before { content: '❀ '; color: var(--mm-primary); }
.mm-design-petal .mm-card--photo .mm-card-img img, .mm-design-petal .mm-img--feature img, .mm-design-petal .mm-hero .mm-img img { border-radius: 120px 14px 120px 14px !important; }
.mm-design-petal .mm-card { border-radius: 26px !important; }
.mm-design-petal .mm-bg-light { background-image: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--mm-accent) 40%, transparent) 0, transparent 35%), radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--mm-secondary) 12%, transparent) 0, transparent 40%); }
.mm-design-dew .mm-card, .mm-design-dew .mm-product { background: color-mix(in srgb, #fff 70%, transparent) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, var(--mm-secondary) 40%, transparent); border-radius: 28px !important; box-shadow: 0 18px 40px rgba(43, 33, 30, .06) !important; }
.mm-design-dew .mm-bg-light, .mm-design-dew .mm-bg-white { background-image: radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--mm-accent) 60%, transparent) 0, transparent 30%), radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--mm-secondary) 25%, transparent) 0, transparent 35%); }
.mm-design-dew .mm-section h2 { font-weight: 500; letter-spacing: -.025em; }
.mm-design-dew .mm-eyebrow { letter-spacing: .2em; color: color-mix(in srgb, var(--mm-primary) 85%, #000) !important; }
.mm-design-facet .mm-eyebrow::before { content: '◆ '; color: var(--mm-primary); font-size: .8em; }
.mm-design-facet .mm-eyebrow { color: var(--mm-primary) !important; letter-spacing: .28em; }
.mm-design-facet .mm-section h2, .mm-design-facet .mm-hero-title { font-weight: 500; letter-spacing: .01em; }
.mm-design-facet .mm-card, .mm-design-facet .mm-product { background: transparent !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mm-primary) 35%, transparent) !important; border-radius: 0 !important; transition: box-shadow .2s; }
.mm-design-facet .mm-card:hover, .mm-design-facet .mm-product:hover { box-shadow: inset 0 0 0 1px var(--mm-primary) !important; }
.mm-design-facet .wp-block-button__link { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.mm-design-dew .mm-cite { color: color-mix(in srgb, var(--mm-primary) 80%, #000) !important; opacity: 1 !important; }

/* ------------------------------------------------------------ v1.50: Climate, Flow, Mend, Calm */
.mm-design-climate .mm-section h2::after { content: ''; display: block; width: 92px; height: 6px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--mm-accent), var(--mm-primary) 45%, var(--mm-secondary)); }
.mm-design-climate .mm-intro.mm-center h2::after { margin-left: auto; margin-right: auto; }
.mm-design-climate .mm-eyebrow::before { content: '❄ '; color: var(--mm-primary); }
.mm-design-climate .mm-card { border-radius: 18px !important; background-image: linear-gradient(90deg, var(--mm-primary), var(--mm-secondary)) !important; background-size: 100% 4px !important; background-position: bottom !important; background-repeat: no-repeat !important; }
.mm-design-flow .mm-hero { position: relative; }
.mm-design-flow .mm-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 36px; pointer-events: none; background: var(--mm-bg-alt); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C150 0 300 0 450 18s300 18 450 0 300-18 300 0v18z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C150 0 300 0 450 18s300 18 450 0 300-18 300 0v18z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.mm-design-flow .mm-eyebrow::before { content: '💧'; margin-right: 6px; filter: grayscale(.2); }
.mm-design-flow .mm-header-cta { background: var(--mm-accent) !important; color: var(--mm-dark) !important; }
.mm-design-flow .mm-card { border-left: 5px solid var(--mm-primary); border-radius: 10px !important; }
.mm-design-mend .mm-bg-light { background-image: radial-gradient(120% 60% at 100% 0, transparent 58%, color-mix(in srgb, var(--mm-accent) 30%, transparent) 58.4%, transparent 59.6%), radial-gradient(120% 60% at 100% 0, transparent 66%, color-mix(in srgb, var(--mm-secondary) 22%, transparent) 66.4%, transparent 67.4%); }
.mm-design-mend .mm-card { border-radius: 20px !important; border-top: 4px solid var(--mm-secondary); }
.mm-design-mend .mm-eyebrow { color: color-mix(in srgb, var(--mm-primary) 85%, #000) !important; }
.mm-design-calm .mm-card { border-radius: 32px !important; box-shadow: none !important; background: color-mix(in srgb, var(--mm-secondary) 14%, #fff) !important; }
.mm-design-calm .mm-section h2 { font-weight: 500; }
.mm-design-calm .mm-bg-light, .mm-design-calm .mm-bg-white { background-image: radial-gradient(40% 50% at 12% 20%, color-mix(in srgb, var(--mm-accent) 30%, transparent) 0, transparent 70%), radial-gradient(40% 50% at 88% 80%, color-mix(in srgb, var(--mm-primary) 10%, transparent) 0, transparent 70%); }
.mm-design-calm .mm-eyebrow { text-transform: none; letter-spacing: .02em; font-size: 15px; font-style: italic; }

/* Unboxed card layouts (icon lists, timelines, numbered steps, stat rows) never get a design's card borders, outlines or
   glows: those decorations are for boxed cards and collide with the icons, numbers and connecting lines. */
body:not(.mm-design-panel) .mm-v-icons .mm-card,
body:not(.mm-design-panel) .mm-timeline > .mm-card,
body:not(.mm-design-panel) .mm-v-steps .mm-card,
.mm-stats .mm-card {
	border: 0 !important; outline: 0 !important; box-shadow: none !important; background-color: transparent !important; background-image: none !important;
	clip-path: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none !important; border-radius: 0 !important;
}
body:not(.mm-design-panel) .mm-v-minimal .mm-card { border: 0 !important; outline: 0 !important; background-color: transparent !important; background-image: none !important; clip-path: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none !important; }

/* Sections fade in as they scroll into view (Settings → Design → Motion). Only after the script has marked them. */
.mm-anim .mm-reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.mm-anim .mm-reveal:not(.mm-in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .mm-anim .mm-reveal, .mm-anim .mm-reveal:not(.mm-in) { opacity: 1; transform: none; transition: none; } }
@media print { .mm-anim .mm-reveal:not(.mm-in) { opacity: 1; transform: none; } }

/* Show on devices (block settings → Show on devices). Only on the live site: in the editor these stay visible, faded. */
@media (max-width: 599.98px) { body:not(.editor-styles-wrapper) .mm-hide-phone { display: none !important; } }
@media (min-width: 600px) and (max-width: 1024.98px) { body:not(.editor-styles-wrapper) .mm-hide-tablet { display: none !important; } }
@media (min-width: 1025px) { body:not(.editor-styles-wrapper) .mm-hide-desktop { display: none !important; } }

/* Countdown block */
.mm-countdown { text-align: center; margin-block: clamp(20px, 4vw, 40px); }
.mm-countdown-h { margin: 0 0 14px; font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight, 700); font-size: clamp(18px, 2.4vw, 24px); color: var(--mm-text); }
.mm-cd-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 2vw, 16px); max-width: 480px; margin: 0 auto; }
.mm-cd-units[hidden], .mm-cd-done[hidden] { display: none !important; }
.mm-cd-unit { min-width: 0; padding: clamp(10px, 2vw, 18px) 4px; border-radius: var(--mm-radius); background: var(--mm-card); box-shadow: inset 0 0 0 1px var(--mm-line); display: grid; gap: 4px; }
.mm-bg-white .mm-cd-unit { background: var(--mm-card-alt); }
.mm-cd-unit b { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight, 800); font-size: clamp(26px, 7vw, 52px); line-height: 1; color: var(--mm-primary-text, var(--mm-primary)); font-variant-numeric: tabular-nums; }
.mm-cd-unit span { font-size: clamp(10px, 2.6vw, 12px); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.mm-cd-done { margin: 0; font-size: 1.15em; font-weight: 700; }
.mm-cd-pick { margin: 0; padding: 18px; border: 1px dashed var(--mm-line); border-radius: var(--mm-radius); opacity: .8; }
.mm-bg-dark .mm-countdown-h, .mm-bg-dark .mm-cd-unit b { color: #fff; }

/* Counters block */
.mm-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(14px, 3vw, 28px); text-align: center; margin-block: clamp(20px, 4vw, 40px); }
.mm-counter { display: grid; gap: 6px; }
.mm-counter-n { font-family: var(--mm-font-heading); font-weight: var(--mm-heading-weight, 800); font-size: clamp(36px, 6vw, 60px); line-height: 1; color: var(--mm-primary-text, var(--mm-primary)); font-variant-numeric: tabular-nums; }
.mm-counter span { font-size: 15px; opacity: .8; }
.mm-bg-dark .mm-counter-n { color: #fff; }
/* Owners often drop these straight into a page (outside a Modularity section): keep them off the screen edges. */
.mm-countdown, .mm-counters { padding-inline: 16px; box-sizing: border-box; }

/* ------------------------------------------------------------ Stage header (dancers & performers) */
.mm-hero--stage { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(440px, 42vw, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(16px, 2.4vw, 36px) !important; padding-bottom: var(--stage-pb) !important; padding-left: clamp(16px, 3vw, 40px) !important; padding-right: clamp(16px, 3vw, 40px) !important;
	background: radial-gradient(ellipse 34% 58% at var(--stage-x, 64%) 46%, color-mix(in srgb, var(--mm-secondary) 62%, transparent), transparent 72%), radial-gradient(ellipse 62% 90% at var(--stage-x, 64%) -10%, color-mix(in srgb, var(--mm-secondary) 85%, #fff 6%), transparent 66%), radial-gradient(ellipse 120% 70% at 50% 118%, #000 35%, transparent 72%), linear-gradient(180deg, #000, var(--mm-dark) 30%, #050308) !important; color: #fff; }
.mm-stage-fx { position: absolute !important; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; max-width: none !important; width: auto !important; margin: 0 !important; }
.mm-stage-fx > span { position: absolute; display: block; }
.mm-stage-beam { left: var(--stage-x, 64%); top: -14%; width: 64%; height: 125%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0, transparent 162deg, color-mix(in srgb, var(--mm-secondary) 40%, transparent) 172deg, color-mix(in srgb, #fff 22%, var(--mm-secondary)) 180deg, color-mix(in srgb, var(--mm-secondary) 40%, transparent) 188deg, transparent 198deg); filter: blur(30px); opacity: .95; mix-blend-mode: screen; }
.mm-stage-haze { inset: -25%; background: radial-gradient(38% 28% at 30% 42%, color-mix(in srgb, var(--mm-secondary) 34%, transparent), transparent 70%), radial-gradient(32% 24% at 72% 30%, color-mix(in srgb, var(--mm-accent) 20%, transparent), transparent 70%), radial-gradient(46% 34% at 56% 72%, color-mix(in srgb, var(--mm-secondary) 26%, transparent), transparent 70%); filter: blur(46px); opacity: .85; animation: mm-stage-haze 26s ease-in-out infinite alternate; }
@keyframes mm-stage-haze { from { transform: translate3d(-4%, 1%, 0) scale(1); } to { transform: translate3d(4%, -2%, 0) scale(1.1); } }
.mm-stage-floor { left: 0; right: 0; bottom: calc(var(--stage-pb, 0px) * .55); height: 15%; background: radial-gradient(ellipse 22% 55% at var(--stage-x, 64%) 8%, color-mix(in srgb, #fff 28%, var(--mm-accent)), transparent 70%), radial-gradient(ellipse 46% 70% at var(--stage-x, 64%) 0, color-mix(in srgb, var(--mm-secondary) 60%, transparent), transparent 72%), linear-gradient(180deg, color-mix(in srgb, var(--mm-secondary) 18%, #000), #000 75%); border-top: 1px solid color-mix(in srgb, var(--mm-accent) 55%, transparent); box-shadow: 0 -1px 0 color-mix(in srgb, #fff 12%, transparent), 0 -12px 40px color-mix(in srgb, var(--mm-secondary) 55%, transparent); }
.mm-hero--stage > .mm-stage-cols, .mm-hero--stage > .mm-stage-solo { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto !important; align-items: flex-end !important; gap: clamp(12px, 2.4vw, 36px) !important; }
.mm-hero--stage .mm-stage-cols > .wp-block-column:first-child { align-self: center; padding-bottom: clamp(64px, 9vw, 128px); } /* Centred above the stage floor, buttons well clear of it. */
/* Tight, even rhythm inside the hero text. */
.mm-hero--stage .mm-hero-inner > * { margin-top: 0 !important; }
.mm-hero--stage .mm-hero-logo { margin-bottom: 10px; }
.mm-hero--stage .mm-eyebrow { margin-bottom: 6px !important; }
.mm-hero--stage .mm-hero-title { margin-bottom: 10px !important; }
.mm-hero--stage .mm-lead { margin-bottom: 16px !important; }
.mm-hero--stage .mm-hero-inner > .wp-block-buttons { margin-top: 0 !important; margin-bottom: 0 !important; gap: 10px; }
.mm-hero--stage .mm-hero-inner { text-align: center; }
.mm-hero--stage .mm-eyebrow { color: color-mix(in srgb, var(--mm-accent) 55%, #fff) !important; letter-spacing: .24em; }
.mm-hero--stage .mm-hero-title { font-size: clamp(26px, 3.2vw, 44px) !important; line-height: 1.18; max-width: 22ch; margin-left: auto !important; margin-right: auto !important; background: linear-gradient(180deg, #FFF6DD 0%, color-mix(in srgb, var(--mm-primary) 70%, #fff) 45%, var(--mm-primary) 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55)); }
.mm-hero--stage .mm-lead { color: color-mix(in srgb, #fff 82%, var(--mm-accent)) !important; max-width: 46ch; margin-left: auto !important; margin-right: auto !important; }
.mm-hero--stage .wp-block-buttons { justify-content: center; }
.mm-stage-slider { position: relative; height: clamp(380px, 39vw, 580px); width: 100%; }
.mm-stage-slider::after { content: ''; position: absolute; left: 50%; bottom: 3%; width: 46%; height: 5%; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0, 0, 0, .7), transparent 70%); z-index: 0; }
.mm-stage-cut { position: absolute; z-index: 1; left: 50%; bottom: 4%; height: calc(97% * var(--stage-size, 1)); width: auto; max-width: 100%; object-fit: contain; object-position: bottom center; opacity: 0; transform: translateX(-50%); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 46px color-mix(in srgb, var(--mm-secondary) 45%, transparent)); }
.mm-stage-slider[data-n="1"] .mm-stage-cut { opacity: 1; }
/* No cut-outs: the photo stands on the stage in an arched, spotlit frame. */
.mm-stage-slider--photo { display: flex; align-items: flex-end; justify-content: center; }
.mm-stage-slider--photo::after { display: none; }
.mm-stage-portrait { position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%); margin: 0 !important; height: calc(84% * var(--stage-size, 1)); width: auto; max-width: 92%; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 26px 26px; padding: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--mm-primary) 85%, #fff), color-mix(in srgb, var(--mm-primary) 40%, transparent) 70%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--mm-secondary) 60%, transparent), 0 30px 50px rgba(0, 0, 0, .55); }
.mm-stage-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 21px 21px; filter: saturate(1.05) contrast(1.03); }
.mm-stage-portrait::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -9%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .65), transparent 70%); }
.mm-stage-slider--empty { display: none; }
.mm-hero--stage:has(.mm-stage-slider--empty) { --stage-x: 50%; }
.mm-hero--stage .mm-stage-cols:has(.mm-stage-slider--empty) > .wp-block-column:first-child { flex-basis: 100% !important; padding-bottom: clamp(48px, 6vw, 88px); }
/* The logo in the homepage header (Settings → Header), on any design. */
.mm-hero-logo { margin: 0 0 18px; line-height: 0; }
.mm-center .mm-hero-logo, .mm-hero--stage .mm-hero-logo { display: flex; justify-content: center; }
.mm-hero-logo img { width: var(--mm-hero-logo, 260px); max-width: 86%; height: auto; max-height: calc(var(--mm-hero-logo, 260px) * .9); object-fit: contain; }
.mm-bg-dark .mm-hero-logo img, .wp-block-cover .mm-hero-logo img, .mm-hero--stage .mm-hero-logo img { filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .55)); }
@media (max-width: 781px) { .mm-hero-logo img { max-width: 70%; } }
@media (prefers-reduced-motion: reduce) {
	.mm-stage-haze { animation: none; }
	.mm-stage-slider .mm-stage-cut { animation: none !important; opacity: 0 !important; }
	.mm-stage-slider .mm-stage-cut:first-child { opacity: 1 !important; }
}
@media (max-width: 781px) {
	.mm-hero--stage { min-height: 0; }
	.mm-hero--stage .mm-stage-cols > .wp-block-column:first-child { padding-bottom: 8px; }
	.mm-stage-slider { height: clamp(300px, 92vw, 460px); }
	.mm-stage-beam { left: 50%; width: 120%; }
	.mm-stage-floor { height: 9%; }
}
/* The rest of a Stage site: gold headings on near-black, a hint of the stage glow. */
body.mm-design-stage .mm-section h2, body.mm-design-stage .mm-section h3 { color: var(--mm-primary); }
body.mm-design-stage .mm-bg-white, body.mm-design-stage .mm-bg-light { background-image: radial-gradient(ellipse 70% 50% at 50% 0, color-mix(in srgb, var(--mm-secondary) 14%, transparent), transparent 70%); }

/* Stage: smoke (a soft fractal-noise texture drifting both ways), an own backdrop, and the hand-over to the next section. */
.mm-stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.mm-stage-fx[data-backdrop] .mm-stage-beam { opacity: .55; }
.mm-stage-haze::before, .mm-stage-haze::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.84 0 0 0 0 0.72 0 0 0 0 1 1.5 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"); background-size: 700px 700px; mix-blend-mode: screen; opacity: var(--smoke, .34); }
.mm-stage-haze::before { animation: mm-smoke-a 70s linear infinite; }
.mm-stage-haze::after { background-size: 1100px 1100px; opacity: calc(var(--smoke, .34) * .75); animation: mm-smoke-b 95s linear infinite; }
@keyframes mm-smoke-a { from { background-position: 0 0; } to { background-position: 700px -140px; } }
@keyframes mm-smoke-b { from { background-position: 0 0; } to { background-position: -1100px 220px; } }
.mm-stage-fx[data-smoke="off"] .mm-stage-haze { display: none; }
.mm-stage-fx[data-smoke="light"] { --smoke: .2; }
.mm-stage-fx[data-smoke="medium"] { --smoke: .34; }
.mm-stage-fx[data-smoke="heavy"] { --smoke: .55; }
.mm-stage-fx[data-smoke="heavy"] .mm-stage-haze { opacity: 1; }
.mm-hero--stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(44px, 5.5vw, 88px); z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mm-bg) 70%, transparent) 55%, var(--mm-bg)); }
.mm-hero--stage + .mm-section { border-top: 0 !important; padding-top: clamp(40px, 5vw, 72px) !important; }
/* Performer on the left. */
.mm-hero--stage .mm-stage-cols:has(.mm-stage-slider[data-side="left"]) { flex-direction: row-reverse; }
@media (max-width: 781px) { .mm-hero--stage .mm-stage-cols:has(.mm-stage-slider[data-side="left"]) { flex-direction: column; align-items: stretch !important; } }
/* Text and performer sit close together; the spotlight, glow and floor light are worked out from the same numbers,
   so they stay on the performer at every width: text 58% of the row, performer 42%, row at most 920px wide. */
/* Room under the stage floor, so the performer's feet stay clear of the fade into the next section. */
.mm-hero--stage { --stage-pb: clamp(40px, 5.5vw, 84px); }
.mm-hero--stage { --stage-row: min(920px, 100% - 2 * clamp(16px, 3vw, 40px)); --stage-gap: clamp(8px, 1.6vw, 24px); --stage-x: calc(50% + .29 * var(--stage-row) + var(--stage-gap) / 2); }
.mm-hero--stage > .mm-stage-cols { max-width: 920px; gap: var(--stage-gap) !important; }
.mm-hero--stage .mm-stage-cols > .wp-block-column:first-child { flex: 0 0 calc(58% - var(--stage-gap) / 2) !important; }
.mm-hero--stage .mm-stage-cols > .wp-block-column:last-child { flex: 0 0 calc(42% - var(--stage-gap) / 2) !important; }
.mm-hero--stage:has(.mm-stage-slider[data-side="left"]) { --stage-x: calc(50% - .29 * var(--stage-row) - var(--stage-gap) / 2); }
.mm-hero--stage:has(.mm-stage-slider--empty) { --stage-x: 50%; }
.mm-hero--stage .mm-stage-cols:has(.mm-stage-slider--empty) > .wp-block-column:first-child { flex-basis: 100% !important; }
@media (max-width: 781px) {
	.mm-hero--stage, .mm-hero--stage:has(.mm-stage-slider[data-side="left"]) { --stage-x: 50%; }
	.mm-hero--stage .mm-stage-cols > .wp-block-column:first-child, .mm-hero--stage .mm-stage-cols > .wp-block-column:last-child { flex: 0 0 100% !important; }
}
/* The slider: each performer stays --stage-step seconds; fade, slide or zoom between them. */
.mm-stage-slider .mm-stage-cut { animation-iteration-count: infinite; animation-timing-function: ease-in-out; animation-delay: calc(var(--i) * var(--stage-step, 5s)); }
.mm-stage-slider[data-n="2"] .mm-stage-cut { animation-name: mm-st-fade-2; animation-duration: calc(2 * var(--stage-step, 5s)); }
@keyframes mm-st-fade-2 { 0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.985); } 7% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 50% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 57% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } 100% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } }
.mm-stage-slider[data-n="2"][data-effect="slide"] .mm-stage-cut { animation-name: mm-st-slide-2; }
@keyframes mm-st-slide-2 { 0% { opacity: 0; transform: translateX(calc(-50% + 70px)); } 7% { opacity: 1; transform: translateX(-50%); } 50% { opacity: 1; transform: translateX(-50%); } 57% { opacity: 0; transform: translateX(calc(-50% - 70px)); } 100% { opacity: 0; transform: translateX(calc(-50% - 70px)); } }
.mm-stage-slider[data-n="2"][data-effect="zoom"] .mm-stage-cut { animation-name: mm-st-zoom-2; }
@keyframes mm-st-zoom-2 { 0% { opacity: 0; transform: translateX(-50%) scale(.9); } 7% { opacity: 1; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1); } 57% { opacity: 0; transform: translateX(-50%) scale(1.07); } 100% { opacity: 0; transform: translateX(-50%) scale(1.07); } }
.mm-stage-slider[data-n="3"] .mm-stage-cut { animation-name: mm-st-fade-3; animation-duration: calc(3 * var(--stage-step, 5s)); }
@keyframes mm-st-fade-3 { 0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.985); } 4.67% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 33.33% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 38% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } 100% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } }
.mm-stage-slider[data-n="3"][data-effect="slide"] .mm-stage-cut { animation-name: mm-st-slide-3; }
@keyframes mm-st-slide-3 { 0% { opacity: 0; transform: translateX(calc(-50% + 70px)); } 4.67% { opacity: 1; transform: translateX(-50%); } 33.33% { opacity: 1; transform: translateX(-50%); } 38% { opacity: 0; transform: translateX(calc(-50% - 70px)); } 100% { opacity: 0; transform: translateX(calc(-50% - 70px)); } }
.mm-stage-slider[data-n="3"][data-effect="zoom"] .mm-stage-cut { animation-name: mm-st-zoom-3; }
@keyframes mm-st-zoom-3 { 0% { opacity: 0; transform: translateX(-50%) scale(.9); } 4.67% { opacity: 1; transform: translateX(-50%) scale(1); } 33.33% { opacity: 1; transform: translateX(-50%) scale(1); } 38% { opacity: 0; transform: translateX(-50%) scale(1.07); } 100% { opacity: 0; transform: translateX(-50%) scale(1.07); } }
.mm-stage-slider[data-n="4"] .mm-stage-cut { animation-name: mm-st-fade-4; animation-duration: calc(4 * var(--stage-step, 5s)); }
@keyframes mm-st-fade-4 { 0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.985); } 3.5% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 25% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 28.5% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } 100% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } }
.mm-stage-slider[data-n="4"][data-effect="slide"] .mm-stage-cut { animation-name: mm-st-slide-4; }
@keyframes mm-st-slide-4 { 0% { opacity: 0; transform: translateX(calc(-50% + 70px)); } 3.5% { opacity: 1; transform: translateX(-50%); } 25% { opacity: 1; transform: translateX(-50%); } 28.5% { opacity: 0; transform: translateX(calc(-50% - 70px)); } 100% { opacity: 0; transform: translateX(calc(-50% - 70px)); } }
.mm-stage-slider[data-n="4"][data-effect="zoom"] .mm-stage-cut { animation-name: mm-st-zoom-4; }
@keyframes mm-st-zoom-4 { 0% { opacity: 0; transform: translateX(-50%) scale(.9); } 3.5% { opacity: 1; transform: translateX(-50%) scale(1); } 25% { opacity: 1; transform: translateX(-50%) scale(1); } 28.5% { opacity: 0; transform: translateX(-50%) scale(1.07); } 100% { opacity: 0; transform: translateX(-50%) scale(1.07); } }
.mm-stage-slider[data-n="5"] .mm-stage-cut { animation-name: mm-st-fade-5; animation-duration: calc(5 * var(--stage-step, 5s)); }
@keyframes mm-st-fade-5 { 0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.985); } 2.8% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 20% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 22.8% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } 100% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } }
.mm-stage-slider[data-n="5"][data-effect="slide"] .mm-stage-cut { animation-name: mm-st-slide-5; }
@keyframes mm-st-slide-5 { 0% { opacity: 0; transform: translateX(calc(-50% + 70px)); } 2.8% { opacity: 1; transform: translateX(-50%); } 20% { opacity: 1; transform: translateX(-50%); } 22.8% { opacity: 0; transform: translateX(calc(-50% - 70px)); } 100% { opacity: 0; transform: translateX(calc(-50% - 70px)); } }
.mm-stage-slider[data-n="5"][data-effect="zoom"] .mm-stage-cut { animation-name: mm-st-zoom-5; }
@keyframes mm-st-zoom-5 { 0% { opacity: 0; transform: translateX(-50%) scale(.9); } 2.8% { opacity: 1; transform: translateX(-50%) scale(1); } 20% { opacity: 1; transform: translateX(-50%) scale(1); } 22.8% { opacity: 0; transform: translateX(-50%) scale(1.07); } 100% { opacity: 0; transform: translateX(-50%) scale(1.07); } }
.mm-stage-slider[data-n="6"] .mm-stage-cut { animation-name: mm-st-fade-6; animation-duration: calc(6 * var(--stage-step, 5s)); }
@keyframes mm-st-fade-6 { 0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.985); } 2.33% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 16.67% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } 19% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } 100% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(1.005); } }
.mm-stage-slider[data-n="6"][data-effect="slide"] .mm-stage-cut { animation-name: mm-st-slide-6; }
@keyframes mm-st-slide-6 { 0% { opacity: 0; transform: translateX(calc(-50% + 70px)); } 2.33% { opacity: 1; transform: translateX(-50%); } 16.67% { opacity: 1; transform: translateX(-50%); } 19% { opacity: 0; transform: translateX(calc(-50% - 70px)); } 100% { opacity: 0; transform: translateX(calc(-50% - 70px)); } }
.mm-stage-slider[data-n="6"][data-effect="zoom"] .mm-stage-cut { animation-name: mm-st-zoom-6; }
@keyframes mm-st-zoom-6 { 0% { opacity: 0; transform: translateX(-50%) scale(.9); } 2.33% { opacity: 1; transform: translateX(-50%) scale(1); } 16.67% { opacity: 1; transform: translateX(-50%) scale(1); } 19% { opacity: 0; transform: translateX(-50%) scale(1.07); } 100% { opacity: 0; transform: translateX(-50%) scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .mm-stage-haze::before, .mm-stage-haze::after { animation: none; } }

/* The Thank You page (after a form is sent): one calm, centred card in the site's colors. */
.mm-thanks-page { min-height: min(72vh, 760px); display: grid; place-items: center; padding: clamp(48px, 8vw, 110px) clamp(16px, 4vw, 40px) !important; background: radial-gradient(ellipse 70% 60% at 50% 0, color-mix(in srgb, var(--mm-primary) 10%, transparent), transparent 70%), var(--mm-bg); max-width: none !important; margin: 0 !important; }
.mm-thanks-card { width: 100%; max-width: 760px; margin: 0 auto; text-align: center; }
.mm-thanks-check { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 999px; margin-bottom: 18px; color: var(--mm-on-primary, #fff); background: var(--mm-grad, var(--mm-primary)); box-shadow: 0 0 0 10px color-mix(in srgb, var(--mm-primary) 14%, transparent), 0 14px 34px color-mix(in srgb, var(--mm-primary) 35%, transparent); animation: mm-thanks-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes mm-thanks-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mm-thanks-page .mm-eyebrow { margin: 0 0 8px !important; }
.mm-thanks-title { font-size: clamp(28px, 4.2vw, 46px) !important; line-height: 1.12; margin: 0 auto 12px !important; max-width: 20ch; }
.mm-thanks-page .mm-lead { max-width: 52ch; margin: 0 auto 30px !important; }
.mm-thanks-steps { list-style: none; margin: 0 0 30px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.mm-thanks-steps li { margin: 0; padding: 18px 18px 16px; border: 1px solid var(--mm-line); border-radius: var(--mm-radius, 14px); background: var(--mm-card); box-shadow: var(--mm-shadow, none); display: grid; gap: 4px; }
.mm-thanks-steps b { font-family: var(--mm-font-head, inherit); font-size: 16px; }
.mm-thanks-steps span:not(.mm-thanks-n) { font-size: 14px; opacity: .8; line-height: 1.45; }
.mm-thanks-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--mm-primary); background: color-mix(in srgb, var(--mm-primary) 12%, transparent); }
.mm-thanks-btns { justify-content: center; gap: 10px; }
@media (max-width: 700px) { .mm-thanks-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mm-thanks-check { animation: none; } }
