/* =====================================================================
   Miss Pepper AI — pages.css
   Shared component system for all interior pages (page-no-title template).
   Extracted from the v1.0 service-page inline CSS so 150+ pages don't each
   ship 800 lines of inline styles. 'Systems over snowflakes' — applies to
   our own site too. New page types append their components below.
   ===================================================================== */

/* ---------- A. Core system (from /services/authority-sites/ v1.0) ---------- */
:root {
  --mp-pepper:#1A1714; --mp-pepper-700:#3D362F; --mp-pepper-500:#524A41; --mp-pepper-300:#8A7F70; --mp-pepper-100:#B7AEA1; --mp-pepper-50:#E8E2D8;
  --mp-tide:#1B75BC; --mp-tide-900:#0E3F66; --mp-tide-700:#145A91; --mp-tide-300:#7BAFDA; --mp-tide-100:#D6E7F3;
  --mp-terra:#BB6B1B; --mp-terra-900:#5C3409; --mp-terra-700:#8E5114; --mp-terra-300:#E0A56A; --mp-terra-100:#F1DCC4;
  --mp-cream:#F5EDDA; --mp-cream-soft:#FAF6EB; --mp-cream-edge:#EDE3CB;
  --mp-serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --mp-sans:'Switzer',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mp-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --mp-ease:cubic-bezier(0.2,0.6,0.2,1);
}

/* === Width overrides for non-home pages === */
.page-template-page-no-title .wp-site-blocks { background: var(--mp-cream); }
.page-template-page-no-title main.mp-front-page,
.page-template-page-no-title main.wp-block-group,
.page-template-page-no-title .entry-content,
.page-template-page-no-title .wp-block-post-content {
  max-width: none !important; width: 100% !important;
  padding-left: 0 !important; padding-right: 0 !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
.page-template-page-no-title .entry-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.page-template-page-no-title .has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }

/* === Typography forcing === */
.entry-content, .entry-content p, .entry-content span, .entry-content a, .entry-content li, .entry-content button, .entry-content summary { font-family: var(--mp-sans); }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--mp-serif); font-weight: 400; }
.entry-content .mp-mono, .entry-content .mp-receipt-num, .entry-content .mp-receipt-label, .entry-content .mp-section-eyebrow, .entry-content .mp-hero-eyebrow, .entry-content .mp-bento-eyebrow, .entry-content .mp-bento-cta, .entry-content .mp-bento-price, .entry-content .mp-final-cta-meta, .entry-content .mp-fit-pill, .entry-content .mp-receipt-pill, .entry-content .mp-breadcrumb, .entry-content .mp-tier-pill, .entry-content .mp-tier-price-num, .entry-content .mp-tier-price-label, .entry-content .mp-deliverable-tag, .entry-content .mp-related-eyebrow {
  font-family: var(--mp-mono);
}

/* === Section grid === */
.mp-section { position: relative; padding: 96px 0; width: 100%; }
.mp-section.is-tight { padding: 56px 0; }
.mp-section.is-wide  { padding: 128px 0; }
.mp-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .mp-section { padding: 72px 0; } .mp-section.is-tight { padding: 40px 0; } .mp-section.is-wide { padding: 88px 0; } .mp-container { padding: 0 20px; } }

.mp-section.is-band-soft { background: var(--mp-cream-soft); }
.mp-section.is-band-pepper { background: var(--mp-pepper); color: var(--mp-cream); }
.mp-section.is-band-pepper h2 { color: var(--mp-cream); }
.mp-section.is-band-pepper p { color: var(--mp-pepper-100); }
.mp-section.is-band-tide { background: var(--mp-tide); color: var(--mp-cream); }
.mp-section.is-band-tide h2, .mp-section.is-band-tide h3 { color: var(--mp-cream); }
.mp-section.is-band-tide p, .mp-section.is-band-tide .mp-section-sub { color: rgba(245,237,218,0.92); }
.mp-section.is-band-tide .mp-section-eyebrow { color: var(--mp-cream); }
.mp-section.is-band-tide .mp-section-eyebrow::before { background: var(--mp-terra-300); }
.mp-section.is-band-tide, .mp-section.is-band-pepper {
  background-image: radial-gradient(rgba(245,237,218,0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* === Section eyebrow + headline === */
.mp-section-eyebrow {
  font-family: var(--mp-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-terra-700);
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 28px;
}
.mp-section-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--mp-terra); }
.mp-section.is-band-pepper .mp-section-eyebrow { color: var(--mp-terra-300); }
.mp-section.is-band-pepper .mp-section-eyebrow::before { background: var(--mp-terra-300); }
.mp-section-headline {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(36px, 2.2rem + 1.8vw, 64px);
  line-height: 0.98; letter-spacing: -0.025em;
  color: var(--mp-pepper); max-width: 22ch; margin: 0 0 24px;
}
.mp-section-headline em { font-style: italic; }
.mp-section-sub {
  font-family: var(--mp-sans);
  font-size: clamp(17px, 0.95rem + 0.4vw, 19px);
  line-height: 1.6; color: var(--mp-pepper-500);
  max-width: 60ch; margin: 0 0 56px;
}

/* === Buttons === */
.mp-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mp-sans); font-weight: 600; font-size: 16px; padding: 18px 32px; border-radius: 999px; text-decoration: none; transition: transform 100ms var(--mp-ease), background-color 150ms var(--mp-ease), color 150ms var(--mp-ease), border-color 150ms var(--mp-ease); border: 1.5px solid transparent; cursor: pointer; line-height: 1; }
.mp-btn:active { transform: scale(0.98); }
.mp-btn-primary { background: var(--mp-tide); color: var(--mp-cream); border-color: var(--mp-tide); }
.mp-btn-primary:hover { background: var(--mp-tide-700); border-color: var(--mp-tide-700); color: var(--mp-cream); }
.mp-btn-secondary { background: transparent; color: var(--mp-pepper); border-color: var(--mp-pepper); }
.mp-btn-secondary:hover { background: var(--mp-pepper); color: var(--mp-cream); }
.mp-btn-terra { background: var(--mp-terra); color: var(--mp-cream); border-color: var(--mp-terra); }
.mp-btn-terra:hover { background: var(--mp-terra-700); border-color: var(--mp-terra-700); }
.mp-btn-cream-on-pepper { background: var(--mp-cream); color: var(--mp-pepper); border-color: var(--mp-cream); }
.mp-btn-cream-on-pepper:hover { background: transparent; color: var(--mp-cream); border-color: var(--mp-cream); }
.mp-btn-ghost-cream { background: transparent; color: var(--mp-cream); border-color: var(--mp-cream); }
.mp-btn-ghost-cream:hover { background: var(--mp-cream); color: var(--mp-pepper); }
.mp-btn .mp-btn-meta { font-family: var(--mp-mono); font-size: 11px; letter-spacing: 0.12em; font-weight: 500; opacity: 0.78; margin-left: 4px; }

/* === Focus visible === */
.entry-content a:focus-visible, .entry-content .mp-btn:focus-visible, .entry-content button:focus-visible, .entry-content summary:focus-visible {
  outline: 2px solid var(--mp-tide); outline-offset: 3px; border-radius: 6px;
}

/* === Breadcrumb === */
.mp-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-pepper-500); font-weight: 500;
  margin: 0 0 24px;
}
.mp-breadcrumb a { color: var(--mp-tide-700); text-decoration: none; }
.mp-breadcrumb a:hover { color: var(--mp-tide-900); text-decoration: underline; text-underline-offset: 4px; }
.mp-breadcrumb-sep { color: var(--mp-pepper-300); }
.mp-breadcrumb-current { color: var(--mp-pepper); }

/* === Hero (service variant) === */
.mp-hero { padding: 64px 0 88px; overflow: hidden; }
.mp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 80px; align-items: center; }
@media (max-width: 1024px) { .mp-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.mp-fit-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--mp-tide-100); color: var(--mp-tide-900); font-family: var(--mp-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 24px; font-weight: 500; }
.mp-fit-pill::before { content: ""; width: 6px; height: 6px; background: var(--mp-tide); border-radius: 50%; }
.mp-hero-headline { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(40px, 2.4rem + 2.4vw, 88px); line-height: 0.98; letter-spacing: -0.025em; color: var(--mp-pepper); max-width: 16ch; margin: 0 0 24px; }
.mp-hero-headline em { font-style: italic; position: relative; display: inline-block; }
.mp-hero-headline em::after { content: ""; position: absolute; left: -2%; bottom: 0.04em; width: 104%; height: 0.22em; background: var(--mp-terra-100); z-index: -1; transform: skewX(-2deg); }
.mp-hero-tagline { font-family: var(--mp-serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 1.2rem + 0.4vw, 26px); line-height: 1.2; color: var(--mp-tide-700); margin: 0 0 24px; max-width: 28ch; }
.mp-hero-sub { font-family: var(--mp-sans); font-size: clamp(17px, 1rem + 0.4vw, 21px); line-height: 1.55; color: var(--mp-pepper-500); max-width: 56ch; margin: 0 0 32px; }
.mp-hero-sub strong { color: var(--mp-pepper); font-weight: 600; }
.mp-hero-pricepoint { display: inline-flex; align-items: baseline; gap: 12px; margin: 0 0 32px; padding: 14px 20px; background: var(--mp-cream-soft); border-left: 3px solid var(--mp-terra); border-radius: 4px; }
.mp-hero-pricepoint-num { font-family: var(--mp-mono); font-weight: 500; font-size: 28px; color: var(--mp-pepper); letter-spacing: -0.01em; }
.mp-hero-pricepoint-label { font-family: var(--mp-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-pepper-500); font-weight: 500; }
.mp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0 0 24px; }
.mp-hero-image { position: relative; border-radius: 6px; overflow: hidden; background: var(--mp-cream-soft); box-shadow: 0 2px 4px rgba(26,23,20,0.04), 0 24px 56px rgba(26,23,20,0.14); aspect-ratio: 4/5; }
.mp-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-hero-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(26,23,20,0.10); border-radius: 6px; }
.mp-hero-image-tag { position: absolute; bottom: 20px; left: 20px; background: var(--mp-pepper); color: var(--mp-cream); font-family: var(--mp-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.mp-hero-image-tag::before { content: ""; width: 6px; height: 6px; background: var(--mp-tide); border-radius: 50%; }

/* === Receipts (Pepper band) === */
.mp-section.is-receipts-band { background: var(--mp-pepper); color: var(--mp-cream); padding: 72px 0; }
.mp-receipts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--mp-tide); border-bottom: 2px solid var(--mp-tide); }
.mp-receipt-dark { padding: 36px 28px; border-right: 1px solid rgba(123,175,218,0.3); display: flex; flex-direction: column; gap: 12px; }
.mp-receipt-dark:last-child { border-right: 0; }
.mp-receipt-dark .mp-receipt-num { font-family: var(--mp-mono); font-weight: 500; font-size: clamp(36px, 2.4rem + 1.2vw, 56px); color: var(--mp-cream); letter-spacing: -0.02em; line-height: 1; }
.mp-receipt-dark .mp-receipt-num .mp-unit { color: var(--mp-terra-300); font-weight: 400; margin-left: 4px; }
.mp-receipt-dark .mp-receipt-label { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mp-cream); }
.mp-receipt-dark .mp-receipt-pill { font-family: var(--mp-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; background: rgba(27,117,188,0.30); color: var(--mp-tide-300); padding: 4px 10px; border-radius: 4px; display: inline-block; align-self: flex-start; font-weight: 500; }
.mp-receipts-headline { font-family: var(--mp-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mp-tide-300); text-align: center; margin: 0 0 24px; font-weight: 500; }
@media (max-width: 768px) { .mp-receipts-grid { grid-template-columns: repeat(2, 1fr); } .mp-receipt-dark:nth-child(2) { border-right: 0; } .mp-receipt-dark:nth-child(1), .mp-receipt-dark:nth-child(2) { border-bottom: 1px solid rgba(123,175,218,0.3); } }

/* === Trust microbar === */
.mp-trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--mp-cream-edge); border-radius: 6px; background: var(--mp-cream-soft); overflow: hidden; }
.mp-trust-bar-item { padding: 22px 24px; border-right: 1px solid var(--mp-cream-edge); display: flex; align-items: center; gap: 14px; }
.mp-trust-bar-item:last-child { border-right: 0; }
.mp-trust-bar-icon { font-size: 24px; color: var(--mp-tide); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--mp-tide-100); border-radius: 50%; flex-shrink: 0; line-height: 1; }
.mp-trust-bar-num { font-family: var(--mp-mono); font-size: 22px; font-weight: 500; color: var(--mp-pepper); letter-spacing: -0.02em; line-height: 1; display: block; }
.mp-trust-bar-label { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mp-pepper-500); display: block; margin-top: 4px; }
@media (max-width: 1024px) { .mp-trust-bar { grid-template-columns: repeat(2, 1fr); } .mp-trust-bar-item:nth-child(2) { border-right: 0; } .mp-trust-bar-item:nth-child(1), .mp-trust-bar-item:nth-child(2) { border-bottom: 1px solid var(--mp-cream-edge); } }
@media (max-width: 600px) { .mp-trust-bar { grid-template-columns: 1fr; } .mp-trust-bar-item { border-right: 0; border-bottom: 1px solid var(--mp-cream-edge); } .mp-trust-bar-item:last-child { border-bottom: 0; } }

/* === SERVICE POV (Tide band) === */
.mp-pov-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: center; }
@media (max-width: 1024px) { .mp-pov-grid { grid-template-columns: 1fr; gap: 36px; } }
.mp-pov-content { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
@media (max-width: 1024px) { .mp-pov-content { grid-template-columns: 1fr; gap: 32px; } }
.mp-pov-text { padding-left: 32px; border-left: 4px solid var(--mp-terra-300); }
.mp-pov-image {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--mp-tide-900);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.mp-pov-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-pov-image::before {
  content: ""; position: absolute; top: 24px; left: 24px;
  width: 36px; height: 36px;
  border-top: 2px solid var(--mp-cream); border-left: 2px solid var(--mp-cream);
  z-index: 2;
}
.mp-pov-image::after {
  content: ""; position: absolute; bottom: 24px; right: 24px;
  width: 36px; height: 36px;
  border-bottom: 2px solid var(--mp-terra-300); border-right: 2px solid var(--mp-terra-300);
  z-index: 2;
}
.mp-pov-image-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--mp-pepper); color: var(--mp-cream);
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  font-weight: 500; z-index: 3;
}
.mp-pov-quote {
  font-family: var(--mp-serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 2rem + 1.6vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--mp-cream); margin: 0 0 20px; max-width: 16ch;
}
.mp-pov-quote em { color: var(--mp-terra-300); font-style: italic; }
.mp-pov-byline {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,237,218,0.75); margin: 0;
}
.mp-pov-body p {
  font-family: var(--mp-sans); font-size: clamp(16px, 0.95rem + 0.3vw, 18px);
  line-height: 1.65; color: rgba(245,237,218,0.92);
  margin: 0 0 18px; max-width: 56ch;
}
.mp-pov-body p:last-of-type { margin-bottom: 28px; }
.mp-pov-body em { font-style: italic; color: var(--mp-cream); }

/* === DELIVERABLES CTA STRIP === */
.mp-deliverables-cta {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 6px;
  border-left: 3px solid var(--mp-tide);
}
@media (max-width: 768px) { .mp-deliverables-cta { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; } }
.mp-deliverables-cta-text {
  font-family: var(--mp-serif); font-size: clamp(20px, 1.1rem + 0.4vw, 24px);
  line-height: 1.3; color: var(--mp-pepper); margin: 0;
}
.mp-deliverables-cta-text em { font-style: italic; }

/* === DELIVERABLES MATRIX (NEW component) === */
.mp-deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .mp-deliverables-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .mp-deliverables-grid { grid-template-columns: 1fr; } }
.mp-deliverable-card {
  background: var(--mp-cream-soft);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 4px;
  padding: 24px 28px;
  position: relative;
  border-left: 3px solid var(--mp-tide);
}
.mp-deliverable-tag {
  font-family: var(--mp-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mp-tide-700); font-weight: 600;
  display: block; margin-bottom: 8px;
}
.mp-deliverable-name {
  font-family: var(--mp-serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 1.1rem + 0.4vw, 24px);
  color: var(--mp-pepper); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.mp-deliverable-desc {
  font-family: var(--mp-sans); font-size: 14px;
  line-height: 1.5; color: var(--mp-pepper-500); margin: 0;
}

/* === PRICING TIERS (NEW component) === */
.mp-tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .mp-tiers-grid { grid-template-columns: 1fr; } }
.mp-tier-card {
  background: var(--mp-cream-soft);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 8px;
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
  transition: transform 200ms var(--mp-ease), box-shadow 200ms var(--mp-ease);
}
.mp-tier-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(26,23,20,0.04), 0 24px 48px rgba(26,23,20,0.12); }
.mp-tier-card.is-popular {
  background: var(--mp-tide);
  color: var(--mp-cream);
  border-color: var(--mp-tide-900);
}
.mp-tier-card.is-popular .mp-tier-name,
.mp-tier-card.is-popular .mp-tier-desc,
.mp-tier-card.is-popular .mp-tier-features li,
.mp-tier-card.is-popular .mp-tier-price-num,
.mp-tier-card.is-popular .mp-tier-price-label { color: var(--mp-cream); }
.mp-tier-pill {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mp-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--mp-terra); color: var(--mp-cream);
  padding: 5px 10px; border-radius: 3px;
  font-weight: 600;
}
.mp-tier-name {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(28px, 1.6rem + 0.8vw, 36px);
  line-height: 1.1; color: var(--mp-pepper);
  margin: 0;
}
.mp-tier-price {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0; border-top: 1px solid var(--mp-cream-edge); border-bottom: 1px solid var(--mp-cream-edge);
}
.mp-tier-card.is-popular .mp-tier-price { border-color: rgba(245,237,218,0.18); }
.mp-tier-price-num {
  font-family: var(--mp-mono); font-weight: 500;
  font-size: clamp(36px, 2.2rem + 1vw, 52px);
  color: var(--mp-pepper); letter-spacing: -0.02em; line-height: 1;
}
.mp-tier-price-label {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-pepper-500);
  font-weight: 500;
}
.mp-tier-desc {
  font-family: var(--mp-sans); font-size: 15px;
  line-height: 1.55; color: var(--mp-pepper-500); margin: 0;
}
.mp-tier-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mp-tier-features li {
  font-family: var(--mp-sans); font-size: 14px; line-height: 1.45;
  color: var(--mp-pepper-500); padding-left: 24px; position: relative;
}
.mp-tier-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-family: var(--mp-mono); font-weight: 700; font-size: 14px;
  color: var(--mp-tide);
}
.mp-tier-card.is-popular .mp-tier-features li::before { color: var(--mp-cream); }
.mp-tier-cta { margin-top: auto; }

/* === DELIVERABLES — GROUPED CATEGORIES (v1.3 redesign) === */
.mp-deliverables-categories {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 768px) { .mp-deliverables-categories { grid-template-columns: 1fr; } }
.mp-deliverable-category {
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 6px;
  padding: 36px;
  border-top: 4px solid var(--mp-tide);
  display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.mp-deliverable-category::before {
  content: ""; position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--mp-tide-100); border-radius: 50%;
  z-index: 0;
}
.mp-deliverable-category-tag {
  font-family: var(--mp-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mp-tide-700);
  display: block; margin-bottom: 4px; position: relative;
}
.mp-deliverable-category-title {
  font-family: var(--mp-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 1.4rem + 0.5vw, 32px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--mp-pepper); margin: 0; position: relative;
}
.mp-deliverable-category-time {
  font-family: var(--mp-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-pepper-500);
  margin: 0 0 20px; position: relative;
}
.mp-deliverable-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.mp-deliverable-list li {
  font-family: var(--mp-sans); font-size: 15px; line-height: 1.5;
  color: var(--mp-pepper-500);
  padding-left: 26px; position: relative;
}
.mp-deliverable-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-family: var(--mp-mono); font-weight: 700; font-size: 15px;
  color: var(--mp-tide);
}
.mp-deliverable-list li strong { color: var(--mp-pepper); font-weight: 600; }

/* === METHODOLOGY VERTICAL TIMELINE (v1.3 redesign) === */
.mp-timeline {
  list-style: none;
  padding: 0; margin: 0 auto;
  position: relative;
  max-width: 880px;
}
.mp-timeline::before {
  content: ""; position: absolute;
  top: 32px; bottom: 32px; left: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--mp-tide) 0%, var(--mp-tide-300) 100%);
  z-index: 0;
}
.mp-timeline-step {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  position: relative;
  align-items: flex-start;
}
.mp-timeline-marker {
  width: 60px; height: 60px;
  background: var(--mp-tide);
  color: var(--mp-cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mp-mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(27,117,188,0.32);
  border: 4px solid var(--mp-cream);
}
.mp-timeline-card {
  flex: 1;
  background: var(--mp-cream-soft);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 6px;
  padding: 28px 32px;
  border-left: 3px solid var(--mp-tide);
  margin-top: 4px;
}
.mp-timeline-num {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-tide-700);
  font-weight: 500;
  display: block; margin-bottom: 8px;
}
.mp-timeline-title {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(24px, 1.3rem + 0.6vw, 32px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--mp-pepper); margin: 0 0 12px;
}
.mp-timeline-desc {
  font-family: var(--mp-sans); font-size: 15px; line-height: 1.6;
  color: var(--mp-pepper-500); margin: 0 0 16px;
  max-width: 56ch;
}
.mp-timeline-deliverable {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--mp-tide-100); color: var(--mp-tide-900);
  padding: 6px 12px; border-radius: 4px;
  display: inline-block; font-weight: 500;
}
@media (max-width: 600px) {
  .mp-timeline::before { left: 20px; }
  .mp-timeline-step { gap: 20px; }
  .mp-timeline-marker { width: 44px; height: 44px; font-size: 13px; border-width: 3px; }
  .mp-timeline-card { padding: 22px 24px; }
}

/* === PRICING COMMON-FEATURE ROW (v1.3 addition) === */
.mp-pricing-common {
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 6px;
  padding: 22px 28px;
  margin: 0 0 32px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.mp-pricing-common-tag {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mp-tide-700); font-weight: 600;
  margin: 0; flex-shrink: 0;
  white-space: nowrap;
}
.mp-pricing-common-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.mp-pricing-common-list li {
  font-family: var(--mp-sans); font-size: 13px;
  color: var(--mp-pepper); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.mp-pricing-common-list li::before {
  content: "✓"; color: var(--mp-tide); font-weight: 700;
  font-family: var(--mp-mono); font-size: 13px;
}
@media (max-width: 768px) { .mp-pricing-common { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* === FEATURED PROJECT IMAGE STRIP (between Deliverables and Methodology) === */
.mp-feature-strip {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mp-pepper);
  height: 480px;
  box-shadow: 0 24px 56px rgba(26,23,20,0.18);
}
@media (max-width: 768px) { .mp-feature-strip { height: 360px; } }
.mp-feature-strip img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.mp-feature-strip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0.0) 30%, rgba(26,23,20,0.85) 100%);
  pointer-events: none;
}
.mp-feature-strip-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px;
  z-index: 2;
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
@media (max-width: 768px) { .mp-feature-strip-content { padding: 28px; flex-direction: column; align-items: flex-start; gap: 20px; } }
.mp-feature-strip-text {
  color: var(--mp-cream); max-width: 50ch;
}
.mp-feature-strip-eyebrow {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-terra-300); display: block; margin-bottom: 12px;
  font-weight: 500;
}
.mp-feature-strip-title {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(28px, 1.6rem + 1vw, 44px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--mp-cream); margin: 0 0 12px;
}
.mp-feature-strip-stats {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.mp-feature-strip-stat {
  font-family: var(--mp-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-cream); font-weight: 500;
}
.mp-feature-strip-stat strong {
  display: block; font-size: 24px; color: var(--mp-tide-300);
  letter-spacing: -0.02em; margin-bottom: 2px; font-weight: 500;
}

/* === Image placeholder utility === */
.mp-image-placeholder {
  position: relative;
  background: linear-gradient(135deg, var(--mp-cream-soft) 0%, var(--mp-cream-edge) 100%);
  border: 1px dashed var(--mp-pepper-100);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mp-mono); font-size: 11px;
  color: var(--mp-pepper-500); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  padding: 24px;
  min-height: 200px;
}
.mp-image-placeholder.is-aspect-4-5 { aspect-ratio: 4/5; }
.mp-image-placeholder.is-aspect-16-9 { aspect-ratio: 16/9; }
.mp-image-placeholder.is-aspect-1-1 { aspect-ratio: 1/1; }
.mp-image-placeholder::before {
  content: "✦";
  font-family: var(--mp-serif); font-size: 32px; font-style: italic;
  color: var(--mp-tide); position: absolute; top: 16px; left: 16px;
  letter-spacing: 0;
}

/* === Methodology phases (compact for service page) === */
.mp-process-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .mp-process-phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .mp-process-phases { grid-template-columns: 1fr; } }
.mp-process-phase {
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  border-top: 4px solid var(--mp-tide);
}
.mp-process-phase-num {
  font-family: var(--mp-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-tide-700); font-weight: 500;
  margin-bottom: 12px; display: block;
}
.mp-process-phase-title {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(22px, 1.2rem + 0.6vw, 30px);
  line-height: 1.1; color: var(--mp-pepper);
  margin: 0 0 14px;
}
.mp-process-phase-desc {
  font-family: var(--mp-sans); font-size: 14px;
  line-height: 1.5; color: var(--mp-pepper-500); margin: 0 0 14px;
}
.mp-process-phase-deliverable {
  font-family: var(--mp-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--mp-tide-100); color: var(--mp-tide-900);
  padding: 6px 10px; border-radius: 4px;
  display: inline-block; font-weight: 500;
}

/* === RELATED SERVICES PANEL (NEW component) === */
.mp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .mp-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .mp-related-grid { grid-template-columns: 1fr; } }
.mp-related-card {
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-radius: 4px;
  padding: 24px 28px;
  text-decoration: none;
  color: var(--mp-pepper);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 200ms var(--mp-ease), border-color 200ms var(--mp-ease);
  position: relative;
}
.mp-related-card:hover { transform: translateY(-2px); border-color: var(--mp-tide); }
.mp-related-eyebrow {
  font-family: var(--mp-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-pepper-500); font-weight: 500;
}
.mp-related-name {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(20px, 1.1rem + 0.4vw, 24px);
  line-height: 1.15; color: var(--mp-pepper);
  margin: 0;
}
.mp-related-arrow {
  font-family: var(--mp-mono); font-size: 14px; font-weight: 500;
  color: var(--mp-tide); margin-top: auto;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.mp-related-arrow::after { content: "→"; transition: transform 150ms var(--mp-ease); }
.mp-related-card:hover .mp-related-arrow::after { transform: translateX(6px); }

/* === FAQ === */
.mp-faq { border-top: 1px solid var(--mp-pepper-100); margin: 0; }
.mp-faq-item { border-bottom: 1px solid var(--mp-pepper-100); padding: 28px 0; }
.mp-faq-q { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(20px, 1.2rem + 0.5vw, 26px); line-height: 1.25; color: var(--mp-pepper); margin: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; list-style: none; }
.mp-faq-q::-webkit-details-marker { display: none; }
.mp-faq-q::after { content: "+"; font-family: var(--mp-sans); font-size: 24px; color: var(--mp-tide); transition: transform 200ms var(--mp-ease); flex-shrink: 0; line-height: 1; }
.mp-faq-item[open] .mp-faq-q::after { content: "−"; }
.mp-faq-a { font-family: var(--mp-sans); font-size: 16px; line-height: 1.65; color: var(--mp-pepper-500); max-width: 70ch; margin: 14px 0 0; }
.mp-faq-a strong { color: var(--mp-pepper); }

/* === Final CTA === */
.mp-final-cta { background: var(--mp-pepper); color: var(--mp-cream); padding: 96px 64px; border-radius: 8px; position: relative; overflow: hidden; }
@media (max-width: 768px) { .mp-final-cta { padding: 56px 28px; } }
.mp-final-cta-bg { position: absolute; inset: 0; opacity: 0.18; pointer-events: none; }
.mp-final-cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(0.95); }
.mp-final-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--mp-pepper) 0%, transparent 40%, transparent 60%, var(--mp-pepper) 100%); }
.mp-final-cta-inner { position: relative; z-index: 1; max-width: 64ch; }
.mp-final-cta-headline { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(40px, 2.4rem + 2vw, 80px); line-height: 1.0; letter-spacing: -0.025em; color: var(--mp-cream); max-width: 18ch; margin: 0 0 24px; }
.mp-final-cta-headline em { font-style: italic; color: var(--mp-tide-300); }
.mp-final-cta-sub { font-family: var(--mp-sans); font-size: 18px; line-height: 1.6; color: var(--mp-pepper-100); max-width: 56ch; margin: 0 0 32px; }
.mp-final-cta-meta { font-family: var(--mp-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mp-pepper-100); margin: 32px 0 0; font-weight: 500; }

/* === HERO TERTIARY CTA + PROOF ROW === */
.mp-hero-tertiary {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mp-sans); font-size: 14px; font-weight: 500;
  color: var(--mp-tide-700); text-decoration: none;
  margin: 0 0 28px; padding: 0;
  border-bottom: 1px solid var(--mp-tide-300);
  padding-bottom: 2px; line-height: 1.3;
  transition: color 150ms var(--mp-ease), border-color 150ms var(--mp-ease);
}
.mp-hero-tertiary:hover { color: var(--mp-tide-900); border-color: var(--mp-tide); }
.mp-hero-proofrow {
  list-style: none; padding: 0;
  margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center;
}
.mp-hero-proofrow li {
  font-family: var(--mp-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-pepper-500);
  display: inline-flex; align-items: center; gap: 8px;
}
.mp-hero-proofrow li:not(:last-child)::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--mp-terra-300);
  margin-left: 10px;
}
@media (max-width: 600px) { .mp-hero-proofrow { gap: 6px 14px; } .mp-hero-proofrow li { font-size: 10px; letter-spacing: 0.12em; } }

/* === PROBLEM SECTION === */
.mp-problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin: 0 0 32px;
}
@media (max-width: 768px) { .mp-problem-grid { grid-template-columns: 1fr; } }
.mp-problem-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 28px;
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-left: 3px solid var(--mp-terra);
  border-radius: 4px;
}
.mp-problem-num {
  font-family: var(--mp-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mp-terra-700);
  flex-shrink: 0; padding-top: 3px;
  min-width: 28px;
}
.mp-problem-text {
  font-family: var(--mp-sans); font-size: 16px;
  line-height: 1.5; color: var(--mp-pepper); margin: 0;
  font-weight: 500;
}
.mp-problem-closer {
  font-family: var(--mp-serif); font-style: italic;
  font-size: clamp(20px, 1.1rem + 0.4vw, 24px);
  line-height: 1.35; color: var(--mp-pepper);
  margin: 0; max-width: 56ch;
}
.mp-problem-closer strong { font-style: normal; font-family: var(--mp-sans); font-weight: 600; color: var(--mp-pepper); }

/* === MOBILE STICKY CTA === */
.mp-mobile-sticky {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--mp-pepper); color: var(--mp-cream);
  padding: 12px 16px;
  display: none;
  align-items: center; justify-content: space-between;
  gap: 12px; z-index: 100;
  box-shadow: 0 -8px 24px rgba(26,23,20,0.22);
  transform: translateY(0);
  transition: transform 220ms var(--mp-ease);
}
.mp-mobile-sticky.is-hidden { transform: translateY(110%); }
.mp-mobile-sticky-text {
  font-family: var(--mp-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-pepper-100); font-weight: 500;
  flex: 1; min-width: 0; line-height: 1.3;
}
.mp-mobile-sticky-text strong {
  display: block; font-size: 13px; letter-spacing: 0.04em;
  color: var(--mp-cream); margin-bottom: 2px;
  text-transform: none; font-weight: 600;
}
.mp-mobile-sticky-cta {
  background: var(--mp-terra); color: var(--mp-cream);
  padding: 11px 18px; border-radius: 999px;
  font-family: var(--mp-sans); font-weight: 600; font-size: 13px;
  text-decoration: none; flex-shrink: 0; line-height: 1;
  transition: background-color 150ms var(--mp-ease);
}
.mp-mobile-sticky-cta:hover, .mp-mobile-sticky-cta:focus { background: var(--mp-terra-700); color: var(--mp-cream); }
@media (max-width: 768px) {
  .mp-mobile-sticky { display: flex; }
  body.has-mp-sticky { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-mobile-sticky { transition: none; }
}

/* === SUPPORTING CASE CARDS === */
.mp-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 0;
}
@media (max-width: 900px) { .mp-cases-grid { grid-template-columns: 1fr; } }
.mp-case-mini {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 18px; padding: 26px 28px 30px;
  background: var(--mp-cream);
  border: 1px solid var(--mp-cream-edge);
  border-top: 3px solid var(--mp-tide);
  border-radius: 4px;
  min-height: 158px;
}
.mp-case-mini-eyebrow {
  font-family: var(--mp-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mp-tide-700); line-height: 1.4;
}
.mp-case-mini-outcome {
  font-family: var(--mp-serif); font-weight: 400;
  font-size: clamp(20px, 1.15rem + 0.4vw, 26px);
  line-height: 1.2; letter-spacing: -0.015em;
  color: var(--mp-pepper); margin: 0;
}

/* ---------- B. Mobile sticky CTA (from homepage v1.5 retrofit) ---------- */
.mp-mobile-sticky { position: fixed; bottom: 0; left: 0; right: 0; background: var(--mp-pepper); color: var(--mp-cream); padding: 12px 16px; display: none; align-items: center; justify-content: space-between; gap: 12px; z-index: 100; box-shadow: 0 -8px 24px rgba(26,23,20,0.22); transform: translateY(0); transition: transform 220ms var(--mp-ease); }
.mp-mobile-sticky.is-hidden { transform: translateY(110%); }
.mp-mobile-sticky-text { font-family: var(--mp-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mp-pepper-100); font-weight: 500; flex: 1; min-width: 0; line-height: 1.3; }
.mp-mobile-sticky-text strong { display: block; font-size: 13px; letter-spacing: 0.04em; color: var(--mp-cream); margin-bottom: 2px; text-transform: none; font-weight: 600; }
.mp-mobile-sticky-cta { background: var(--mp-terra); color: var(--mp-cream); padding: 11px 18px; border-radius: 999px; font-family: var(--mp-sans); font-weight: 600; font-size: 13px; text-decoration: none; flex-shrink: 0; line-height: 1; transition: background-color 150ms var(--mp-ease); }
.mp-mobile-sticky-cta:hover, .mp-mobile-sticky-cta:focus { background: var(--mp-terra-700); color: var(--mp-cream); }
@media (max-width: 768px) { .mp-mobile-sticky { display: flex; } body.has-mp-sticky { padding-bottom: 78px; } }
@media (prefers-reduced-motion: reduce) { .mp-mobile-sticky { transition: none; } }

/* ---------- C. New interior page-type components (v1.2) ---------- */

/* C1. Simple page hero (no 4:5 image — About, Contact, Process narrative, legal, hub pages) */
.mp-pagehero { padding: 72px 0 56px; }
.mp-pagehero .mp-breadcrumb { margin-bottom: 28px; }
.mp-pagehero-headline { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(40px, 2.4rem + 2.2vw, 80px); line-height: 1.0; letter-spacing: -0.025em; color: var(--mp-pepper); max-width: 18ch; margin: 0 0 24px; }
.mp-pagehero-headline em { font-style: italic; color: var(--mp-tide-700); }
.mp-pagehero-sub { font-family: var(--mp-sans); font-size: clamp(18px, 1rem + 0.45vw, 22px); line-height: 1.55; color: var(--mp-pepper-500); max-width: 62ch; margin: 0 0 32px; }
.mp-pagehero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* C2. Services hub card grid */
.mp-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mp-svc-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--mp-cream-soft); border: 1px solid var(--mp-cream-edge); border-top: 3px solid var(--mp-tide); border-radius: 6px; transition: transform 150ms var(--mp-ease), box-shadow 150ms var(--mp-ease); }
.mp-svc-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(26,23,20,0.04), 0 16px 36px rgba(26,23,20,0.10); }
.mp-svc-card.is-flagship { border-top-color: var(--mp-terra); background: var(--mp-pepper); }
.mp-svc-card.is-flagship .mp-svc-card-title, .mp-svc-card.is-flagship .mp-svc-card-price { color: var(--mp-cream); }
.mp-svc-card.is-flagship .mp-svc-card-eyebrow { color: var(--mp-terra-300); }
.mp-svc-card.is-flagship .mp-svc-card-desc { color: var(--mp-pepper-100); }
.mp-svc-card-eyebrow { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-tide-700); }
.mp-svc-card-title { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(24px, 1.3rem + 0.8vw, 34px); line-height: 1.1; letter-spacing: -0.02em; color: var(--mp-pepper); margin: 0; }
.mp-svc-card-price { font-family: var(--mp-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--mp-pepper-500); }
.mp-svc-card.is-flagship .mp-svc-card-price { color: var(--mp-terra-300); }
.mp-svc-card-desc { font-family: var(--mp-sans); font-size: 16px; line-height: 1.6; color: var(--mp-pepper-500); margin: 0; flex: 1; }
.mp-svc-card-cta { font-family: var(--mp-sans); font-weight: 600; font-size: 15px; color: var(--mp-tide-700); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.mp-svc-card.is-flagship .mp-svc-card-cta { color: var(--mp-cream); }
.mp-svc-card-cta:hover { color: var(--mp-terra); }

/* C3. Prose body (About / Process narrative / legal / long-form content) */
.mp-prose { max-width: 720px; margin: 0 auto; font-family: var(--mp-sans); font-size: 18px; line-height: 1.7; color: var(--mp-pepper-700); }
.mp-prose.is-wide { max-width: 820px; }
.mp-prose > * + * { margin-top: 1.3em; }
.mp-prose h2 { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(28px, 1.4rem + 1.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: var(--mp-pepper); margin-top: 2em; margin-bottom: 0.2em; }
.mp-prose h2 em { font-style: italic; color: var(--mp-tide-700); }
.mp-prose h3 { font-family: var(--mp-sans); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--mp-pepper); margin-top: 1.8em; margin-bottom: 0.2em; }
.mp-prose p { margin: 0; }
.mp-prose strong { color: var(--mp-pepper); font-weight: 600; }
.mp-prose a { color: var(--mp-tide-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.mp-prose a:hover { color: var(--mp-terra); }
.mp-prose ul, .mp-prose ol { margin: 1.1em 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 0.5em; }
.mp-prose li { padding-left: 0.2em; }
.mp-prose li::marker { color: var(--mp-tide); }
.mp-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--mp-terra-300); font-family: var(--mp-serif); font-style: italic; font-size: clamp(22px, 1.2rem + 0.6vw, 28px); line-height: 1.3; letter-spacing: -0.01em; color: var(--mp-pepper); }
.mp-prose blockquote p { margin: 0; }
.mp-prose hr { border: 0; border-top: 1px solid var(--mp-cream-edge); margin: 2.4em 0; }
.mp-prose code { font-family: var(--mp-mono); font-size: 0.88em; background: var(--mp-cream-soft); border: 1px solid var(--mp-cream-edge); border-radius: 4px; padding: 1px 6px; }
.mp-prose .mp-prose-lede { font-size: 21px; line-height: 1.6; color: var(--mp-pepper-500); }
.mp-prose figure { margin: 1.6em 0; }
.mp-prose figure img { border-radius: 6px; box-shadow: var(--mp-shadow-soft, 0 1px 2px rgba(26,23,20,0.04), 0 4px 16px rgba(26,23,20,0.06)); }
.mp-prose figcaption { font-family: var(--mp-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mp-pepper-300); margin-top: 8px; }

/* C4. Article layout (AKA hub / knowledge / answer pages) — content + meta sidebar on wide screens */
.mp-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1080px) { .mp-article.has-aside { grid-template-columns: minmax(0, 720px) minmax(220px, 1fr); column-gap: 64px; } }
.mp-article-body { min-width: 0; }
.mp-article-aside { font-family: var(--mp-sans); }
.mp-article-aside-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 28px; }

/* C5. Table of contents */
.mp-toc { background: var(--mp-cream-soft); border: 1px solid var(--mp-cream-edge); border-left: 3px solid var(--mp-tide); border-radius: 4px; padding: 22px 24px; }
.mp-toc-title { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-tide-700); margin: 0 0 14px; }
.mp-toc ol, .mp-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mp-toc a { font-family: var(--mp-sans); font-size: 15px; line-height: 1.4; color: var(--mp-pepper-700); text-decoration: none; }
.mp-toc a:hover { color: var(--mp-tide-700); }
.mp-toc a.is-active { color: var(--mp-tide-700); font-weight: 600; }

/* C6. Callout / aside box inside prose */
.mp-callout { margin: 1.8em 0; padding: 24px 28px; background: var(--mp-tide-100); border-radius: 6px; font-family: var(--mp-sans); font-size: 16px; line-height: 1.6; color: var(--mp-tide-900); }
.mp-callout.is-terra { background: var(--mp-terra-100); color: var(--mp-terra-900); }
.mp-callout-label { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 8px; opacity: 0.8; }
.mp-callout p { margin: 0; }
.mp-callout p + p { margin-top: 0.8em; }

/* C7. Link list (sitemap-ish — legal page nav, hub child lists, /work index fallback) */
.mp-link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; border: 1px solid var(--mp-cream-edge); border-radius: 6px; overflow: hidden; }
.mp-link-list li { background: var(--mp-cream-soft); }
.mp-link-list a { display: block; padding: 18px 22px; font-family: var(--mp-sans); font-size: 16px; font-weight: 500; color: var(--mp-pepper); text-decoration: none; transition: background-color 120ms var(--mp-ease), color 120ms var(--mp-ease); }
.mp-link-list a:hover { background: var(--mp-tide-100); color: var(--mp-tide-900); }
.mp-link-list .mp-link-list-meta { display: block; font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mp-pepper-300); margin-top: 4px; }

/* C8. Work / case-study index cards */
.mp-work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.mp-work-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--mp-cream-soft); border: 1px solid var(--mp-cream-edge); border-top: 3px solid var(--mp-tide); border-radius: 6px; text-decoration: none; transition: transform 150ms var(--mp-ease), box-shadow 150ms var(--mp-ease); }
.mp-work-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(26,23,20,0.04), 0 16px 36px rgba(26,23,20,0.10); }
.mp-work-card-eyebrow { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-tide-700); }
.mp-work-card-title { font-family: var(--mp-serif); font-weight: 400; font-size: clamp(22px, 1.2rem + 0.7vw, 30px); line-height: 1.12; letter-spacing: -0.02em; color: var(--mp-pepper); margin: 0; }
.mp-work-card-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.mp-work-card-stat { font-family: var(--mp-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--mp-pepper-500); }
.mp-work-card-stat strong { display: block; font-size: 20px; color: var(--mp-pepper); letter-spacing: -0.02em; }
.mp-work-card-verify { font-family: var(--mp-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mp-pepper-300); }

/* C9. Before/after row (case studies) */
.mp-beforeafter { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mp-beforeafter-col { padding: 28px; border-radius: 6px; }
.mp-beforeafter-col.is-before { background: var(--mp-cream-soft); border: 1px solid var(--mp-cream-edge); }
.mp-beforeafter-col.is-after { background: var(--mp-pepper); color: var(--mp-cream); }
.mp-beforeafter-label { font-family: var(--mp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; color: var(--mp-pepper-300); }
.mp-beforeafter-col.is-after .mp-beforeafter-label { color: var(--mp-terra-300); }
.mp-beforeafter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--mp-sans); font-size: 16px; line-height: 1.5; }

/* C10. Responsive collapses for the new components */
@media (max-width: 860px) {
  .mp-svc-grid { grid-template-columns: 1fr; }
  .mp-beforeafter { grid-template-columns: 1fr; }
  .mp-article.has-aside { grid-template-columns: 1fr; }
  .mp-article-aside-sticky { position: static; }
}

/* ---------------------------------------------------------------------
   C11. Contact form section + Contact Form 7 field styling
   Used on /contact/ and /services/web-design/ (CF7 form id e71c988).
   pages.css loads after CF7's own stylesheet, so plain selectors win;
   the .mp-cf7-shell scope keeps it from leaking onto any future form.
   --------------------------------------------------------------------- */
.mp-form-section { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 768px) { .mp-form-section { padding-top: 64px; padding-bottom: 64px; } }
#contact-form { scroll-margin-top: 92px; }
.mp-form-container { max-width: 760px; }
.mp-form-intro { font-family: var(--mp-sans); font-size: clamp(16px, 0.9rem + 0.3vw, 18px); line-height: 1.65; color: var(--mp-pepper-500); margin: 0 0 40px; max-width: 60ch; }
.mp-form-intro a { color: var(--mp-tide-700); text-decoration: underline; text-underline-offset: 2px; }
.mp-form-intro a:hover { color: var(--mp-tide-900); }

/* The card the form sits in */
.mp-cf7-shell {
  background: #FFFFFF;
  border: 1px solid var(--mp-cream-edge);
  border-top: 3px solid var(--mp-tide);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 1px 2px rgba(26,23,20,0.04), 0 16px 40px rgba(26,23,20,0.07);
}
@media (max-width: 600px) { .mp-cf7-shell { padding: 24px; } }
.mp-cf7-shell .wpcf7 { margin: 0; }
.mp-cf7-shell .wpcf7 > p:empty { display: none; }

/* Field rows — CF7 wraps each control in a <p> by default */
.mp-cf7-shell .wpcf7-form p { margin: 0 0 22px; font-family: var(--mp-sans); }
.mp-cf7-shell .wpcf7-form p:last-of-type { margin-bottom: 0; }

/* Labels */
.mp-cf7-shell .wpcf7-form label {
  display: block;
  font-family: var(--mp-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mp-pepper-700);
  line-height: 1.4;
}
.mp-cf7-shell .wpcf7-form label br { display: none; }
.mp-cf7-shell .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }

/* Text inputs / email / tel / url / number / textarea / select */
.mp-cf7-shell .wpcf7-form input[type="text"],
.mp-cf7-shell .wpcf7-form input[type="email"],
.mp-cf7-shell .wpcf7-form input[type="tel"],
.mp-cf7-shell .wpcf7-form input[type="url"],
.mp-cf7-shell .wpcf7-form input[type="number"],
.mp-cf7-shell .wpcf7-form input[type="date"],
.mp-cf7-shell .wpcf7-form textarea,
.mp-cf7-shell .wpcf7-form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--mp-sans);
  font-size: 16px; line-height: 1.5;
  color: var(--mp-pepper);
  background: var(--mp-cream-soft);
  border: 1.5px solid var(--mp-cream-edge);
  border-radius: 6px;
  padding: 13px 16px;
  transition: border-color 150ms var(--mp-ease), background-color 150ms var(--mp-ease), box-shadow 150ms var(--mp-ease);
  -webkit-appearance: none; appearance: none;
}
.mp-cf7-shell .wpcf7-form textarea { min-height: 140px; resize: vertical; }
.mp-cf7-shell .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231A1714' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.mp-cf7-shell .wpcf7-form input::placeholder,
.mp-cf7-shell .wpcf7-form textarea::placeholder { color: var(--mp-pepper-300); opacity: 1; }
.mp-cf7-shell .wpcf7-form input:hover,
.mp-cf7-shell .wpcf7-form textarea:hover,
.mp-cf7-shell .wpcf7-form select:hover { border-color: var(--mp-pepper-100); }
.mp-cf7-shell .wpcf7-form input:focus,
.mp-cf7-shell .wpcf7-form textarea:focus,
.mp-cf7-shell .wpcf7-form select:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--mp-tide);
  box-shadow: 0 0 0 3px var(--mp-tide-100);
}

/* Checkboxes / radios / acceptance */
.mp-cf7-shell .wpcf7-form .wpcf7-checkbox .wpcf7-list-item,
.mp-cf7-shell .wpcf7-form .wpcf7-radio .wpcf7-list-item,
.mp-cf7-shell .wpcf7-form .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0 0 8px; }
.mp-cf7-shell .wpcf7-form .wpcf7-list-item-label { font-family: var(--mp-sans); font-size: 15px; text-transform: none; letter-spacing: normal; color: var(--mp-pepper-700); margin-left: 8px; }
.mp-cf7-shell .wpcf7-form input[type="checkbox"],
.mp-cf7-shell .wpcf7-form input[type="radio"] { width: auto; accent-color: var(--mp-tide); margin-right: 2px; }
.mp-cf7-shell .wpcf7-form .wpcf7-acceptance { font-size: 14px; color: var(--mp-pepper-500); }

/* Submit button — mirrors .mp-btn-primary */
.mp-cf7-shell .wpcf7-form .wpcf7-submit,
.mp-cf7-shell .wpcf7-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto;
  font-family: var(--mp-sans); font-weight: 600; font-size: 16px; line-height: 1;
  color: var(--mp-cream);
  background: var(--mp-tide);
  border: 1.5px solid var(--mp-tide);
  border-radius: 999px;
  padding: 17px 34px;
  cursor: pointer;
  transition: transform 100ms var(--mp-ease), background-color 150ms var(--mp-ease), border-color 150ms var(--mp-ease);
  -webkit-appearance: none; appearance: none;
}
.mp-cf7-shell .wpcf7-form .wpcf7-submit:hover,
.mp-cf7-shell .wpcf7-form input[type="submit"]:hover { background: var(--mp-tide-700); border-color: var(--mp-tide-700); color: var(--mp-cream); }
.mp-cf7-shell .wpcf7-form .wpcf7-submit:active,
.mp-cf7-shell .wpcf7-form input[type="submit"]:active { transform: scale(0.98); }
.mp-cf7-shell .wpcf7-form .wpcf7-submit:focus-visible,
.mp-cf7-shell .wpcf7-form input[type="submit"]:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--mp-tide-100); }
.mp-cf7-shell .wpcf7-form .wpcf7-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* AJAX spinner */
.mp-cf7-shell .wpcf7-spinner { margin: 0 0 0 14px; background-color: var(--mp-tide); }

/* Validation states */
.mp-cf7-shell .wpcf7-form input.wpcf7-not-valid,
.mp-cf7-shell .wpcf7-form textarea.wpcf7-not-valid,
.mp-cf7-shell .wpcf7-form select.wpcf7-not-valid {
  border-color: #C0392B;
  background: #FCF2F1;
}
.mp-cf7-shell .wpcf7-not-valid-tip {
  display: block;
  font-family: var(--mp-sans);
  font-size: 13px; font-weight: 500; line-height: 1.4;
  color: #B23B2C;
  margin-top: 7px;
}
.mp-cf7-shell .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 6px;
  border: 1.5px solid var(--mp-cream-edge) !important;
  font-family: var(--mp-sans); font-size: 15px; line-height: 1.5;
  color: var(--mp-pepper-700);
}
.mp-cf7-shell .wpcf7-form.invalid .wpcf7-response-output,
.mp-cf7-shell .wpcf7-form.unaccepted .wpcf7-response-output,
.mp-cf7-shell .wpcf7-form.payment-required .wpcf7-response-output {
  border-color: #C0392B !important; background: #FCF2F1; color: #8E2C20;
}
.mp-cf7-shell .wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--mp-tide) !important; background: var(--mp-tide-100); color: var(--mp-tide-900);
}

/* Fallback: form rendered outside the shell (wp:shortcode block) still picks up the field look */
.entry-content .wpcf7-form input[type="text"],
.entry-content .wpcf7-form input[type="email"],
.entry-content .wpcf7-form input[type="tel"],
.entry-content .wpcf7-form input[type="url"],
.entry-content .wpcf7-form textarea,
.entry-content .wpcf7-form select {
  width: 100%; box-sizing: border-box; font-family: var(--mp-sans); font-size: 16px;
  background: var(--mp-cream-soft); border: 1.5px solid var(--mp-cream-edge); border-radius: 6px; padding: 13px 16px;
}
.entry-content .wpcf7-form .wpcf7-submit { font-family: var(--mp-sans); font-weight: 600; color: var(--mp-cream); background: var(--mp-tide); border: none; border-radius: 999px; padding: 17px 34px; cursor: pointer; }
.entry-content .wpcf7-form .wpcf7-submit:hover { background: var(--mp-tide-700); }
