/**
 * MWDimensions theme — compiled design system + components.
 * Vanilla CSS mirroring the Tailwind-based React prototype.
 */

/* ------------------------------------------------------------------ *
 * Design tokens
 * ------------------------------------------------------------------ */
:root {
	--ink-50: #f6f7f9; --ink-100: #eceef2; --ink-200: #d5d9e2; --ink-300: #b0b8c7;
	--ink-400: #8492a8; --ink-500: #65728a; --ink-600: #515c72; --ink-700: #424b5d;
	--ink-800: #394050; --ink-900: #191d27; --ink-950: #0d1016;

	--brand-50: #eef5ff; --brand-100: #d9e8ff; --brand-200: #bcd7ff; --brand-300: #8ebdff;
	--brand-400: #599aff; --brand-500: #2f74ff; --brand-600: #1455f0; --brand-700: #0f44d4;
	--brand-800: #0f39ab; --brand-900: #0b3589; --brand-950: #07215c;

	--accent-50: #eefaff; --accent-100: #d8f4ff; --accent-200: #b9ecff; --accent-300: #88e0ff;
	--accent-400: #45ccfb; --accent-500: #00c6fb; --accent-600: #00a4d8; --accent-700: #007eb0;
	--accent-800: #066691; --accent-900: #0b5478; --accent-950: #073249;

	--maxw: 1240px;
	--radius: 16px;
	--radius-sm: 12px;
	--shadow-soft: 0 1px 2px rgba(7,33,92,0.04), 0 10px 28px rgba(7,33,92,0.06);
	--shadow-lift: 0 2px 8px rgba(7,33,92,0.05), 0 28px 56px rgba(7,33,92,0.13);
	--shadow-glow: 0 0 0 1px rgba(47,116,255,0.18), 0 24px 60px rgba(0,91,234,0.22);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
}

/* ------------------------------------------------------------------ *
 * Reset / base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ink-700);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0;
	color: var(--ink-900);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0;
}
.mwd-skip-link:focus, .screen-reader-text:focus {
	top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; clip: auto;
	z-index: 100000; background: #fff; color: var(--brand-700); border-radius: 8px;
	box-shadow: var(--shadow-lift);
}

/* ------------------------------------------------------------------ *
 * Layout helpers
 * ------------------------------------------------------------------ */
.mwd-container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .mwd-container { padding: 0 32px; } }
.mwd-narrow { max-width: 800px; }
.mwd-center { text-align: center; }
.mwd-section { padding: 80px 0; }
@media (min-width: 1024px) { .mwd-section { padding: 112px 0; } }
.mwd-section-muted { background: rgba(246, 247, 249, 0.6); }
.mwd-section-dark { background: var(--ink-950); color: #fff; position: relative; overflow: hidden; }
.mwd-section-dark h1, .mwd-section-dark h2, .mwd-section-dark h3 { color: #fff; }

.mwd-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	border: 1px solid rgba(188, 215, 255, 0.7); background: var(--brand-50);
	font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
	color: var(--brand-700);
}
.mwd-eyebrow-light {
	border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
	color: var(--brand-200);
}
.mwd-eyebrow svg { width: 14px; height: 14px; }

.mwd-section-head { max-width: 640px; margin: 0 auto; }
.mwd-section-head > * + * { margin-top: 20px; }
.mwd-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mwd-section-title { font-size: 30px; }
@media (min-width: 640px) { .mwd-section-title { font-size: 36px; } }
@media (min-width: 1024px) { .mwd-section-title { font-size: 44px; line-height: 1.1; } }
.mwd-section-sub { color: var(--ink-500); font-size: 16px; }
.mwd-section-dark .mwd-section-sub { color: rgba(255,255,255,0.7); }

.mwd-text-brand { color: var(--brand-600); }
.mwd-text-gradient {
	background: linear-gradient(105deg, #005BEA 0%, #2f74ff 45%, #00C6FB 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
}
.mwd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mwd-subheading { font-size: 18px; margin-top: 40px; }
.mwd-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-700); }
.mwd-link-arrow svg { transition: transform .25s var(--ease); }
.mwd-link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */
.mwd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 24px; border-radius: 999px;
	font-size: 14px; font-weight: 600; line-height: 1;
	transition: all .3s var(--ease); white-space: nowrap;
}
.mwd-btn svg { width: 16px; height: 16px; }
.mwd-btn-sm { padding: 10px 18px; }
.mwd-btn-block, .mwd-btn.w-full { width: 100%; }
.mwd-block { width: 100%; }
.mwd-btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-soft); }
.mwd-btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.mwd-btn-ghost { border: 1px solid var(--ink-200); background: #fff; color: var(--ink-800); }
.mwd-btn-ghost:hover { border-color: var(--ink-300); background: var(--ink-50); transform: translateY(-2px); }
.mwd-btn-light { background: #fff; color: var(--ink-900); }
.mwd-btn-light:hover { background: var(--ink-100); transform: translateY(-2px); }
.mwd-btn-outline-light { border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); color: #fff; backdrop-filter: blur(8px); }
.mwd-btn-outline-light:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ------------------------------------------------------------------ *
 * Cards
 * ------------------------------------------------------------------ */
.mwd-card { border: 1px solid var(--ink-100); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.mwd-card-heading { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-400); }

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
.mwd-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: all .3s var(--ease); border-bottom: 1px solid transparent; }
.mwd-header.is-scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); border-bottom-color: var(--ink-100); box-shadow: var(--shadow-soft); }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-header-logo .mwd-logo-word { color: #fff; }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-header-logo .mwd-logo-sub { color: rgba(255,255,255,0.55); }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-primary-nav a { color: rgba(255,255,255,0.7); }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-primary-nav a:hover,
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-primary-nav .current-menu-item > a { color: #fff; }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-header-phone { color: rgba(255,255,255,0.8); }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-header-phone svg { color: rgba(255,255,255,0.7); }

.mwd-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 14px 0; }
.mwd-header-logo { display: flex; align-items: center; }
.mwd-logo { display: flex; align-items: center; gap: 10px; }
.mwd-logo-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-500), var(--accent-500)); color: #fff; box-shadow: var(--shadow-soft); }
.mwd-logo-mark svg { width: 26px; height: 26px; }
.mwd-logo-text { display: flex; flex-direction: column; line-height: 1; }
.mwd-logo-word { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900); }
.mwd-logo-sub { margin-top: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-400); }
/* Tailwind-style helper classes used by the fallback logo markup (kept for parity). */
.text-white { color: #fff; }
.text-ink-900 { color: var(--ink-900); }
.text-ink-400 { color: var(--ink-400); }
.text-white\/55 { color: rgba(255,255,255,0.55); }

.mwd-primary-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .mwd-primary-nav { display: flex; } }
.mwd-nav-menu, .mwd-mobile-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mwd-nav-menu a, .mwd-primary-fallback a {
	display: block; padding: 8px 16px; border-radius: 999px;
	font-size: 14px; font-weight: 600; color: var(--ink-600); transition: color .2s;
}
.mwd-nav-menu a:hover, .mwd-primary-fallback a:hover { color: var(--ink-900); }
.mwd-nav-menu .current-menu-item > a, .mwd-primary-fallback .current-menu-item > a { color: var(--brand-700); }

.mwd-header-actions { display: none; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .mwd-header-actions { display: flex; } }
.mwd-header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-700); }
.mwd-header-phone svg { color: var(--brand-600); }

.mwd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink-200); background: #fff; color: var(--ink-800); }
@media (min-width: 1024px) { .mwd-menu-toggle { display: none; } }
.mwd-menu-toggle .mwd-menu-close { display: none; }
.mwd-menu-toggle.is-open .mwd-menu-open { display: none; }
.mwd-menu-toggle.is-open .mwd-menu-close { display: inline-flex; }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) .mwd-menu-toggle { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; }

.mwd-mobile-nav { max-height: 0; overflow: hidden; background: #fff; border-top: 1px solid var(--ink-100); transition: max-height .3s var(--ease), opacity .3s; opacity: 0; }
.mwd-mobile-nav.is-open { max-height: 600px; opacity: 1; }
.mwd-mobile-nav .mwd-container { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; padding-bottom: 16px; }
.mwd-mobile-menu { flex-direction: column; }
.mwd-mobile-menu a, .mwd-mobile-nav .mwd-primary-fallback a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.mwd-mobile-menu a:hover, .mwd-mobile-nav .mwd-primary-fallback a:hover { background: var(--ink-50); }
.mwd-mobile-phone { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 16px; font-weight: 600; }
.mwd-mobile-phone svg { color: var(--brand-600); }
.mwd-mobile-nav .mwd-btn { margin-top: 8px; }

/* offset main for fixed header */
.mwd-main { padding-top: 72px; }
.mwd-header[data-over-hero="1"]:not(.is-scrolled) ~ .mwd-main { padding-top: 0; }
body.admin-bar .mwd-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .mwd-header { top: 46px; } }

/* ------------------------------------------------------------------ *
 * Page hero (inner pages)
 * ------------------------------------------------------------------ */
.mwd-page-hero { position: relative; overflow: hidden; background: var(--ink-950); color: #fff; padding: 128px 0 64px; }
@media (min-width: 1024px) { .mwd-page-hero { padding: 160px 0 80px; } }
.mwd-hero-bg { position: absolute; inset: 0; background-image:
	linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
	linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 64px 64px; opacity: 0.4; pointer-events: none;
}
.mwd-page-hero > .mwd-container { position: relative; }
.mwd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); }
.mwd-crumbs a { color: inherit; }
.mwd-crumbs a:hover { color: rgba(255,255,255,0.8); }
.mwd-crumbs svg { color: rgba(255,255,255,0.25); }
.mwd-crumbs span span { color: rgba(255,255,255,0.7); }
.mwd-page-hero-title { font-size: 36px; max-width: 760px; color: #fff; }
@media (min-width: 640px) { .mwd-page-hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .mwd-page-hero-title { font-size: 56px; } }
.mwd-page-hero-desc { margin-top: 20px; max-width: 640px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7); }
@media (min-width: 640px) { .mwd-page-hero-desc { font-size: 18px; } }

.mwd-hero-404-inner { text-align: center; padding-bottom: 80px; }
.mwd-404-code { font-family: var(--font-display); font-size: 72px; font-weight: 800; background: linear-gradient(105deg, #005BEA 0%, #2f74ff 45%, #00C6FB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (min-width: 640px) { .mwd-404-code { font-size: 96px; } }
.mwd-hero-404 .mwd-page-hero-desc { margin-left: auto; margin-right: auto; }
.mwd-hero-404 .mwd-cta-buttons { justify-content: center; margin-top: 32px; }
.mwd-404-services { display: grid; gap: 16px; max-width: 720px; margin: 56px auto 0; }
@media (min-width: 640px) { .mwd-404-services { grid-template-columns: repeat(3, 1fr); } }
.mwd-404-service { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); border-radius: var(--radius); text-align: left; backdrop-filter: blur(8px); }
.mwd-404-service:hover { border-color: rgba(188,215,255,0.4); background: rgba(255,255,255,0.1); }
.mwd-404-service-ic { color: var(--brand-300); }
.mwd-404-service-title { color: #fff; font-size: 14px; font-weight: 700; }
.mwd-404-service-link { font-size: 12px; font-weight: 600; color: var(--brand-200); display: inline-flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------------------ *
 * Front page hero
 * ------------------------------------------------------------------ */
.mwd-hero { position: relative; overflow: hidden; background: var(--ink-950); color: #fff; padding: 128px 0 80px; }
@media (min-width: 1024px) { .mwd-hero { padding: 176px 0 112px; } }
.mwd-hero > .mwd-hero-bg { opacity: 0.5; }
.mwd-hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .mwd-hero-inner { grid-template-columns: 7fr 5fr; gap: 48px; } }
.mwd-hero-title { font-size: 40px; margin-top: 24px; color: #fff; }
@media (min-width: 640px) { .mwd-hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .mwd-hero-title { font-size: 60px; } }
@media (min-width: 1280px) { .mwd-hero-title { font-size: 68px; } }
.mwd-hero-desc { margin-top: 24px; max-width: 560px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7); }
@media (min-width: 640px) { .mwd-hero-desc { font-size: 18px; } }
.mwd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mwd-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin-top: 56px; max-width: 560px; }
@media (min-width: 640px) { .mwd-hero-stats { grid-template-columns: repeat(4, 1fr); } }
.mwd-hero-stat { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 16px; }
.mwd-hero-stat dt { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #fff; }
@media (min-width: 640px) { .mwd-hero-stat dt { font-size: 36px; } }
.mwd-hero-stat dd { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.55); }

.mwd-hero-visual { position: relative; max-width: 420px; margin: 0 auto; }
@media (min-width: 1024px) { .mwd-hero-visual { max-width: none; } }
.mwd-hero-img { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); padding: 8px; backdrop-filter: blur(8px); }
.mwd-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.mwd-hero-float { position: absolute; padding: 16px; border: 1px solid rgba(255,255,255,0.1); background: rgba(13,16,22,0.9); border-radius: var(--radius); box-shadow: var(--shadow-lift); backdrop-filter: blur(8px); }
.mwd-hero-float-1 { top: 40px; left: -16px; animation: mwd-float 6s ease-in-out infinite; }
.mwd-hero-float-2 { bottom: 48px; right: -16px; display: flex; align-items: center; gap: 10px; animation: mwd-float 6s ease-in-out 1.2s infinite; }
.mwd-hero-stars { display: flex; gap: 4px; color: var(--brand-300); }
.mwd-hero-stars svg { width: 14px; height: 14px; fill: currentColor; }
.mwd-hero-float-title { font-size: 12px; font-weight: 600; color: #fff; }
.mwd-hero-float-sub { font-size: 10px; color: rgba(255,255,255,0.5); }
.mwd-hero-float-2 .mwd-hero-float-ic { color: var(--brand-300); display: inline-flex; }
@keyframes mwd-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.mwd-clients { position: relative; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); padding: 28px 0; }
.mwd-clients-inner { display: flex; align-items: center; gap: 24px; }
.mwd-clients-label { flex-shrink: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); }
.mwd-marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%); mask-image: linear-gradient(to right, #000 70%, transparent 100%); }
.mwd-marquee-track { display: flex; width: max-content; gap: 48px; animation: mwd-marquee 28s linear infinite; }
.mwd-marquee-item { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.35); white-space: nowrap; transition: color .2s; }
.mwd-marquee-item:hover { color: rgba(255,255,255,0.7); }
@keyframes mwd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ *
 * Services grid
 * ------------------------------------------------------------------ */
.mwd-service-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .mwd-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mwd-service-grid { grid-template-columns: repeat(3, 1fr); } }
.mwd-service-card { position: relative; overflow: hidden; display: block; padding: 28px; border: 1px solid var(--ink-100); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: all .3s var(--ease); }
.mwd-service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mwd-service-card-glow { position: absolute; top: -64px; right: -64px; width: 144px; height: 144px; border-radius: 50%; background: var(--brand-50); opacity: 0; transition: opacity .5s; }
.mwd-service-card:hover .mwd-service-card-glow { opacity: 1; }
.mwd-service-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-500), var(--accent-500)); color: #fff; box-shadow: var(--shadow-soft); transition: transform .3s; }
.mwd-service-card:hover .mwd-service-icon { transform: scale(1.05); }
.mwd-service-title { position: relative; margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--ink-900); }
.mwd-service-desc { position: relative; margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--ink-500); }
.mwd-service-link { position: relative; margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); }
.mwd-service-link svg { transition: transform .25s; }
.mwd-service-card:hover .mwd-link-arrow svg, .mwd-service-card:hover .mwd-service-link svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ *
 * Portfolio grid
 * ------------------------------------------------------------------ */
.mwd-portfolio-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 640px) { .mwd-portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mwd-portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.mwd-portfolio-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink-100); box-shadow: var(--shadow-soft); }
.mwd-portfolio-img { aspect-ratio: 4/3; overflow: hidden; }
.mwd-portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mwd-portfolio-card:hover .mwd-portfolio-img img { transform: scale(1.05); }
.mwd-portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,16,22,0.85), rgba(13,16,22,0.1) 50%, transparent); opacity: 0.9; }
.mwd-portfolio-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.mwd-portfolio-cat { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.15); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; backdrop-filter: blur(8px); }
.mwd-portfolio-title { margin-top: 8px; font-size: 16px; font-weight: 700; color: #fff; }

/* portfolio filter */
.mwd-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.mwd-filter-btn { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--ink-200); background: #fff; color: var(--ink-700); transition: all .2s; }
.mwd-filter-btn:hover { border-color: var(--ink-300); background: var(--ink-50); }
.mwd-filter-btn.is-active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); box-shadow: var(--shadow-soft); }
.mwd-portfolio-card.is-hidden { display: none; }
.mwd-portfolio-cta { margin-top: 56px; padding: 32px; text-align: center; background: rgba(246,247,249,0.6); }
.mwd-portfolio-cta h2 { font-size: 24px; }
@media (min-width: 640px) { .mwd-portfolio-cta h2 { font-size: 30px; } }
.mwd-portfolio-cta p { max-width: 480px; margin: 12px auto 24px; color: var(--ink-500); }

.mwd-portfolio-single-img { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.mwd-portfolio-single-back { margin-top: 32px; }

/* ------------------------------------------------------------------ *
 * Process
 * ------------------------------------------------------------------ */
.mwd-process-grid { display: grid; gap: 24px; margin-top: 56px; list-style: none; }
@media (min-width: 768px) { .mwd-process-grid { grid-template-columns: repeat(5, 1fr); } }
.mwd-process-step { position: relative; padding: 24px; border: 1px solid var(--ink-100); background: rgba(246,247,249,0.5); border-radius: var(--radius); transition: all .3s; }
.mwd-process-step:hover { border-color: var(--brand-200); background: #fff; box-shadow: var(--shadow-soft); }
.mwd-process-number { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--brand-600); }
.mwd-process-title { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.mwd-process-desc { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-500); }
.mwd-process-arrow { position: absolute; top: 36px; right: 12px; color: var(--ink-200); }
.mwd-process-arrow svg { width: 18px; height: 18px; }
.mwd-process-cta { margin-top: 48px; }

.mwd-process-list { display: flex; flex-direction: column; gap: 16px; margin-top: 56px; }
.mwd-process-list-item { display: flex; gap: 24px; padding: 24px; }
@media (min-width: 640px) { .mwd-process-list-item { padding: 28px; } }
.mwd-process-list-num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-500), var(--accent-500)); color: #fff; font-family: var(--font-display); font-weight: 800; }

/* ------------------------------------------------------------------ *
 * Why choose us
 * ------------------------------------------------------------------ */
.mwd-why-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .mwd-why-grid { grid-template-columns: repeat(3, 1fr); } }
.mwd-why-card { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); border-radius: var(--radius); backdrop-filter: blur(8px); transition: all .3s; }
.mwd-why-card:hover { border-color: rgba(188,215,255,0.4); background: rgba(255,255,255,0.07); }
.mwd-why-num { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-size: 48px; font-weight: 800; color: rgba(255,255,255,0.06); }
.mwd-why-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(47,116,255,0.15); color: var(--brand-300); position: relative; transition: all .3s; }
.mwd-why-card:hover .mwd-why-icon { background: var(--brand-500); color: #fff; }
.mwd-why-title { position: relative; margin-top: 20px; font-size: 20px; font-weight: 700; color: #fff; }
.mwd-why-desc { position: relative; margin-top: 12px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.65); }

/* ------------------------------------------------------------------ *
 * Testimonial
 * ------------------------------------------------------------------ */
.mwd-testimonial { max-width: 800px; margin: 0 auto; text-align: center; }
.mwd-testimonial-quote { color: var(--brand-200); display: inline-flex; }
.mwd-testimonial-quote svg { width: 40px; height: 40px; }
.mwd-testimonial blockquote { margin: 24px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--ink-800); }
@media (min-width: 640px) { .mwd-testimonial blockquote { font-size: 30px; line-height: 1.25; } }
.mwd-testimonial figcaption { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.mwd-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-600); color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.mwd-fig-name { display: block; font-size: 14px; font-weight: 700; color: var(--ink-900); }
.mwd-fig-role { display: block; font-size: 12px; color: var(--ink-400); }

/* ------------------------------------------------------------------ *
 * Support plans
 * ------------------------------------------------------------------ */
.mwd-plans-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1024px) { .mwd-plans-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.mwd-plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--ink-100); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: all .3s; }
.mwd-plan-card:hover { transform: translateY(-4px); }
.mwd-plan-featured { border-color: var(--brand-300); box-shadow: var(--shadow-glow); }
@media (min-width: 1024px) { .mwd-plan-featured { transform: translateY(-8px); } }
.mwd-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--brand-600); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: var(--shadow-soft); }
.mwd-plan-name { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand-700); }
.mwd-plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 4px; }
.mwd-plan-amount { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--ink-900); }
.mwd-plan-period { font-size: 14px; color: var(--ink-400); }
.mwd-plan-tagline { margin-top: 12px; font-size: 14px; color: var(--ink-500); }
.mwd-plan-features { margin-top: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.mwd-plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); }
.mwd-plan-features svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-600); }
.mwd-plan-cta { margin-top: 28px; width: 100%; }

/* ------------------------------------------------------------------ *
 * Courses
 * ------------------------------------------------------------------ */
.mwd-courses-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .mwd-courses-grid { grid-template-columns: repeat(2, 1fr); } }
.mwd-course-card { display: block; padding: 28px; border: 1px solid var(--ink-100); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: all .3s; }
.mwd-course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mwd-course-head { display: flex; align-items: center; justify-content: space-between; }
.mwd-course-head svg { color: var(--ink-300); transition: all .25s; }
.mwd-course-card:hover .mwd-course-head svg { transform: translateX(3px); color: var(--brand-600); }
.mwd-course-code { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--brand-50); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-700); }
.mwd-course-title { margin-top: 20px; font-size: 20px; font-weight: 700; color: var(--ink-900); }
.mwd-course-tagline { margin-top: 8px; font-size: 14px; color: var(--ink-500); }
.mwd-course-meta { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mwd-course-meta dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.mwd-course-meta dd { margin-top: 4px; font-size: 14px; color: var(--ink-700); }

/* course detail */
.mwd-course-detail-card { padding: 24px; }
.mwd-course-detail-card .mwd-service-icon { width: 48px; height: 48px; }
.mwd-course-detail-card h3 { margin-top: 16px; font-size: 16px; font-weight: 700; }
.mwd-course-details { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.mwd-course-detail-row { display: flex; align-items: center; gap: 12px; }
.mwd-course-detail-row svg { color: var(--brand-600); }
.mwd-course-detail-row dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.mwd-course-detail-row dd { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.mwd-course-others { margin-top: 16px; padding: 24px; }
.mwd-course-others ul { display: flex; flex-direction: column; gap: 12px; }
.mwd-course-others a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; border-radius: 12px; transition: background .2s; }
.mwd-course-others a:hover { background: var(--ink-50); }
.mwd-course-others a svg { color: var(--ink-300); transition: all .25s; }
.mwd-course-others a:hover svg { transform: translateX(3px); color: var(--brand-600); }
.mwd-course-others-code { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-700); }
.mwd-course-others-title { font-size: 14px; font-weight: 600; color: var(--ink-800); }

/* modules */
.mwd-modules { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.mwd-module { padding: 24px; }
.mwd-module-head { display: flex; align-items: center; gap: 12px; }
.mwd-module-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--brand-600); color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.mwd-module-head h3 { font-size: 16px; font-weight: 700; }
.mwd-module-points { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mwd-module-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); }
.mwd-module-points svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-600); }

/* ------------------------------------------------------------------ *
 * Split layout (about / contact / service / consultation)
 * ------------------------------------------------------------------ */
.mwd-split { display: grid; gap: 48px; }
@media (min-width: 1024px) { .mwd-split { grid-template-columns: 7fr 5fr; gap: 64px; } }
.mwd-split-aside { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .mwd-split-aside > * { position: sticky; top: 96px; } }

.mwd-prose { font-size: 16px; line-height: 1.75; color: var(--ink-600); }
.mwd-prose p + p { margin-top: 16px; }
.mwd-prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.mwd-prose h2, .mwd-prose h3 { margin: 32px 0 12px; }
.mwd-prose ul:not([class]), .mwd-prose ol:not([class]) { padding-left: 20px; margin: 12px 0; }
.mwd-prose ul:not([class]) { list-style: disc; }
.mwd-prose ol:not([class]) { list-style: decimal; }
.mwd-prose li { margin: 6px 0; }
.mwd-prose blockquote { border-left: 3px solid var(--brand-200); padding-left: 16px; margin: 16px 0; color: var(--ink-600); font-style: italic; }
.mwd-prose img { border-radius: var(--radius); margin: 16px 0; }

.mwd-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mwd-stat-card { padding: 24px; text-align: center; }
.mwd-stat-value { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--brand-600); }
@media (min-width: 640px) { .mwd-stat-value { font-size: 36px; } }
.mwd-stat-label { margin-top: 8px; font-size: 12px; color: var(--ink-500); }
.mwd-story-img { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-100); box-shadow: var(--shadow-soft); }
.mwd-story-img img { width: 100%; height: 224px; object-fit: cover; }

/* ------------------------------------------------------------------ *
 * Mission / Values / Team
 * ------------------------------------------------------------------ */
.mwd-mission .mwd-hero-bg { opacity: 0.4; }
.mwd-mission-inner { max-width: 720px; }
.mwd-mission-inner > * + * { margin-top: 20px; }
.mwd-mission-inner .mwd-eyebrow-light, .mwd-mission-inner span:first-child { color: var(--brand-300); }
.mwd-mission-text { font-size: 20px; line-height: 1.7; color: rgba(255,255,255,0.8); }
@media (min-width: 640px) { .mwd-mission-text { font-size: 24px; } }

.mwd-values-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .mwd-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mwd-values-grid { grid-template-columns: repeat(4, 1fr); } }
.mwd-value-card { padding: 24px; transition: all .3s; }
.mwd-value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mwd-value-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.mwd-value-title { margin-top: 16px; font-size: 16px; font-weight: 700; }
.mwd-value-desc { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-500); }

.mwd-team-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .mwd-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mwd-team-grid { grid-template-columns: repeat(4, 1fr); } }
.mwd-team-card { padding: 24px; text-align: center; transition: all .3s; }
.mwd-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mwd-team-avatar { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-500), var(--accent-500)); color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 800; box-shadow: var(--shadow-soft); }
.mwd-team-name { margin-top: 16px; font-size: 16px; font-weight: 700; }
.mwd-team-role { margin-top: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-700); }
.mwd-team-bio { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--ink-500); }

/* ------------------------------------------------------------------ *
 * Service detail aside
 * ------------------------------------------------------------------ */
.mwd-service-detail-head { display: flex; align-items: center; gap: 12px; }
.mwd-service-detail-head h3 { font-size: 16px; font-weight: 700; }
.mwd-outcomes-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mwd-outcome { padding: 16px; border-radius: 12px; background: rgba(246,247,249,0.7); }
.mwd-outcome svg { color: var(--brand-600); }
.mwd-outcome-value { margin-top: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink-900); }
.mwd-outcome-label { margin-top: 4px; font-size: 12px; color: var(--ink-500); }
.mwd-capabilities-card { margin-top: 16px; padding: 24px; }
.mwd-capabilities { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.mwd-capabilities li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink-200); background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-700); }
.mwd-check-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .mwd-check-grid { grid-template-columns: repeat(2, 1fr); } }
.mwd-check-grid li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); }
.mwd-check-grid svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-600); }
.mwd-check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.mwd-check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-700); }
.mwd-check-list li::before { content: '✓'; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-size: 14px; font-weight: 700; }
.mwd-consult-note { margin-top: 32px; display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--ink-100); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.mwd-consult-note-ic { color: var(--brand-600); flex-shrink: 0; }
.mwd-consult-note h3 { font-size: 16px; font-weight: 700; }
.mwd-consult-note p { margin-top: 8px; font-size: 14px; color: var(--ink-500); }

/* ------------------------------------------------------------------ *
 * Resources
 * ------------------------------------------------------------------ */
.mwd-resources-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .mwd-resources-grid { grid-template-columns: repeat(2, 1fr); } }
.mwd-resource-card { display: flex; flex-direction: column; padding: 28px; transition: all .3s; }
.mwd-resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mwd-resource-head { display: flex; align-items: center; justify-content: space-between; }
.mwd-resource-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-500), var(--accent-500)); color: #fff; box-shadow: var(--shadow-soft); }
.mwd-resource-type { padding: 4px 12px; border-radius: 999px; background: var(--ink-50); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-500); }
.mwd-resource-title { margin-top: 20px; font-size: 18px; font-weight: 700; }
.mwd-resource-excerpt { margin-top: 8px; flex: 1; font-size: 14px; line-height: 1.65; color: var(--ink-500); }
.mwd-resource-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); }
.mwd-resource-link svg { transition: transform .25s; }
.mwd-resource-card:hover .mwd-resource-link svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ *
 * FAQs
 * ------------------------------------------------------------------ */
.mwd-faq-list { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.mwd-faq-item { border: 1px solid var(--ink-100); background: #fff; border-radius: var(--radius); transition: border-color .2s, background .2s; }
.mwd-faq-item.is-open { border-color: var(--brand-200); background: rgba(238,245,255,0.4); }
.mwd-faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; }
.mwd-faq-q > span:first-child { font-size: 16px; font-weight: 700; color: var(--ink-900); }
@media (min-width: 640px) { .mwd-faq-q > span:first-child { font-size: 18px; } }
.mwd-faq-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink-100); color: var(--ink-600); transition: all .2s; }
.mwd-faq-item.is-open .mwd-faq-icon { background: var(--brand-600); color: #fff; }
.mwd-faq-icon svg { transition: transform .2s; }
.mwd-faq-item.is-open .mwd-faq-icon svg { transform: rotate(45deg); }
.mwd-faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .3s; }
.mwd-faq-item.is-open .mwd-faq-a { grid-template-rows: 1fr; opacity: 1; }
.mwd-faq-a-inner { overflow: hidden; }
.mwd-faq-a-inner p { padding: 0 24px 20px; font-size: 14px; line-height: 1.7; color: var(--ink-600); }

/* ------------------------------------------------------------------ *
 * Forms
 * ------------------------------------------------------------------ */
.mwd-form-card { padding: 32px; }
@media (min-width: 640px) { .mwd-form-card { padding: 40px; } }
.mwd-form { display: flex; flex-direction: column; gap: 20px; }
.mwd-form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .mwd-form-grid { grid-template-columns: repeat(2, 1fr); } }
.mwd-field { display: flex; flex-direction: column; }
.mwd-field-label { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-700); }
.mwd-field-input { width: 100%; padding: 12px 16px; border: 1px solid var(--ink-200); background: #fff; border-radius: 12px; font-size: 14px; color: var(--ink-900); transition: all .2s; }
.mwd-field-input::placeholder { color: var(--ink-400); }
.mwd-field-input:focus { border-color: var(--brand-500); outline: none; box-shadow: 0 0 0 4px var(--brand-100); }
textarea.mwd-field-input { resize: vertical; min-height: 120px; }
.mwd-honeypot { position: absolute; left: -9999px; opacity: 0; }
.mwd-form-success { text-align: center; padding: 48px 0; }
.mwd-form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); }
.mwd-form-success h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.mwd-form-success p { margin-top: 8px; max-width: 360px; margin-left: auto; margin-right: auto; font-size: 14px; color: var(--ink-500); }

/* contact */
.mwd-contact-cards { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.mwd-contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; transition: all .2s; }
a.mwd-contact-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-lift); }
.mwd-contact-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); flex-shrink: 0; transition: all .2s; }
a.mwd-contact-card:hover .mwd-contact-ic { background: var(--brand-600); color: #fff; }
.mwd-contact-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.mwd-contact-value { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink-900); }
.mwd-contact-socials { margin-top: 32px; }
.mwd-contact-socials-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); }
.mwd-contact-socials-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.mwd-contact-socials-list a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ink-200); background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-700); transition: all .2s; }
.mwd-contact-socials-list a:hover { border-color: var(--brand-300); color: var(--brand-700); }

/* ------------------------------------------------------------------ *
 * CTA band
 * ------------------------------------------------------------------ */
.mwd-cta-band { position: relative; overflow: hidden; background: var(--ink-950); color: #fff; padding: 80px 0; }
@media (min-width: 1024px) { .mwd-cta-band { padding: 112px 0; } }
.mwd-cta-bg { position: absolute; inset: 0; background-color: var(--brand-700); background: linear-gradient(to bottom right, var(--brand-800), var(--brand-700), var(--accent-800)); }
.mwd-cta-bg::after { content: ''; position: absolute; inset: 0; background-image:
	linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
	linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 64px 64px; opacity: 0.3; }
.mwd-cta-inner { position: relative; max-width: 640px; margin: 0 auto; text-align: center; }
.mwd-cta-inner h2 { color: #fff; font-size: 30px; }
@media (min-width: 640px) { .mwd-cta-inner h2 { font-size: 36px; } }
@media (min-width: 1024px) { .mwd-cta-inner h2 { font-size: 48px; } }
.mwd-cta-inner p { margin-top: 20px; color: rgba(255,255,255,0.85); }
.mwd-cta-buttons { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.mwd-footer { position: relative; overflow: hidden; background: var(--ink-950); color: #fff; }
.mwd-footer-bg { position: absolute; inset: 0; background-image:
	linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
	linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 64px 64px; opacity: 0.3; pointer-events: none; }
.mwd-footer-inner { position: relative; padding: 64px 0 40px; }
.mwd-footer-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .mwd-footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.mwd-footer-blurb { margin-top: 20px; max-width: 420px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.mwd-footer-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mwd-footer-contact li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.75); }
.mwd-footer-contact a { transition: color .2s; }
.mwd-footer-contact a:hover { color: #fff; }
.mwd-footer-ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--brand-300); }
.mwd-footer-contact a:hover .mwd-footer-ic { background: var(--brand-600); color: #fff; }
.mwd-footer-heading { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); }
.mwd-footer-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.mwd-footer-list a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color .2s; }
.mwd-footer-list a:hover { color: var(--brand-300); }
.mwd-newsletter { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .mwd-newsletter { flex-direction: row; } }
.mwd-newsletter input { flex: 1; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); border-radius: 12px; font-size: 14px; color: #fff; }
.mwd-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.mwd-newsletter input:focus { border-color: var(--brand-400); outline: none; }
.mwd-footer-socials { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.mwd-footer-socials a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); transition: all .2s; }
.mwd-footer-socials a:hover { border-color: rgba(188,215,255,0.5); color: var(--brand-200); }
.mwd-footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.45); }
@media (min-width: 640px) { .mwd-footer-bottom { flex-direction: row; } }
.mwd-footer-bottom-links { display: flex; gap: 20px; }
.mwd-footer-bottom-links a { transition: color .2s; }
.mwd-footer-bottom-links a:hover { color: #fff; }
.mwd-footer .mwd-logo-word { color: #fff; }
.mwd-footer .mwd-logo-sub { color: rgba(255,255,255,0.55); }

/* ------------------------------------------------------------------ *
 * Search / generic post grid
 * ------------------------------------------------------------------ */
.mwd-post-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .mwd-post-grid { grid-template-columns: repeat(2, 1fr); } }
.mwd-post-card { display: flex; flex-direction: column; overflow: hidden; }
.mwd-post-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.mwd-post-body { padding: 24px; }
.mwd-post-title { font-size: 18px; font-weight: 700; }
.mwd-post-title a { color: var(--ink-900); }
.mwd-post-title a:hover { color: var(--brand-700); }
.mwd-post-excerpt { margin-top: 8px; font-size: 14px; color: var(--ink-500); }
.mwd-post-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); }

.mwd-search-list { display: flex; flex-direction: column; gap: 16px; }
.mwd-search-item { padding: 24px; }
.mwd-search-title { font-size: 18px; font-weight: 700; }
.mwd-search-title a:hover { color: var(--brand-700); }
.mwd-search-excerpt { margin-top: 8px; font-size: 14px; color: var(--ink-500); }
.mwd-search-empty { font-size: 16px; color: var(--ink-500); }

.mwd-pagination { margin-top: 48px; display: flex; justify-content: center; }
.mwd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; margin: 0 2px; border-radius: 999px; border: 1px solid var(--ink-200); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-700); transition: all .2s; }
.mwd-pagination .page-numbers:hover { border-color: var(--ink-300); background: var(--ink-50); }
.mwd-pagination .page-numbers.current { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* ------------------------------------------------------------------ *
 * Comments
 * ------------------------------------------------------------------ */
.mwd-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ink-100); }
.mwd-comments h2, .mwd-comments h3 { font-size: 20px; margin-bottom: 16px; }
.mwd-comments .comment-list { display: flex; flex-direction: column; gap: 24px; }
.mwd-comments .comment-body { padding: 20px; border: 1px solid var(--ink-100); border-radius: var(--radius); }
.mwd-comments .comment-author { font-weight: 700; color: var(--ink-900); }
.mwd-comments .comment-meta { font-size: 12px; color: var(--ink-400); margin-bottom: 8px; }
.mwd-comments .comment-content { font-size: 14px; color: var(--ink-600); }
.mwd-comments .comment-respond { margin-top: 32px; }
.mwd-comments .comment-form input, .mwd-comments .comment-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--ink-200); border-radius: 12px; margin-bottom: 16px; }
.mwd-comments .comment-form .submit { background: var(--brand-600); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 600; cursor: pointer; }
.mwd-comments .comment-form .submit:hover { background: var(--brand-700); }

/* ------------------------------------------------------------------ *
 * Reveal animation
 * ------------------------------------------------------------------ */
.mwd-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.mwd-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.mwd-reveal { opacity: 1; transform: none; transition: none; }
	.mwd-hero-float-1, .mwd-hero-float-2, .mwd-marquee-track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ *
 * Block editor / WordPress core alignment
 * ------------------------------------------------------------------ */
.alignwide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ink-400); text-align: center; margin-top: 8px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); }
.bypostauthor { display: block; }
.sticky { display: block; }
