/* My Personal Tax CPA - redesign master stylesheet
   Every rule is scoped under #mptc / #mptc-hdr / #mptc-ftr so it cannot leak into
   the theme or the blog posts. Generated from the approved Astro site. */

/* Theme-leak guards: neutralise common theme list/figure/heading defaults inside the redesign */
:is(#mptc, #mptc-hdr, #mptc-ftr) li{ margin:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) ol{ margin:0; padding:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) figure, :is(#mptc, #mptc-hdr, #mptc-ftr) blockquote{ margin:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) h1, :is(#mptc, #mptc-hdr, #mptc-ftr) h2, :is(#mptc, #mptc-hdr, #mptc-ftr) h3, :is(#mptc, #mptc-hdr, #mptc-ftr) h4, :is(#mptc, #mptc-hdr, #mptc-ftr) h5, :is(#mptc, #mptc-hdr, #mptc-ftr) h6{ text-transform:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) button{ margin:0; text-transform:none; box-shadow:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) input[type="range"]{ padding:0; border:0; margin:2px; background:transparent; box-shadow:none; }

/* My Personal Tax CPA — shared site stylesheet (v2 design system) */

:is(#mptc, #mptc-hdr, #mptc-ftr), .mptc-form-wrap{
  /* Brand palette — sampled from the real logo, plus one accent color */
  --navy:#25467E;
  --navy-ink:#25467E;
  --navy-deep:#152B4F;
  --navy-mid:#33568F;
  --gold:#A9853D;
  --brass:#A9853D;
  --gold-light:#D2B36A;
  --brass-light:#D2B36A;
  --emerald:#0F8F68;
  --emerald-light:#E3F4EC;
  --emerald-deep:#0B6B4E;
  --paper:#FFFFFF;
  --paper-alt:#F6F6F3;
  --grey:#F6F6F3;
  --grey-mid:#EEEEEA;
  --ink:#182338;
  --ink-soft:#5C6577;
  --ink-faint:#8C93A1;
  --line:#E6E5E0;
  --line-on-navy:rgba(255,255,255,0.14);
  --white:#FFFFFF;
  --radius:10px;
  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:28px;
  --max:1240px;
  --shadow-sm:0 4px 16px -6px rgba(21,43,79,0.10);
  --shadow-md:0 20px 48px -16px rgba(21,43,79,0.20);
  --shadow-brass:0 16px 32px -14px rgba(169,133,61,0.5);
}

:is(#mptc, #mptc-hdr, #mptc-ftr), :is(#mptc, #mptc-hdr, #mptc-ftr) *{box-sizing:border-box;}
html.mptc-js{scroll-behavior:smooth;}
:is(#mptc, #mptc-hdr, #mptc-ftr){
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Montserrat',system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) h1,:is(#mptc, #mptc-hdr, #mptc-ftr) h2,:is(#mptc, #mptc-hdr, #mptc-ftr) h3,:is(#mptc, #mptc-hdr, #mptc-ftr) h4{
  font-family:'Montserrat',system-ui,sans-serif;
  font-weight:700;
  line-height:1.15;
  margin:0;
  color:var(--navy-deep);
  letter-spacing:-0.01em;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) p{margin:0;}
:is(#mptc, #mptc-hdr, #mptc-ftr) a{color:inherit;text-decoration:none;}
:is(#mptc, #mptc-hdr, #mptc-ftr) img{max-width:100%;display:block;}
:is(#mptc, #mptc-hdr, #mptc-ftr) button{font-family:inherit;cursor:pointer;}
:is(#mptc, #mptc-hdr, #mptc-ftr) .num{font-variant-numeric:tabular-nums;}
:is(#mptc, #mptc-hdr, #mptc-ftr) ul{margin:0;padding:0;}

/* the one italic-serif accent word per heading */
:is(#mptc, #mptc-hdr, #mptc-ftr) .accent{ font-family:'Playfair Display',Georgia,serif; font-weight:600; font-style:italic; color:var(--gold); }

@media (prefers-reduced-motion: reduce){
  :is(#mptc, #mptc-hdr, #mptc-ftr), :is(#mptc, #mptc-hdr, #mptc-ftr) *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
  html.mptc-js{scroll-behavior:auto;}
}

:is(#mptc, #mptc-hdr, #mptc-ftr) :focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
:is(#mptc, #mptc-hdr, #mptc-ftr) ::selection{ background:var(--gold); color:var(--white); }

/* ---------- SCROLL REVEAL SYSTEM ----------
   Elements fade into view on scroll. Scoped under html.js so visitors
   without JS simply see everything at full opacity — progressive
   enhancement, never a requirement for reading the page. */
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .section-head,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .test-card,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .post-row,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .credentials .row,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .process-row > div,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .process-card,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .faq-item,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .value-card,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help h3,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box{
  opacity:0;
  transition:opacity .8s cubic-bezier(.16,.84,.44,1);
}
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .section-head.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .test-card.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .post-row.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .credentials .row.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .process-row > div.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .process-card.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .faq-item.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .value-card.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help h3.in-view,
html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box.in-view{
  opacity:1;
}
@media (prefers-reduced-motion: reduce){
  html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .section-head, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .test-card, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .post-row, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .credentials .row, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .process-row > div, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .process-card, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .faq-item, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .value-card, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help h3, html.mptc-js :is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box{
    opacity:1; transition:none;
  }
}

:is(#mptc, #mptc-hdr, #mptc-ftr) .wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
@media (max-width:640px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .wrap{padding:0 22px;} }

/* ---------- EYEBROW BADGE (pill) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:0.04em;
  color:var(--navy); background:var(--grey); border:1px solid var(--line);
  padding:6px 14px 6px 10px; border-radius:99px; text-transform:uppercase;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--emerald); flex-shrink:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .eyebrow.on-navy{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.16); color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .eyebrow.on-navy .dot{ background:var(--gold-light); }

/* ---------- BUTTONS (pill, uppercase) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn{
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  padding:14px 26px; border-radius:99px; font-size:13.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:0.03em;
  border:1.5px solid transparent; background:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-brass, :is(#mptc, #mptc-hdr, #mptc-ftr) .btn-gold{ background:var(--gold); color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-brass:hover, :is(#mptc, #mptc-hdr, #mptc-ftr) .btn-gold:hover{ background:#8f6d30; transform:translateY(-2px); box-shadow:var(--shadow-brass); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-navy{ background:var(--navy); color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-navy:hover{ background:var(--navy-deep); transform:translateY(-2px); box-shadow:var(--shadow-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line-navy, :is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line{ border-color:var(--line); color:var(--navy-deep); background:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line-navy:hover, :is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line:hover{ border-color:var(--navy); background:var(--navy); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-sm); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line-cream, :is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line-white{ border-color:rgba(255,255,255,0.35); color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line-cream:hover, :is(#mptc, #mptc-hdr, #mptc-ftr) .btn-line-white:hover{ background:rgba(255,255,255,0.1); transform:translateY(-2px); }

:is(#mptc, #mptc-hdr, #mptc-ftr) .hair{ border:none; border-top:1px solid var(--line); margin:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hair-navy{ border-top:1px solid var(--line-on-navy); }

/* ---------- PLACEHOLDER IMAGES ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph{
  position:relative; background:var(--paper-alt); border:1px dashed var(--line);
  overflow:hidden; display:block; border-radius:var(--radius-sm);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph.on-navy{ background:rgba(255,255,255,0.03); border-color:var(--line-on-navy); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph .ph-inner{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  padding:20px; text-align:center; color:var(--ink-faint); font-size:12px; line-height:1.6;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph.on-navy .ph-inner{ color:#8FA0B6; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph .ph-inner b{ display:block; color:var(--ink-soft); font-size:12.5px; margin-bottom:4px; font-weight:600; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph.on-navy .ph-inner b{ color:#C9D2DE; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph img.real{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .35s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph.loaded img.real{ opacity:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph.loaded .ph-inner{ display:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph.round{ border-radius:50%; }

:is(#mptc, #mptc-hdr, #mptc-ftr) .photo{
  width:100%; height:auto; object-fit:cover; display:block; background:var(--paper-alt);
  border-radius:var(--radius-sm);
  filter:grayscale(12%) saturate(1.05) contrast(1.03);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .photo.round{ border-radius:50%; aspect-ratio:1/1; object-fit:cover; }

/* ---------- NAV ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) header.site{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,0.92); backdrop-filter:blur(10px) saturate(140%);
  border-bottom:1px solid var(--line);
  transition:box-shadow .35s ease, background .35s ease;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) header.site.scrolled{ box-shadow:0 8px 30px -14px rgba(21,43,79,0.28); background:rgba(255,255,255,0.98); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nav-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:24px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .brand img{ height:34px; width:auto; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .brand .mark, :is(#mptc, #mptc-hdr, #mptc-ftr) .brand .tag{ display:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary{ display:flex; align-items:center; gap:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary a{
  font-size:12.5px; font-weight:700; letter-spacing:0.03em; text-transform:uppercase;
  color:var(--ink-soft); position:relative; padding:4px 0; white-space:nowrap;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary a:hover, :is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary a.active{ color:var(--navy); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nav-cta{ display:flex; align-items:center; gap:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nav-toggle{ display:none; background:none; border:none; padding:6px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nav-toggle span{ display:block; width:22px; height:2px; background:var(--navy-deep); margin:5px 0; border-radius:2px; }
@media (max-width:920px){
  :is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary{
    position:absolute; top:100%; left:0; right:0; background:#fff;
    flex-direction:column; align-items:flex-start; gap:0; border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden; transition:max-height .25s ease;
  }
  :is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary.open{ max-height:340px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) nav.primary a{ width:100%; padding:14px 20px; border-top:1px solid var(--line); }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .nav-toggle{ display:block; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .nav-cta .btn-brass, :is(#mptc, #mptc-hdr, #mptc-ftr) .nav-cta .btn-gold{ padding:11px 18px; font-size:12px; }
}

/* ---------- INTERIOR PAGE HERO (rich dark banner) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero{
  position:relative; overflow:hidden; background:radial-gradient(ellipse 140% 100% at 50% 0%, #14315C 0%, #0E2140 55%, #081527 100%);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-grid-lines{
  position:absolute; inset:0; opacity:0.4;
  background-image:linear-gradient(rgba(169,133,61,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(169,133,61,0.14) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 70% 100% at 30% 0%, black 10%, transparent 75%);
  mask-image:radial-gradient(ellipse 70% 100% at 30% 0%, black 10%, transparent 75%);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero-glow{ position:absolute; border-radius:50%; filter:blur(70px); pointer-events:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero-glow.g1{ width:420px; height:420px; top:-180px; right:-100px; background:radial-gradient(circle, rgba(15,143,104,0.4), transparent 70%); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero-glow.g2{ width:340px; height:340px; bottom:-160px; left:-100px; background:radial-gradient(circle, rgba(169,133,61,0.3), transparent 70%); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero .ph{ position:absolute; inset:0; border:none; border-radius:0; opacity:0.22; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero-inner{ position:relative; padding:74px 0 58px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero .crumb{ font-size:12.5px; color:#8FA0BC; margin-bottom:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero .crumb a:hover{ color:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero h1{ color:#F3F1EA; font-size:clamp(30px,4.2vw,46px); max-width:22ch; font-weight:700; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero .lede{ margin-top:16px; font-size:15.5px; color:#9FACC4; max-width:56ch; }

/* ---------- TRUST STRIP (legacy — retained for pages still using it) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .trust{ background:var(--navy-ink); color:var(--paper); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row{ display:grid; grid-template-columns:repeat(3,1fr); padding-top:44px; padding-bottom:44px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row > div{ padding:0 34px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row > div + div{ border-left:1px solid var(--line-on-navy); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row h3{ color:var(--white); font-size:19px; margin-bottom:10px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row p{ font-size:14.5px; color:#B7C1CE; line-height:1.65; }
@media (max-width:800px){
  :is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row{ grid-template-columns:1fr; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row > div{ padding:22px 0; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .trust-row > div + div{ border-left:none; border-top:1px solid var(--line-on-navy); }
}

/* ---------- SECTION SCAFFOLD ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) section{ padding:88px 0; }
@media (max-width:700px){ :is(#mptc, #mptc-hdr, #mptc-ftr) section{ padding:60px 0; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .section-head{ max-width:640px; margin-bottom:48px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .section-head h2{ font-size:clamp(26px,3.4vw,40px); margin-top:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .alt{ background:var(--grey); }

/* ---------- TWO-COL GENERIC (Services / Additional Services) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col.reverse{ direction:rtl; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col.reverse > *{ direction:ltr; }
@media (max-width:860px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .two-col{ grid-template-columns:1fr; gap:32px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .two-col.reverse{ direction:ltr; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col h2{ font-size:clamp(24px,3vw,32px); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col .body-copy{ margin-top:16px; color:var(--ink-soft); font-size:15px; line-height:1.75; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col .body-copy + .body-copy{ margin-top:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-checklist{
  margin-top:20px; display:grid; grid-template-columns:repeat(2,1fr); gap:7px 24px;
  list-style:none; padding:0;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-checklist li{ font-size:13.5px; color:var(--ink-soft); padding-left:14px; position:relative; line-height:1.5; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-checklist li::before{ content:''; position:absolute; left:0; top:8px; width:5px; height:5px; background:var(--gold); border-radius:50%; }
@media (max-width:600px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .service-checklist{ grid-template-columns:1fr; } }

/* ---------- ABOUT / CREDENTIALS (interior About page) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:start; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .credentials{ margin-top:24px; display:grid; gap:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .credentials .row{ display:flex; gap:14px; align-items:baseline; padding-bottom:14px; border-bottom:1px solid var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .credentials .row .k{ font-family:'Playfair Display',serif; font-style:italic; font-size:20px; color:var(--gold); flex-shrink:0; white-space:nowrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .credentials .row .v{ font-size:14.5px; color:var(--ink-soft); flex:1; min-width:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .quote-block, :is(#mptc, #mptc-hdr, #mptc-ftr) .quote-card{ margin-top:24px; padding:26px 28px; background:var(--navy-deep); color:var(--paper); border-radius:var(--radius-md); border-left:3px solid var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .quote-block p, :is(#mptc, #mptc-hdr, #mptc-ftr) .quote-card p{ font-family:'Playfair Display',serif; font-style:italic; font-size:18px; line-height:1.6; color:#E7EAEE;}
:is(#mptc, #mptc-hdr, #mptc-ftr) .quote-block cite, :is(#mptc, #mptc-hdr, #mptc-ftr) .quote-card cite{ display:block; margin-top:14px; font-style:normal; font-size:13px; color:var(--gold-light); font-weight:700; }
@media (max-width:900px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .about-grid{ grid-template-columns:1fr; gap:36px; } }

:is(#mptc, #mptc-hdr, #mptc-ftr) .credential-chips{ display:grid; grid-template-columns:repeat(2, max-content); gap:10px; margin-top:20px; }
@media (max-width:480px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .credential-chips{ grid-template-columns:1fr; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .chip{ display:flex; align-items:center; gap:8px; background:var(--grey); border:1px solid var(--line); border-radius:99px; padding:9px 16px 9px 10px; font-size:13.5px; font-weight:600; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .chip .ic{ width:22px; height:22px; border-radius:50%; background:var(--emerald); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .chip .ic svg{ width:12px; height:12px; }

/* ---------- SERVICES INDEX (rows) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-index{ border-top:1px solid var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row{ display:grid; grid-template-columns:64px 1fr 1.3fr 130px; gap:28px; align-items:center; padding:26px 4px; border-bottom:1px solid var(--line); position:relative; border-radius:var(--radius-sm); transition:background .3s ease, padding-left .3s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .idx{ font-family:'Playfair Display',serif; font-size:26px; font-weight:600; color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row h3{ font-size:18px; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .desc{ font-size:14.5px; color:var(--ink-soft); line-height:1.6; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .go{ font-size:13px; font-weight:700; color:var(--navy); justify-self:end; white-space:nowrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .go:hover{ color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .go::before{ content:''; position:absolute; inset:0; z-index:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row:has(.go):hover{ background:var(--grey); padding-left:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead{ background:var(--navy); margin:0; padding:26px 20px; border-bottom:none; border-radius:var(--radius-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead .idx{ color:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead h3{ color:var(--white); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead .desc{ color:#B7C1CE; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead .go{ color:var(--paper); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead:has(.go):hover{ background:var(--navy-deep); }
@media (max-width:820px){
  :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row{ grid-template-columns:1fr; gap:8px; padding:20px 4px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .go{ justify-self:start; margin-top:6px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row.lead{ padding:20px 16px; }
}

/* ---------- CARD GRID (additional services / detail blocks) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .detail-block{ padding:72px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .detail-block.alt{ background:var(--paper-alt); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .detail-block .two-col{ align-items:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .detail-block .eyebrow{ margin-bottom:10px; }

/* ---------- CALCULATOR ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-panel{ background:var(--navy-deep); border-radius:var(--radius-lg); padding:44px; display:grid; grid-template-columns:0.85fr 1.15fr; gap:44px; color:#fff; position:relative; overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-panel::after{ content:''; position:absolute; inset:0; background:radial-gradient(circle at 90% 100%, rgba(169,133,61,0.22), transparent 55%); pointer-events:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-inputs{ position:relative; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-inputs label{ display:block; font-size:12.5px; color:#9FB0CC; margin:20px 0 8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-inputs label:first-of-type{ margin-top:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-inputs .value{ font-family:'Playfair Display',serif; font-style:italic; color:var(--gold-light); font-size:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) input[type="range"]{ width:100%; accent-color:var(--emerald); height:4px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .calc-results{ position:relative; display:flex; flex-direction:column; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .result-row, :is(#mptc, #mptc-hdr, #mptc-ftr) .result-figure{ display:flex; gap:32px; flex-wrap:wrap; margin-bottom:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .result-row .k, :is(#mptc, #mptc-hdr, #mptc-ftr) .result-figure .k{ font-size:11.5px; letter-spacing:0.04em; text-transform:uppercase; color:#8FA0BC; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .result-row .v, :is(#mptc, #mptc-hdr, #mptc-ftr) .result-figure .v{ font-family:'Playfair Display',serif; font-size:26px; margin-top:4px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .chart-frame{ background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.12); border-radius:var(--radius-md); padding:16px; flex:1; min-height:220px; position:relative; }
@media (max-width:860px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .calc-panel{ grid-template-columns:1fr; padding:28px; } }

/* ---------- PROCESS ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .process-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .process-row > div{ background:var(--grey); border-radius:var(--radius-md); padding:26px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .process-row .step-n{ font-family:'Playfair Display',serif; font-style:italic; font-size:26px; color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .process-row h4{ font-size:15.5px; margin-top:14px; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .process-row p{ font-size:13px; color:var(--ink-soft); margin-top:8px; line-height:1.6; }
@media (max-width:820px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .process-row{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .process-row{ grid-template-columns:1fr; } }

/* ---------- TESTIMONIALS ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-strip{
  display:flex; gap:1px; background:var(--line); overflow-x:auto; scrollbar-width:thin;
  scroll-snap-type:x proximity; scroll-padding-left:32px; border-radius:var(--radius-md); overflow:hidden;
  mask-image:linear-gradient(90deg, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
  -webkit-mask-image:linear-gradient(90deg, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-strip .test-card{ scroll-snap-align:start; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .stars{ color:var(--gold); font-size:13px; letter-spacing:2px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-card{ background:var(--white); min-width:280px; flex:1; padding:26px 24px; display:flex; flex-direction:column; gap:14px; transition:box-shadow .3s ease, transform .3s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); position:relative; z-index:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-card p{ font-size:14px; line-height:1.6; color:var(--ink-soft); flex:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-card .who{ font-size:13px; font-weight:700; color:var(--navy-deep); margin-top:6px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-card .when{ font-size:12px; color:var(--ink-faint); margin-top:2px; }

/* ---------- BLOG ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; display:flex; flex-direction:column; min-height:200px; transition:box-shadow .3s ease, transform .3s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); position:relative; z-index:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card .body{ padding:22px; display:flex; flex-direction:column; flex:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card .topic{ font-size:11px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:var(--emerald-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card h4{ font-size:16px; margin-top:10px; line-height:1.35; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-card .more{ margin-top:auto; padding-top:16px; display:inline-block; font-size:13px; font-weight:700; color:var(--navy); }
@media (max-width:900px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .blog-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .blog-grid{ grid-template-columns:1fr; } }

/* ---------- BLOG INDEX (full listing page) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-layout{ display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:56px; align-items:start; }
@media (max-width:900px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .blog-layout{ grid-template-columns:minmax(0,1fr); } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .blog-layout > *{ min-width:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-list{ display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-row{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md); display:grid; grid-template-columns:120px minmax(0,1fr); gap:20px; padding:18px; transition:box-shadow .3s ease, transform .3s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-row:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); position:relative; z-index:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-row .ph{ aspect-ratio:4/3; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-row .topic{ font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--emerald-deep); font-weight:700; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-row h3{ font-size:16px; margin-top:8px; line-height:1.35; overflow-wrap:anywhere; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-row .more{ margin-top:4px; padding:8px 0; display:inline-block; font-size:12.5px; font-weight:700; color:var(--navy); }
@media (max-width:520px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .post-row{ grid-template-columns:minmax(0,1fr); } :is(#mptc, #mptc-hdr, #mptc-ftr) .post-row .ph{ aspect-ratio:16/9; } }

:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box{ border:1px solid var(--line); border-radius:var(--radius-md); padding:22px; margin-bottom:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box h5{ font-size:11.5px; letter-spacing:0.07em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box ul{ display:grid; gap:2px; list-style:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box ul a{ display:inline-block; padding:7px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box ul a{ font-size:13.5px; color:var(--ink-soft); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box ul a:hover{ color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .sidebar-box input[type="search"]{ width:100%; padding:11px 14px; border:1px solid var(--line); border-radius:99px; background:var(--white); font-family:inherit; font-size:13.5px; }

/* ---------- LEGAL / TERMS PAGE ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-layout{ display:grid; grid-template-columns:260px 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .legal-layout{ grid-template-columns:1fr; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-toc{ position:sticky; top:100px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-toc ul{ display:grid; gap:9px; list-style:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-toc a{ font-size:13px; color:var(--ink-soft); line-height:1.5; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-toc a:hover{ color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-body{ max-width:72ch; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-body h2{ font-size:19px; margin-top:42px; margin-bottom:14px; scroll-margin-top:100px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-body h2:first-child{ margin-top:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-body p{ font-size:14.5px; color:var(--ink-soft); line-height:1.8; margin-bottom:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-body a{ color:var(--navy); text-decoration:underline; text-decoration-color:var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .legal-body strong{ color:var(--navy-deep); }

:is(#mptc, #mptc-hdr, #mptc-ftr) .body-copy a, :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help a, :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro a{
  color:var(--navy); font-weight:600; background-image:linear-gradient(var(--gold), var(--gold));
  background-repeat:no-repeat; background-position:0 100%; background-size:0% 1px;
  transition:background-size .35s cubic-bezier(.16,.84,.44,1), color .25s ease;
  padding-bottom:1px;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .body-copy a:hover, :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help a:hover, :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro a:hover{ background-size:100% 1px; color:var(--gold); }

/* ---------- LOCATION CARD ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .location-card{ display:grid; grid-template-columns:1fr 260px; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; background:var(--paper); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .location-map{ min-height:220px; background:var(--paper-alt); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .location-details{ padding:26px; display:flex; flex-direction:column; justify-content:center; }
@media (max-width:700px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .location-card{ grid-template-columns:1fr; } :is(#mptc, #mptc-hdr, #mptc-ftr) .location-map{ height:220px; } }

/* ---------- HUB PAGES ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-offer{ background:var(--navy); color:var(--paper); border-radius:var(--radius-md); padding:34px 36px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-offer p{ font-size:16px; color:var(--white); max-width:60ch; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-stat-row{ display:flex; gap:44px; flex-wrap:wrap; margin-top:28px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-stat-row div{ border-left:2px solid var(--gold); padding-left:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-stat-row .n{ font-family:'Playfair Display',serif; font-style:italic; font-size:22px; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-stat-row .l{ font-size:12px; color:var(--ink-faint); margin-top:2px; max-width:20ch; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro{ max-width:74ch; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro-grid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:56px; align-items:start; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro-grid .hub-intro{ max-width:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro-img{ aspect-ratio:4/5; object-fit:cover; object-position:center; border-radius:var(--radius-md); box-shadow:0 24px 50px -28px rgba(21,43,79,.45); }
@media (max-width:900px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro-grid{ grid-template-columns:minmax(0,1fr); gap:28px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro-img{ aspect-ratio:16/10; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro p{ font-size:15.5px; color:var(--ink-soft); line-height:1.85; margin-bottom:18px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-intro p:first-child{ font-size:19px; color:var(--navy-deep); line-height:1.6; font-weight:600; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help{ max-width:74ch; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help h3{ font-size:16px; margin-top:28px; margin-bottom:10px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help h3:first-child{ margin-top:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help p{ font-size:15px; color:var(--ink-soft); line-height:1.8; margin-bottom:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hub-help strong{ color:var(--navy-deep); }

/* ---------- BLOG POST ARTICLE ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-meta{ display:flex; gap:16px; align-items:center; font-size:12.5px; color:var(--ink-faint); margin-bottom:18px; flex-wrap:wrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-meta .topic{ color:var(--gold); font-weight:700; letter-spacing:0.04em; text-transform:uppercase; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body{ max-width:72ch; min-width:0; overflow-wrap:break-word; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body .stub-note{ border:1px dashed var(--line); background:var(--paper-alt); border-radius:var(--radius-sm); padding:22px 24px; font-size:13.5px; color:var(--ink-soft); line-height:1.7; margin:26px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body .stub-note b{ color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body :is(h1,h2,h3,h4){ margin-top:38px; margin-bottom:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body h2{ font-size:24px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body h3{ font-size:19px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body h4{ font-size:16px; font-weight:700; text-transform:uppercase; letter-spacing:0.03em; color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body p{ font-size:15.5px; color:var(--ink); line-height:1.8; margin-bottom:18px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body ul, :is(#mptc, #mptc-hdr, #mptc-ftr) .post-body ol{ margin:0 0 18px 22px; display:grid; gap:8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body li{ font-size:15.5px; color:var(--ink); line-height:1.7; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body a{ color:var(--navy); font-weight:600; text-decoration:underline; text-decoration-color:var(--line); text-underline-offset:2px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body a:hover{ color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body a, :is(#mptc, #mptc-hdr, #mptc-ftr) .post-body li{ overflow-wrap:anywhere; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .soc-links a{ display:inline-block; padding:11px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .go, :is(#mptc, #mptc-hdr, #mptc-ftr) .service-row .go{ min-height:44px; display:inline-flex; align-items:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body strong{ color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body blockquote{ margin:24px 0; padding:4px 0 4px 20px; border-left:3px solid var(--gold); color:var(--ink-soft); font-style:italic; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body table{ width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; display:block; overflow-x:auto; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body th, :is(#mptc, #mptc-hdr, #mptc-ftr) .post-body td{ border:1px solid var(--line); padding:10px 12px; text-align:left; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body th{ background:var(--paper-alt); font-weight:600; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body img{ width:100%; height:auto; margin:22px 0; border-radius:var(--radius-sm); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-body hr{ border:none; border-top:1px solid var(--line); margin:32px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-cta{ margin-top:40px; padding:30px; background:var(--navy); color:var(--paper); border-radius:var(--radius-md); display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-cta h4{ color:var(--white); font-size:19px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .post-cta p{ font-size:13.5px; color:#B7C1CE; margin-top:6px; }

/* ---------- FAQ ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .faq-item{ border-bottom:1px solid var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .faq-q{ width:100%; text-align:left; background:none; border:none; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 0; font-size:16.5px; font-weight:700; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .faq-q .plus{ width:26px; height:26px; border-radius:50%; background:var(--grey); display:flex; align-items:center; justify-content:center; font-size:16px; color:var(--navy); flex-shrink:0; transition:transform .2s ease, background .2s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .faq-item.open .faq-q .plus{ transform:rotate(45deg); background:var(--emerald-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .faq-a{ max-height:0; overflow:hidden; transition:max-height .28s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .faq-a p{ padding-bottom:22px; font-size:14.5px; color:var(--ink-soft); max-width:70ch; line-height:1.7; }

/* ---------- MOBILE PADDING FIX ----------
   Several section wrappers combine directly with .wrap but also carry their
   own vertical-spacing shorthand, which can zero horizontal padding on the
   same element. Restated here as higher-specificity compound selectors with
   the complete shorthand so it can't be reassembled into a broken version. */
:is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.nav-row{ padding:14px 32px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.page-hero-inner{ padding:74px 32px 58px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.trust-row{ padding:44px 32px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.hero-inner{ padding:64px 32px 0; }
@media (max-width:640px){
  :is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.nav-row{ padding:14px 22px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.page-hero-inner{ padding:74px 22px 58px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.trust-row{ padding:44px 22px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .wrap.hero-inner{ padding:64px 22px 0; }
}

/* ---------- FORMS (contact / quote) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .form-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .form-grid.single{ grid-template-columns:1fr; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .field{ display:flex; flex-direction:column; gap:8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .field label{ font-size:12px; letter-spacing:0.05em; text-transform:uppercase; color:var(--ink-soft); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .field label .req{ color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .field input[type="text"], :is(#mptc, #mptc-hdr, #mptc-ftr) .field input[type="email"], :is(#mptc, #mptc-hdr, #mptc-ftr) .field input[type="tel"], :is(#mptc, #mptc-hdr, #mptc-ftr) .field textarea{
  padding:13px 15px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--white); font-family:inherit; font-size:14.5px; color:var(--ink);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .field textarea{ min-height:120px; resize:vertical; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .check-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px 20px; margin-top:6px; }
@media (max-width:760px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .check-grid{ grid-template-columns:1fr 1fr; } :is(#mptc, #mptc-hdr, #mptc-ftr) .form-grid{ grid-template-columns:1fr; } }
@media (max-width:480px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .check-grid{ grid-template-columns:1fr; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .check-item{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:var(--ink-soft); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .check-item input{ margin-top:3px; accent-color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .form-note{ font-size:12.5px; color:var(--ink-faint); margin-top:18px; }

/* ---------- CLOSING CTA ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .closing{ background:var(--navy-deep); color:var(--white); text-align:center; padding:96px 0; position:relative; overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .closing::before{ content:''; position:absolute; top:-140px; left:-100px; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle, rgba(169,133,61,0.25), transparent 70%); pointer-events:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .closing h2{ color:var(--white); font-size:clamp(26px,3.6vw,40px); max-width:20ch; margin:0 auto; position:relative; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .closing .lede{ margin:20px auto 0; color:#B7C1CE; max-width:50ch; font-size:15.5px; position:relative; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .closing .hero-actions{ justify-content:center; margin-top:32px; position:relative; }

/* ---------- NEWSLETTER ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .newsletter{ padding:52px 0; border-bottom:1px solid var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nl-row{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nl-row h4{ font-size:19px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nl-row p{ font-size:13.5px; color:var(--ink-soft); margin-top:6px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nl-form{ display:flex; gap:10px; flex-wrap:wrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .nl-form input{ padding:12px 16px; border:1px solid var(--line); border-radius:99px; font-size:14px; min-width:180px; font-family:inherit; }

/* ---------- FOOTER ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) footer.site{ background:var(--navy-deep); color:#B7C1CE; padding:56px 0 26px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-grid{ display:grid; grid-template-columns:1.3fr 0.9fr 1fr; gap:44px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-grid .foot-logo img{ height:32px; width:auto; filter:brightness(0) invert(1); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-grid .foot-tag{ font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold-light); margin-top:8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-grid p.about{ font-size:13.5px; margin-top:16px; line-height:1.7; max-width:32ch; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-grid p.about strong{ color:var(--paper); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-links{ margin-top:20px; display:flex; gap:10px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-links a{ width:40px; height:40px; flex:0 0 40px; border:1px solid rgba(255,255,255,0.15); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-links a:hover{ border-color:var(--gold); color:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-col h5{ font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold-light); margin-bottom:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-col ul{ display:grid; gap:11px; list-style:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-col ul a{ font-size:13px; text-transform:uppercase; letter-spacing:0.03em; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-col ul a:hover{ color:var(--white); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-contact li{ font-size:13.5px; display:flex; gap:10px; text-transform:none; letter-spacing:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .foot-bottom{ margin-top:48px; padding-top:20px; border-top:1px solid rgba(255,255,255,0.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; color:#7C8AA3; }
@media (max-width:820px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .foot-grid{ grid-template-columns:1fr; gap:36px; } }

/* ---------- HOMEPAGE HERO (rich, abstract, centered) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero{ position:relative; overflow:hidden; padding:0; background:radial-gradient(ellipse 140% 100% at 50% 0%, #0F2647 0%, #081527 48%, #050D1B 100%); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-grid-lines{
  position:absolute; inset:0; opacity:0.5;
  background-image:linear-gradient(rgba(169,133,61,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(169,133,61,0.14) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 75% 65% at 50% 20%, black 10%, transparent 75%);
  mask-image:radial-gradient(ellipse 75% 65% at 50% 20%, black 10%, transparent 75%);
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-bg{ position:absolute; inset:0; overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-bg span{ position:absolute; border-radius:50%; filter:blur(70px); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-bg .b1{ width:780px; height:780px; top:-320px; left:50%; margin-left:-100px; background:radial-gradient(circle, rgba(15,143,104,0.5) 0%, transparent 68%); animation:heroDrift1 20s ease-in-out infinite; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-bg .b2{ width:560px; height:560px; bottom:-260px; left:-140px; background:radial-gradient(circle, rgba(169,133,61,0.38) 0%, transparent 70%); animation:heroDrift2 24s ease-in-out infinite; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-bg .b3{ width:520px; height:520px; top:10%; right:-180px; background:radial-gradient(circle, rgba(51,86,143,0.55) 0%, transparent 70%); animation:heroDrift1 27s ease-in-out infinite reverse; }
@keyframes heroDrift1{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(-30px,25px); } }
@keyframes heroDrift2{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(25px,-30px); } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-particles{ position:absolute; inset:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-particles span{ position:absolute; width:3px; height:3px; border-radius:50%; background:var(--gold-light); opacity:0; animation:twinkle 5s ease-in-out infinite; }
@keyframes twinkle{ 0%,100%{ opacity:0; transform:scale(0.6); } 50%{ opacity:0.85; transform:scale(1); } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-grain{ position:absolute; inset:0; opacity:0.045; mix-blend-mode:overlay; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-fade-bottom{ position:absolute; left:0; right:0; bottom:0; height:140px; background:linear-gradient(to bottom, transparent, var(--navy-deep)); pointer-events:none; }

:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-inner{ position:relative; padding:64px 0 0; text-align:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-top{ max-width:980px; margin:0 auto; display:flex; flex-direction:column; align-items:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero h1{
  font-size:clamp(32px,4.6vw,54px); margin-top:26px; max-width:19ch; color:#F3F1EA;
  font-weight:700; letter-spacing:-0.015em; line-height:1.18;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero h1 .soft{ font-weight:400; color:#9FACC4; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .shimmer{
  background:linear-gradient(100deg, var(--gold) 20%, #F4E4BC 42%, var(--gold-light) 55%, var(--gold) 78%);
  background-size:250% auto; -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:shimmer 5s linear infinite; font-family:'Playfair Display',serif; font-style:italic; font-weight:600;
}
@keyframes shimmer{ to{ background-position:-250% center; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero .lede{ margin-top:24px; font-size:17px; color:#9FACC4; max-width:46ch; line-height:1.7; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-actions{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }

:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline{ display:flex; gap:0; margin-top:52px; justify-content:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline div{ padding:0 26px; border-left:1px solid rgba(169,133,61,0.3); max-width:160px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline div:first-child{ padding-left:0; border-left:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline .n{ font-family:'Playfair Display',serif; font-weight:600; font-size:26px; color:#F3F1EA; display:block; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline .l{ font-size:11.5px; color:#7C8AA6; margin-top:6px; line-height:1.4; }
@media (max-width:640px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline{ flex-wrap:wrap; row-gap:18px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .hero-stats-inline div{ padding:0 16px; max-width:none; } }

:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-graphic{ position:relative; margin-top:60px; height:260px; max-width:920px; margin-left:auto; margin-right:auto; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-graphic svg{ width:100%; height:100%; overflow:visible; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hg-line{ fill:none; stroke-linecap:round; stroke-linejoin:round; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hg-node{ filter:drop-shadow(0 0 6px currentColor); }
@media (max-width:700px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .hero-graphic{ height:180px; margin-top:40px; } }

/* ---------- ABOUT PHOTO (homepage preview) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo{ position:relative; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo::before{ content:''; position:absolute; top:-22px; left:-22px; width:100%; height:100%; background:var(--emerald-light); border-radius:var(--radius-lg); z-index:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo img{ position:relative; z-index:1; border-radius:var(--radius-lg); width:100%; aspect-ratio:4/4.4; object-fit:cover; box-shadow:var(--shadow-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo .name-chip{ position:absolute; z-index:2; bottom:-16px; left:22px; background:#fff; border-radius:99px; padding:9px 18px 9px 9px; display:flex; align-items:center; gap:10px; box-shadow:var(--shadow-md); border:1px solid var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo .name-chip .dot{ width:32px; height:32px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-size:13px; flex-shrink:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo .name-chip .txt div:first-child{ font-size:12.5px; font-weight:700; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .about-photo .name-chip .txt div:last-child{ font-size:11px; color:var(--ink-faint); }

/* ---------- VALUES BAND (dark, glass cards) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:28px; transition:transform .25s ease, box-shadow .25s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-card .icon{ width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-card .icon svg{ width:22px; height:22px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-card h3{ font-size:18px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .value-card p{ margin-top:8px; font-size:14.5px; color:var(--ink-soft); line-height:1.65; }
@media (max-width:820px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .value-grid{ grid-template-columns:1fr; } }

:is(#mptc, #mptc-hdr, #mptc-ftr) .values-band{ position:relative; overflow:hidden; background:var(--navy-deep); padding:96px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-bg{ position:absolute; inset:0; overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-bg span{ position:absolute; border-radius:50%; filter:blur(80px); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-bg .vb1{ width:520px; height:520px; top:-220px; left:-120px; background:radial-gradient(circle, rgba(15,143,104,0.4), transparent 70%); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-bg .vb2{ width:460px; height:460px; bottom:-220px; right:-120px; background:radial-gradient(circle, rgba(169,133,61,0.32), transparent 70%); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-band .value-card{ background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12); backdrop-filter:blur(6px); position:relative; overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-band .value-card:hover{ background:rgba(255,255,255,0.08); border-color:rgba(210,179,106,0.4); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-band .value-num{ position:absolute; top:18px; right:22px; font-family:'Playfair Display',serif; font-style:italic; font-size:15px; color:rgba(255,255,255,0.22); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-band .value-card h3{ color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .values-band .value-card p{ color:#9FACC4; }

/* ---------- SPECIALTY CARDS (homepage grid, hover→navy) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:26px; position:relative;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .35s ease;
}
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; background:var(--navy); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover h3, :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover p{ color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover .icon{ background:rgba(255,255,255,0.16); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover .icon svg{ stroke:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover .go{ color:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead{ background:var(--navy); border-color:var(--navy); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead h3, :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead p{ color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead .icon{ background:rgba(255,255,255,0.16); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card h3, :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card p, :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .icon, :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .icon svg, :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .go{ transition:color .3s ease, background .3s ease, stroke .3s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .icon{ width:44px; height:44px; border-radius:12px; background:var(--emerald-light); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .icon svg{ width:22px; height:22px; stroke:var(--emerald-deep); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead .icon svg{ stroke:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card h3{ font-size:17.5px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card p{ margin-top:8px; font-size:14px; color:var(--ink-soft); line-height:1.6; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .go{ margin-top:16px; display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--navy); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead .go{ color:var(--gold-light); }
@media (min-width:601px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.lead{ grid-column:span 2; } }
@media (min-width:901px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card.wide{ grid-column:span 2; } }
@media (max-width:900px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .spec-grid{ grid-template-columns:1fr; } }

/* ---------- TESTIMONIAL FEATURE (big pull-quote) ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature{ background:var(--grey); border-radius:var(--radius-lg); padding:44px; display:grid; grid-template-columns:auto 1fr; gap:32px; align-items:center; margin-bottom:20px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature .mark{ font-family:'Playfair Display',serif; font-size:64px; color:var(--gold); line-height:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature p{ font-family:'Playfair Display',serif; font-style:italic; font-size:21px; color:var(--navy-deep); line-height:1.5; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature cite{ display:block; margin-top:16px; font-style:normal; font-size:13.5px; font-weight:700; color:var(--ink-soft); }
@media (max-width:700px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature{ grid-template-columns:1fr; padding:28px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature .mark{ display:none; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature-content{ transition:opacity .3s ease; min-height:96px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature-dots{ display:flex; justify-content:center; gap:10px; margin-bottom:64px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature-dots .dot{ width:8px; height:8px; border-radius:50%; background:var(--line); border:none; padding:0; cursor:pointer; transition:background .25s ease, transform .25s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature-dots .dot:hover{ background:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-feature-dots .dot.active{ background:var(--gold); transform:scale(1.3); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .test-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:820px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .test-grid{ grid-template-columns:1fr; } }

/* reveal-on-load, single orchestrated pass */
:is(#mptc, #mptc-hdr, #mptc-ftr) .reveal{ opacity:0; animation:reveal .7s ease forwards; }
@keyframes reveal{ to{ opacity:1; } }

/* hero assurance line (Tax Protection Plus) */
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-assure{ display:block; text-align:center; text-wrap:balance; margin-top:22px; font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .hero-assure svg{ display:inline-block; vertical-align:-3px; margin-right:8px; }

/* ---------- INTERIOR HERO: animated line + nodes ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-line{ position:absolute; right:0; bottom:0; width:min(66%, 860px); height:100%; pointer-events:none; opacity:.8; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-line svg{ width:100%; height:100%; overflow:visible; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-line-path{ fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; animation:phDraw 2.2s cubic-bezier(.16,.84,.44,1) .35s forwards; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node{ opacity:0; transform-box:fill-box; transform-origin:center; animation:phNode .6s ease-out forwards; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node circle{ transform-box:fill-box; transform-origin:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node .halo{ opacity:.45; animation:phPulse 3.2s ease-out infinite; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node.n1{ animation-delay:.9s; } :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node.n1 .halo{ animation-delay:1.5s; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node.n2{ animation-delay:1.5s; } :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node.n2 .halo{ animation-delay:2.4s; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node.n3{ animation-delay:2.2s; } :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node.n3 .halo{ animation-delay:3.3s; }
@keyframes phDraw{ to{ stroke-dashoffset:0; } }
@keyframes phNode{ from{ opacity:0; } to{ opacity:1; } }
@keyframes phPulse{ 0%{ transform:scale(1); opacity:.5; } 70%,100%{ transform:scale(3.6); opacity:0; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .page-hero-inner{ z-index:1; }
@media (max-width:700px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-line{ width:100%; opacity:.4; } }
@media (prefers-reduced-motion: reduce){
  :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-line-path{ animation:none; stroke-dashoffset:0; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node{ animation:none; opacity:1; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .ph-node .halo{ animation:none; opacity:0; }
}

/* ---------- FREE TOOL LANDING / THANK-YOU ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:34px; box-shadow:0 24px 50px -30px rgba(21,43,79,.35); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card h3{ font-size:20px; margin-bottom:8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card-sub{ font-size:14px; color:var(--ink-soft); margin-bottom:22px; line-height:1.6; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card-fine{ font-size:12px; color:var(--ink-faint); margin-top:14px; text-align:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card .form-slot{ display:grid; gap:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card .field label{ display:block; font-size:12.5px; font-weight:600; color:var(--navy-deep); margin-bottom:6px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card .field label.consent{ text-transform:none; letter-spacing:0; font-weight:500; font-size:12.5px; color:var(--ink-soft); line-height:1.5; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card .field input[type="text"], :is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card .field input[type="email"]{ width:100%; padding:13px 16px; border:1px solid var(--line); border-radius:12px; font:inherit; font-size:14px; background:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card .btn{ width:100%; justify-content:center; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-preview{ max-width:900px; margin:0 auto; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; box-shadow:0 30px 60px -34px rgba(21,43,79,.45); background:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-preview img{ display:block; width:100%; height:auto; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tool-preview-note{ font-size:12.5px; color:var(--ink-faint); text-align:center; margin-top:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .thanks-download{ margin-top:22px; padding:30px; background:var(--grey); border:1px solid var(--line); border-radius:var(--radius-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .thanks-download p{ margin-top:14px; font-size:14px; color:var(--ink-soft); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .thanks-steps{ margin:14px 0 0 20px; display:grid; gap:10px; font-size:15px; color:var(--ink-soft); line-height:1.7; }
@media (max-width:600px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .tool-card{ padding:26px 22px; } }

/* ---------- TAX CORNER ARCHIVE ---------- */
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-head{ margin-bottom:26px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-head-sm{ margin:56px 0 22px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-head-sm h3{ font-size:22px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tiles{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tile{ display:flex; flex-direction:column; gap:6px; padding:22px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tile:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-ico{ width:42px; height:42px; border-radius:12px; background:var(--grey); color:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-ico svg{ width:22px; height:22px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tile-name{ font-weight:700; font-size:15px; color:var(--navy-deep); line-height:1.3; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tile-n{ font-size:12.5px; color:var(--ink-faint); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-fgrid, :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-card{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .25s ease, transform .25s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-card[hidden]{ display:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-img{ display:block; aspect-ratio:16/10; background:linear-gradient(135deg,var(--navy),var(--navy-deep)); overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-card:hover .tc-img img{ transform:scale(1.04); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-body{ padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-topic{ font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--emerald-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-body h3{ font-size:17px; line-height:1.35; margin:8px 0 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-body h3 a{ color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-body h3 a::after{ content:''; position:absolute; inset:0; z-index:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-ex{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; margin:10px 0 0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-meta{ margin-top:auto; padding-top:16px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:12.5px; color:var(--ink-faint); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-meta .more{ font-weight:700; color:var(--navy); font-size:13px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-bar{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; position:sticky; top:72px; z-index:20; background:rgba(255,255,255,.96); backdrop-filter:blur(8px); padding:14px 0; border-bottom:1px solid var(--line); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-search{ position:relative; flex:1 1 320px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-search svg{ position:absolute; left:16px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:var(--ink-faint); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-search input{ width:100%; padding:13px 18px 13px 44px; border:1px solid var(--line); border-radius:99px; font:inherit; font-size:14.5px; background:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-search input:focus{ outline:2px solid var(--gold); outline-offset:1px; border-color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-sort label{ font-size:12.5px; font-weight:600; color:var(--ink-soft); display:flex; align-items:center; gap:8px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-sort select, :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-catselect{ padding:11px 14px; border:1px solid var(--line); border-radius:12px; font:inherit; font-size:14px; background:#fff; color:var(--navy-deep); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pills{ display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 6px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pill{ border:1px solid var(--line); background:#fff; color:var(--navy-deep); border-radius:99px; padding:9px 15px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; display:inline-flex; gap:8px; align-items:center; transition:background .2s ease, color .2s ease, border-color .2s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pill span{ font-size:11.5px; color:var(--ink-faint); font-weight:700; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pill:hover{ border-color:var(--gold); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pill.on{ background:var(--navy); border-color:var(--navy); color:#fff; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pill.on span{ color:var(--gold-light); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-catselect{ display:none; width:100%; margin:16px 0 4px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-countrow{ display:flex; justify-content:space-between; align-items:center; gap:16px; margin:14px 0 22px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-count{ font-size:13.5px; color:var(--ink-soft); margin:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-clear{ background:none; border:0; color:var(--navy); font:inherit; font-size:13px; font-weight:700; cursor:pointer; text-decoration:underline; text-underline-offset:3px; padding:6px 0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-clear[hidden], :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-more[hidden], :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-empty[hidden]{ display:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-more{ text-align:center; margin-top:34px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-empty{ text-align:center; padding:60px 20px; background:var(--grey); border-radius:var(--radius-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-empty p{ margin:8px 0 18px; color:var(--ink-soft); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-guides{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-guide{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:18px 22px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); font-weight:700; font-size:14.5px; color:var(--navy-deep); transition:border-color .2s ease, box-shadow .2s ease; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-guide:hover{ border-color:var(--gold); box-shadow:var(--shadow-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-promo{ background:var(--navy-deep); color:#fff; border-radius:var(--radius-lg); padding:40px 44px; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-promo h2{ color:#fff; font-size:26px; margin:6px 0 10px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .tc-promo p{ color:#B9C4D8; font-size:14.5px; max-width:56ch; }
@media (max-width:1000px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); } :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-fgrid, :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-guides{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px){
  :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-pills{ display:none; } :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-catselect{ display:block; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-bar{ top:64px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-sort{ width:100%; } :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-sort label{ justify-content:space-between; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-fgrid, :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-grid, :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-guides{ grid-template-columns:minmax(0,1fr); }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tiles{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-tile{ padding:16px; }
  :is(#mptc, #mptc-hdr, #mptc-ftr) .tc-promo{ padding:30px 24px; }
}

/* Whole specialty card is clickable (stretched link keeps one real link for SEO + accessibility) */
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .go::after{ content:''; position:absolute; inset:0; border-radius:inherit; z-index:1; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:has(.go){ cursor:pointer; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:has(.go):focus-within{ outline:2px solid var(--gold); outline-offset:3px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .go:focus-visible{ outline:none; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card:hover .go{ gap:10px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .spec-card .go{ transition:color .3s ease, gap .25s ease; }

/* Breathing room between an eyebrow pill and the heading under it in two-column blocks */
:is(#mptc, #mptc-hdr, #mptc-ftr) .two-col .eyebrow + h2{ margin-top:16px; }
/* Request a Quote intro: image left, copy right */
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-intro{ gap:64px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-img .photo{ width:100%; display:block; object-fit:cover; border-radius:var(--radius-md); }
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-contact{ list-style:none; padding:0; margin:26px 0 0; display:grid; gap:14px; color:var(--ink-soft); font-size:15px; line-height:1.55; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-jump{ margin-top:32px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) #quote-form{ scroll-margin-top:84px; }
@media (max-width:860px){ :is(#mptc, #mptc-hdr, #mptc-ftr) .rq-intro{ gap:36px; } :is(#mptc, #mptc-hdr, #mptc-ftr) .rq-intro .rq-img{ order:2; } :is(#mptc, #mptc-hdr, #mptc-ftr) .rq-img .photo{ aspect-ratio:4/3 !important; } :is(#mptc, #mptc-hdr, #mptc-ftr) .rq-jump{ margin-top:26px; } }
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-copy .eyebrow{ margin-bottom:16px; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-copy .eyebrow + h2{ margin-top:0; }
:is(#mptc, #mptc-hdr, #mptc-ftr) .rq-copy h2{ margin-top:0; }


/* ===== WordPress / Kadence integration (outside the scoped wrapper) ===== */
/* Only applies to pages the plugin marks with body.mptc-page */
body.mptc-page:not(.single) .entry-hero.page-hero-section,
body.mptc-page:not(.single) .entry-header,
body.mptc-page:not(.single) .entry-title{ display:none !important; } /* our hero supplies the single H1 */
body.mptc-page:not(.single) .content-area{ margin-top:0 !important; margin-bottom:0 !important; }
body.mptc-page:not(.single) .content-container.site-container{ max-width:none !important; padding-left:0 !important; padding-right:0 !important; }
body.mptc-page:not(.single) .entry.content-bg, body.mptc-page:not(.single) .entry.single-entry{ background:transparent !important; box-shadow:none !important; }
body.mptc-page:not(.single) .entry-content-wrap{ padding:0 !important; }
body.mptc-page:not(.single) .entry-content, body.mptc-page:not(.single) .single-content{ margin:0 !important; }
body.mptc-page:not(.single) .comments-area, body.mptc-page:not(.single) .entry-footer{ display:none !important; }

/* ===== Blog post template extras (old WordPress content is unpredictable, so be defensive) ===== */
.mptc-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
:is(#mptc) .mptc-article{ min-width:0; }
:is(#mptc) .mptc-feature img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-md); display:block; }
:is(#mptc) .post-body img{ width:auto; max-width:100%; height:auto; }
:is(#mptc) .post-body figure{ margin:22px 0; }
:is(#mptc) .post-body figcaption{ font-size:12.5px; color:var(--ink-faint); margin-top:8px; }
:is(#mptc) .post-body .alignleft{ float:left; margin:6px 22px 14px 0; max-width:50%; }
:is(#mptc) .post-body .alignright{ float:right; margin:6px 0 14px 22px; max-width:50%; }
:is(#mptc) .post-body .aligncenter{ display:block; margin-left:auto; margin-right:auto; }
:is(#mptc) .post-body::after{ content:""; display:block; clear:both; }
:is(#mptc) .post-body iframe, :is(#mptc) .post-body video, :is(#mptc) .post-body embed{ max-width:100%; }
:is(#mptc) .post-body table{ display:block; overflow-x:auto; }
:is(#mptc) .post-body{ overflow-wrap:break-word; }
:is(#mptc) .post-body table{ overflow-wrap:normal; word-break:normal; }
:is(#mptc) .post-body th, :is(#mptc) .post-body td{ min-width:70px; }
:is(#mptc) .post-row .mptc-thumb{ display:block; aspect-ratio:4/3; border-radius:var(--radius-sm); overflow:hidden; background:linear-gradient(135deg,var(--navy),var(--navy-deep)); }
:is(#mptc) .post-row .mptc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:520px){ :is(#mptc) .post-row .mptc-thumb{ aspect-ratio:16/9; } }
:is(#mptc) .sidebar-box ul li{ list-style:none; }
:is(#mptc) .mptc-comments{ margin-top:48px; font-size:15px; overflow-wrap:break-word; }
:is(#mptc) .mptc-comments img.avatar{ width:40px; height:40px; border-radius:50%; display:inline-block; vertical-align:middle; margin-right:10px; }
:is(#mptc) .mptc-comments ol, :is(#mptc) .mptc-comments ul{ list-style:none; padding:0; margin:0; }
:is(#mptc) .mptc-comments *{ max-width:100%; box-sizing:border-box; }
:is(#mptc) .mptc-comments textarea, :is(#mptc) .mptc-comments input[type="text"], :is(#mptc) .mptc-comments input[type="email"], :is(#mptc) .mptc-comments input[type="url"]{ width:100%; }

/* ===== Form styling: wrap your existing form in an element with the class  mptc-form-wrap  =====
   Covers Contact Form 7, WPForms, Gravity Forms, Kadence Forms, Fluent Forms, Ninja Forms, Forminator and plain forms.
   !important is used on purpose, because form plugins ship very specific styles of their own. It only affects the wrapper. */
.mptc-form-wrap{ background:var(--grey); padding:0 22px 88px; font-family:'Montserrat',system-ui,sans-serif; color:var(--ink); line-height:1.6; }
.mptc-form-wrap > *{ max-width:760px; margin-left:auto; margin-right:auto; }
.mptc-form-wrap *, .mptc-form-wrap *::before, .mptc-form-wrap *::after{ box-sizing:border-box; }
.mptc-form-wrap label, .mptc-form-wrap legend, .mptc-form-wrap .wpforms-field-label, .mptc-form-wrap .gfield_label, .mptc-form-wrap .ff-el-input--label label, .mptc-form-wrap .nf-field-label label, .mptc-form-wrap .forminator-label{
  display:block; font-size:13px !important; font-weight:600 !important; color:var(--navy-deep) !important; margin:0 0 6px !important; font-family:inherit !important; }
.mptc-form-wrap input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.mptc-form-wrap select, .mptc-form-wrap textarea{
  width:100% !important; max-width:100% !important; height:auto !important; padding:13px 16px !important; border:1px solid #D9DEE6 !important; border-radius:12px !important;
  background:#fff !important; font:inherit !important; font-size:15px !important; color:var(--ink) !important; box-shadow:none !important; }
.mptc-form-wrap textarea{ min-height:150px; }
.mptc-form-wrap input:focus, .mptc-form-wrap select:focus, .mptc-form-wrap textarea:focus{ outline:2px solid var(--gold) !important; outline-offset:1px; border-color:var(--gold) !important; }
.mptc-form-wrap input[type="checkbox"], .mptc-form-wrap input[type="radio"]{ width:auto !important; margin-right:8px; accent-color:var(--navy); }
.mptc-form-wrap p, .mptc-form-wrap .wpforms-field, .mptc-form-wrap .gfield, .mptc-form-wrap .ff-el-group, .mptc-form-wrap .nf-field-container, .mptc-form-wrap .forminator-field{ margin-bottom:18px; }
.mptc-form-wrap input[type="submit"], .mptc-form-wrap button[type="submit"], .mptc-form-wrap button.wpforms-submit, .mptc-form-wrap .gform_button, .mptc-form-wrap .kb-forms-submit,
.mptc-form-wrap .ff-btn-submit, .mptc-form-wrap input[type="button"].nf-element, .mptc-form-wrap .forminator-button-submit, .mptc-form-wrap .wpcf7-submit{
  background:var(--gold) !important; color:#fff !important; border:0 !important; border-radius:999px !important; padding:15px 32px !important; width:auto !important; font:inherit !important;
  font-size:12.5px !important; font-weight:700 !important; letter-spacing:.08em !important; text-transform:uppercase !important; cursor:pointer; box-shadow:none !important; height:auto !important; }
.mptc-form-wrap input[type="submit"]:hover, .mptc-form-wrap button[type="submit"]:hover, .mptc-form-wrap .gform_button:hover, .mptc-form-wrap .kb-forms-submit:hover,
.mptc-form-wrap .ff-btn-submit:hover, .mptc-form-wrap .forminator-button-submit:hover, .mptc-form-wrap .wpcf7-submit:hover{ background:var(--navy-deep) !important; color:#fff !important; }
/* WPForms specifics: sub-labels, required stars, descriptions, name/address column rows, submit spacing */
.mptc-form-wrap .wpforms-field-sublabel, .mptc-form-wrap .wpforms-field-description, .mptc-form-wrap .wpforms-field-limit-text{ font-size:12px !important; color:var(--ink-faint) !important; font-family:inherit !important; margin-top:5px; }
.mptc-form-wrap .wpforms-required-label{ color:var(--gold) !important; }
.mptc-form-wrap .wpforms-field-row{ gap:14px; }
.mptc-form-wrap .wpforms-field-row input, .mptc-form-wrap .wpforms-field-row select{ margin-bottom:0; }
.mptc-form-wrap .wpforms-field-large, .mptc-form-wrap .wpforms-field-medium, .mptc-form-wrap .wpforms-field-small{ max-width:100% !important; }
.mptc-form-wrap .wpforms-container .wpforms-field{ padding:0 0 18px !important; }
.mptc-form-wrap .wpforms-submit-container{ padding-top:6px; }
.mptc-form-wrap .wpforms-field-checkbox li, .mptc-form-wrap .wpforms-field-radio li{ list-style:none; margin:0 0 8px; }
.mptc-form-wrap .wpforms-field-checkbox ul, .mptc-form-wrap .wpforms-field-radio ul{ list-style:none; padding:0; margin:0; }
.mptc-form-wrap .wpcf7-not-valid-tip, .mptc-form-wrap .wpforms-error, .mptc-form-wrap .validation_message, .mptc-form-wrap .nf-error-msg{ color:#B3261E !important; font-size:12.5px !important; margin-top:6px; }
.mptc-form-wrap .wpcf7-response-output, .mptc-form-wrap .wpforms-confirmation-container-full, .mptc-form-wrap .gform_confirmation_message{
  border:1px solid var(--gold) !important; background:#fff !important; border-radius:12px; padding:16px 20px !important; margin:20px 0 0 !important; color:var(--navy-deep) !important; }

/* ===== New site header / footer (printed by the plugin) ===== */
#mptc-hdr{ display:contents; }
body.admin-bar #mptc-hdr header.site{ top:32px; }
@media (max-width:782px){ body.admin-bar #mptc-hdr header.site{ top:46px; } }
#mptc-ftr{ clear:both; }

/* ===== Free tool landing form card ===== */
.tool-card .mptc-form-wrap{ max-width:none; }
.tool-card .wpforms-field{ padding:0 0 14px !important; margin:0 !important; }
.tool-card .wpforms-submit-container button, .tool-card .wpforms-submit-container input[type="submit"]{ width:100% !important; }
.tool-card .wpforms-field-checkbox label, .tool-card .wpforms-field-checkbox li label{ text-transform:none !important; letter-spacing:0 !important; font-weight:500 !important; font-size:12.5px !important; }

body.admin-bar #mptc .tc-bar{ top:104px; }
@media (max-width:782px){ body.admin-bar #mptc .tc-bar{ top:110px; } }

/* ===== Newsletter signup band (WPForms + MailerLite) placed at the end of main pages ===== */
:is(#mptc) .nl-band{ background:#fff; color:var(--ink); padding:52px 0; border-bottom:1px solid var(--line); }
:is(#mptc) .nl-band-in{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:40px; align-items:center; }
:is(#mptc) .nl-band h2{ color:var(--navy-ink); font-size:clamp(20px,2.4vw,24px); margin:0 0 6px; }
:is(#mptc) .nl-band p{ color:var(--ink-soft); font-size:14px; margin:0; }
:is(#mptc) .nl-band .mptc-form-wrap{ background:transparent; padding:0; max-width:none; }
:is(#mptc) .nl-band .mptc-form-wrap > *{ max-width:none; margin:0; }
.nl-band .wpforms-container{ margin:0 !important; }
.nl-band .wpforms-form{ display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; }
.nl-band .wpforms-field-container{ display:flex; flex-wrap:wrap; gap:12px; flex:1 1 300px; }
.nl-band .mptc-form-wrap .wpforms-container .wpforms-field, .nl-band .wpforms-field{ flex:1 1 150px; margin:0 !important; padding:0 !important; min-width:0; }
.nl-band .wpforms-field-label{ font-size:12px !important; }
.nl-band .wpforms-submit-container{ margin:0 !important; padding:0 !important; flex:0 0 auto; }
.nl-band .wpforms-submit-container button, .nl-band .wpforms-submit-container input[type="submit"]{ margin:0 !important; }
.nl-band .wpforms-confirmation-container-full{ margin:0 !important; }
@media (max-width:820px){ :is(#mptc) .nl-band-in{ grid-template-columns:minmax(0,1fr); gap:22px; } :is(#mptc) .nl-band{ padding:44px 0; } }
@media (max-width:520px){ .nl-band .wpforms-form{ display:block; } .nl-band .wpforms-field-container{ display:block; } .nl-band .mptc-form-wrap .wpforms-container .wpforms-field, .nl-band .wpforms-field{ margin-bottom:14px !important; } .nl-band .wpforms-submit-container{ margin-top:4px !important; } .nl-band .wpforms-submit-container button, .nl-band .wpforms-submit-container input[type="submit"]{ width:100% !important; } }
