/*
Theme Name: Milestonecraft
Theme URI: https://milestonecraft.co.zw
Author: Milestonecraft Investments Pvt Ltd
Author URI: https://milestonecraft.co.zw
Description: Standalone marketing and thought-leadership theme for architecture, integration and delivery assurance.
Version: 1.0.14
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: milestonecraft
*/

:root {
  --msc-navy: #051d4b;
  --msc-gold: #d09c01;
  --msc-ink: #233855;
  --msc-slate: #71839a;
  --msc-line: #dbe1e9;
  --msc-wash: #f5f7f9;
  --msc-white: #ffffff;
  --msc-max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--msc-ink);
  background: var(--msc-white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; height: auto; max-width: 100%; }
.skip-link { left: 12px; position: fixed; top: -100px; z-index: 100; }
.skip-link:focus { top: 12px; }
.container { margin: 0 auto; max-width: var(--msc-max); padding: 0 24px; }
.site-main { min-height: 60vh; }
.eyebrow { color: var(--msc-gold); font-size: .78rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 14px; text-transform: uppercase; }
h1, h2, h3 { color: var(--msc-navy); font-family: "PT Serif", Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); margin: 0 0 24px; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); margin: 0 0 18px; }
h3 { font-size: 1.35rem; margin: 0 0 12px; }
p { margin: 0 0 18px; }
.section { padding: 88px 0; }
.section--wash { background: var(--msc-wash); }
.section--navy { background: var(--msc-navy); color: #e7eef7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-lede { color: var(--msc-slate); font-size: 1.16rem; max-width: 720px; }
.site-main .button {
  background: var(--msc-gold); border: 1px solid var(--msc-gold); color: var(--msc-navy);
  display: inline-block; font-weight: 700; padding: 13px 20px; text-decoration: none;
}
.site-main .button:hover, .site-main .button:focus { background: #e6b32a; border-color: #e6b32a; color: var(--msc-navy) !important; }
.site-main .button--outline { background: transparent; border-color: currentColor; color: var(--msc-navy); }
.site-main .button--light { border-color: #fff; color: #fff; }
.site-main .button:not(.button--outline) { color: var(--msc-navy) !important; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--msc-line); padding: 28px; }
.card__media {
  aspect-ratio: 16 / 9;
  background: var(--msc-navy);
  margin: -28px -28px 22px;
  overflow: hidden;
}
.card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.card--extension-education .card__media img { object-position: 78% center; }
.card--impilo-digital-health .card__media img { object-position: center; }
.card__number { color: var(--msc-gold); font-family: "PT Serif", Georgia, serif; font-size: 1.65rem; }
.msc-site-header { background: var(--msc-navy); color: #fff; position: relative; }
.msc-header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 118px; }
.msc-brand { align-items: center; color: #fff; display: inline-flex; font-size: 1.28rem; font-weight: 700; gap: 10px; text-decoration: none; }
.msc-brand__logo { height: 88px; object-fit: contain; width: auto; }
.brand-mark { border-bottom: 4px solid var(--msc-gold); display: inline-flex; gap: 3px; height: 24px; padding-bottom: 3px; }
.brand-mark span { background: var(--msc-gold); display: block; width: 5px; }
.brand-mark span:nth-child(1) { height: 8px; margin-top: 9px; }
.brand-mark span:nth-child(2) { height: 12px; margin-top: 5px; }
.brand-mark span:nth-child(3) { height: 17px; }
.brand-mark span:nth-child(4) { height: 21px; }
.msc-site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.msc-site-nav a { color: #fff; font-size: .92rem; text-decoration: none; }
.msc-site-nav a:hover, .msc-site-nav .current-menu-item > a { color: #f6cf60; }
.msc-nav-toggle { background: transparent; border: 1px solid #93a4b9; color: #fff; display: none; padding: 8px 10px; }
.hero { background-color: var(--msc-navy); background-image: url("assets/images/milestonecraft-hero-architecture.png"); background-position: center right; background-repeat: no-repeat; background-size: cover; color: #e7eef7; overflow: hidden; padding: 104px 0 92px; }
.hero h1 { color: #fff; max-width: 950px; }
.hero__content { max-width: 780px; }
.hero__lead { font-size: 1.25rem; max-width: 700px; }
.proof-strip { border-bottom: 1px solid var(--msc-line); border-top: 1px solid var(--msc-line); }
.proof-strip__item { border-right: 1px solid var(--msc-line); padding: 26px 28px; }
.proof-strip__item:last-child { border-right: 0; }
.offer { border-top: 3px solid var(--msc-gold); }
.offer + .offer { margin-top: 24px; }
.offer ul { margin: 0; padding-left: 18px; }
.offer li { margin-bottom: 7px; }
.case-tag { color: var(--msc-gold); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.process { counter-reset: process; }
.process__step { padding: 22px 0; }
.process__step::before { color: var(--msc-gold); content: "0" counter(process); counter-increment: process; display: block; font-family: "PT Serif", Georgia, serif; font-size: 1.6rem; }
.quote { border-left: 4px solid var(--msc-gold); color: var(--msc-navy); font-family: "PT Serif", Georgia, serif; font-size: 1.35rem; padding-left: 20px; }
.founder-photo { border: 2px solid var(--msc-line); border-radius: 50%; height: 124px; object-fit: cover; width: 124px; }
.visual-panel { background: var(--msc-wash); border: 1px solid var(--msc-line); padding: 10px; }
.visual-panel img { width: 100%; }
.page-hero { background: var(--msc-wash); padding: 72px 0; }
.page-hero h1 { font-size: clamp(2.3rem, 4.2vw, 4rem); max-width: 850px; }
.article { max-width: 800px; }
.article h2 { margin-top: 46px; }
.article ul { padding-left: 22px; }
.callout { border-left: 4px solid var(--msc-gold); background: var(--msc-wash); padding: 20px 22px; }
.msc-sources-section__inner { max-width: 820px; }
.msc-sources { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.msc-sources li { border-bottom: 1px solid var(--msc-line); padding: 14px 0; }
.msc-sources li:last-child { border-bottom: 0; }
.msc-sources a { color: var(--msc-navy); font-weight: 700; text-decoration: none; }
.msc-sources a:hover { color: var(--msc-gold); text-decoration: underline; }
.msc-sources__note { color: var(--msc-slate); display: block; font-size: .9rem; font-weight: 400; margin-top: 4px; }
.card--resource .card__media--thumb { background: #f5f7f9; border-radius: 6px 6px 0 0; overflow: hidden; margin: -1.5rem -1.5rem 1rem; }
.card--resource .card__media--thumb img { width: 100%; height: auto; display: block; }
.resource-thumb { border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; box-shadow: 0 2px 12px rgba(5,29,75,.08); }
.resource-thumb img { width: 100%; height: auto; display: block; }
.resource-when { background: var(--msc-wash); border-left: 3px solid var(--msc-gold); border-radius: 0 4px 4px 0; color: var(--msc-ink); font-size: .95rem; margin: 0 0 1.5rem; padding: .75rem 1rem; }
.resource-inside { font-size: .95rem; margin: .5rem 0 1.5rem 1.2rem; }
.resource-inside li { margin-bottom: .5rem; }
.resource-back { font-size: .9rem; margin-top: 2rem; }
.resource-back a { color: var(--msc-slate); }
.msc-discussion .container { max-width: 820px; }
.msc-discussion__label { color: var(--msc-navy); font-weight: 700; margin: 1.25rem 0 .4rem; }
.msc-discussion__list { font-size: .94rem; margin: 0 0 1.5rem 1.2rem; }
.msc-discussion__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .5rem; }
.msc-discussion__note { color: var(--msc-slate); font-size: .85rem; margin-top: 1.25rem; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field--full { grid-column: 1 / -1; }
label { color: var(--msc-navy); font-size: .9rem; font-weight: 700; }
input, textarea, select { border: 1px solid #b8c5d6; font: inherit; padding: 12px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
.form-consent { align-items: flex-start; display: flex; gap: 10px; }
.form-consent input { margin-top: 7px; width: auto; }
.notice { border-left: 4px solid var(--msc-gold); margin-bottom: 24px; padding: 12px 16px; }
.notice--success { background: #eff7ef; border-color: #2e7d32; }
.msc-site-footer { background: #031438; color: #dbe1e9; padding: 60px 0 28px; }
.msc-site-footer h2, .msc-site-footer h3 { color: #fff; font-size: 1.2rem; }
.msc-footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
.msc-footer-nav { list-style: none; margin: 0; padding: 0; }
.msc-footer-nav li { margin: 6px 0; }
.msc-footer-nav a { color: #dbe1e9; text-decoration: none; }
.msc-footer-bottom { border-top: 1px solid #27436e; color: #93a4b9; font-size: .82rem; margin-top: 40px; padding-top: 20px; }
.sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

@media (max-width: 800px) {
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4, .msc-footer-grid { grid-template-columns: 1fr; }
  .proof-strip__item { border-bottom: 1px solid var(--msc-line); border-right: 0; }
  .msc-nav-toggle { display: block; }
  .msc-site-nav { display: none; left: 0; padding: 20px 24px; position: absolute; right: 0; top: 118px; background: var(--msc-navy); z-index: 20; }
  .msc-site-nav.is-open { display: block; }
  .msc-site-nav ul { flex-direction: column; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
}
