/* =============================================================
   MagnetPeak Solutions — Main Stylesheet
   assets/css/magnetpeak.css
   Enqueued by functions.php after the theme's style.css stub.
   ============================================================= */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a202c;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
[hidden] { display: none !important; }

/* ─── Brand Tokens ─────────────────────────────────────────── */
:root {
  --mp-navy:         #0C5494;
  --mp-navy-dark:    #083d6e;
  --mp-orange:       #FFA458;
  --mp-orange-hover: #e8923e;
  --mp-text:         #1a202c;
  --mp-muted:        #4a5568;
  --mp-border:       #e2e8f0;
  --mp-bg-light:     #f8fafb;
}

/* ─── Container ────────────────────────────────────────────── */
.mp-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px)  { .mp-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) {
  .mp-container { padding-left: clamp(2rem, 4vw, 4rem); padding-right: clamp(2rem, 4vw, 4rem); }
}

/* ─── Buttons ──────────────────────────────────────────────── */
.mp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background: var(--mp-orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}
.mp-btn-primary:hover { background: var(--mp-orange-hover); color: #fff; }

.mp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.mp-btn-outline:hover { border-color: var(--mp-orange); color: var(--mp-orange); }

/* ─── HEADER ───────────────────────────────────────────────── */
.mp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--mp-border);
}
.mp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.mp-header-logo { height: 40px; width: auto; }

/* Fix WordPress custom logo output — the_custom_logo() wraps img in its own <a> */
.mp-logo-link { display: flex; align-items: center; }
.mp-logo-link img,
.custom-logo { height: 40px !important; width: auto !important; max-width: 220px !important; display: block; }
.custom-logo-link { display: flex; align-items: center; line-height: 1; }

.mp-nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}
@media (min-width: 1024px) { .mp-nav-desktop { display: flex; } }
.mp-nav-desktop a,
.mp-nav-desktop .mp-mega-trigger {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mp-navy);
  white-space: nowrap;
  transition: color 0.15s;
}
.mp-nav-desktop a:hover { color: var(--mp-orange); }
/* CONTACT US button — must override the broad `a` color rule above */
.mp-nav-desktop a.mp-btn-primary,
.mp-nav-desktop .mp-btn-primary {
  padding: 0.625rem 1.25rem;
  color: #fff !important;
}
.mp-nav-desktop a.mp-btn-primary:hover,
.mp-nav-desktop .mp-btn-primary:hover { color: #fff !important; background: var(--mp-orange-hover); }

.mp-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mp-navy);
  padding: 0.5rem;
}
@media (min-width: 1024px) { .mp-mobile-toggle { display: none; } }

.mp-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--mp-border);
  padding: 0.75rem 1rem 1rem;
  background: #fff;
}
@media (min-width: 1024px) { .mp-nav-mobile, .mp-nav-mobile.open { display: none; } }
.mp-nav-mobile.open {
  display: flex;
}

.mp-nav-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mp-navy);
  padding: 0.5rem 0;
}
/* Mobile CONTACT US button — must override the broad `a` color rule above */
.mp-nav-mobile a.mp-btn-primary,
.mp-nav-mobile .mp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.625rem 1.25rem;
  background-color: #FFA458;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  width: 100%;
}

.mp-nav-mobile a.mp-btn-primary:hover,
.mp-nav-mobile .mp-btn-primary:hover { color: #fff !important; background: var(--mp-orange-hover); }

/* Mobile nav links (used in header.php mobile drawer) */
.mp-mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mp-navy);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: color 0.15s;
}
.mp-mobile-nav-link:hover { color: var(--mp-orange); }
.mp-mobile-nav-link.mp-btn-primary,
a.mp-mobile-nav-link.mp-btn-primary {
  color: #fff !important;
  justify-content: center;
  margin-top: 0.5rem;
}

/* --- NAV LINK BASE ------------------------------------------ */
.mp-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mp-navy);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.mp-nav-link:hover { color: var(--mp-orange); }
.mp-nav-external { gap: 0.3rem; }

/* --- MEGA-MENU ---------------------------------------------- */
.mp-mega-wrap {
  position: relative;
}
.mp-mega-trigger .mp-chevron {
  transition: transform 0.2s ease;
  width: 14px; height: 14px;
}
.mp-mega-trigger[aria-expanded="true"] .mp-chevron {
  transform: rotate(180deg);
}
.mp-mega-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  max-width: 95vw;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(12,84,148,0.10), 0 8px 20px rgba(0,0,0,0.06);
  padding: 2rem 2rem 1.25rem;
  z-index: 200;
}
.mp-mega-dropdown.open { display: block; }
.mp-mega-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mp-muted);
  margin-bottom: 1rem;
}
.mp-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.mp-mega-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  transition: background 0.12s;
}
.mp-mega-item:hover { background: var(--mp-bg-light); }
.mp-mega-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mp-navy);
  line-height: 1.3;
}
.mp-mega-item-desc {
  font-size: 0.72rem;
  color: var(--mp-muted);
  line-height: 1.4;
}
.mp-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--mp-border);
  padding-top: 0.875rem;
  margin-top: 0.25rem;
}
.mp-mega-footer-note {
  font-size: 0.78rem;
  color: var(--mp-muted);
}
.mp-mega-footer-note a {
  color: var(--mp-navy);
  font-weight: 600;
}
.mp-mega-footer-note a:hover { color: var(--mp-orange); }
.mp-mega-footer-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mp-orange);
}
.mp-mega-footer-link:hover { color: var(--mp-orange-hover); }

/* --- MOBILE CAPABILITIES ACCORDION ------------------------- */
.mp-mobile-cap-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mp-navy);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: inherit;
}
.mp-mobile-cap-toggle .mp-chevron { transition: transform 0.2s; width: 14px; height: 14px; }
.mp-mobile-cap-toggle[aria-expanded="true"] .mp-chevron { transform: rotate(180deg); }
.mp-mobile-cap-list {
  display: none;
  flex-direction: column;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(255,164,88,0.3);
  margin-left: 0.25rem;
  margin-bottom: 0.25rem;
}
.mp-mobile-cap-list.open { display: flex; }
.mp-mobile-cap-item {
  font-size: 0.8rem;
  color: var(--mp-navy);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--mp-border);
}
.mp-mobile-cap-item:last-child { border-bottom: none; }
.mp-mobile-cap-item:hover { color: var(--mp-orange); }

/* ─── HERO ─────────────────────────────────────────────────── */
.mp-hero {
  position: relative;
  overflow: hidden;
  background: var(--mp-navy);
}
.mp-hero-bg { position: absolute; inset: 0; }
.mp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.mp-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--mp-navy) 0%, rgba(12,84,148,0.9) 55%, rgba(12,84,148,0.6) 100%);
}
.mp-hero-content { position: relative; z-index: 1; padding: 6rem 0; }
@media (min-width: 768px)  { .mp-hero-content { padding: 8rem 0; } }
@media (min-width: 1024px) { .mp-hero-content { padding: 10rem 0; } }
.mp-hero-inner { max-width: 42rem; }
.mp-hero h1 {
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.mp-hero h1 .mp-accent { color: var(--mp-orange); }
.mp-hero p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}
.mp-hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ─── PROOF BAND ───────────────────────────────────────────── */
.mp-proof-band {
  border-top: 3px solid var(--mp-orange);
  background: var(--mp-bg-light);
  padding: 3rem 0;
}
@media (min-width: 768px) { .mp-proof-band { padding: 3.5rem 0; } }
.mp-proof-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .mp-proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mp-proof-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.mp-proof-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }
.mp-proof-icon { width: 20px; height: 20px; color: var(--mp-orange); margin-bottom: 0.75rem; }
.mp-proof-stat {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--mp-navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.375rem;
}
.mp-proof-label { font-size: 0.875rem; color: var(--mp-muted); line-height: 1.4; }

/* ─── VERTICALS ────────────────────────────────────────────── */
.mp-verticals { padding: 5rem 0; background: #fff; }
@media (min-width: 768px) { .mp-verticals { padding: 7rem 0; } }
.mp-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.mp-section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mp-orange);
  margin-bottom: 0.75rem;
}
.mp-section-heading { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: var(--mp-navy); margin-bottom: 0.75rem; }
.mp-section-sub { font-size: 1rem; color: var(--mp-muted); max-width: 32rem; margin: 0 auto; }

/* ─── CAPABILITIES (4-card grid) ────────────────────────────────────────── */
.mp-capabilities {
  padding: 5rem 0 6rem;
  background: #fff;
}
@media (min-width: 768px) { .mp-capabilities { padding: 7rem 0; } }
.mp-cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .mp-cap-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mp-cap-grid { grid-template-columns: repeat(4, 1fr); } }

.mp-cap-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.mp-cap-card:hover {
  box-shadow: 0 6px 20px rgba(12,84,148,0.09);
  border-color: rgba(255,164,88,0.6);
  transform: translateY(-3px);
}
.mp-cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f0f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}
.mp-cap-icon svg { width: 22px; height: 22px; color: var(--mp-navy); transition: color 0.2s; }
.mp-cap-card:hover .mp-cap-icon { background: rgba(255,164,88,0.12); }
.mp-cap-card:hover .mp-cap-icon svg { color: var(--mp-orange); }
.mp-cap-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--mp-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.mp-cap-tagline {
  font-size: 0.875rem;
  color: var(--mp-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.mp-cap-explore {
  text-align: center;
  margin-top: 1rem;
}
.mp-btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--mp-navy);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mp-navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mp-btn-outline-navy:hover { background: var(--mp-navy); color: #fff; }
.mp-btn-outline-navy svg { width: 15px; height: 15px; }

/* Keep .mp-card-link shared between cap cards and page cards */
.mp-card-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--mp-orange); transition: color 0.15s; }
.mp-card-link:hover { color: var(--mp-orange-hover); }
.mp-card-link svg { width: 14px; height: 14px; }

/* ─── PERSONA ──────────────────────────────────────────────── */
.mp-persona { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 768px) { .mp-persona { padding: 7rem 0; } }
.mp-persona-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #0C5494 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.03;
  pointer-events: none;
}
.mp-persona-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .mp-persona-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.mp-persona-text .mp-section-eyebrow,
.mp-persona-text .mp-section-heading { text-align: left; }
.mp-persona-text .mp-section-heading { margin-bottom: 1.5rem; }
.mp-persona-text p { font-size: 1rem; color: var(--mp-muted); line-height: 1.75; margin-bottom: 1.25rem; }
.mp-persona-img-wrap { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.mp-persona-img-wrap img { width: 100%; height: auto; display: block; }
.mp-persona-accent { display: none; position: absolute; left: -0.75rem; top: 2rem; bottom: 2rem; width: 4px; background: var(--mp-orange); border-radius: 9999px; }
@media (min-width: 1024px) { .mp-persona-accent { display: block; } }

/* ─── FINAL CTA ────────────────────────────────────────────── */
.mp-final-cta { position: relative; padding: 5rem 0; overflow: hidden; background: linear-gradient(135deg, var(--mp-navy) 0%, var(--mp-navy-dark) 100%); }
@media (min-width: 768px) { .mp-final-cta { padding: 7rem 0; } }
.mp-final-cta-inner { text-align: center; }
.mp-final-cta h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: #fff; margin-bottom: 1.25rem; }
.mp-final-cta p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 36rem; margin: 0 auto 2.5rem; line-height: 1.75; }
.mp-cta-stack { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.mp-cta-trust { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.mp-cta-trust svg { width: 12px; height: 12px; flex-shrink: 0; }
.mp-btn-cta-email { display: inline-flex; align-items: center; gap: 0.625rem; padding: 1rem 2rem; background: var(--mp-orange); color: #fff; font-size: 0.875rem; font-weight: 600; border-radius: 4px; transition: background 0.15s; }
.mp-btn-cta-email:hover { background: var(--mp-orange-hover); color: #fff; }
.mp-btn-cta-email svg { width: 16px; height: 16px; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.mp-footer { background: #0a1628; padding: 2.5rem 0; text-align: center; }
.mp-footer p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.mp-footer a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.mp-footer a:hover { color: var(--mp-orange); }

/* ─── PAGE TITLE BAR ──────────────────────────────────────── */
.mp-page-title-bar {
  background: var(--mp-bg-light);
  border-bottom: 3px solid var(--mp-orange);
  padding: 2rem 0;
}
.mp-page-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--mp-navy);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ─── PAGE LAYOUT (content + sidebar) ─────────────────────── */
.mp-page-main { padding: 3rem 0 4rem; }
@media (min-width: 768px) { .mp-page-main { padding: 4rem 0 5rem; } }

.mp-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .mp-page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3rem;
  }
}

/* ─── PROSE (rich text content) ───────────────────────────── */
.mp-prose h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--mp-navy);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--mp-border);
}
.mp-prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.mp-prose h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--mp-navy);
  margin: 1.75rem 0 0.625rem;
}
.mp-prose p {
  font-size: 0.9375rem;
  color: var(--mp-text);
  line-height: 1.8;
  margin-bottom: 1.125rem;
}
.mp-prose p:last-child { margin-bottom: 0; }
.mp-prose ul, .mp-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.125rem;
}
.mp-prose li {
  font-size: 0.9375rem;
  color: var(--mp-text);
  line-height: 1.75;
  margin-bottom: 0.375rem;
}
.mp-prose a { color: var(--mp-navy); text-decoration: underline; }
.mp-prose a:hover { color: var(--mp-orange); }
.mp-prose strong { font-weight: 600; color: var(--mp-navy); }

/* ─── FIGURE / IMAGE ───────────────────────────────────────── */
.mp-figure {
  margin: 1.75rem 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--mp-border);
}
.mp-figure img { width: 100%; height: auto; display: block; }
.mp-figure figcaption {
  font-size: 0.8125rem;
  color: var(--mp-muted);
  padding: 0.625rem 0.875rem;
  background: var(--mp-bg-light);
  border-top: 1px solid var(--mp-border);
}

/* ─── TABLE ────────────────────────────────────────────────── */
.mp-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 6px;
  border: 1px solid var(--mp-border);
}
.mp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.mp-table caption {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mp-muted);
  text-align: left;
  padding: 0.5rem 0.875rem;
  background: var(--mp-bg-light);
  border-bottom: 1px solid var(--mp-border);
}
.mp-table thead tr { background: var(--mp-navy); }
.mp-table thead th {
  padding: 0.75rem 1rem;
  color: #fff;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.mp-table tbody tr { border-bottom: 1px solid var(--mp-border); }
.mp-table tbody tr:last-child { border-bottom: none; }
.mp-table tbody tr:nth-child(even) { background: var(--mp-bg-light); }
.mp-table tbody td {
  padding: 0.75rem 1rem;
  color: var(--mp-text);
  vertical-align: top;
}
.mp-table-note {
  font-size: 0.8125rem;
  color: var(--mp-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ─── CALLOUT BOX ──────────────────────────────────────────── */
.mp-callout {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #fff8f0;
  border-left: 4px solid var(--mp-orange);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.mp-callout-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--mp-orange);
  margin-top: 2px;
}
.mp-callout p {
  font-size: 0.9375rem;
  color: var(--mp-text);
  line-height: 1.7;
  margin: 0;
}

/* ─── VIDEO EMBED (responsive 16:9) ───────────────────────── */
.mp-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  margin: 1.75rem 0;
  background: #000;
}
.mp-video-wrap iframe,
.mp-video-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Video placeholder (shown until real embed is added) */
.mp-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--mp-bg-light);
  border: 2px dashed var(--mp-border);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
  margin: 1.75rem 0;
  color: var(--mp-muted);
  text-align: center;
  font-size: 0.8125rem;
}
.mp-video-placeholder svg { opacity: 0.35; }

/* ─── APPLICATION CARDS ────────────────────────────────────── */
.mp-app-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 640px) { .mp-app-cards { grid-template-columns: repeat(3, 1fr); } }
.mp-app-card {
  background: var(--mp-bg-light);
  border: 1px solid var(--mp-border);
  border-top: 3px solid var(--mp-navy);
  border-radius: 6px;
  padding: 1.25rem;
}
.mp-app-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--mp-navy);
  margin: 0 0 0.5rem;
}
.mp-app-card p {
  font-size: 0.875rem;
  color: var(--mp-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── SIDEBAR ──────────────────────────────────────────────── */
.mp-page-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) {
  .mp-page-sidebar { position: sticky; top: 88px; } /* 72px header + 16px gap */
}

.mp-sidebar-cta {
  background: var(--mp-navy);
  border-radius: 8px;
  padding: 1.75rem;
  color: #fff;
}
.mp-sidebar-cta-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mp-orange);
  margin-bottom: 0.5rem;
}
.mp-sidebar-cta-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.mp-sidebar-cta-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.mp-sidebar-cta-btn { width: 100%; justify-content: center; }

.mp-sidebar-info {
  background: var(--mp-bg-light);
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}
.mp-sidebar-info h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mp-navy);
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mp-sidebar-info ul { list-style: none; padding: 0; margin: 0; }
.mp-sidebar-info li {
  font-size: 0.8125rem;
  color: var(--mp-text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mp-border);
  line-height: 1.5;
}
.mp-sidebar-info li:last-child { border-bottom: none; }
.mp-sidebar-info strong { color: var(--mp-navy); }

/* ─── Scroll-reveal ────────────────────────────────────────── */
.mp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.mp-reveal.mp-visible { opacity: 1; transform: translateY(0); }
.mp-reveal-d1 { transition-delay: 0.1s; }
.mp-reveal-d2 { transition-delay: 0.2s; }
.mp-reveal-d3 { transition-delay: 0.3s; }
.mp-reveal-d4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE  —  page-contact.php
   ═══════════════════════════════════════════════════════════════ */

/* ── Page title bar ── */
.mp-page-title-bar {
  background: #fff;
  border-bottom: 1px solid var(--mp-border);
  padding: 2.5rem 0 2rem;
}
.mp-page-title-bar .mp-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-orange);
  margin-bottom: 0.5rem;
}
.mp-page-title-bar h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--mp-navy);
  line-height: 1.15;
}

/* ── Main layout ── */
.mp-contact-main {
  padding: 3.5rem 0 5rem;
}
.mp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .mp-contact-grid {
    grid-template-columns: 1fr;
  }
  .mp-contact-sidebar {
    order: -1;
  }
}

/* ── Intro text ── */
.mp-contact-intro {
  font-size: 1rem;
  color: var(--mp-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ── Alert banners ── */
.mp-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.mp-alert svg { flex-shrink: 0; margin-top: 2px; }
.mp-alert strong { display: block; font-weight: 700; margin-bottom: 0.2rem; }
.mp-alert p { margin: 0; }
.mp-alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.mp-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ── Form ── */
.mp-contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.mp-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .mp-form-row-2col { grid-template-columns: 1fr; }
}

/* Field group */
.mp-field-group { display: flex; flex-direction: column; gap: 0.35rem; }
.mp-field-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #374151;
}
.mp-required { color: var(--mp-orange); }
.mp-optional { font-weight: 400; color: var(--mp-muted); text-transform: none; letter-spacing: 0; }

.mp-field-group input,
.mp-field-group textarea,
.mp-field-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--mp-border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--mp-text);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.mp-field-group input:focus,
.mp-field-group textarea:focus,
.mp-field-group select:focus {
  border-color: var(--mp-navy);
  box-shadow: 0 0 0 3px rgba(12,84,148,0.1);
}
.mp-field-group textarea { resize: vertical; min-height: 130px; }

/* Error state */
.mp-field-error input,
.mp-field-error textarea,
.mp-field-error select {
  border-color: #ef4444;
}
.mp-field-error input:focus,
.mp-field-error textarea:focus,
.mp-field-error select:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.mp-error-msg {
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 500;
}

/* Phone row */
.mp-phone-row { display: flex; gap: 0.5rem; }
.mp-country-code-wrap {
  position: relative;
  flex: 0 0 auto;
  min-width: 160px;
}
.mp-country-code-wrap select {
  padding-right: 2rem;
  cursor: pointer;
}
.mp-country-code-wrap .mp-chevron {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--mp-muted);
}
.mp-phone-row input[type="tel"] { flex: 1; }

/* Select wrapper */
.mp-select-wrap { position: relative; }
.mp-select-wrap select { padding-right: 2.5rem; cursor: pointer; }
.mp-select-wrap .mp-chevron {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--mp-muted);
}

/* Field hint */
.mp-field-hint {
  font-size: 0.78rem;
  color: var(--mp-muted);
  line-height: 1.5;
  margin-top: 0.35rem;
}

/* ── Dropzone ── */
.mp-dropzone {
  border: 2px dashed var(--mp-border);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  background: var(--mp-bg-light);
  position: relative;
}
.mp-dropzone:hover,
.mp-dropzone-active {
  border-color: var(--mp-navy);
  background: #eef4fb;
}
.mp-dropzone svg { margin: 0 auto 0.6rem; color: var(--mp-muted); }
.mp-dropzone-label { font-size: 0.9rem; color: var(--mp-muted); margin-bottom: 0.25rem; }
.mp-dropzone-link { color: var(--mp-navy); font-weight: 600; text-decoration: underline; }
.mp-dropzone-sub { font-size: 0.78rem; color: #9ca3af; }
.mp-file-input {
  position: absolute; inset: 0; opacity: 0;
  width: 100%; height: 100%; cursor: pointer;
}

/* File list */
.mp-file-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.mp-file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--mp-bg-light);
  border: 1px solid var(--mp-border);
  border-radius: 4px;
  font-size: 0.82rem;
}
.mp-file-icon { font-size: 1rem; flex-shrink: 0; }
.mp-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mp-text); }
.mp-file-size { color: var(--mp-muted); flex-shrink: 0; }
.mp-file-remove {
  background: none; border: none; cursor: pointer;
  color: #9ca3af; font-size: 0.8rem; padding: 0 0.2rem;
  transition: color 0.15s;
}
.mp-file-remove:hover { color: #ef4444; }

/* ── reCAPTCHA notice ── */
.mp-recaptcha-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--mp-bg-light);
  border: 1px solid var(--mp-border);
  border-radius: 5px;
  font-size: 0.78rem;
  color: var(--mp-muted);
  line-height: 1.5;
}
.mp-recaptcha-notice svg { flex-shrink: 0; margin-top: 2px; color: #6b7280; }
.mp-recaptcha-notice a { color: var(--mp-navy); text-decoration: underline; }
.mp-recaptcha-widget { margin-top: 0.5rem; }

/* ── Checkbox (NDA + newsletter) ── */
.mp-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.mp-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.mp-checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--mp-border);
  border-radius: 4px;
  background: #fff;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
.mp-checkbox-label:hover .mp-checkbox-custom { border-color: var(--mp-navy); }
.mp-checkbox-label input[type="checkbox"]:checked + .mp-checkbox-custom {
  background: var(--mp-navy);
  border-color: var(--mp-navy);
}
.mp-checkbox-label input[type="checkbox"]:checked + .mp-checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.mp-checkbox-text {
  font-size: 0.875rem;
  color: var(--mp-text-muted, #4a5568);
  line-height: 1.6;
}

/* ── Submit row ── */
.mp-form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.mp-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--mp-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  letter-spacing: 0.02em;
}
.mp-btn-submit:hover { background: var(--mp-orange-hover); transform: translateY(-1px); }
.mp-btn-submit:active { transform: translateY(0); }
.mp-required-note { font-size: 0.78rem; color: var(--mp-muted); }

/* ── Sidebar ── */
.mp-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 901px) {
  .mp-contact-sidebar {
    position: sticky;
    top: 90px;
  }
}
.mp-sidebar-card {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  padding: 1.5rem;
}
.mp-sidebar-card-navy {
  background: var(--mp-navy);
  border-color: var(--mp-navy);
  color: #fff;
}
.mp-sidebar-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mp-muted);
  margin-bottom: 1rem;
}
.mp-sidebar-card-navy .mp-sidebar-card-title { color: rgba(255,255,255,0.6); }

/* Contact info list */
.mp-contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mp-contact-info-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.mp-contact-icon {
  width: 30px; height: 30px;
  background: var(--mp-bg-light);
  border: 1px solid var(--mp-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--mp-navy);
}
.mp-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mp-muted);
  margin-bottom: 0.1rem;
}
.mp-contact-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mp-text);
}
a.mp-contact-value { color: var(--mp-navy); }
a.mp-contact-value:hover { text-decoration: underline; }
.mp-contact-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--mp-muted);
  margin-top: 0.1rem;
}

/* NDA card */
.mp-nda-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.mp-nda-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.mp-sidebar-card-navy p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

/* What to include list */
.mp-include-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.mp-include-list li {
  font-size: 0.875rem;
  color: var(--mp-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.mp-include-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--mp-orange);
}
/* ── Contact page intro: photo + quote ─────────────────────── */
.mp-contact-intro-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  background: #fff;
}

.mp-intro-photo-wrap {
  flex: 0 0 auto;
  width: 160px;
}

.mp-intro-photo {
  width: 160px;
  height: auto;
  display: block;
}

.mp-intro-quote-wrap {
  flex: 1;
}

.mp-intro-quote {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
}

.mp-quote-small {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 250;
  font-style: italic;
  color: #333;
  transform: skewX(-6deg);
  margin-bottom: 0.2rem;
}

.mp-quote-big {
  display: block;
  font-size: 2.0rem;
  font-weight: 600;
  color: #111;
  transform: skewX(-6deg);
  line-height: 1.1;
}


/* Mobile: stack vertically */
@media (max-width: 600px) {
  .mp-contact-intro-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .mp-intro-photo-wrap,
  .mp-intro-photo {
    width: 120px;
  }
  .mp-intro-quote {
    font-size: 1.35rem;
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   HOW WE WORK PAGE STYLES
   Append to the bottom of assets/css/magnetpeak.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero banner ─────────────────────────────────────────────────────────── */
.mp-hww-hero {
  background-color: #0C5494;
  padding: 4rem clamp(2rem, 4vw, 4rem);
}

.mp-hww-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFA458;
  margin: 0 0 1rem;
}

.mp-hww-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.mp-hww-hero-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.65;
  max-width: 36rem;
  margin: 0;
}

/* ── Main content wrapper ────────────────────────────────────────────────── */
.mp-hww-main {
  background: #ffffff;
  padding: 0 0 5rem;
}

/* ── Content area ────────────────────────────────────────────────────────── */
.mp-hww-content {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 4rem;
}

/* ── Section wrapper ─────────────────────────────────────────────────────── */
.mp-hww-section {
  padding: 4rem 0;
  border-top: 1px solid #e8ecf0;
}

.mp-hww-section:first-child {
  padding-top: 0;
  border-top: none;
}

.mp-hww-section-last {
  padding-bottom: 0;
}

/* ── Two-column section inner (text + image) ─────────────────────────────── */
.mp-hww-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ── Section number (01, 02, ...) ────────────────────────────────────────── */
.mp-hww-content p.mp-hww-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #FC9404;
  margin: 0 0 0.75rem;
  font-family: inherit;
}

/* ── Headings inside sections ────────────────────────────────────────────── */
.mp-hww-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: #0C5494;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}

/* ── Body paragraphs ─────────────────────────────────────────────────────── */
.mp-hww-content p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

.mp-hww-content p:last-child {
  margin-bottom: 0;
}

/* ── Text-only sections ──────────────────────────────────────────────────── */
.mp-hww-section-text-only {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Image column / figure ───────────────────────────────────────────────── */
.mp-hww-image-col {
  min-width: 0; /* prevents grid blow-out from wide images */
}

.mp-hww-figure {
  margin: 0;
}

.mp-hww-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-hww-img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 32px rgba(12, 84, 148, 0.12);
}

.mp-hww-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
  line-height: 1.5;
}

/* ── Portrait image variant (smaller, centered in column) ────────────────── */
.mp-hww-portrait-frame {
  max-width: 340px;
  margin: 0 auto;
}

.mp-hww-portrait-img {
  border-radius: 8px;
}

.mp-hww-portrait-figure figcaption {
  text-align: center;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Placeholder (used until real images are uploaded) ───────────────────── */
.mp-hww-placeholder .mp-hww-placeholder-box {
  aspect-ratio: 4 / 3;
  background: #f3f6fa;
  border: 2px dashed #c2d4e6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: #9aafc8;
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
  line-height: 1.5;
}

/* ── Lightbox overlay (created dynamically by JS) ────────────────────────── */
.mp-hww-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  /* Hidden by default — JS toggles inline style.display to 'flex' */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.mp-hww-lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.mp-hww-lightbox-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.60);
  font-style: italic;
  text-align: center;
  max-width: 600px;
}

.mp-hww-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s;
}

.mp-hww-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Tablet and below: collapse to single column ─────────────────────────── */
@media (max-width: 900px) {
  .mp-hww-section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* On mobile, always show text first regardless of desktop layout */
  .mp-hww-image-left .mp-hww-text {
    order: 1;
  }
  .mp-hww-image-left .mp-hww-image-col {
    order: 2;
  }
}

/* ── Mobile adjustments ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .mp-hww-hero {
    padding: 2.5rem 1.25rem;
  }

  .mp-hww-content {
    padding-top: 2.5rem;
  }

  .mp-hww-section {
    padding: 2.5rem 0;
  }

  .mp-hww-content h2 {
    font-size: 1.25rem;
  }
}
/* ================================================================
   ABOUT PAGE STYLES - MagnetPeak Solutions
   Append to the bottom of assets/css/magnetpeak.css

   All selectors are scoped under .mp-about-* parent classes.
   No rule in this file can affect any other page on the site.
   ================================================================ */


/* Hero banner */
.mp-about-hero {
  background-color: #0C5494;
  padding: 4rem clamp(2rem, 4vw, 4rem);
  text-align: left;
}

.mp-about-hero .mp-container {
  text-align: left;
}

.mp-about-hero .mp-about-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFA458;
  margin: 0 0 1rem 0;
  text-align: left;
}

.mp-about-hero .mp-about-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  max-width: 36rem;
  text-align: left;
}

.mp-about-hero .mp-about-hero-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.65;
  max-width: 36rem;
  margin: 0;
  text-align: left;
}


/* Main content wrapper */
.mp-about-main {
  background: #ffffff;
  padding: 0 0 5rem;
}

.mp-about-main .mp-about-content {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 4rem;
}


/* Sections */
.mp-about-main .mp-about-section {
  padding: 4rem 0;
  border-top: 1px solid #e8ecf0;
}

.mp-about-main .mp-about-section:first-child {
  padding-top: 0;
  border-top: none;
}

.mp-about-main .mp-about-section-last {
  padding-bottom: 0;
}

.mp-about-main .mp-about-section-text-only {
  max-width: 760px;
  margin-left: 2rem;
  margin-right: auto;
}


/* Two-column inner layout */
.mp-about-main .mp-about-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}


/* Section number 01 02 03 */
.mp-about-main .mp-about-content p.mp-about-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #FC9404;
  margin: 0 0 0.75rem;
  font-family: inherit;
}


/* Headings */
.mp-about-main .mp-about-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: #0C5494;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}


/* Body paragraphs */
.mp-about-main .mp-about-content p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

.mp-about-main .mp-about-content p:last-child {
  margin-bottom: 0;
}


/* Inline links */
.mp-about-main .mp-about-content a {
  color: #0C5494;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.mp-about-main .mp-about-content a:hover {
  color: #FC9404;
}


/* Highlight span - for emphasized phrases inside body text */
.mp-about-main .mp-about-content .mp-about-highlight {
  color: #0C5494;
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgba(252, 148, 4, 0.18) 60%);
  padding: 0 2px;
}


/* Pull quote */
.mp-about-main .mp-about-quote {
  margin: 1.5rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid #FC9404;
  background: #f7f9fc;
}

.mp-about-main .mp-about-quote p {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  color: #2a3543;
  font-size: 0.92rem;
  line-height: 1.65;
}


/* Image figure */
.mp-about-main .mp-about-image-col {
  min-width: 0;
}

.mp-about-main .mp-about-figure {
  margin: 0;
}

.mp-about-main .mp-about-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-about-main .mp-about-img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 32px rgba(12, 84, 148, 0.12);
}

.mp-about-main .mp-about-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
  line-height: 1.5;
}


/* Video figure - 16:9 locked frame (landscape, used for customer videos) */
.mp-about-main .mp-about-video-figure {
  margin: 0;
  max-width: 480px;
}

.mp-about-main .mp-about-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0C5494;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 4px 16px rgba(12, 84, 148, 0.10);
}


/* Video figure - 9:16 portrait frame (used for founder video) */
.mp-about-main .mp-about-video-portrait-figure {
  margin: 0;
  max-width: 240px;
}

.mp-about-main .mp-about-video-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  display: block;
  background: #0C5494;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 4px 16px rgba(12, 84, 148, 0.10);
}


/* Lightbox overlay - dormant until static images are added */
.mp-about-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.mp-about-lightbox-overlay.is-open {
  display: flex;
}

.mp-about-lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.mp-about-lightbox-overlay .mp-about-lightbox-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.60);
  font-style: italic;
  text-align: center;
  max-width: 600px;
}

.mp-about-lightbox-overlay .mp-about-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s;
}

.mp-about-lightbox-overlay .mp-about-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* Responsive - tablet and below collapse to single column */
@media (max-width: 900px) {
  .mp-about-main .mp-about-section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mp-about-main .mp-about-image-left .mp-about-text {
    order: 1;
  }
  .mp-about-main .mp-about-image-left .mp-about-image-col {
    order: 2;
  }
  .mp-about-main .mp-about-image-right .mp-about-text {
    order: 1;
  }
  .mp-about-main .mp-about-image-right .mp-about-image-col {
    order: 2;
  }

  .mp-about-main .mp-about-section {
    padding: 3rem 0;
  }

  /* On smaller screens, remove the desktop indent so text-only sections
     align with the hero contents above. */
  .mp-about-main .mp-about-section-text-only {
    margin-left: 0;
  }
}


/* Responsive - large phone */
@media (max-width: 768px) {
  .mp-about-hero {
    padding: 3rem clamp(1.5rem, 4vw, 2.5rem);
  }

  .mp-about-hero .mp-about-hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .mp-about-hero .mp-about-hero-intro {
    font-size: 1rem;
  }

  .mp-about-main .mp-about-content {
    padding-top: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mp-about-main .mp-about-content h2 {
    font-size: 1.35rem;
  }
}


/* Responsive - phone portrait */
@media (max-width: 600px) {
  .mp-about-hero {
    padding: 2.5rem 1.25rem;
  }

  .mp-about-hero .mp-about-hero-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    line-height: 1.2;
  }

  .mp-about-hero .mp-about-hero-intro {
    font-size: 0.95rem;
  }

  .mp-about-main .mp-about-content {
    padding-top: 2.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .mp-about-main .mp-about-section {
    padding: 2.5rem 0;
  }

  .mp-about-main .mp-about-content h2 {
    font-size: 1.25rem;
  }

  .mp-about-main .mp-about-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .mp-about-main .mp-about-quote {
    padding: 1.1rem 1.25rem;
    margin: 1.25rem 0;
  }

  .mp-about-main .mp-about-quote p {
    font-size: 0.88rem;
  }

  .mp-about-main .mp-about-content p.mp-about-number {
    font-size: 0.7rem;
  }
}
/* ═══════════════════════════════════════════════════════════════
   MagnetPeak — Injection Molding Capability Page
   magnetpeak-css-addition.css

   INSTRUCTIONS: Append this entire block to the bottom of
   assets/css/magnetpeak.css

   All classes prefixed with "im-" — zero conflicts guaranteed.
   Uses existing --mp-* tokens and Space Grotesk font from theme.
═══════════════════════════════════════════════════════════════ */

/* ─── Shared helpers ─────────────────────────────────────────── */
.im-page-wrap { overflow-x: hidden; }

.im-section-heading {
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 700;
  color: var(--mp-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.im-body-text {
  font-size: 0.9375rem;
  color: var(--mp-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.im-body-text:last-of-type { margin-bottom: 0; }
.im-body-text strong { font-weight: 600; color: var(--mp-navy); }

/* ─── Scroll animation ───────────────────────────────────────── */
.im-fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.im-fade-up.im-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO overrides ─────────────────────────────────────────── */
/* Reuses .mp-hero — just override what's needed */
.im-hero .mp-hero-bg img { opacity: 0.25; }

/* ─── PROOF BAND override ────────────────────────────────────── */
.im-proof-band .mp-proof-stat {
  color: var(--mp-navy);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

/* ─── INTRO SECTION ──────────────────────────────────────────── */
.im-intro {
  padding: 5rem 0;
  background: var(--mp-bg-light);
  border-top: 3px solid var(--mp-orange);
}
@media (min-width: 768px) { .im-intro { padding: 6rem 0; } }

.im-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .im-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.im-intro-col {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-top: 3px solid var(--mp-navy);
  border-radius: 6px;
}

/* ─── CASE STUDIES ───────────────────────────────────────────── */
.im-cases {
  padding: 5rem 0 4rem;
  background: #fff;
}
@media (min-width: 768px) { .im-cases { padding: 7rem 0 5rem; } }

.im-case-card {
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.im-case-card:hover {
  box-shadow: 0 6px 24px rgba(12,84,148,0.09);
}

.im-case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: var(--mp-navy);
  border-bottom: 3px solid var(--mp-orange);
}

.im-case-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mp-orange);
  line-height: 1;
  letter-spacing: -0.03em;
}

.im-case-industry {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 20px;
}

.im-case-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}
@media (max-width: 900px) {
  .im-case-body { grid-template-columns: 1fr; }
}

.im-case-content {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--mp-border);
}
@media (max-width: 900px) {
  .im-case-content { border-right: none; border-bottom: 1px solid var(--mp-border); }
}

.im-case-title {
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--mp-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.im-case-lead {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mp-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--mp-border);
}

.im-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.im-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: #f0f6ff;
  color: var(--mp-navy);
  border: 1px solid rgba(12,84,148,0.15);
}

/* Case aside */
.im-case-aside {
  display: flex;
  flex-direction: column;
  background: var(--mp-bg-light);
}

.im-spec-box {
  padding: 1.5rem;
  flex: 1;
}

.im-spec-box-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mp-orange);
  margin-bottom: 1rem;
}

.im-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mp-border);
  gap: 0.75rem;
}
.im-spec-row:last-child { border-bottom: none; }

.im-spec-key {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.im-spec-val {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mp-navy);
  text-align: right;
}

.im-case-img-wrap {
  height: 180px;
  overflow: hidden;
  border-top: 1px solid var(--mp-border);
}
.im-case-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.4s ease;
}
.im-case-img-wrap:hover img { opacity: 0.9; transform: scale(1.04); }
.im-img-missing {
  height: 180px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.im-img-missing::after {
  content: 'Add project photo';
  font-size: 0.75rem;
  color: #9ca3af;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── CAPABILITIES ───────────────────────────────────────────── */
.im-capabilities {
  padding: 5rem 0;
  background: var(--mp-bg-light);
}
@media (min-width: 768px) { .im-capabilities { padding: 7rem 0; } }

.im-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) { .im-cap-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .im-cap-grid { grid-template-columns: 1fr; } }

/* ─── PROCESS ────────────────────────────────────────────────── */
.im-process {
  background: var(--mp-navy);
  padding: 5rem 0;
}
@media (min-width: 768px) { .im-process { padding: 7rem 0; } }

.im-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  position: relative;
}
.im-process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%; right: 10%;
  height: 1px;
  background: rgba(255,164,88,0.25);
}
@media (max-width: 900px) {
  .im-process-steps { grid-template-columns: repeat(3, 1fr); }
  .im-process-steps::before { display: none; }
}
@media (max-width: 560px) {
  .im-process-steps { grid-template-columns: repeat(2, 1fr); }
}

.im-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
  outline: none;
}
.im-process-step:focus .im-process-dot,
.im-process-step:hover .im-process-dot {
  border-color: var(--mp-orange);
  background: rgba(255,164,88,0.15);
}

.im-process-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,164,88,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: border-color 0.25s, background 0.25s;
}

.im-process-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mp-orange);
}

.im-process-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.im-process-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

/* ─── SPEC SECTION ───────────────────────────────────────────── */
.im-spec-section {
  padding: 5rem 0;
  background: #fff;
}
@media (min-width: 768px) { .im-spec-section { padding: 7rem 0; } }

.im-spec-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .im-spec-section-inner { grid-template-columns: 1fr; }
}

.im-spec-notes { display: flex; flex-direction: column; justify-content: center; }

/* ─── POLYMER MATERIALS ──────────────────────────────────────── */
.im-polymers {
  padding: 5rem 0;
  background: var(--mp-bg-light);
}
@media (min-width: 768px) { .im-polymers { padding: 7rem 0; } }

.im-polymers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .im-polymers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .im-polymers-grid { grid-template-columns: 1fr; } }

.im-polymer-card {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.im-polymer-card:hover {
  box-shadow: 0 6px 20px rgba(12,84,148,0.09);
  border-color: rgba(255,164,88,0.6);
  transform: translateY(-2px);
}

.im-polymer-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.im-polymer-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--mp-navy);
  margin-bottom: 0.5rem;
}

.im-polymer-desc {
  font-size: 0.875rem;
  color: var(--mp-muted);
  line-height: 1.65;
}

/* ─── BIGGER PICTURE ─────────────────────────────────────────── */
.im-bigger-picture {
  background: linear-gradient(135deg, var(--mp-navy) 0%, var(--mp-navy-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .im-bigger-picture { padding: 7rem 0; } }

.im-bigger-picture::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,164,88,0.08);
  pointer-events: none;
}

.im-bigger-picture-inner { position: relative; z-index: 1; }

.im-bp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.im-bp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.625rem 1.125rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.im-bp-link:hover {
  background: rgba(255,164,88,0.15);
  border-color: rgba(255,164,88,0.4);
  color: #fff;
}
.im-bp-link svg { width: 14px; height: 14px; color: var(--mp-orange); flex-shrink: 0; }

/* ─── CTA ────────────────────────────────────────────────────── */
.im-cta .im-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .im-cta .im-cta-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.im-checklist-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1.75rem;
}

.im-checklist-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-orange);
  margin-bottom: 1.25rem;
}

.im-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }

.im-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.im-check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,164,88,0.15);
  border: 1px solid rgba(255,164,88,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.im-check-icon svg { width: 9px; height: 9px; color: var(--mp-orange); }
/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER — Contact card + What We Do
   Scoped under .mp-site-footer
   ═══════════════════════════════════════════════════════════════ */

.mp-site-footer {
  background: #0f1a2e;
  color: #cdd5e0;
  padding: 3.5rem 0 1.5rem;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.mp-site-footer__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}
@media (max-width: 768px) {
  .mp-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Contact card */
.mp-site-footer__card {
  border-left: 4px solid var(--mp-orange, #FFA458);
  padding: 0.375rem 0 0.375rem 1.375rem;
}
.mp-site-footer__brand {
  color: var(--mp-orange, #FFA458);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.875rem;
  letter-spacing: 0.2px;
  line-height: 1.3;
}
.mp-site-footer__address {
  font-style: normal;
  color: #c7cfdb;
  margin: 0 0 1.125rem;
  line-height: 1.6;
}
.mp-site-footer__phone,
.mp-site-footer__email {
  display: block;             /* forces stacking */
  width: fit-content;         /* underline only spans the text */
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 164, 88, 0.5);
  padding-bottom: 2px;
}
.mp-site-footer__phone {
  color: var(--mp-orange, #FFA458);
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}
.mp-site-footer__email {
  color: var(--mp-orange, #FFA458);
  font-size: 0.9375rem;
  font-weight: 600;
}
.mp-site-footer__phone:hover,
.mp-site-footer__email:hover {
  color: var(--mp-orange-hover, #e8923e);
  border-bottom-color: var(--mp-orange, #FFA458);
}

/* What We Do */
.mp-site-footer__heading {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.875rem;
}
.mp-site-footer__about p {
  margin: 0 0 0.75rem;
  max-width: 60ch;
  color: #cdd5e0;
}

/* Read more / show less toggle */
.mp-site-footer__toggle {
  display: none;              /* hidden on desktop */
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.25rem;
  color: var(--mp-orange, #FFA458);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.mp-site-footer__toggle:hover {
  text-decoration: underline;
}
.mp-site-footer__toggle .mp-site-footer__toggle-less {
  display: none;
}
.mp-site-footer__toggle[aria-expanded="true"] .mp-site-footer__toggle-more {
  display: none;
}
.mp-site-footer__toggle[aria-expanded="true"] .mp-site-footer__toggle-less {
  display: inline;
}

/* Bottom bar */
.mp-site-footer__bottom {
  padding-top: 1.25rem;
  font-size: 0.8125rem;
  color: #8b95a6;
  text-align: center;
}
.mp-site-footer__bottom p {
  margin: 0;
}
.mp-site-footer__bottom a {
  color: #cdd5e0;
  text-decoration: none;
  transition: color 0.15s;
}
.mp-site-footer__bottom a:hover {
  color: var(--mp-orange, #FFA458);
}

/* ── Mobile: shrink typography & enable Read more toggle ── */
@media (max-width: 768px) {
  .mp-site-footer {
    padding: 2.5rem 0 1.25rem;
    font-size: 0.875rem;
  }
  .mp-site-footer__brand {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
  }
  .mp-site-footer__address {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }
  .mp-site-footer__phone {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .mp-site-footer__email {
    font-size: 0.875rem;
  }
  .mp-site-footer__heading {
    font-size: 0.8125rem;
  }
  .mp-site-footer__about p {
    font-size: 0.875rem;
  }
  .mp-site-footer__toggle {
    display: inline-block;
  }
  .mp-site-footer__about-extra {
    display: none;
  }
  .mp-site-footer__about-extra.is-open {
    display: block;
  }
}
/* ═══════════════════════════════════════════════════════════════
   GLOBAL TABLE STYLING
   Auto-applies the micro-magnets table look to every table inside
   page content, posts, and TablePress shortcodes. Existing
   .mp-table styles still work for hand-coded tables.
   ═══════════════════════════════════════════════════════════════ */

/* Target tables in main content areas */
.mp-page-content table,
.mp-prose table,
.entry-content table,
.tablepress {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--mp-border);
  background: #fff;
}

/* Caption (small label above the table) */
.mp-page-content table caption,
.mp-prose table caption,
.entry-content table caption,
.tablepress caption {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mp-muted);
  text-align: left;
  padding: 0.5rem 0.875rem;
  background: var(--mp-bg-light);
  border-bottom: 1px solid var(--mp-border);
  caption-side: top;
  text-transform: none;
  letter-spacing: 0;
}

/* Header row */
/* WP core gives .wp-block-table thead a 3px currentColor (near-black)
   bottom border; drop it so the navy header meets the first row cleanly */
.mp-page-content table thead,
.mp-prose table thead,
.entry-content table thead,
.tablepress thead {
  border-bottom: 0;
}
.mp-page-content table thead tr,
.mp-prose table thead tr,
.entry-content table thead tr,
.tablepress thead tr {
  background: var(--mp-navy);
}
.mp-page-content table thead th,
.mp-prose table thead th,
.entry-content table thead th,
.tablepress thead th {
  padding: 0.75rem 1rem;
  color: #fff;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  border: none;
}

/* Body rows */
.mp-page-content table tbody tr,
.mp-prose table tbody tr,
.entry-content table tbody tr,
.tablepress tbody tr {
  border-bottom: 1px solid var(--mp-border);
  background: #fff;
}
.mp-page-content table tbody tr:last-child,
.mp-prose table tbody tr:last-child,
.entry-content table tbody tr:last-child,
.tablepress tbody tr:last-child {
  border-bottom: none;
}

/* Zebra striping */
.mp-page-content table tbody tr:nth-child(even),
.mp-prose table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even),
.tablepress tbody tr:nth-child(even) {
  background: var(--mp-bg-light);
}

/* Cells */
.mp-page-content table tbody td,
.mp-prose table tbody td,
.entry-content table tbody td,
.tablepress tbody td {
  padding: 0.75rem 1rem;
  color: var(--mp-text);
  vertical-align: top;
  border: none;
  line-height: 1.6;
}

/* Bold strong inside cells (matches the Material column on micro-magnets) */
.mp-page-content table strong,
.mp-prose table strong,
.entry-content table strong,
.tablepress strong {
  color: var(--mp-navy);
  font-weight: 600;
}

/* Mobile: allow horizontal scroll for wide tables */
@media (max-width: 640px) {
  .mp-page-content table,
  .mp-prose table,
  .entry-content table,
  .tablepress {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* TablePress: hide its own row hover/sort indicators that conflict */
.tablepress tbody tr:hover {
  background: rgba(255, 164, 88, 0.06);
}
.tablepress thead th .sorting-indicator {
  display: none;
}

/* ============================================
   MP DATA TABLE — comparison/spec tables
   Use: <figure class="wp-block-table mp-data-table">
   Brand: Blue #0C5494
   ============================================ */

.wp-block-table.mp-data-table {
  margin: 1.5rem 0 2rem !important;
  border: none !important;
}

.mp-data-table * {
  border-top: 0 !important;
  box-shadow: none !important;
}

.mp-data-table table {
  border-collapse: collapse !important;
  width: 100% !important;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  background: #ffffff;
}

.mp-data-table thead,
.mp-data-table > table > thead,
.mp-data-table thead tr,
.mp-data-table > table > thead > tr {
  background-color: #0C5494 !important;
  border: none !important;
  border-bottom: none !important;
}

.mp-data-table thead th,
.mp-data-table > table > thead > tr > th {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-align: left !important;
  padding: 14px 16px !important;
  letter-spacing: 0.02em;
  border: none !important;
  border-bottom: none !important;
  background-color: #0C5494 !important;
}

.mp-data-table tbody tr {
  border: none !important;
}

.mp-data-table tbody td {
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  vertical-align: top !important;
  line-height: 1.55;
  background: transparent;
}

.mp-data-table tbody tr:nth-child(even) td {
  background-color: #f4f8fc;
}

.mp-data-table tbody tr:last-child td {
  border-bottom: none !important;
}

.mp-data-table tbody td:first-child {
  width: 20%;
}

.mp-data-table,
.mp-data-table figcaption {
  border: none !important;
}

/* Caption rendered above table */
.mp-data-table table caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem;
  font-style: italic;
  color: #4a5568;
  font-size: 0.9rem;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-bottom: none;
}


/* ============================================
   MP QUICK FACTS — sidebar/footer info card
   Use: <div class="quick-facts-box">
   ============================================ */

.quick-facts-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0C5494;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.quick-facts-box h3 {
  margin: 0 0 1.25rem 0 !important;
  color: #0C5494 !important;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none !important;
  padding: 0 !important;
}

.quick-facts-box ul {
  list-style: none;
  padding-left: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
}

.quick-facts-box li {
  padding: 12px 0 !important;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.5;
  list-style: none !important;
}

.quick-facts-box li:nth-last-child(-n+2) {
  border-bottom: none;
  padding-bottom: 0 !important;
}

.quick-facts-box li strong {
  color: #0C5494;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}


/* ============================================
   Mobile
   ============================================ */

@media (max-width: 781px) {
  .quick-facts-box {
    padding: 1.5rem 1.5rem;
  }
  .quick-facts-box ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quick-facts-box li {
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .quick-facts-box li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  .mp-data-table table {
    font-size: 0.85rem;
  }
  .mp-data-table thead th,
  .mp-data-table tbody td {
    padding: 10px 10px !important;
  }
  .mp-data-table tbody td:first-child {
    width: auto;
  }
}

@media (max-width: 480px) {
  .quick-facts-box {
    padding: 1.25rem 1.25rem;
  }
}
/* ============================================
   CAPABILITY PAGE TEMPLATE
   Used for: Parylene, Rare Earth Export, and all 
   future capability pages with content from the 
   WordPress block editor.
   ============================================ */

/* Hero band with page title */
.mp-capability-hero {
  background: #0C5494;
  color: #fff;
  padding: 4rem 0 3rem;
  margin-bottom: 3rem;
}

.mp-capability-eyebrow {
  color: #FFA458;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
}

.mp-capability-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  color: #fff !important;
}

/* Main content area */
.mp-capability-main {
  padding-bottom: 4rem;
}

/* Two-column layout: content + sidebar */
.mp-capability-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  min-width: 0; /* prevents grid items from overflowing */
}

.mp-capability-content {
  min-width: 0; /* allow shrink */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Headings inside the content */
.mp-capability-content h2,
.mp-capability-content .wp-block-heading {
  color: #0C5494 !important;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.mp-capability-content h3 {
  color: #0C5494 !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* First heading shouldn't have huge top margin */
.mp-capability-content > h2:first-child,
.mp-capability-content > .wp-block-heading:first-child {
  margin-top: 0;
}

/* Paragraphs */
.mp-capability-content p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: #2d3748;
}

/* Lists */
.mp-capability-content ul,
.mp-capability-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.mp-capability-content li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* Images */
.mp-capability-content figure {
  margin: 2rem 0;
}

.mp-capability-content figure.alignwide {
  margin-left: calc(-1 * (50vw - 50%) / 2);
  margin-right: calc(-1 * (50vw - 50%) / 2);
}

.mp-capability-content figcaption {
  font-style: italic;
  color: #4a5568;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}


/* ============================================
   SIDEBAR — Get a Quote card
   ============================================ */

.mp-capability-sidebar {
  position: sticky;
  top: 100px;
}

.mp-sidebar-cta {
  background: #0C5494;
  color: #fff;
  padding: 2rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(12, 84, 148, 0.15);
}

.mp-sidebar-cta-eyebrow {
  color: #FFA458;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
}

.mp-sidebar-cta-title {
  color: #fff !important;
  font-size: 1.6rem !important;
  font-weight: 700;
  margin: 0 0 0.75rem 0 !important;
}

.mp-sidebar-cta-text {
  color: #fff !important;
  margin: 0 0 1.5rem 0 !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mp-sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  background: #FFA458;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s;
}

.mp-sidebar-cta-btn:hover {
  background: #FC9404;
  color: #fff !important;
}


/* ============================================
   Mobile — sidebar moves below content
   ============================================ */

@media (max-width: 980px) {
  .mp-capability-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mp-capability-sidebar {
    position: static;
  }
}

@media (max-width: 781px) {
  .mp-capability-hero {
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
  }
  
  .mp-capability-hero-title {
    font-size: 2rem;
  }
  
  .mp-capability-content h2,
  .mp-capability-content .wp-block-heading {
    font-size: 1.4rem;
  }
}
/* ── Field Notes post header ───────────────────────────── */
.mp-field-notes-bar {
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.mp-field-notes-bar .mp-post-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7941e;            /* MagnetPeak orange — match your exact brand hex/variable */
}

.mp-field-notes-bar .mp-post-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: #f7941e;
}

.mp-field-notes-bar .mp-page-title {
  margin: 0 0 0.6rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.mp-field-notes-bar .mp-post-meta {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #6b7280;            /* muted gray */
}
/* ── Field Notes archive list ──────────────────────────── */
.mp-fn-list {
  max-width: 760px;
  margin: 2.5rem 0;
}

.mp-fn-card {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;          /* image fills the card height */
  padding: 1.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.mp-fn-card-media {
  flex: 0 0 220px;
  align-self: stretch;
  display: block;
  max-height: 200px;             /* cap so tall cards don't stretch the image */
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}

.mp-fn-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;             /* floor so short cards still look right */
  object-fit: cover;             /* crops to fill, no distortion */
  transition: transform 0.4s ease;
}

.mp-fn-card:hover .mp-fn-card-media img {
  transform: scale(1.04);        /* subtle zoom on hover */
}

.mp-fn-card-body {
  flex: 1 1 auto;
  min-width: 0;                  /* prevents flex overflow */
}

/* Keep excerpts to 3 lines so every card stays balanced */
.mp-fn-card-excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .mp-fn-card {
    flex-direction: column;
    gap: 1rem;
  }
  .mp-fn-card-media {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;        /* clean banner on mobile */
  }
  .mp-fn-card-media img {
    min-height: 0;
  }
  .mp-fn-card:hover .mp-fn-card-media img {
    transform: none;             /* no hover zoom on touch */
  }
}

.mp-fn-card:first-child {
  padding-top: 0;
}

.mp-fn-card-date {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f7941e;            /* MagnetPeak orange — swap to your brand variable */
}

.mp-fn-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.mp-fn-card-title a {
  color: #0a4b8c;            /* MagnetPeak blue — swap to your brand variable */
  text-decoration: none;
}

.mp-fn-card-title a:hover {
  text-decoration: underline;
}

.mp-fn-card-excerpt {
  margin: 0 0 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.mp-fn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0a4b8c;
  text-decoration: none;
}

.mp-fn-card-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}

.mp-fn-card-link:hover svg {
  transform: translateX(3px);
}

/* Pagination */
.mp-fn-pagination {
  margin: 2.5rem 0 1rem;
}

.mp-fn-pagination .page-numbers {
  padding: 0.4rem 0.75rem;
  margin-right: 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #0a4b8c;
}

.mp-fn-pagination .page-numbers.current {
  background: #0a4b8c;
  color: #fff;
  border-color: #0a4b8c;
}