/* ==========================================================================
   Mankomb WP — main design stylesheet
   Light editorial brand UI. Montserrat 900 display + Roboto Condensed body.
   White / cream surfaces, dark text, sharp corners, subtle shadows.
   Loaded on the front end and inside the block editor.
   ========================================================================== */

:root {
	--mk-bg: #FFFFFF;
	--mk-surface: #F5F5F5;
	--mk-surface-2: #E5E1DA;       /* cream panel */
	--mk-cream-light: #F6F1E8;
	--mk-blush: #F8DDD8;
	--mk-line: #E5E5E5;            /* light hairline border */
	--mk-line-strong: #CCCCCC;
	--mk-fg: #1A1A1A;             /* near-black headings */
	--mk-fg-body: #3F4651;       /* body copy grey */
	--mk-muted: #5B6470;         /* secondary / labels */
	--mk-slate: #0E1116;         /* inverse (dark) sections */

	--mk-teal: #197278;
	--mk-green: #678760;
	--mk-yellow: #FCC15D;
	--mk-orange: #FB9B27;
	--mk-red: #C44536;

	--mk-display: "Montserrat", "Arial Black", system-ui, -apple-system, sans-serif;
	--mk-body: "Roboto Condensed", "Roboto", system-ui, -apple-system, sans-serif;

	--mk-header-h: 64px;
	--mk-announce-h: 36px;
	--mk-brandbar-h: 6px;

	--mk-radius: 0px;            /* design uses sharp corners on cards / media */
	--mk-radius-sm: 4px;         /* buttons / inputs */
	--mk-radius-pill: 999px;
	--mk-maxw: 1200px;
	--mk-wide: 1400px;

	--mk-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	--mk-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }

body.wp-site-blocks,
body {
	background: var(--mk-bg);
	color: var(--mk-fg-body);
	font-family: var(--mk-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mk-display);
	font-weight: 900;
	color: var(--mk-fg);
	text-transform: none;
	line-height: 1.0;
	letter-spacing: -0.01em;
}
h1 { line-height: 0.9; letter-spacing: -0.02em; }
h2 { line-height: 0.95; }

a { color: var(--mk-red); text-decoration: none; }
a:hover { color: var(--mk-orange); }

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

::selection { background: var(--mk-red); color: #fff; }

.mk-eyebrow {
	font-family: var(--mk-body);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.875rem;
	color: var(--mk-muted);
}

.mk-muted { color: var(--mk-muted); }
.mk-center { text-align: center; }

/* layout helper so groups never touch screen edges on mobile */
.mk-wrap > .wp-block-group__inner-container,
.mk-section { padding-left: clamp(1rem, 5vw, 2rem); padding-right: clamp(1rem, 5vw, 2rem); }

/* ==========================================================================
   HEADER : announcement bar + white nav + 5-colour brand bar
   ========================================================================== */
.mk-header { position: sticky; top: 0; z-index: 100; }

.mk-announce {
	background: #0B0D11;
	color: #fff;
	text-align: center;
	font-family: var(--mk-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.72rem;
	line-height: var(--mk-announce-h);
	min-height: var(--mk-announce-h);
	padding: 0 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mk-announce .mk-announce__star { color: var(--mk-yellow); margin: 0 0.45em; }

.mk-navbar {
	position: relative;
	background: #FFFFFF;
	color: #0E1116;
	min-height: var(--mk-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 0 clamp(1rem, 5vw, 2.25rem);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.mk-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--mk-display);
	font-weight: 900;
	font-size: 1.45rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0E1116 !important;
	white-space: nowrap;
}
.mk-brand:hover { color: #0E1116 !important; }
.mk-brand small {
	display: block;
	font-size: 0.5rem;
	letter-spacing: 0.28em;
	color: var(--mk-red);
	font-weight: 800;
	margin-top: 2px;
}

.mk-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.mk-nav a,
.mk-nav .wp-block-navigation-item__content {
	color: #0E1116;
	font-family: var(--mk-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
}
.mk-nav a:hover { color: var(--mk-red); }

.mk-navbar .mk-btn { white-space: nowrap; }

/* the 5-segment brand line */
.mk-brandbar {
	height: var(--mk-brandbar-h);
	width: 100%;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}
.mk-brandbar span { display: block; height: 100%; }
.mk-brandbar .c1 { background: var(--mk-teal); }
.mk-brandbar .c2 { background: var(--mk-green); }
.mk-brandbar .c3 { background: var(--mk-yellow); }
.mk-brandbar .c4 { background: var(--mk-orange); }
.mk-brandbar .c5 { background: var(--mk-red); }

/* mobile menu toggle (hidden on desktop) */
.mk-menu-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border: 1px solid rgba(14,17,22,0.18);
	border-radius: var(--mk-radius-sm);
	background: #fff;
	color: #0E1116;
	cursor: pointer;
	padding: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.mk-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--mk-body);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.875rem;
	padding: 14px 24px;
	border-radius: var(--mk-radius-sm);
	border: 1px solid var(--mk-fg);
	background: var(--mk-fg);
	color: #fff;
	cursor: pointer;
	transition: opacity 0.12s var(--mk-ease), background 0.12s var(--mk-ease), color 0.12s var(--mk-ease);
	line-height: 1;
}
.mk-btn:hover,
.wp-block-button__link:hover { opacity: 0.88; }
.mk-btn:active,
.wp-block-button__link:active { transform: translateY(1px); }

.mk-btn--red,
.is-style-mk-red .wp-block-button__link { background: var(--mk-red); border-color: var(--mk-red); color: #fff; }
.mk-btn--red:hover,
.is-style-mk-red .wp-block-button__link:hover { background: var(--mk-orange); border-color: var(--mk-orange); color: #fff; opacity: 1; }

/* Ghost / secondary: outlined, adapts to context (dark text on light) */
.mk-btn--ghost,
.is-style-mk-ghost .wp-block-button__link {
	background: transparent;
	color: var(--mk-fg);
	border-color: var(--mk-fg);
}
.mk-btn--ghost:hover,
.is-style-mk-ghost .wp-block-button__link:hover { background: var(--mk-fg); color: #fff; opacity: 1; }

/* Light: for use on dark / inverse sections */
.mk-btn--light,
.is-style-mk-light .wp-block-button__link { background: #fff; border-color: #fff; color: #0E1116; }
.mk-btn--light:hover,
.is-style-mk-light .wp-block-button__link:hover { background: var(--mk-yellow); border-color: var(--mk-yellow); color: #0E1116; opacity: 1; }

.mk-btn__price { opacity: 0.85; font-weight: 700; }

/* ==========================================================================
   SECTIONS / CONTAINERS
   ========================================================================== */
.mk-section { padding-top: clamp(3rem, 8vw, 7rem); padding-bottom: clamp(3rem, 8vw, 7rem); }
.mk-section--tight { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.mk-section--surface { background: var(--mk-surface); }
.mk-section--warm    { background: var(--mk-cream-light); }
.mk-section--cream   { background: var(--mk-surface-2); }
.mk-section--blush   { background: var(--mk-blush); }
.mk-section--inverse { background: var(--mk-slate); color: var(--mk-fg-on-dark, #B7BCC4); }
.mk-section--inverse h1, .mk-section--inverse h2, .mk-section--inverse h3,
.mk-section--inverse h4, .mk-section--inverse h5, .mk-section--inverse h6 { color: #FFFFFF; }
.mk-section--inverse .mk-muted { color: #A7AEB8; }
.mk-section--inverse .mk-eyebrow { color: #A7AEB8; }
.mk-container { max-width: var(--mk-maxw); margin-inline: auto; }
.mk-container--wide { max-width: var(--mk-wide); }

.mk-kicker-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.mk-divider { height: 1px; background: var(--mk-line); border: 0; margin: 0; }

/* ==========================================================================
   HERO (home + product)
   ========================================================================== */
.mk-hero {
	position: relative;
	background:
		radial-gradient(1200px 600px at 75% -10%, rgba(251, 155, 39, 0.10), transparent 60%),
		radial-gradient(900px 500px at 0% 110%, rgba(25, 114, 120, 0.08), transparent 55%),
		var(--mk-cream-light);
	overflow: hidden;
}
.mk-hero__inner {
	max-width: var(--mk-maxw);
	margin-inline: auto;
	padding: clamp(3rem, 9vw, 7rem) clamp(1rem, 5vw, 2rem);
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.mk-hero__title {
	font-size: clamp(2.85rem, 8vw, 6rem);
	line-height: 0.9;
	letter-spacing: -0.02em;
	margin: 0.6rem 0 1rem;
}
.mk-hero__title .mk-accent { color: var(--mk-red); }
.mk-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--mk-muted); max-width: 46ch; }
.mk-hero__cta { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.75rem; }
.mk-hero__price { font-family: var(--mk-display); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--mk-fg); margin: 0.5rem 0 0.25rem; }
.mk-hero__price span { font-family: var(--mk-body); font-weight: 400; font-size: 1rem; color: var(--mk-muted); text-decoration: line-through; margin-left: 0.6rem; }
.mk-hero__note { font-size: 0.85rem; color: var(--mk-muted); margin-top: 0.9rem; }
.mk-minis { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 1.6rem; }
.mk-mini b { display: block; font-family: var(--mk-display); font-weight: 900; font-size: 1.4rem; color: var(--mk-fg); line-height: 1; }
.mk-mini span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mk-muted); }

.mk-hero__media {
	border-radius: var(--mk-radius);
	background: linear-gradient(160deg, var(--mk-surface-2), var(--mk-surface));
	border: 1px solid var(--mk-line);
	box-shadow: var(--mk-shadow);
	min-height: 320px;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.mk-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   STATS GRID
   ========================================================================== */
.mk-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2.5vw, 1.75rem);
}
.mk-stat {
	background: var(--mk-surface);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	padding: clamp(1.25rem, 3vw, 2rem);
	text-align: center;
}
.mk-stat__num {
	font-family: var(--mk-display);
	font-weight: 900;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1;
	letter-spacing: 0.01em;
}
.mk-stat:nth-child(1) .mk-stat__num { color: var(--mk-teal); }
.mk-stat:nth-child(2) .mk-stat__num { color: var(--mk-green); }
.mk-stat:nth-child(3) .mk-stat__num { color: var(--mk-orange); }
.mk-stat:nth-child(4) .mk-stat__num { color: var(--mk-red); }
.mk-stat__label { color: var(--mk-muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin-top: 0.5rem; }

/* ==========================================================================
   CARD GRIDS (platform / features / blog)
   ========================================================================== */
.mk-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.mk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mk-grid--4 { grid-template-columns: repeat(4, 1fr); }

.mk-card {
	background: var(--mk-surface);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	padding: clamp(1.4rem, 3vw, 2rem);
	transition: transform 0.2s var(--mk-ease), border-color 0.2s var(--mk-ease);
	height: 100%;
}
.mk-card:hover { transform: translateY(-4px); border-color: var(--mk-line-strong); box-shadow: var(--mk-shadow); }
.mk-card__icon {
	width: 48px; height: 48px; border-radius: 12px;
	display: grid; place-items: center; margin-bottom: 1rem;
	font-family: var(--mk-display); font-weight: 900; color: #0E1116; font-size: 1.2rem;
}
.mk-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.mk-card p { color: var(--mk-muted); }
.mk-card__top-line { height: 4px; width: 44px; border-radius: 4px; margin-bottom: 1rem; }
.mk-platform-icon { width: 44px; height: 44px; object-fit: contain; margin-bottom: 0.85rem; }

/* colour rotation for cards */
.mk-card:nth-child(5n+1) .mk-card__icon, .mk-card:nth-child(5n+1) .mk-card__top-line { background: var(--mk-teal); }
.mk-card:nth-child(5n+2) .mk-card__icon, .mk-card:nth-child(5n+2) .mk-card__top-line { background: var(--mk-green); }
.mk-card:nth-child(5n+3) .mk-card__icon, .mk-card:nth-child(5n+3) .mk-card__top-line { background: var(--mk-yellow); }
.mk-card:nth-child(5n+4) .mk-card__icon, .mk-card:nth-child(5n+4) .mk-card__top-line { background: var(--mk-orange); }
.mk-card:nth-child(5n+5) .mk-card__icon, .mk-card:nth-child(5n+5) .mk-card__top-line { background: var(--mk-red); }

/* ==========================================================================
   HOW IT WORKS (numbered steps)
   ========================================================================== */
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); counter-reset: mk-step; }
.mk-step { position: relative; padding-top: 1rem; }
.mk-step__n {
	font-family: var(--mk-display); font-weight: 900; font-size: 2.6rem;
	color: var(--mk-orange); line-height: 1;
}
.mk-step h3 { font-size: 1.2rem; margin: 0.5rem 0; }
.mk-step p { color: var(--mk-muted); }

/* ==========================================================================
   SPECS
   ========================================================================== */
.mk-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--mk-line); border-radius: var(--mk-radius); overflow: hidden; }
.mk-spec { padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.2rem, 3vw, 1.8rem); border-bottom: 1px solid var(--mk-line); border-right: 1px solid var(--mk-line); }
.mk-spec__k { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--mk-muted); }
.mk-spec__v { font-family: var(--mk-display); font-weight: 800; font-size: 1.15rem; margin-top: 0.35rem; }

/* ==========================================================================
   SPLIT (problem / solution, product detail)
   ========================================================================== */
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mk-split__media {
	border-radius: var(--mk-radius); border: 1px solid var(--mk-line);
	background: linear-gradient(160deg, var(--mk-surface-2), var(--mk-surface));
	min-height: 300px; box-shadow: var(--mk-shadow); overflow: hidden;
}
.mk-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   BLOG (query loop styled as cards) + single
   ========================================================================== */
.mk-postcard,
.mk-blogquery .wp-block-post {
	background: var(--mk-surface);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s var(--mk-ease), border-color 0.2s var(--mk-ease);
}
.mk-blogquery .wp-block-post:hover { transform: translateY(-4px); border-color: var(--mk-line-strong); box-shadow: var(--mk-shadow); }
.mk-blogquery .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 10; }
.mk-blogquery .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.mk-blogquery .mk-postcard__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.mk-blogquery .wp-block-post-title { font-size: 1.3rem; margin: 0; }
.mk-blogquery .wp-block-post-title a { color: var(--mk-fg); }
.mk-blogquery .wp-block-post-title a:hover { color: var(--mk-red); }
.mk-blogquery .wp-block-post-excerpt { color: var(--mk-muted); }
.mk-blogquery .wp-block-post-date { color: var(--mk-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.mk-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mk-compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.mk-compare th, .mk-compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--mk-line); vertical-align: top; }
.mk-compare thead th { font-family: var(--mk-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--mk-fg); }
.mk-compare thead th.mk-compare__chewie { color: var(--mk-red); }
.mk-compare td.mk-compare__feature b { font-family: var(--mk-display); font-weight: 800; display: block; color: var(--mk-fg); }
.mk-compare td.mk-compare__feature span { color: var(--mk-muted); font-size: 0.9rem; }
.mk-compare__chewie { color: var(--mk-green); font-weight: 700; }
.mk-compare__other { color: var(--mk-muted); }

/* single post editorial layout */
.mk-article { max-width: 760px; margin-inline: auto; }
.mk-article .wp-block-post-title { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; margin-bottom: 1rem; }
.mk-article .wp-block-post-content p { font-size: 1.12rem; line-height: 1.8; color: var(--mk-fg-body); margin-bottom: 1.4rem; }
.mk-article .wp-block-post-content h2 { font-size: 1.8rem; margin: 2.2rem 0 0.8rem; }
.mk-article .wp-block-post-content h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }
.mk-article blockquote { border-left: 4px solid var(--mk-red); padding-left: 1.25rem; margin: 1.8rem 0; color: var(--mk-fg); font-size: 1.2rem; }
.mk-article .wp-block-post-featured-image { border-radius: var(--mk-radius); overflow: hidden; margin-bottom: 2rem; }

/* ==========================================================================
   INVESTOR
   ========================================================================== */
.mk-metric { text-align: left; }
.mk-metric__num { font-family: var(--mk-display); font-weight: 900; font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1; }
.mk-metric__label { color: var(--mk-muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-top: 0.4rem; }
.mk-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.mk-metrics .mk-metric:nth-child(1) .mk-metric__num { color: var(--mk-teal); }
.mk-metrics .mk-metric:nth-child(2) .mk-metric__num { color: var(--mk-green); }
.mk-metrics .mk-metric:nth-child(3) .mk-metric__num { color: var(--mk-orange); }
.mk-metrics .mk-metric:nth-child(4) .mk-metric__num { color: var(--mk-red); }

/* ==========================================================================
   CTA / NEWSLETTER / WAITLIST FORMS
   ========================================================================== */
.mk-cta {
	background:
		radial-gradient(800px 400px at 80% 0%, rgba(196, 69, 54, 0.10), transparent 60%),
		var(--mk-cream-light);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	padding: clamp(2rem, 6vw, 4rem);
	text-align: center;
}
.mk-cta h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
.mk-cta p { color: var(--mk-muted); max-width: 52ch; margin-inline: auto; }

.mk-form { max-width: 520px; margin: 1.5rem auto 0; }
.mk-form__row { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.mk-form__input {
	flex: 1 1 240px;
	min-width: 0;
	background: var(--mk-bg);
	border: 1px solid var(--mk-line-strong);
	color: var(--mk-fg);
	border-radius: var(--mk-radius-sm);
	padding: 0.85rem 1.3rem;
	font-family: var(--mk-body);
	font-size: 1rem;
}
.mk-form__input::placeholder { color: var(--mk-muted); }
.mk-form__input:focus { outline: 2px solid var(--mk-orange); outline-offset: 1px; }
.mk-form__note { color: var(--mk-muted); font-size: 0.78rem; margin-top: 0.75rem; }

/* full waitlist form: 2-column grid of fields */
.mk-form--full { max-width: 560px; margin: 1.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mk-form--full .mk-form__input { width: 100%; }
.mk-form--full .mk-form__full { grid-column: 1 / -1; }
@media (max-width: 560px) { .mk-form--full { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* Footer is an intentional dark inverse anchor under the light site. */
.mk-footer { background: #0B0D11; color: #D4D8DE; }
.mk-footer__inner {
	max-width: var(--mk-maxw); margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 5vw, 2rem) 2rem;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
}
.mk-footer .mk-muted { color: #A7AEB8; }
.mk-footer h4 { font-size: 0.9rem; letter-spacing: 0.14em; color: #8B92A0; margin-bottom: 0.9rem; }
.mk-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.mk-footer a { color: #D4D8DE; font-family: var(--mk-body); text-transform: none; letter-spacing: 0; font-weight: 400; }
.mk-footer a:hover { color: var(--mk-yellow); }
.mk-footer__brand { font-family: var(--mk-display); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.04em; color: #FFFFFF; text-transform: uppercase; }
.mk-footer__tag { color: var(--mk-red); font-family: var(--mk-display); font-weight: 800; letter-spacing: 0.22em; font-size: 0.7rem; margin-top: 0.3rem; }
.mk-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	max-width: var(--mk-maxw); margin-inline: auto;
	padding: 1.25rem clamp(1rem, 5vw, 2rem);
	display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	color: #8B92A0; font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.mk-stats { grid-template-columns: repeat(2, 1fr); }
	.mk-metrics { grid-template-columns: repeat(2, 1fr); }
	.mk-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.mk-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.mk-steps { grid-template-columns: 1fr; }
	.mk-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.mk-hero__inner { grid-template-columns: 1fr; }
	.mk-hero__media { order: -1; min-height: 220px; }
	.mk-split { grid-template-columns: 1fr; }
	.mk-split__media { order: -1; }
	.mk-specs { grid-template-columns: 1fr; }

	/* mobile nav */
	.mk-menu-toggle { display: inline-flex; }
	.mk-nav {
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(14, 17, 22, 0.96);
		-webkit-backdrop-filter: blur(6px);
		backdrop-filter: blur(6px);
		padding: 0.5rem 1rem 1.25rem;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		display: none;
	}
	.mk-navbar.is-open .mk-nav { display: flex; animation: mk-nav-drop .18s ease; }
	.mk-nav a:not(.mk-btn), .mk-nav .wp-block-navigation-item__content { padding: 0.9rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.10); font-size: 1rem; color: #fff; }
	.mk-nav a:not(.mk-btn):hover { color: var(--mk-yellow); }
	.mk-navbar .mk-nav .mk-btn { margin-top: 0.75rem; justify-content: center; width: 100%; }
}

@media (max-width: 640px) {
	.mk-stats { grid-template-columns: 1fr 1fr; }
	.mk-grid--2, .mk-grid--3, .mk-grid--4 { grid-template-columns: 1fr; }
	.mk-metrics { grid-template-columns: 1fr 1fr; }
	.mk-footer__inner { grid-template-columns: 1fr; }
	.mk-hero__cta .mk-btn, .mk-hero__cta .wp-block-button { width: 100%; }
	.mk-hero__cta .mk-btn { justify-content: center; }
}

/* fine-tune the tightest target widths (360 / 390 / 430) */
@media (max-width: 430px) {
	.mk-announce { letter-spacing: 0.1em; font-size: 0.62rem; }
	.mk-brand { font-size: 1.2rem; }
	.mk-hero__title { font-size: clamp(2.2rem, 11vw, 3rem); }
	.mk-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
	.mk-form__row { flex-direction: column; }
	.mk-form__input, .mk-form .mk-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   NATIVE COLUMN ADAPTATIONS
   When core/columns carry mk-stat / mk-card / mk-step / mk-metric classes,
   make them stretch, wrap nicely, and stack cleanly on small screens.
   ========================================================================== */
.mk-statcols, .mk-metriccols, .mk-cardcols, .mk-stepcols { gap: clamp(1rem, 2.5vw, 1.75rem); align-items: stretch; }
.mk-statcols .wp-block-column,
.mk-metriccols .wp-block-column,
.mk-cardcols .wp-block-column,
.mk-stepcols .wp-block-column { margin: 0; }

.mk-cardcols + .mk-cardcols { margin-top: clamp(1rem, 2.5vw, 1.75rem); }

/* Details / FAQ blocks styled as cards */
.wp-block-details.mk-card { margin-bottom: 1rem; }
.wp-block-details.mk-card summary {
	cursor: pointer;
	font-family: var(--mk-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 1rem;
	list-style: none;
}
.wp-block-details.mk-card summary::-webkit-details-marker { display: none; }
.wp-block-details.mk-card summary::after { content: "+"; float: right; color: var(--mk-orange); font-size: 1.3rem; line-height: 1; }
.wp-block-details.mk-card[open] summary::after { content: "\2212"; }
.wp-block-details.mk-card p { color: var(--mk-muted); margin-top: 0.75rem; }

/* Tablet: 2-up for stats and metrics, keep cards 2-up */
@media (min-width: 600px) and (max-width: 1024px) {
	.mk-statcols, .mk-metriccols, .mk-cardcols { flex-wrap: wrap; }
	.mk-statcols .wp-block-column,
	.mk-metriccols .wp-block-column,
	.mk-cardcols .wp-block-column { flex-basis: calc(50% - 1rem); flex-grow: 1; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}


/* ==========================================================================
   SECTION 4 ADDITIONS — logos, sticky header, hamburger, mobile stats
   ========================================================================== */
/* FSE sticky header: make the template-part wrapper the sticky element */
.wp-block-template-part:has(.mk-header) {
	position: sticky;
	top: var(--wp-admin--admin-bar--position-offset, 0px);
	z-index: 100;
}

/* Remove default block-gap between header and first content block */
.wp-block-template-part:has(.mk-header) + * { margin-block-start: 0; }

/* Header brand logo (image) */
.mk-brand__logo { height: 30px; width: auto; display: block; }

/* Animated 3-bar hamburger icon */
.mk-menu-toggle__bars,
.mk-menu-toggle__bars::before,
.mk-menu-toggle__bars::after {
	display: block; width: 20px; height: 2px; background: #0E1116;
	transition: transform .2s ease, background .2s ease;
}
.mk-menu-toggle__bars { position: relative; }
.mk-menu-toggle__bars::before,
.mk-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.mk-menu-toggle__bars::before { top: -6px; }
.mk-menu-toggle__bars::after { top: 6px; }
.mk-menu-toggle:focus-visible { outline: 2px solid var(--mk-red); outline-offset: 2px; }
.mk-navbar.is-open .mk-menu-toggle__bars { background: transparent; }
.mk-navbar.is-open .mk-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.mk-navbar.is-open .mk-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@keyframes mk-nav-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Footer logo (rendered white via filter — no white asset exists) */
.mk-footer__logo { height: 34px; width: auto; margin-bottom: 0.6rem; }

/* Keep home stat columns 2-up below 600px (override WP 1-up stacking) */
@media (max-width: 600px) {
	.mk-statcols.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: calc(50% - 0.5rem) !important; }
}
/* Tighter brand logo on very small screens */
@media (max-width: 430px) { .mk-brand__logo { height: 26px; } }


/* ==========================================================================
   COWORK OVERRIDES — full-screen mobile menu + tightened type scale
   ========================================================================== */

/* ---- Type scale: shrink display/headings, lift body, keep consistent ---- */
.mk-hero__title { font-size: clamp(2.3rem, 6vw, 4.75rem); line-height: 0.92; letter-spacing: -0.02em; }
.mk-hero__lead  { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; }
.mk-cta h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.mk-stat__num { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.mk-hero__price { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
@media (max-width: 600px) {
  .mk-hero__title { font-size: clamp(2.05rem, 9vw, 2.6rem); }
}

/* ---- Full-screen mobile menu (≤860px) ---- */
@media (max-width: 860px) {
  .mk-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200;
    width: 100%;
    flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(1.5rem, 5vh, 2.75rem);
    background: #0B0D11;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 2rem 1.5rem; border-top: 0; box-shadow: none;
    display: none;
  }
  .mk-navbar.is-open .mk-nav { display: flex; animation: mk-nav-fade .2s ease; }
  .mk-nav a:not(.mk-btn), .mk-nav .wp-block-navigation-item__content {
    padding: 0; border-bottom: 0;
    font-family: var(--mk-display); font-weight: 900;
    text-transform: uppercase; letter-spacing: -0.01em;
    font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1; color: #fff;
  }
  .mk-nav a:not(.mk-btn):hover,
  .mk-nav a:not(.mk-btn).is-current { color: var(--mk-red); }
  .mk-navbar .mk-nav .mk-btn { margin-top: 0.75rem; width: auto; justify-content: center; }

  .mk-navbar.is-open { background: transparent; box-shadow: none; z-index: 205; }
  .mk-navbar.is-open .mk-brand { position: relative; z-index: 210; }
  .mk-navbar.is-open .mk-brand__logo { filter: brightness(0) invert(1); }
  .mk-menu-toggle { position: relative; z-index: 210; }
  .mk-navbar.is-open .mk-menu-toggle { background: transparent; border-color: transparent; }
  .mk-navbar.is-open .mk-menu-toggle__bars::before,
  .mk-navbar.is-open .mk-menu-toggle__bars::after { background: #fff; }

  .mk-header:has(.mk-navbar.is-open) .mk-announce,
  .mk-header:has(.mk-navbar.is-open) .mk-brandbar { visibility: hidden; }
  body.mk-menu-open { overflow: hidden; }
}
@keyframes mk-nav-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Deterministic font-size tokens (override WP fluid output) ---- */
:root, body.wp-site-blocks, .editor-styles-wrapper {
  --wp--preset--font-size--display: clamp(40px, 6vw, 84px);
  --wp--preset--font-size--xx-large: clamp(30px, 4.2vw, 50px);
  --wp--preset--font-size--x-large: clamp(22px, 2vw, 28px);
  --wp--preset--font-size--large: clamp(19px, 1.4vw, 22px);
  --wp--preset--font-size--medium: clamp(16px, 1rem + 0.3vw, 18px);
  --wp--preset--font-size--small: 0.875rem;
}
body, body.wp-site-blocks { font-size: clamp(16px, 1rem + 0.3vw, 18px); }

/* ==========================================================================
   COWORK OVERRIDES v2 — hero caps/align, section gap, eyebrow colour
   ========================================================================== */
/* Home hero headline in all caps */
.mk-hero-cover .mk-hero__title { text-transform: uppercase; }
/* Hero content left-aligned with a proper gutter, constrained */
.mk-hero-cover .wp-block-cover__inner-container {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: clamp(1rem, 5vw, 2rem); padding-right: clamp(1rem, 5vw, 2rem);
  text-align: left;
}
.mk-hero-cover .mk-hero__title, .mk-hero-cover .mk-hero__lead { text-align: left; }
.mk-hero-cover .mk-hero__lead { margin-left: 0; }

/* Remove white offset between full-width sections on pages */
.page .wp-block-post-content > * + * { margin-block-start: 0; }

/* All section eyebrows use brand red consistently (incl. dark sections) */
.mk-eyebrow { color: var(--mk-red); }
.mk-section--inverse .mk-eyebrow { color: var(--mk-red); }
/* but keep stat labels muted, not red */
.mk-stat__label { color: var(--mk-muted); }
.mk-section--inverse .mk-stat__label { color: #A7AEB8; }

/* Second-section product image sits clean on white */
.mk-split .wp-block-image img { width: 100%; height: auto; }

/* ==========================================================================
   COWORK OVERRIDES v3 — hero left-align, gap audit, menu size, logos, icons
   ========================================================================== */
/* Definitive hero left-alignment (constrained layout was auto-centering the lead) */
.mk-hero-cover .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: auto !important; }
.mk-hero-cover .mk-eyebrow, .mk-hero-cover .mk-hero__title, .mk-hero-cover .mk-hero__lead { text-align: left !important; }
.mk-hero-cover .mk-hero__lead { max-width: 46ch; }
.mk-hero-cover .mk-hero__cta { justify-content: flex-start !important; }

/* Robust removal of white slivers between sections on all pages */
.page .wp-block-post-content > * { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Smaller mobile menu link text (~30% reduction) */
@media (max-width: 860px) {
  .mk-nav a:not(.mk-btn), .mk-nav .wp-block-navigation-item__content { font-size: clamp(1.4rem, 6vw, 1.85rem); }
}

/* Dual brand logo: real white asset on dark menu, no filter hacks */
.mk-brand__logo--light { display: none; }
@media (max-width: 860px) {
  .mk-navbar.is-open .mk-brand__logo--dark { display: none; }
  .mk-navbar.is-open .mk-brand__logo--light { display: block; filter: none !important; }
}

/* Platform thesis inline SVG icons */
svg.mk-platform-icon { display: block; width: 44px; height: 44px; }

/* ==========================================================================
   COWORK OVERRIDES v4 — full-bleed seam fix + mobile menu centering
   ========================================================================== */
/* Remove 1px page-background seam under dark full-bleed sections */
.page .wp-block-cover.alignfull, .page .mk-section--inverse { margin-bottom: -1px !important; }

/* Centre the mobile menu links */
@media (max-width: 860px) {
  .mk-nav { align-items: center !important; justify-content: center !important; text-align: center !important; }
  .mk-nav a, .mk-nav .mk-btn, .mk-nav a:not(.mk-btn) { align-self: center !important; text-align: center !important; width: auto !important; }
}

/* ==========================================================================
   COWORK OVERRIDES v5 — exact mobile menu centering
   ========================================================================== */
@media (max-width: 860px) {
  .mk-nav { flex-direction: column; align-items: center !important; }
  .mk-nav a:not(.mk-btn), .mk-nav .wp-block-navigation-item__content { display: block; width: 100% !important; text-align: center !important; }
  .mk-nav .mk-btn { margin-left: auto !important; margin-right: auto !important; }
}

/* ==========================================================================
   COWORK OVERRIDES v6 — platform cards centered + button hover darken
   ========================================================================== */
/* Platform Thesis cards: center icon, heading and text */
.mk-section:has(.mk-platform-icon) .mk-card { text-align: center; }
.mk-section:has(.mk-platform-icon) .mk-card .mk-platform-icon,
.mk-section:has(.mk-platform-icon) .mk-card .mk-card__top-line { margin-left: auto; margin-right: auto; }

/* Button hover: darker shade of the SAME colour (no orange/yellow switch) */
.is-style-mk-red .wp-block-button__link:hover, .mk-btn--red:hover { background: #a1392c !important; border-color: #a1392c !important; color: #fff !important; opacity: 1 !important; }
.is-style-mk-light .wp-block-button__link:hover, .mk-btn--light:hover { background: #e4e0d9 !important; border-color: #e4e0d9 !important; color: #0e1116 !important; opacity: 1 !important; }
.is-style-mk-ghost .wp-block-button__link:hover, .mk-btn--ghost:hover { background: var(--mk-fg) !important; border-color: var(--mk-fg) !important; color: #fff !important; opacity: 1 !important; }
.mk-btn:not(.mk-btn--red):not(.mk-btn--light):not(.mk-btn--ghost):hover,
.wp-block-button:not(.is-style-mk-red):not(.is-style-mk-light):not(.is-style-mk-ghost) .wp-block-button__link:hover { filter: brightness(0.85) !important; opacity: 1 !important; background: var(--mk-fg); border-color: var(--mk-fg); color: #fff; }

/* ==========================================================================
   COWORK OVERRIDES v7 — new Chewie comparison chart
   ========================================================================== */
.mk-compare2 { width:100%; border-collapse:collapse; min-width:960px; table-layout:fixed; }
.mk-compare2 th, .mk-compare2 td { width:20%; vertical-align:top; text-align:left; padding:18px 20px; border-bottom:1px solid var(--mk-line); }
.mk-compare2 thead th { border-bottom:1px solid var(--mk-line-strong); text-align:center; vertical-align:bottom; }
.mk-c2-imgph { width:100%; aspect-ratio:1/1; max-height:150px; background:var(--mk-surface); border:1px dashed var(--mk-line-strong); display:flex; align-items:center; justify-content:center; text-align:center; color:var(--mk-muted); font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase; margin:0 auto 0.85rem; }
.mk-c2-name { font-family:var(--mk-display); font-weight:900; font-size:1.05rem; color:var(--mk-fg); }
.mk-c2-name--chewie { color:var(--mk-green); }
.mk-compare2 td b { display:block; font-family:var(--mk-display); font-weight:800; font-size:1rem; color:var(--mk-fg); margin-bottom:0.35rem; }
.mk-compare2 td span { display:block; color:var(--mk-muted); font-size:0.92rem; line-height:1.5; }
.mk-compare2 td.mk-c2-chewie b { color:var(--mk-green); }
@media (max-width:640px){ .mk-compare2 th, .mk-compare2 td { padding:14px 14px; } }
