/*
Theme Name: MAVS
Theme URI: https://mavirtualsolutions.co
Author: Elena
Description: Calm, editorial, founder-led theme for M/A Virtual Solutions (MAVS).
Version: 1.0.0
Text Domain: mavs
WPVibe: yes
*/

:root {
	--sage: #3E7F73;
	--sage-dark: #2F6A5F;
	--sage-light: #EAF1ED;
	--cream: #F7F4EF;
	--white: #FFFFFF;
	--ink: #202522;
	--muted: #56625C;
	--body: #3B4640;
	--border: #E2DCD1;
	--dark: #232B27;
	--ph: #E9E2D6;
	--serif: 'Fraunces', Georgia, serif;
	--sans: 'Work Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--ink); }
p, ul, ol, figure, blockquote { margin: 0; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: #204F46; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1208px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 104px 0; }
.sec-hero { padding: 96px 0; }
.sec-sm { padding: 88px 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-light); }
.stack { display: flex; flex-direction: column; }
.g8 { gap: 8px; } .g12 { gap: 12px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; } .g28 { gap: 28px; } .g40 { gap: 40px; }
.mt8 { margin-top: 8px; } .mt56 { margin-top: 56px; } .mb56 { margin-bottom: 56px; }
.grid { display: grid; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols-3.wide { gap: 32px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.split-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.split-5-6 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; align-items: center; }
.split-6-5 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 88px; align-items: center; }
.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 96px; align-items: center; }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }

/* ---------- Type ---------- */
.h1 { font-size: 60px; line-height: 1.1; letter-spacing: -0.01em; }
.h2 { font-size: 42px; line-height: 1.15; }
.h3 { font-size: 24px; line-height: 1.25; }
.lead { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 660px; }
.text { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 620px; }
.text-md { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--sage-dark); }
.measure { max-width: 760px; }
.h1.h1-post { font-size: 48px; line-height: 1.12; }
.h2.h2-feature { font-size: 40px; }
@media (max-width: 900px) {
	.h1.h1-post { font-size: 36px; }
	.h2.h2-feature { font-size: 30px; }
}

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-block;
	padding: 13px 24px;
	background: var(--sage);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	transition: background-color 0.2s ease;
}
.btn:hover { background: var(--sage-dark); color: #fff; }
.btn-sm { padding: 12px 22px; }
.link { font-size: 16px; font-weight: 600; }
.link-line { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-line:hover { color: var(--sage-dark); border-color: var(--sage-dark); }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: 0.02em; }
.brand-sub { font-size: 13px; font-weight: 500; color: var(--muted); }
.head-right { display: flex; align-items: center; gap: 36px; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { font-size: 16px; font-weight: 500; color: var(--ink); transition: color 0.2s ease; }
.site-nav a:hover { color: var(--sage-dark); }
.site-nav a.is-active { font-weight: 600; border-bottom: 2px solid var(--sage); padding-bottom: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Photography ---------- */
.photo { border-radius: 12px; overflow: hidden; background: var(--ph); border: 1px solid #D9D0C0; min-height: 200px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px; text-align: center; }
.ph-title { font-size: 15px; font-weight: 600; color: #4E4A40; }
.ph-sub { max-width: 320px; font-size: 14px; line-height: 1.55; color: #5F5A4E; }
.h-660 { height: 660px; } .h-640 { height: 640px; } .h-600 { height: 600px; } .h-560 { height: 560px; }
.h-520 { height: 520px; } .h-460 { height: 460px; } .h-240 { height: 240px; }

/* ---------- Proof numbers ---------- */
.stats { display: flex; align-items: stretch; }
.stat { flex: 1; padding: 0 48px; border-left: 1px solid #DDD6CA; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child { padding-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 76px; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.stat span { display: block; font-size: 16px; line-height: 1.45; color: var(--muted); }
.stats.md .stat b { font-size: 64px; }
.stats.on-sage .stat { border-color: #B9CFC5; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.card .icon, .vrow .icon { color: var(--sage); }
.card h3 { font-size: 28px; }
.card .tag { font-size: 15px; font-weight: 500; color: var(--muted); }
.card p { color: var(--body); line-height: 1.6; }
.card .link { margin-top: 8px; }
.acard { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bg-white .acard { background: var(--cream); }
.acard .thumb { height: 220px; background: var(--ph); border-bottom: 1px solid #D9D0C0; display: block; }
.acard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.acard-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.acard .cat { font-size: 14px; font-weight: 600; color: var(--sage-dark); }
.acard h3 { font-size: 24px; line-height: 1.25; }
.acard h3 a { color: var(--ink); }
.acard p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.acard .link { margin-top: 4px; }

/* ---------- Lists and rows ---------- */
.rows > div { padding: 28px 0; border-top: 1px solid var(--border); }
.rows > div:last-child { border-bottom: 1px solid var(--border); }
.rows h3 { font-size: 24px; margin-bottom: 6px; }
.rows p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.q { padding-top: 28px; border-top: 1px solid #B9CFC5; display: flex; flex-direction: column; gap: 20px; }
.q .mark { font-family: var(--serif); font-size: 80px; line-height: 0.6; height: 40px; color: var(--sage); }
.q blockquote { font-family: var(--serif); font-size: 23px; line-height: 1.4; }
.q cite { font-style: normal; display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.q cite b { font-size: 16px; color: var(--ink); }
.admin-note { border: 1px dashed #B9CFC5; border-radius: 12px; padding: 20px 24px; font-size: 15px; color: var(--muted); }
.pull { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.4; color: var(--ink); max-width: 920px; }

/* ---------- Work With Me ---------- */
.step { padding-top: 28px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.step .n { font-family: var(--serif); font-size: 80px; font-weight: 500; line-height: 1; color: var(--sage); }
.step h2 { font-size: 28px; line-height: 1.2; }
.step p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.highlight { border-top: 1px solid #D3E1D9; border-bottom: 1px solid #D3E1D9; padding: 120px 0; background: var(--sage-light); }
.highlight h2 { font-size: 68px; line-height: 1.05; letter-spacing: -0.01em; }
.highlight p { font-size: 20px; line-height: 1.6; color: var(--body); }

/* ---------- Ventures ---------- */
.vrow h2 { font-size: 46px; line-height: 1.1; }
.vrow .vlabel { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; color: var(--sage-dark); }
.vrow .vtext { font-size: 19px; line-height: 1.65; color: var(--body); max-width: 520px; }
.vrow .domain { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--dark); color: #fff; text-align: center; padding: 120px 0 96px; position: relative; overflow: hidden; }
.cta.has-bg { background-size: cover; background-position: center; }
.cta.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(35, 43, 39, 0.82); }
.cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta h2 { color: #fff; font-size: 48px; line-height: 1.12; max-width: 860px; }
.cta p { color: #D5DFD9; font-size: 18px; line-height: 1.65; max-width: 600px; }
.cta .btn { margin-top: 8px; padding: 13px 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D3CD; padding: 72px 0 48px; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.foot-brand .mark { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: 0.02em; color: #fff; }
.foot-brand .sub { font-size: 15px; font-weight: 500; }
.foot-brand p { margin-top: 8px; font-size: 16px; line-height: 1.6; }
.foot-nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer a { font-size: 16px; color: #E6ECE8; }
.site-footer a:hover { color: #fff; }
.foot-mail { display: flex; flex-direction: column; gap: 10px; }
.foot-mail b { font-size: 15px; font-weight: 600; color: #fff; }
.foot-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid #3A433E; font-size: 14px; color: #A9B9B0; }

/* ---------- Articles and generic content ---------- */
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--body); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 34px; line-height: 1.2; margin-top: 2em; }
.prose h3 { font-size: 26px; line-height: 1.25; margin-top: 1.8em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: 12px; }
.prose blockquote { border-left: 3px solid var(--sage); padding-left: 1.2em; font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink); }
.post-head { max-width: 720px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 16px; }
.post-head .meta { font-size: 15px; color: var(--muted); }
.post-hero { max-width: 960px; margin: 0 auto 48px; }
.post-hero img { border-radius: 12px; width: 100%; }
.pagination { margin-top: 56px; display: flex; gap: 16px; font-weight: 600; }
.search-form { display: flex; gap: 12px; margin-top: 24px; }
.search-form input[type="search"] { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.search-form input[type="submit"] { padding: 12px 22px; background: var(--sage); color: #fff; border: 0; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 1000px) {
	.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 900px) {
	body { font-size: 17px; }
	.sec, .sec-sm { padding: 64px 0; }
	.sec-hero { padding: 40px 0 64px; }
	.h1 { font-size: 40px; }
	.h2 { font-size: 32px; }
	.lead, .text, .text-md { font-size: 17px; line-height: 1.6; }
	.cols-2, .cols-3, .split-2, .split-5-6, .split-6-5, .split-7-5, .split-5-7 { grid-template-columns: 1fr; gap: 32px; }
	.cols-3 { gap: 20px; }
	.mt56 { margin-top: 36px; } .mb56 { margin-bottom: 36px; }
	.head-row { height: 72px; }
	.brand-sub { display: none; }
	.brand-mark { font-size: 26px; }
	.head-right { gap: 8px; }
	.head-cta { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; }
	.nav-toggle { display: flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; }
	.site-nav.open { display: flex; }
	.site-nav a { display: flex; align-items: center; min-height: 48px; }
	.site-nav a.is-active { border-bottom: 0; padding-bottom: 0; color: var(--sage-dark); }
	.hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
	.hero-actions .btn { align-self: stretch; text-align: center; min-height: 52px; display: flex; align-items: center; justify-content: center; }
	.h-660, .h-640, .h-600 { height: 440px; }
	.h-560, .h-520, .h-460 { height: 340px; }
	.ph { padding: 32px; }
	.stats { flex-direction: column; }
	.stat { padding: 28px 0; border-left: 0; border-top: 1px solid #DDD6CA; }
	.stat:first-child { border-top: 0; padding-top: 0; }
	.stat:last-child { padding-bottom: 0; }
	.stat b, .stats.md .stat b { font-size: 60px; }
	.stats.on-sage .stat { border-color: #B9CFC5; }
	.card { padding: 32px 28px; }
	.card h3 { font-size: 26px; }
	.acard .thumb { height: 180px; }
	.acard-body { padding: 24px; }
	.acard h3 { font-size: 22px; }
	.rows > div { padding: 24px 0; }
	.rows h3 { font-size: 22px; }
	.q blockquote { font-size: 21px; }
	.q .mark { font-size: 64px; height: 32px; }
	.pull { font-size: 22px; }
	.step .n { font-size: 64px; }
	.step h2 { font-size: 26px; }
	.highlight { padding: 72px 0; }
	.highlight h2 { font-size: 44px; line-height: 1.08; }
	.highlight p { font-size: 17px; }
	.vrow h2 { font-size: 36px; }
	.vrow .vtext { font-size: 17px; }
	.cta { padding: 88px 0 56px; text-align: left; }
	.cta .wrap { align-items: flex-start; gap: 20px; }
	.cta h2 { font-size: 34px; }
	.cta p { font-size: 17px; }
	.cta .btn { align-self: stretch; text-align: center; min-height: 52px; display: flex; align-items: center; justify-content: center; }
	.site-footer { padding: 56px 0 40px; }
	.foot-row { flex-direction: column; gap: 40px; }
	.foot-nav { gap: 0; }
	.foot-nav a { display: flex; align-items: center; min-height: 44px; }
	.prose { font-size: 17px; }
	.prose h2 { font-size: 28px; }
}

@media (max-width: 600px) {
	.cols-4 { grid-template-columns: 1fr; }
}

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