/* NMP network skin v1 (2026-09-17) — matches tsrtrenchless.com tokens.
   Served from /_nmp/nmp.css on every network server. Fonts: Inter + Barlow Condensed (Google Fonts). */
:root{
  --brand-50:#eef7ff; --brand-200:#bce0ff; --brand-300:#8ecdff; --brand-600:#1d71f0; --brand-700:#175add; --brand-800:#1949b3; --brand-950:#152956;
  --accent-400:#ffb63d; --accent-500:#f79b12; --accent-700:#b65c09;
  --ink-700:#374151; --ink-800:#1f2937; --ink-900:#111827; --ink-950:#0a0f1a;
  --line:rgba(17,24,39,.1);
  --font-body:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-display:"Barlow Condensed",Inter,system-ui,sans-serif;
  --radius:.5rem; --radius-lg:.75rem;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:1.0625rem;line-height:1.625;color:var(--ink-800);background:#fff;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%;height:auto}
a{color:var(--brand-700);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--brand-800)}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;letter-spacing:-.025em;color:var(--ink-950);line-height:1.1;margin:0 0 .6em}
h1{font-size:2.25rem}h2{font-size:1.75rem;margin-top:1.6em}h3{font-size:1.25rem;margin-top:1.4em}
p{margin:0 0 1.25rem}
.nmp-container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.25rem}
@media(min-width:640px){.nmp-container{padding:0 1.5rem}}
@media(min-width:1024px){.nmp-container{padding:0 2rem}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:var(--radius);padding:.75rem 1.25rem;font-weight:600;text-decoration:none;border:0;cursor:pointer;font-family:var(--font-body);font-size:1rem;line-height:1.25;transition:background-color .15s,color .15s}
.btn-primary{background:var(--accent-500);color:var(--ink-950)}
.btn-primary:hover{background:var(--accent-400);color:var(--ink-950)}
.btn-secondary{background:var(--brand-700);color:#fff}
.btn-secondary:hover{background:var(--brand-600);color:#fff}
.btn-ghost{border:1px solid rgba(255,255,255,.3);color:#fff;background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff}
.btn-block{display:flex;width:100%}
.eyebrow{font-size:.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:var(--brand-700);margin:0 0 .75rem}
.nmp-cta{font-weight:700;color:var(--accent-700);margin:.25rem 0 0;font-size:.9375rem}
.nmp-dark .nmp-cta{color:var(--accent-400)}

/* top bar */
.nmp-topbar{background:var(--ink-950);color:#fff;font-size:13px}
.nmp-topbar .nmp-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding-top:.5rem;padding-bottom:.5rem}
.nmp-topbar p{margin:0}
.nmp-topbar .tag{font-weight:500;color:rgba(255,255,255,.8)}
.nmp-topbar .free{color:rgba(255,255,255,.7);margin-right:1rem}
.nmp-topbar a{color:var(--accent-400);font-weight:600;text-decoration:none}
.nmp-topbar a:hover{color:var(--accent-400);text-decoration:underline}
@media(max-width:639px){.nmp-topbar .free{display:none}.nmp-topbar .tag{display:none}.nmp-topbar .nmp-container{justify-content:center}}

/* header */
.nmp-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.nmp-header .nmp-container{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.75rem;padding-bottom:.75rem}
.nmp-logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--ink-950)}
.nmp-logo img{height:3rem;width:auto;display:block}
@media(min-width:640px){.nmp-logo img{height:3.5rem}}
.nmp-logo .name{white-space:nowrap;font-family:var(--font-display);font-weight:700;font-size:1.35rem;line-height:1.05;letter-spacing:-.01em}
.nmp-logo .name small{display:block;font-family:var(--font-body);font-weight:500;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-700)}
.nmp-nav{display:none;align-items:center;gap:1.25rem}
.nmp-nav a{font-size:.875rem;font-weight:600;color:var(--ink-800);text-decoration:none;padding:.5rem 0;white-space:nowrap}
.nmp-nav a:hover{color:var(--brand-700)}
.nmp-header-cta{display:none;align-items:center;gap:1rem}
.nmp-header-cta .tf{text-align:right;line-height:1.2}
.nmp-header-cta .tf small{display:block;white-space:nowrap;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-700)}
.nmp-header-cta .tf a{font-family:var(--font-display);font-size:1.4rem;font-weight:700;color:var(--brand-700);text-decoration:none;white-space:nowrap}
.nmp-header-cta .btn{padding:.6rem 1rem;font-size:.9rem;white-space:nowrap}
@media(max-width:1279px){.nmp-header-cta .tf{display:none}}
.nmp-wordmark{white-space:nowrap;font-family:var(--font-display);font-weight:700;font-size:1.45rem;line-height:1.05;letter-spacing:-.01em;color:var(--brand-700)}
.nmp-wordmark small{display:block;font-family:var(--font-body);font-weight:600;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-700);white-space:normal}
@media(min-width:640px){.nmp-wordmark{font-size:1.7rem}}
@media(min-width:1024px){.nmp-logo .name{display:none}}
@media(max-width:379px){.nmp-logo .name{display:none}}
.nmp-burger{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border:1px solid var(--line);border-radius:var(--radius);background:#fff;cursor:pointer;padding:0}
.nmp-burger span,.nmp-burger span::before,.nmp-burger span::after{display:block;width:20px;height:2px;background:var(--ink-900);position:relative;content:"";transition:transform .2s}
.nmp-burger span::before{position:absolute;top:-6px}.nmp-burger span::after{position:absolute;top:6px}
@media(min-width:1024px){.nmp-nav{display:flex}.nmp-header-cta{display:flex}.nmp-burger{display:none}}
.nmp-mobile-nav{display:none;border-top:1px solid var(--line);background:#fff}
.nmp-mobile-nav.open{display:block}
.nmp-mobile-nav a{display:block;padding:.85rem 1.25rem;font-weight:600;color:var(--ink-900);text-decoration:none;border-bottom:1px solid var(--line)}
.nmp-mobile-nav a:hover{background:var(--brand-50);color:var(--brand-700)}
.nmp-mobile-nav .call{background:var(--accent-500);color:var(--ink-950);text-align:center;font-family:var(--font-display);font-size:1.25rem;border:0}
@media(min-width:1024px){.nmp-mobile-nav{display:none!important}}

/* hero */
.nmp-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:linear-gradient(to bottom,var(--ink-950),var(--brand-950) 70%,var(--brand-800));padding:2.5rem 0 2.75rem}
.nmp-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(60% 60% at 70% 0,rgba(29,113,240,.28),transparent)}
.nmp-hero .nmp-container{display:grid;gap:2rem;align-items:center}
@media(min-width:1024px){.nmp-hero{padding:3.5rem 0 4rem}.nmp-hero .nmp-container{grid-template-columns:1.15fr .85fr;gap:3rem}}
.nmp-hero .eyebrow{color:var(--accent-400);display:inline-block;background:rgba(247,155,18,.15);border:1px solid rgba(247,155,18,.4);padding:.3rem .7rem;border-radius:999px;margin-bottom:1rem}
.nmp-hero h1{color:#fff;font-size:2.1rem;line-height:1.05;margin:0 0 .75rem}
@media(min-width:640px){.nmp-hero h1{font-size:2.75rem}}
@media(min-width:1024px){.nmp-hero h1{font-size:3.25rem}}
.nmp-hero h1 .accent{color:var(--brand-300)}
.nmp-hero .sub{color:rgba(255,255,255,.8);font-size:1.0625rem;max-width:36rem;margin:0 0 1.25rem}
.nmp-hero .sub b{color:#fff}
.nmp-hero .actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.nmp-hero .actions .btn-primary{font-family:var(--font-display);font-size:1.2rem;padding:.8rem 1.4rem}
.nmp-hero .nmp-cta{width:100%;margin-top:.25rem}
.nmp-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem 1.5rem;margin:1.75rem 0 0;padding:0;list-style:none}
@media(min-width:640px){.nmp-stats{grid-template-columns:repeat(4,1fr)}}
.nmp-stats b{display:block;font-family:var(--font-display);font-size:1.5rem;color:#fff;line-height:1}
.nmp-stats span{font-size:.8rem;color:rgba(255,255,255,.7)}
.nmp-hero-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-lg);padding:1.5rem;backdrop-filter:blur(8px)}
.nmp-hero-card .eyebrow{background:none;border:0;padding:0;margin-bottom:.5rem}
.nmp-hero-card h2{color:#fff;font-size:1.6rem;margin:0 0 .5rem}
.nmp-hero-card .phone{display:block;font-family:var(--font-display);font-weight:700;font-size:2.4rem;line-height:1;color:var(--accent-400);text-decoration:none;margin:.5rem 0}
.nmp-hero-card .phone:hover{color:var(--accent-500)}
.nmp-hero-card .note{font-size:.85rem;color:rgba(255,255,255,.6);margin:.75rem 0 0}
.nmp-hero-card .badge{display:flex;align-items:center;gap:1rem;margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.1)}
.nmp-hero-card .badge img{width:88px;height:auto;flex-shrink:0}
.nmp-hero-card .badge p{margin:0;font-size:.85rem;color:rgba(255,255,255,.75)}
.nmp-hero-card .badge b{color:#fff;display:block;font-size:.95rem}

/* main layout */
.nmp-main{padding:2.5rem 0 3rem}
.nmp-main .nmp-container{display:grid;gap:2.5rem}
@media(min-width:1024px){.nmp-main .nmp-container{grid-template-columns:minmax(0,1fr) 340px;gap:3.5rem;align-items:start}}
.nmp-article{min-width:0;color:var(--ink-700)}
.nmp-article h1{font-size:1.9rem}
.nmp-article h2{font-size:1.5rem;color:var(--ink-950)}
.nmp-article h3{font-size:1.2rem;color:var(--ink-900)}
.nmp-article h1 b,.nmp-article h2 b{font-weight:inherit}
.nmp-article img{float:right;max-width:44%;height:auto;margin:0 0 1rem 1.25rem;border-radius:var(--radius)}
@media(max-width:639px){.nmp-article img{float:none;max-width:100%;margin:0 0 1rem}}
.nmp-article ul,.nmp-article ol{padding-left:1.25rem;margin:0 0 1.5rem}
.nmp-article li::marker{color:var(--brand-600)}
.nmp-article p i{color:var(--ink-700)}
.nmp-tagwords{font-size:.85rem;color:#6b7280;border-top:1px solid var(--line);padding-top:1rem;margin-top:1.5rem}
.nmp-tagwords i{font-style:normal}
.nmp-tip{margin:2rem 0 0;padding:1rem 1.25rem;border-left:4px solid var(--accent-500);background:rgba(247,155,18,.08);border-radius:0 var(--radius) var(--radius) 0;font-weight:600;color:var(--ink-900)}
.nmp-video{position:relative;aspect-ratio:16/9;margin:2rem 0;border-radius:var(--radius-lg);overflow:hidden;background:var(--ink-950)}
.nmp-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* sidebar */
.nmp-side{display:grid;gap:1.5rem;min-width:0}
@media(min-width:1024px){.nmp-side{position:sticky;top:7rem}}
.nmp-card{border-radius:var(--radius-lg);border:1px solid var(--line);background:#fff;padding:1.5rem;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.nmp-card h3{margin:0 0 .75rem;font-size:1.35rem}
.nmp-card.form{background:var(--brand-50);border-color:rgba(23,90,221,.2)}
.nmp-card.form .callnow{font-size:.9rem;color:var(--ink-700);margin:0}
.nmp-card.form .phone{display:block;font-family:var(--font-display);font-weight:700;font-size:1.9rem;line-height:1.1;color:var(--brand-700);text-decoration:none;margin:.15rem 0 0}
.nmp-card.form .or{font-weight:600;color:var(--ink-900);margin:1rem 0 .75rem;padding-top:1rem;border-top:1px solid rgba(23,90,221,.2)}
.nmp-field{margin:0 0 .75rem}
.nmp-field label{display:block;font-size:.8rem;font-weight:600;color:var(--ink-800);margin-bottom:.25rem}
.nmp-field input,.nmp-field textarea,.nmp-field select{width:100%;font:inherit;font-size:1rem;padding:.6rem .75rem;border:1px solid rgba(17,24,39,.2);border-radius:var(--radius);background:#fff;color:var(--ink-900)}
.nmp-field input:focus,.nmp-field textarea:focus{outline:2px solid transparent;border-color:var(--brand-600);box-shadow:0 0 0 2px var(--brand-200)}
.nmp-field textarea{min-height:120px;resize:vertical}
.nmp-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.nmp-choices{display:grid;gap:.4rem;margin:.25rem 0 1rem;font-size:.95rem}
.nmp-choices label{display:flex;align-items:center;gap:.5rem;cursor:pointer}
.nmp-choices input{width:1.05rem;height:1.05rem;accent-color:var(--brand-700);margin:0}
.nmp-list{list-style:none;margin:0;padding:0}
.nmp-list li{border-top:1px solid var(--line);padding:.55rem 0 .55rem 1.1rem;position:relative;font-size:.95rem;line-height:1.4}
.nmp-list li:first-child{border-top:0;padding-top:0}
.nmp-list li::before{content:"";position:absolute;left:0;top:calc(.55rem + .45em);width:.4rem;height:.4rem;border-radius:999px;background:var(--brand-600)}
.nmp-list li:first-child::before{top:.45em}
.nmp-list a{color:var(--ink-900);text-decoration:none}
.nmp-list a:hover{color:var(--brand-700);text-decoration:underline}
.nmp-serve{display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none}
.nmp-serve li{font-size:.8rem;font-weight:600;color:var(--ink-800);background:rgba(10,15,26,.04);border:1px solid var(--line);border-radius:999px;padding:.25rem .65rem}
.nmp-serve li::before{content:"\2713";color:var(--brand-700);margin-right:.35rem;font-weight:700}
.nmp-badge-side{display:flex;align-items:center;gap:1rem}
.nmp-badge-side img{width:96px;height:auto}
.nmp-badge-side p{margin:0;font-size:.9rem;color:var(--ink-700)}
.nmp-badge-side b{display:block;color:var(--ink-950)}

/* CTA band + footer */
.nmp-band{background:var(--brand-800);color:#fff;padding:3rem 0}
.nmp-band .nmp-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem}
.nmp-band h2{color:#fff;margin:0 0 .25rem;font-size:2rem}
.nmp-band p{margin:0;color:rgba(255,255,255,.8)}
.nmp-band .btn-primary{font-family:var(--font-display);font-size:1.25rem}
.nmp-footer{background:var(--ink-950);color:rgba(255,255,255,.75);padding:3rem 0 6rem;font-size:.9rem}
@media(min-width:1024px){.nmp-footer{padding-bottom:3rem}}
.nmp-footer .cols{display:grid;gap:2rem}
@media(min-width:640px){.nmp-footer .cols{grid-template-columns:repeat(3,1fr)}}
.nmp-footer h4{color:#fff;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;font-family:var(--font-body);font-weight:700;margin:0 0 .75rem}
.nmp-footer ul{list-style:none;margin:0;padding:0}
.nmp-footer li{margin:0 0 .4rem}
.nmp-footer a{color:rgba(255,255,255,.75);text-decoration:none}
.nmp-footer a:hover{color:#fff;text-decoration:underline}
.nmp-footer .phone{font-family:var(--font-display);font-size:1.6rem;font-weight:700;color:var(--accent-400)}
.nmp-footer .legal{border-top:1px solid rgba(255,255,255,.1);margin-top:2rem;padding-top:1.25rem;font-size:.8rem;color:rgba(255,255,255,.45);display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between}

/* fixed mobile call bar */
.nmp-callbar{position:fixed;left:0;right:0;bottom:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -4px 24px rgba(0,0,0,.08);padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom))}
.nmp-callbar .btn{width:100%;font-family:var(--font-display);font-size:1.25rem;padding:.75rem 1rem}
.nmp-callbar .nmp-cta{text-align:center;font-size:.8rem;margin:.3rem 0 0}
@media(min-width:1024px){.nmp-callbar{display:none}}

/* thank-you */
.nmp-ty{max-width:640px;margin:3rem auto;text-align:center}
.nmp-ty h1{font-size:2.2rem}
.nmp-ty .phone{display:block;font-family:var(--font-display);font-weight:700;font-size:2.6rem;color:var(--brand-700);text-decoration:none;margin:.5rem 0}

/* v1.2 (2026-09-17): Template1 skin (Server 2) — slim inner-page hero + legacy-content image handling */
.nmp-hero.slim{padding:2rem 0 2.25rem}
.nmp-hero.slim .nmp-container{display:block}
.nmp-hero.slim h1{font-size:1.8rem;margin:0 0 .5rem}
@media(min-width:640px){.nmp-hero.slim h1{font-size:2.3rem}}
.nmp-hero.slim .sub{margin:0}
.nmp-hero.slim .sub a{color:var(--accent-400);text-decoration:none;font-weight:700}
.nmp-article img.nmp-icon{float:none;display:inline-block;width:1.15em;height:auto;margin:0 .35em 0 0;vertical-align:-.15em;border-radius:0}
.nmp-article img.nmp-inline{float:none;display:inline-block;max-width:200px;height:auto;margin:0 .75rem .5rem 0;border-radius:0}
.nmp-article img.nmp-wide{float:none;display:block;max-width:100%;height:auto;margin:0 0 1.25rem}
.nmp-article marquee{display:none}
.nmp-article .nmpf{max-width:100%}
.nmp-article table{max-width:100%}
.nmp-card.form .nmpf label{margin-top:.6rem;font-size:.8rem}
.nmp-card.form .nmpf button{width:100%}
.nmp-side .nmpf{max-width:100%}

/* v1.3 (2026-09-17): original-content pages */
.nmp-lede{font-size:1.15rem;color:var(--ink-800);margin:0 0 1.5rem}
.nmp-faq details{border-top:1px solid var(--line);padding:.75rem 0}
.nmp-faq details:last-child{border-bottom:1px solid var(--line)}
.nmp-faq summary{cursor:pointer;font-weight:600;color:var(--ink-950);font-family:var(--font-display);font-size:1.15rem}
.nmp-faq summary::marker{color:var(--brand-600)}
.nmp-faq p{margin:.5rem 0 0}
.nmp-article .callout{margin:1.5rem 0;padding:1rem 1.25rem;border-left:4px solid var(--brand-700);background:var(--brand-50);border-radius:0 var(--radius) var(--radius) 0}
