/* ==========================================================================
   mmc-modern.css -- MMC design system, hand-rolled.
   No framework. Tailwind via CDN would cost more than every script we are
   removing from the page. The design language is carved from a SimpleUP /
   Lindo template, then written out as plain CSS so the page can still hit a
   high PageSpeed score.
   ========================================================================== */

:root{
  --mmc-red:#b40000;
  --mmc-red-dark:#8c0000;
  --ink:#141618;
  --ink-2:#4a5058;
  --line:#e4e7eb;
  --bg:#ffffff;
  --bg-2:#f6f7f9;
  --bg-dark:#141618;
  --wrap:1180px;
  --r:4px;
  --pad-y:clamp(3.5rem,7vw,6.5rem);
}

/* ---------- base ---------- */
.mmc *,.mmc *::before,.mmc *::after{box-sizing:border-box}
.mmc{
  margin:0;color:var(--ink);background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased;
}
.mmc img{max-width:100%;height:auto;display:block}
.mmc a:not(.mmc-btn){color:var(--mmc-red)}
.mmc a{text-decoration:none}
.mmc a:hover{text-decoration:underline}
.mmc :focus-visible{outline:3px solid var(--mmc-red);outline-offset:2px}

/* ---------- layout ---------- */
.mmc-wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(1.25rem,4vw,2rem)}
.mmc-sec{padding-block:var(--pad-y)}
.mmc-sec--alt{background:var(--bg-2)}
.mmc-sec--dark{background:var(--bg-dark);color:#fff}
.mmc-sec--dark h2,.mmc-sec--dark h3{color:#fff}
.mmc-sec--tight{padding-block:clamp(2.5rem,5vw,4rem)}

.mmc-split{display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
@media(min-width:900px){
  .mmc-split{grid-template-columns:1fr 1fr}
  .mmc-split--flip>*:first-child{order:2}
}
.mmc-split--top{align-items:start}
.mmc-cols{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(255px,1fr))}

/* ---------- type ---------- */
.mmc-eyebrow{
  font-size:.72rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--mmc-red);margin:0 0 .9rem;
}
.mmc h1,.mmc h2,.mmc h3,.mmc h4{
  line-height:1.15;letter-spacing:-.02em;font-weight:700;color:var(--ink);
  margin:0 0 1rem;text-transform:none;
}
.mmc h1{font-size:clamp(2.1rem,5vw,3.4rem)}
.mmc h2{font-size:clamp(1.65rem,3.4vw,2.4rem)}
.mmc h3{font-size:clamp(1.15rem,2vw,1.4rem)}
.mmc p{margin:0 0 1.15rem;color:var(--ink-2);max-width:66ch}
.mmc-lead{font-size:clamp(1.05rem,1.6vw,1.22rem);color:var(--ink-2)}
.mmc-sec--dark p{color:rgba(255,255,255,.82)}

/* ---------- buttons ---------- */
.mmc-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:.85rem 1.9rem;border-radius:var(--r);border:2px solid var(--mmc-red);
  background:var(--mmc-red);color:#fff;font-size:.95rem;font-weight:600;
  letter-spacing:.02em;cursor:pointer;text-decoration:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.mmc-btn:hover{background:var(--mmc-red-dark);border-color:var(--mmc-red-dark);color:#fff;text-decoration:none}
.mmc-btn:active{transform:translateY(1px)}
.mmc-btn--ghost{background:transparent;color:var(--mmc-red)}
.mmc-btn--ghost:hover{background:var(--mmc-red);color:#fff}
.mmc-sec--dark .mmc-btn{background:#fff;border-color:#fff;color:var(--ink)}
.mmc-sec--dark .mmc-btn:hover{background:#e9e9e9;border-color:#e9e9e9;color:var(--ink)}

/* ---------- cards / lists ---------- */
.mmc-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:1.6rem 1.5rem;height:100%;
}
.mmc-card h3{margin-bottom:.5rem;font-size:1.1rem}
.mmc-card p{margin:0;font-size:.95rem}
.mmc-check{list-style:none;margin:0;padding:0}
.mmc-check li{position:relative;padding-left:1.9rem;margin-bottom:.8rem;color:var(--ink-2)}
.mmc-check li::before{
  content:"";position:absolute;left:0;top:.55em;width:1rem;height:.5rem;
  border-left:2.5px solid var(--mmc-red);border-bottom:2.5px solid var(--mmc-red);
  transform:rotate(-45deg);
}

/* ---------- FAQ, no JS ---------- */
.mmc-faq{max-width:820px;margin-inline:auto}
.mmc-faq details{border-bottom:1px solid var(--line);padding:.35rem 0}
.mmc-faq summary{
  cursor:pointer;list-style:none;padding:1.15rem 2.5rem 1.15rem 0;position:relative;
  font-weight:600;font-size:1.05rem;color:var(--ink);
}
.mmc-faq summary::-webkit-details-marker{display:none}
.mmc-faq summary::after{
  content:"";position:absolute;right:.5rem;top:1.55rem;width:.6rem;height:.6rem;
  border-right:2px solid var(--mmc-red);border-bottom:2px solid var(--mmc-red);
  transform:rotate(45deg);transition:transform .2s ease;
}
.mmc-faq details[open] summary::after{transform:rotate(-135deg)}
.mmc-faq details p{padding:0 0 1.1rem;margin:0}

/* ---------- Gravity Forms restyle -------------------------------------
   The markup is NOT touched: mmc-forms.js binds to form[id^="mmc-form-"] and
   walks li.gfield / .mmc-form-footer / .cf-turnstile. Everything below is
   presentation only, which is how the grey #b7b7b7 panel and the Turnstile
   overflow get fixed without going near the form logic.
   -------------------------------------------------------------------- */
.mmc-quote{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.5rem,3vw,2.25rem)}
.mmc-quote .mmc-form-title,.mmc-quote h3.mmc-form-title{
  font-size:1.35rem;color:var(--ink);border:0;text-align:left;margin:0 0 1.25rem;padding:0;
}
.mmc-quote form,.mmc-quote form#mmc-form-5{background:transparent;padding:0;margin:0;text-align:left}
.mmc-quote .mmc-form-wrapper{margin-top:0}
.mmc-quote ul.mmc-form-fields{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
.mmc-quote li.gfield{padding:0!important;margin:0}
.mmc-quote .gfield_label{display:block;font-size:.85rem;font-weight:600;color:var(--ink);margin-bottom:.35rem}
.mmc-quote .gfield_required_asterisk{color:var(--mmc-red)}
.mmc-quote input[type=text],.mmc-quote input[type=email],.mmc-quote input[type=tel],.mmc-quote textarea{
  width:100%;max-width:100%;min-height:46px;padding:.7rem .85rem;
  border:1px solid #c9cdd3;border-radius:var(--r);font:inherit;font-size:.95rem;color:var(--ink);background:#fff;
}
.mmc-quote textarea{min-height:92px;resize:vertical}
.mmc-quote input:focus,.mmc-quote textarea:focus{border-color:var(--mmc-red);outline:none;box-shadow:0 0 0 3px rgba(180,0,0,.12)}
.mmc-quote .mmc-form-footer{padding:1.25rem 0 0;margin:0;text-align:left}
.mmc-quote .mmc-form-footer input[type=submit],.mmc-quote .mmc-form-button{
  width:100%;min-height:48px;background:var(--mmc-red);color:#fff;border:2px solid var(--mmc-red)!important;
  border-radius:var(--r);font-size:.95rem;font-weight:600;cursor:pointer;box-shadow:none;
  margin:0;transition:background .18s ease;
}
.mmc-quote .mmc-form-footer input[type=submit]:hover{background:var(--mmc-red-dark)}
/* the spill: Turnstile renders a fixed 300px iframe, so it must be allowed to
   shrink and must not sit in a row that can overflow the card */
.mmc-quote .cf-turnstile{display:block;margin:1rem 0 0;max-width:100%;overflow:hidden}
.mmc-quote .cf-turnstile iframe{max-width:100%!important}
.mmc-quote .mmc-form-validation_container,.mmc-quote .gfield--type-honeypot{position:absolute!important;left:-9999px!important}
.mmc-form-msg{margin-top:1rem;font-size:.9rem}

/* ---------- header ---------- */
.mmc-head{border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:20}
.mmc-head-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1rem}
.mmc-logo img{max-width:230px}
.mmc-nav ul{list-style:none;display:flex;gap:1.6rem;margin:0;padding:0;flex-wrap:wrap}
.mmc-nav a{color:var(--ink);font-size:.93rem;font-weight:500}
.mmc-nav a:hover,.mmc-nav a[aria-current=page]{color:var(--mmc-red)}
.mmc-burger{display:none;min-height:44px;min-width:44px;align-items:center;justify-content:center;
  background:none;border:1px solid var(--line);border-radius:var(--r);cursor:pointer;font-size:1.2rem}
@media(max-width:899px){
  .mmc-burger{display:inline-flex}
  .mmc-nav{display:none;width:100%;padding-bottom:1rem}
  .mmc-nav[data-open="true"]{display:block}
  .mmc-nav ul{flex-direction:column;gap:.2rem}
  .mmc-nav a{display:block;padding:.75rem 0;border-bottom:1px solid var(--line)}
  .mmc-head-bar{flex-wrap:wrap}
}

/* ---------- footer ---------- */
.mmc-foot{background:var(--bg-dark);color:rgba(255,255,255,.72);padding-top:clamp(3rem,6vw,4.5rem);font-size:.93rem}
.mmc .mmc-foot a:not(.mmc-btn){color:rgba(255,255,255,.82)}
.mmc .mmc-foot a:not(.mmc-btn):hover{color:#fff}
.mmc-foot h2{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:#fff;margin:0 0 1.1rem}
.mmc-foot-grid{display:grid;gap:2.5rem;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.mmc-foot ul{list-style:none;margin:0;padding:0}
.mmc-foot li{margin-bottom:.6rem}
.mmc-foot-brand img{max-width:200px;margin-bottom:1.1rem;background:#fff;padding:.6rem .8rem;border-radius:var(--r)}
.mmc-social{display:flex;gap:.7rem;margin-top:1.25rem}
.mmc-social a{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  border:1px solid rgba(255,255,255,.25);border-radius:var(--r);transition:background .18s ease,border-color .18s ease;
}
.mmc-social a:hover{background:var(--mmc-red);border-color:var(--mmc-red)}
.mmc-social svg{width:19px;height:19px;fill:currentColor}
.mmc-foot-base{
  margin-top:clamp(2.5rem,5vw,3.5rem);border-top:1px solid rgba(255,255,255,.14);
  padding-block:1.5rem;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;
  font-size:.85rem;color:rgba(255,255,255,.55);
}

/* ---------- a11y ---------- */
.mmc-skip{position:absolute;left:-9999px}
.mmc-skip:focus{left:1rem;top:1rem;z-index:999;background:#fff;color:var(--ink);padding:.75rem 1.25rem;border-radius:var(--r)}
.mmc-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media(prefers-reduced-motion:reduce){
  .mmc *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ---------- addenda ---------- */
.mmc-foot p{color:inherit;max-width:34ch}
.mmc-foot .mmc-foot-grid>div{min-width:0}

/* in-prose links must not rely on colour alone (WCAG 1.4.1) */
.mmc main p a:not(.mmc-btn),.mmc-foot p a{text-decoration:underline;text-underline-offset:2px}
/* === mmc rebuild theme, appended by mmc-theme-apply.py, keep === */
/* One visual language for all 98 pages: paper / ink / brand red, geometric
   accents, line icons. No stock photography of people, so pages cannot drift
   apart as a visitor moves between them. */

/* ---------- rhythm: kill the dead space between consecutive prose ---------- */
.mmc-sec + .mmc-sec{padding-block-start:0}
.mmc-sec--band + .mmc-sec,.mmc-sec + .mmc-sec--band{padding-block-start:var(--pad-y)}
.mmc-sec--band{padding-block:clamp(3rem,6vw,5rem)}
.mmc-prose > * + h2{margin-top:clamp(2.25rem,4vw,3.25rem)}
.mmc-prose p{margin:0 0 .95rem}
.mmc-prose p:last-child{margin-bottom:0}
.mmc strong{color:var(--ink);font-weight:650}

/* ---------- accent rule under section headings ---------- */
.mmc-prose h2::after,.mmc-band-h::after{
  content:"";display:block;width:44px;height:3px;background:var(--mmc-red);
  margin-top:.7rem;border-radius:2px;
}

/* ---------- inline links inside prose ---------- */
.mmc-prose a:not(.mmc-btn){
  color:var(--mmc-red);text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:3px;text-decoration-color:rgba(180,0,0,.35);
}
.mmc-prose a:not(.mmc-btn):hover{text-decoration-color:var(--mmc-red)}

/* ---------- icon cards ---------- */
.mmc-card{position:relative}
.mmc-icon{
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  border:1.5px solid var(--line);border-radius:var(--r);margin-bottom:1rem;
  background:#fff;
}
.mmc-icon svg{width:22px;height:22px;stroke:var(--mmc-red);stroke-width:1.6;fill:none;
  stroke-linecap:round;stroke-linejoin:round}
.mmc-sec--band .mmc-icon{background:transparent;border-color:rgba(255,255,255,.18)}
.mmc-sec--band .mmc-icon svg{stroke:#fff}

/* ---------- numbered steps ---------- */
.mmc-steps{list-style:none;margin:0;padding:0;display:grid;gap:1.4rem;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.mmc-steps li{padding-top:.9rem;border-top:2px solid var(--line)}
.mmc-steps li::before{
  counter-increment:s;content:counter(s,decimal-leading-zero);
  display:block;font-size:.78rem;font-weight:700;letter-spacing:.14em;
  color:var(--mmc-red);margin-bottom:.45rem;
}
.mmc-steps{counter-reset:s}

/* ---------- dark contrast band ---------- */
.mmc-sec--band{background:var(--bg-dark);color:rgba(255,255,255,.82)}
.mmc-sec--band h2,.mmc-sec--band h3,.mmc-sec--band strong{color:#fff}
.mmc-sec--band p{color:rgba(255,255,255,.82)}
.mmc-sec--band .mmc-eyebrow{color:#ff6b6b}

/* ---------- checklist, two columns, red ticks ---------- */
.mmc-check{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.mmc-check li{padding-left:1.9rem}

/* ---------- FAQ accordion ---------- */
.mmc-faq details{border-bottom:1px solid var(--line);padding:0}
.mmc-faq summary{
  cursor:pointer;list-style:none;padding:1.05rem 2.5rem 1.05rem 0;position:relative;
  font-weight:650;color:var(--ink);font-size:1.02rem;
}
.mmc-faq summary::-webkit-details-marker{display:none}
.mmc-faq summary::after{
  content:"";position:absolute;right:.4rem;top:1.5rem;width:9px;height:9px;
  border-right:2px solid var(--mmc-red);border-bottom:2px solid var(--mmc-red);
  transform:rotate(45deg);transition:transform .18s ease;
}
.mmc-faq details[open] summary::after{transform:rotate(-135deg);top:1.7rem}
.mmc-faq details > p{padding:0 2.5rem 1.15rem 0;margin:0;color:var(--ink-2)}
.mmc-faq summary:hover{color:var(--mmc-red)}

/* ---------- hero motif: abstract mail route, brand colours only ---------- */
.mmc-hero{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center}
@media(min-width:920px){.mmc-hero{grid-template-columns:1.15fr .85fr}}
.mmc-motif{width:100%;height:auto;display:block}
.mmc-motif .m-paper{fill:#fff;stroke:var(--line);stroke-width:2}
.mmc-motif .m-flap{fill:none;stroke:var(--mmc-red);stroke-width:2.5;stroke-linejoin:round}
.mmc-motif .m-dot{fill:var(--mmc-red)}
.mmc-motif .m-route{fill:none;stroke:var(--mmc-red);stroke-width:2;stroke-dasharray:6 7;
  opacity:.55}
.mmc-motif .m-tint{fill:var(--bg-2)}

/* ---------- pull quote / stat callout ---------- */
.mmc-pull{
  border-left:3px solid var(--mmc-red);padding:.15rem 0 .15rem 1.25rem;
  margin:1.75rem 0;font-size:clamp(1.1rem,2vw,1.35rem);line-height:1.45;
  color:var(--ink);max-width:52ch;
}
.mmc-pull cite{display:block;margin-top:.55rem;font-size:.82rem;font-style:normal;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}

/* ---------- figure captions ---------- */
.mmc figure{margin:1.75rem 0}
.mmc figure img{border-radius:var(--r);border:1px solid var(--line)}
.mmc figcaption{margin-top:.6rem;font-size:.85rem;color:var(--ink-2)}

/* ---------- industry index cards ---------- */
.mmc-cols--tight{gap:1rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.mmc-card--link{
  display:flex;flex-direction:column;text-decoration:none;color:inherit;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.mmc-card--link:hover,.mmc-card--link:focus-visible{
  border-color:var(--mmc-red);box-shadow:0 6px 20px rgba(0,0,0,.07);transform:translateY(-2px);
}
.mmc-card--link h3{margin:0 0 .4rem;font-size:1.02rem}
.mmc-card--link p{flex:1;color:var(--ink-2);font-size:.9rem;line-height:1.5}
.mmc-card-go{
  margin-top:.9rem;font-size:.8rem;font-weight:600;letter-spacing:.04em;color:var(--mmc-red);
}
@media (prefers-reduced-motion:reduce){.mmc-card--link{transition:none}.mmc-card--link:hover{transform:none}}
