/* Moonrise Construction Demo — scoped styles */
:root {
  --mrcd-ink: #0b1525;
  --mrcd-ink-2: #13233b;
  --mrcd-gold: #e0a82e;
  --mrcd-gold-dark: #a36e00;
  --mrcd-cream: #f6f3ec;
  --mrcd-paper: #ffffff;
  --mrcd-muted: #667085;
  --mrcd-line: rgba(11, 21, 37, 0.12);
  --mrcd-rust: #b9603b;
  --mrcd-green: #316b53;
  --mrcd-shadow: 0 24px 70px rgba(11, 21, 37, 0.16);
}

html { scroll-behavior: smooth; }
body.mrcd-template { margin: 0; background: var(--mrcd-paper); }

.mrcd-site,
.mrcd-site * { box-sizing: border-box; }

.mrcd-site {
  width: 100%;
  overflow: clip;
  background: var(--mrcd-paper);
  color: var(--mrcd-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.mrcd-site img,
.mrcd-site svg { display: block; max-width: 100%; }
.mrcd-site a { color: inherit; text-decoration: none; }
.mrcd-site button,
.mrcd-site input,
.mrcd-site textarea,
.mrcd-site select { font: inherit; }
.mrcd-site button { cursor: pointer; }
.mrcd-site h1,
.mrcd-site h2,
.mrcd-site h3,
.mrcd-site p { margin: 0; }
.mrcd-site h1,
.mrcd-site h2,
.mrcd-site h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

.mrcd-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.mrcd-section { padding: 94px 0; }
.mrcd-section-soft { background: var(--mrcd-cream); }
.mrcd-section-dark { background: var(--mrcd-ink); color: var(--mrcd-paper); }

.mrcd-skip-link {
  position: fixed; left: 14px; top: -80px; z-index: 99999;
  padding: 10px 14px; border-radius: 8px; background: #fff; color: #000;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.mrcd-skip-link:focus { top: 14px; }

.mrcd-demo-bar {
  position: relative; z-index: 50;
  background: #07111f; color: rgba(255,255,255,.82);
  font-size: .78rem; letter-spacing: .025em;
}
.mrcd-demo-bar .mrcd-shell {
  min-height: 38px; display: flex; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.mrcd-demo-bar a { color: #f4c861; font-weight: 800; }

.mrcd-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(11, 21, 37, .94);
  color: #fff;
  backdrop-filter: blur(16px);
}
.mrcd-header-row {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.mrcd-brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.mrcd-brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(224,168,46,.5); border-radius: 9px;
  background: rgba(224,168,46,.08); color: var(--mrcd-gold);
}
.mrcd-brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.mrcd-brand-copy strong { font-size: .92rem; letter-spacing: .12em; }
.mrcd-brand-copy span { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.mrcd-nav { display: flex; align-items: center; gap: 24px; }
.mrcd-nav > a { color: rgba(255,255,255,.76); font-size: .83rem; font-weight: 700; }
.mrcd-nav > a:hover,
.mrcd-nav > a:focus-visible { color: #fff; }

.mrcd-btn {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  gap: 9px; padding: 0 21px; border: 1px solid transparent; border-radius: 7px;
  background: var(--mrcd-gold); color: #101828 !important; font-size: .84rem; font-weight: 850;
  letter-spacing: .02em; box-shadow: 0 12px 28px rgba(224,168,46,.2);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.mrcd-btn:hover { transform: translateY(-2px); background: #edba48; }
.mrcd-btn-small { min-height: 42px; padding-inline: 16px; }
.mrcd-btn-secondary { border-color: rgba(255,255,255,.25); background: transparent; color: #fff !important; box-shadow: none; }
.mrcd-btn-secondary:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.mrcd-btn-dark { background: var(--mrcd-ink); color: #fff !important; box-shadow: none; }
.mrcd-btn-dark:hover { background: #192c49; }
.mrcd-text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--mrcd-gold-dark) !important; font-weight: 850; font-size: .84rem; }

.mrcd-menu-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 7px;
  background: transparent; color: #fff;
}
.mrcd-mobile-nav { display: none; padding: 0 20px 20px; background: var(--mrcd-ink); }
.mrcd-mobile-nav.is-open { display: grid; gap: 8px; }
.mrcd-mobile-nav a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.82); font-weight: 750; }

.mrcd-hero {
  position: relative; isolation: isolate;
  min-height: 760px; display: grid; align-items: center;
  padding: 90px 0 86px; background: var(--mrcd-ink); color: #fff;
}
.mrcd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(224,168,46,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,168,46,.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 35%, rgba(224,168,46,.19), transparent 27rem),
    linear-gradient(135deg, #0b1525, #101f36 58%, #07101d);
  background-size: 54px 54px, 54px 54px, auto, auto;
}
.mrcd-hero::after {
  content: ""; position: absolute; right: -9%; bottom: -48%; z-index: -1;
  width: 630px; height: 630px; border: 1px solid rgba(224,168,46,.15); border-radius: 50%;
}
.mrcd-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; }
.mrcd-kicker { display: inline-flex; align-items: center; gap: 10px; color: #f0c45c; font-size: .75rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.mrcd-kicker::before { content: ""; width: 36px; height: 2px; background: var(--mrcd-gold); }
.mrcd-hero h1 { max-width: 760px; margin-top: 22px; font-size: clamp(3.1rem, 6.3vw, 6.4rem); font-weight: 400; letter-spacing: -.055em; }
.mrcd-hero-copy > p { max-width: 650px; margin-top: 24px; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.mrcd-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.mrcd-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.mrcd-trust-item { padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); }
.mrcd-trust-item strong { display: block; color: #fff; font-size: .92rem; }
.mrcd-trust-item span { display: block; margin-top: 5px; color: rgba(255,255,255,.5); font-size: .76rem; }

.mrcd-hero-art { position: relative; min-height: 560px; }
.mrcd-blueprint-card {
  position: absolute; inset: 10px 0 58px 26px; overflow: hidden;
  border: 1px solid rgba(224,168,46,.35); border-radius: 18px;
  background: linear-gradient(145deg, #122743, #0b1728);
  box-shadow: var(--mrcd-shadow);
}
.mrcd-blueprint-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mrcd-blueprint-card svg { position: absolute; inset: 6% 4% 5%; width: 92%; height: 89%; color: #f0bd4b; opacity: .92; }
.mrcd-art-label {
  position: absolute; left: 0; bottom: 0; z-index: 3; max-width: 270px;
  padding: 23px 24px; border-radius: 12px; background: var(--mrcd-cream); color: var(--mrcd-ink); box-shadow: 0 18px 55px rgba(0,0,0,.24);
}
.mrcd-art-label small { display: block; color: var(--mrcd-rust); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mrcd-art-label strong { display: block; margin-top: 7px; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.15; }
.mrcd-art-badge {
  position: absolute; right: -16px; top: 56px; z-index: 3;
  width: 120px; height: 120px; display: grid; place-items: center; text-align: center;
  border: 1px solid rgba(224,168,46,.5); border-radius: 50%; background: var(--mrcd-gold); color: #1d2939;
  font-size: .72rem; font-weight: 900; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}

.mrcd-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.mrcd-eyebrow { color: var(--mrcd-rust); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.mrcd-section-heading { margin-top: 14px !important; max-width: 780px; font-size: clamp(2.4rem, 4.4vw, 4.6rem); font-weight: 400; letter-spacing: -.04em; }
.mrcd-section-lead { max-width: 680px; margin-top: 18px !important; color: var(--mrcd-muted); font-size: 1rem; }
.mrcd-intro-note {
  padding: 28px; border-left: 4px solid var(--mrcd-gold); background: var(--mrcd-cream);
  color: #344054; font-size: .95rem;
}

.mrcd-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.mrcd-service-card {
  position: relative; min-height: 255px; padding: 28px;
  border: 1px solid var(--mrcd-line); border-radius: 13px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mrcd-service-card:hover { transform: translateY(-4px); border-color: rgba(224,168,46,.5); box-shadow: 0 18px 50px rgba(11,21,37,.1); }
.mrcd-service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 9px; background: var(--mrcd-ink); color: var(--mrcd-gold); }
.mrcd-service-card h3 { margin-top: 23px !important; font-size: 1.55rem; font-weight: 400; }
.mrcd-service-card p { margin-top: 12px !important; color: var(--mrcd-muted); font-size: .88rem; }

.mrcd-projects-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.mrcd-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.mrcd-project-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #12223a; }
.mrcd-project-art { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(145deg, #203653, #0c1728); }
.mrcd-project-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mrcd-project-art svg { position: absolute; inset: 10%; width: 80%; height: 80%; color: var(--mrcd-gold); }
.mrcd-project-body { padding: 25px; }
.mrcd-project-meta { color: #efc35e; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mrcd-project-body h3 { margin-top: 10px !important; color: #fff; font-size: 1.55rem; font-weight: 400; }
.mrcd-project-body p { margin-top: 11px !important; color: rgba(255,255,255,.58); font-size: .85rem; }

.mrcd-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.mrcd-step { position: relative; padding: 28px 25px; border-top: 2px solid var(--mrcd-line); }
.mrcd-step-number { color: var(--mrcd-gold-dark); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.mrcd-step h3 { margin-top: 18px !important; font-size: 1.45rem; font-weight: 400; }
.mrcd-step p { margin-top: 11px !important; color: var(--mrcd-muted); font-size: .86rem; }

.mrcd-proof-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: stretch; }
.mrcd-proof-panel { padding: 48px; border-radius: 15px; background: var(--mrcd-ink); color: #fff; }
.mrcd-proof-panel h2 { margin-top: 14px !important; font-size: clamp(2.3rem, 4vw, 4.2rem); font-weight: 400; letter-spacing: -.04em; }
.mrcd-proof-panel p { margin-top: 20px !important; color: rgba(255,255,255,.62); }
.mrcd-proof-list { display: grid; gap: 15px; }
.mrcd-proof-item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--mrcd-line); border-radius: 12px; background: #fff; }
.mrcd-proof-check { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(49,107,83,.1); color: var(--mrcd-green); font-weight: 900; }
.mrcd-proof-item h3 { font-size: 1.3rem; font-weight: 400; }
.mrcd-proof-item p { margin-top: 8px !important; color: var(--mrcd-muted); font-size: .84rem; }


.mrcd-assistant-feature { background: linear-gradient(135deg, #f8f4ea 0%, #ffffff 55%, #eef3f0 100%); }
.mrcd-assistant-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.mrcd-assistant-copy .mrcd-section-lead { margin-top: 22px !important; max-width: 690px; }
.mrcd-assistant-benefits { display: grid; gap: 12px; margin: 30px 0; }
.mrcd-assistant-benefits article { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--mrcd-line); }
.mrcd-assistant-benefits strong { color: var(--mrcd-ink); font-size: .84rem; }
.mrcd-assistant-benefits span { color: var(--mrcd-muted); font-size: .82rem; }
.mrcd-assistant-note { max-width: 620px; margin-top: 16px !important; color: var(--mrcd-muted); font-size: .72rem; }
.mrcd-assistant-preview { overflow: hidden; border: 1px solid rgba(11,21,37,.13); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(11,21,37,.16); transform: rotate(1deg); }
.mrcd-preview-header { display: grid; grid-template-columns: 13px 1fr auto; gap: 11px; align-items: center; padding: 18px 20px; background: var(--mrcd-ink); color: #fff; }
.mrcd-preview-header strong, .mrcd-preview-header small { display: block; }
.mrcd-preview-header strong { font-size: .9rem; }
.mrcd-preview-header small { margin-top: 2px; color: rgba(255,255,255,.58); font-size: .67rem; }
.mrcd-preview-status { width: 11px; height: 11px; border-radius: 50%; background: #69d39b; box-shadow: 0 0 0 4px rgba(105,211,155,.12); }
.mrcd-preview-badge { padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.09); color: #efc35e; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mrcd-preview-body { min-height: 390px; padding: 24px; background: #f6f7f8; }
.mrcd-preview-message { max-width: 85%; margin-bottom: 14px; padding: 13px 15px; border-radius: 14px; font-size: .8rem; line-height: 1.5; }
.mrcd-preview-bot { border-bottom-left-radius: 4px; background: #fff; color: #344054; box-shadow: 0 5px 18px rgba(11,21,37,.07); }
.mrcd-preview-user { margin-left: auto; border-bottom-right-radius: 4px; background: var(--mrcd-ink); color: #fff; }
.mrcd-preview-options { display: flex; flex-wrap: wrap; gap: 7px; margin: -3px 0 18px; }
.mrcd-preview-options span { padding: 7px 10px; border: 1px solid #d0d5dd; border-radius: 999px; background: #fff; color: #475467; font-size: .68rem; }
.mrcd-preview-footer { padding: 13px 18px; border-top: 1px solid #e4e7ec; color: #667085; font-size: .66rem; text-align: center; }

.mrcd-estimate-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.mrcd-estimate-copy h2 { margin-top: 14px !important; font-size: clamp(2.5rem, 4.5vw, 4.7rem); font-weight: 400; letter-spacing: -.045em; }
.mrcd-estimate-copy > p { margin-top: 20px !important; color: rgba(255,255,255,.65); }
.mrcd-contact-lines { display: grid; gap: 12px; margin-top: 30px; }
.mrcd-contact-lines a,
.mrcd-contact-lines span { color: rgba(255,255,255,.84); font-size: .9rem; }
.mrcd-form-card { padding: 34px; border-radius: 14px; background: #fff; color: var(--mrcd-ink); box-shadow: var(--mrcd-shadow); }
.mrcd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.mrcd-field { display: grid; gap: 7px; }
.mrcd-field-full { grid-column: 1 / -1; }
.mrcd-field label { color: #344054; font-size: .76rem; font-weight: 800; }
.mrcd-field input,
.mrcd-field select,
.mrcd-field textarea {
  width: 100%; border: 1px solid #d0d5dd; border-radius: 7px; background: #fff; color: #101828;
  padding: 12px 13px; outline: none;
}
.mrcd-field textarea { min-height: 120px; resize: vertical; }
.mrcd-field input:focus,
.mrcd-field select:focus,
.mrcd-field textarea:focus { border-color: var(--mrcd-gold-dark); box-shadow: 0 0 0 3px rgba(224,168,46,.15); }
.mrcd-form-note { margin-top: 14px !important; color: #667085; font-size: .72rem; }
.mrcd-form-status { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 7px; background: #ecfdf3; color: #05603a; font-size: .82rem; font-weight: 750; }
.mrcd-form-status.is-visible { display: block; }

.mrcd-faq-list { max-width: 870px; margin: 42px auto 0; border-top: 1px solid var(--mrcd-line); }
.mrcd-faq-item { border-bottom: 1px solid var(--mrcd-line); }
.mrcd-faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 23px 0; border: 0; background: transparent; color: var(--mrcd-ink); text-align: left;
  font-family: Georgia, serif; font-size: 1.35rem;
}
.mrcd-faq-symbol { color: var(--mrcd-gold-dark); font-family: Inter, sans-serif; font-size: 1.4rem; }
.mrcd-faq-answer { display: none; padding: 0 0 23px; color: var(--mrcd-muted); font-size: .9rem; }
.mrcd-faq-item.is-open .mrcd-faq-answer { display: block; }

.mrcd-footer { padding: 65px 0 28px; background: #07111f; color: #fff; }
.mrcd-footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 50px; }
.mrcd-footer-copy { max-width: 460px; margin-top: 18px !important; color: rgba(255,255,255,.55); font-size: .85rem; }
.mrcd-footer h3 { font-family: Inter, sans-serif; color: #efc35e; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mrcd-footer-links { display: grid; gap: 10px; margin-top: 18px; }
.mrcd-footer-links a,
.mrcd-footer-links span { color: rgba(255,255,255,.67); font-size: .83rem; }
.mrcd-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: .72rem; }
.mrcd-footer-bottom a { color: #efc35e; }

.mrcd-chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px;
  border: 1px solid rgba(224,168,46,.45); border-radius: 999px; background: var(--mrcd-ink); color: #fff;
  box-shadow: 0 16px 45px rgba(0,0,0,.28);
}
.mrcd-chat-launcher img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.mrcd-chat-launcher span { font-size: .78rem; font-weight: 850; }
.mrcd-chat-panel {
  position: fixed; right: 22px; bottom: 84px; z-index: 91;
  width: min(380px, calc(100vw - 28px)); overflow: hidden;
  border: 1px solid rgba(11,21,37,.14); border-radius: 16px; background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.3); transform: translateY(18px); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mrcd-chat-panel.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mrcd-chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; background: var(--mrcd-ink); color: #fff; }
.mrcd-chat-person { display: flex; align-items: center; gap: 10px; }
.mrcd-chat-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.mrcd-chat-person strong { display: block; font-size: .84rem; }
.mrcd-chat-person small { display: block; color: rgba(255,255,255,.55); font-size: .68rem; }
.mrcd-chat-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.09); color: #fff; }
.mrcd-chat-messages { height: 310px; overflow-y: auto; padding: 16px; background: #f7f8fa; }
.mrcd-message { max-width: 86%; margin-bottom: 11px; padding: 10px 12px; border-radius: 12px; font-size: .78rem; line-height: 1.45; }
.mrcd-message-bot { border-bottom-left-radius: 4px; background: #fff; color: #344054; box-shadow: 0 4px 16px rgba(11,21,37,.07); }
.mrcd-message-user { margin-left: auto; border-bottom-right-radius: 4px; background: var(--mrcd-ink); color: #fff; }
.mrcd-chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mrcd-chat-suggestion { padding: 6px 9px; border: 1px solid #d0d5dd; border-radius: 999px; background: #fff; color: #344054; font-size: .68rem; }
.mrcd-chat-form { display: flex; gap: 8px; padding: 11px; border-top: 1px solid #e4e7ec; }
.mrcd-chat-form input { flex: 1; min-width: 0; padding: 10px; border: 1px solid #d0d5dd; border-radius: 8px; }
.mrcd-chat-form button { width: 42px; border: 0; border-radius: 8px; background: var(--mrcd-gold); color: var(--mrcd-ink); font-weight: 900; }
.mrcd-chat-disclaimer { padding: 0 12px 11px; color: #98a2b3; font-size: .61rem; text-align: center; }

@media (max-width: 1000px) {
  .mrcd-nav { display: none; }
  .mrcd-menu-toggle { display: grid; }
  .mrcd-hero-grid,
  .mrcd-intro-grid,
  .mrcd-proof-grid,
  .mrcd-assistant-grid,
  .mrcd-estimate-grid { grid-template-columns: 1fr; }
  .mrcd-hero { min-height: auto; }
  .mrcd-hero-art { min-height: 500px; width: min(700px, 100%); margin-inline: auto; }
  .mrcd-services-grid,
  .mrcd-project-grid { grid-template-columns: repeat(2, 1fr); }
  .mrcd-process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .mrcd-shell { width: min(100% - 28px, 1180px); }
  .mrcd-section { padding: 70px 0; }
  .mrcd-demo-bar .mrcd-shell { padding-block: 7px; }
  .mrcd-brand-copy strong { font-size: .78rem; }
  .mrcd-brand-copy span { font-size: .62rem; }
  .mrcd-hero { padding: 68px 0 72px; }
  .mrcd-hero h1 { font-size: clamp(2.85rem, 15vw, 4.7rem); }
  .mrcd-hero-actions,
  .mrcd-hero-actions .mrcd-btn { width: 100%; }
  .mrcd-trust-row { grid-template-columns: 1fr; }
  .mrcd-hero-art { min-height: 410px; }
  .mrcd-blueprint-card { inset: 8px 0 50px 0; }
  .mrcd-art-badge { right: -4px; top: 35px; width: 96px; height: 96px; font-size: .61rem; }
  .mrcd-art-label { max-width: 230px; padding: 18px; }
  .mrcd-services-grid,
  .mrcd-project-grid,
  .mrcd-process-grid { grid-template-columns: 1fr; }
  .mrcd-projects-header { align-items: start; flex-direction: column; }
  .mrcd-proof-panel { padding: 34px 26px; }
  .mrcd-assistant-benefits article { grid-template-columns: 1fr; gap: 7px; }
  .mrcd-assistant-preview { transform: none; }
  .mrcd-preview-body { min-height: 330px; padding: 18px; }
  .mrcd-form-card { padding: 24px 18px; }
  .mrcd-form-grid { grid-template-columns: 1fr; }
  .mrcd-field-full { grid-column: auto; }
  .mrcd-footer-grid { grid-template-columns: 1fr; }
  .mrcd-footer-bottom { align-items: flex-start; flex-direction: column; }
  .mrcd-chat-launcher { right: 13px; bottom: 13px; }
  .mrcd-chat-launcher span { display: none; }
  .mrcd-chat-panel { right: 14px; bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mrcd-site *, .mrcd-site *::before, .mrcd-site *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* =========================================================
   Version 1.3 — high-contrast charcoal / forest color system
   This block intentionally overrides both the original demo
   palette and common WordPress theme heading declarations.
   ========================================================= */

:root {
  --mrcd-ink: #1a1e19;
  --mrcd-ink-2: #262d25;
  --mrcd-gold: #e68345;
  --mrcd-gold-dark: #f0a366;
  --mrcd-cream: #232923;
  --mrcd-paper: #171b17;
  --mrcd-muted: #b9c0b8;
  --mrcd-line: rgba(255, 255, 255, 0.14);
  --mrcd-rust: #f07b45;
  --mrcd-green: #78bd8e;
  --mrcd-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

html,
body.mrcd-template {
  background: #171b17 !important;
}

.mrcd-site {
  background: #171b17 !important;
  color: #d7ddd6 !important;
}

/* Prevent active theme styles from creating white-on-light text. */
.mrcd-site h1,
.mrcd-site h2,
.mrcd-site h3,
.mrcd-site h4,
.mrcd-site h5,
.mrcd-site h6,
.mrcd-site .mrcd-section-heading,
.mrcd-site .mrcd-step h3,
.mrcd-site .mrcd-service-card h3,
.mrcd-site .mrcd-proof-item h3,
.mrcd-site .mrcd-faq-question {
  color: #f7f4ed !important;
}

.mrcd-site p,
.mrcd-site li,
.mrcd-site .mrcd-section-lead,
.mrcd-site .mrcd-step p,
.mrcd-site .mrcd-service-card p,
.mrcd-site .mrcd-proof-item p,
.mrcd-site .mrcd-faq-answer {
  color: #b9c0b8 !important;
}

.mrcd-section,
.mrcd-section-soft {
  background: #202620 !important;
  color: #f7f4ed !important;
}

.mrcd-section:nth-of-type(even) {
  background: #181d18 !important;
}

.mrcd-section-dark {
  background: #111410 !important;
  color: #f7f4ed !important;
}

.mrcd-demo-bar,
.mrcd-footer {
  background: #0f120e !important;
}

.mrcd-header {
  background: rgba(26, 30, 25, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.mrcd-mobile-nav {
  background: #1a1e19 !important;
}

.mrcd-brand-mark {
  border-color: rgba(230, 131, 69, 0.58) !important;
  background: rgba(230, 131, 69, 0.11) !important;
  color: #f0a366 !important;
}

.mrcd-btn {
  background: #e68345 !important;
  color: #191b17 !important;
  box-shadow: 0 12px 28px rgba(230, 131, 69, 0.22) !important;
}

.mrcd-btn:hover {
  background: #f09a60 !important;
}

.mrcd-btn-dark,
.mrcd-chat-launcher {
  background: #30382e !important;
  color: #ffffff !important;
}

.mrcd-btn-dark:hover {
  background: #3b4638 !important;
}

.mrcd-text-link,
.mrcd-step-number,
.mrcd-faq-symbol {
  color: #f0a366 !important;
}

.mrcd-hero {
  background: #151a14 !important;
  color: #ffffff !important;
}

.mrcd-hero::before {
  background:
    linear-gradient(rgba(230, 131, 69, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 131, 69, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 35%, rgba(230, 131, 69, 0.20), transparent 27rem),
    linear-gradient(135deg, #151a14, #283126 58%, #10130f) !important;
  background-size: 54px 54px, 54px 54px, auto, auto !important;
}

.mrcd-hero::after {
  border-color: rgba(230, 131, 69, 0.18) !important;
}

.mrcd-kicker,
.mrcd-project-meta,
.mrcd-footer h3,
.mrcd-footer-bottom a {
  color: #f0a366 !important;
}

.mrcd-blueprint-card,
.mrcd-project-art {
  background: linear-gradient(145deg, #344033, #171c16) !important;
}

.mrcd-blueprint-card svg,
.mrcd-project-art svg {
  color: #f0a366 !important;
}

.mrcd-art-label,
.mrcd-intro-note {
  background: #2b3129 !important;
  color: #f7f4ed !important;
}

.mrcd-intro-note {
  border-left-color: #e68345 !important;
}

.mrcd-art-badge {
  border-color: rgba(230, 131, 69, 0.68) !important;
  background: #e68345 !important;
  color: #171a16 !important;
}

/* Services, process, proof, and FAQ surfaces */
.mrcd-service-card,
.mrcd-proof-item {
  border-color: rgba(255, 255, 255, 0.13) !important;
  background: #292f28 !important;
  box-shadow: none !important;
}

.mrcd-service-card:hover {
  border-color: rgba(230, 131, 69, 0.65) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24) !important;
}

.mrcd-service-icon {
  background: #3a4738 !important;
  color: #f0a366 !important;
}

.mrcd-step {
  border-top-color: rgba(255, 255, 255, 0.18) !important;
  background: transparent !important;
}

.mrcd-proof-panel {
  background: #30382e !important;
  color: #ffffff !important;
}

.mrcd-proof-check {
  background: rgba(120, 189, 142, 0.15) !important;
  color: #93d0a6 !important;
}

.mrcd-project-card {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: #252c24 !important;
}

/* AI assistant feature */
.mrcd-assistant-feature {
  background: linear-gradient(135deg, #20261f 0%, #171b17 55%, #293027 100%) !important;
}

.mrcd-assistant-benefits article {
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

.mrcd-assistant-benefits strong {
  color: #f7f4ed !important;
}

.mrcd-assistant-benefits span,
.mrcd-assistant-note {
  color: #b9c0b8 !important;
}

.mrcd-assistant-preview {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: #202620 !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36) !important;
}

.mrcd-preview-header,
.mrcd-chat-header {
  background: #30382e !important;
}

.mrcd-preview-body,
.mrcd-chat-messages {
  background: #171b17 !important;
}

.mrcd-preview-bot,
.mrcd-message-bot {
  background: #2b3129 !important;
  color: #e2e7e1 !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.20) !important;
}

.mrcd-preview-user,
.mrcd-message-user {
  background: #4a3427 !important;
  color: #ffffff !important;
}

.mrcd-preview-options span,
.mrcd-chat-suggestion {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: #242a23 !important;
  color: #dce1db !important;
}

.mrcd-preview-footer {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
  background: #202620 !important;
  color: #aeb6ad !important;
}

/* Estimate form */
.mrcd-form-card {
  background: #292f28 !important;
  color: #f7f4ed !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34) !important;
}

.mrcd-field label {
  color: #dce1db !important;
}

.mrcd-field input,
.mrcd-field select,
.mrcd-field textarea,
.mrcd-chat-form input {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: #171b17 !important;
  color: #f7f4ed !important;
}

.mrcd-field input::placeholder,
.mrcd-field textarea::placeholder,
.mrcd-chat-form input::placeholder {
  color: #90988f !important;
}

.mrcd-field input:focus,
.mrcd-field select:focus,
.mrcd-field textarea:focus,
.mrcd-chat-form input:focus {
  border-color: #e68345 !important;
  box-shadow: 0 0 0 3px rgba(230, 131, 69, 0.18) !important;
}

.mrcd-form-note,
.mrcd-chat-disclaimer {
  color: #9fa79e !important;
}

.mrcd-form-status {
  background: #22362a !important;
  color: #a9ddb8 !important;
}

/* FAQ */
.mrcd-faq-list,
.mrcd-faq-item {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.mrcd-faq-question {
  background: transparent !important;
}

/* Floating assistant */
.mrcd-chat-panel {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: #202620 !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46) !important;
}

.mrcd-chat-form {
  border-top-color: rgba(255, 255, 255, 0.13) !important;
  background: #202620 !important;
}

.mrcd-chat-form button {
  background: #e68345 !important;
  color: #171a16 !important;
}

/* Footer contrast */
.mrcd-footer-copy,
.mrcd-footer-links a,
.mrcd-footer-links span,
.mrcd-footer-bottom {
  color: #aeb5ad !important;
}

/* Accessible keyboard indicator on the new dark surfaces. */
.mrcd-site a:focus-visible,
.mrcd-site button:focus-visible,
.mrcd-site input:focus-visible,
.mrcd-site select:focus-visible,
.mrcd-site textarea:focus-visible {
  outline: 3px solid #f0a366 !important;
  outline-offset: 3px !important;
}
