/* Switching landing page. Everything is scoped to .nsl so nothing leaks into the rest of the site.
   Sizes are in px because the theme sets the root font size to 10px. Fonts are the ones the theme already loads. */

.nsl{
  --nsl-navy:#000042; --nsl-orange:#cc4229; --nsl-orange-deep:#a9341f;
  --nsl-yellow:#ffbf00; --nsl-blue:#2f62ac; --nsl-green:#0bc998; --nsl-pink:#d30a6c;
  --nsl-cream:#fff2c8; --nsl-stone:#ececec;
  --nsl-display:"Moranga W05 Bold", Georgia, serif;
  --nsl-text:effra, Helvetica, Arial, sans-serif;
  --nsl-ui:"Harmonia Sans W01 Bold", effra, Helvetica, Arial, sans-serif;
  --nsl-g:20px;
  --nsl-radius:28px;
  --nsl-shape-r:clamp(120px, 18vw, 300px);
  --nsl-xs:15px; --nsl-s:17px; --nsl-0:18px; --nsl-1:22px;
  --nsl-2:clamp(28px, 18.4px + 1.9vw, 40px);
  --nsl-3:clamp(36px, 20px + 3.6vw, 62px);
  --nsl-space-s:12px; --nsl-space-m:24px; --nsl-space-l:48px; --nsl-space-xl:clamp(64px, 8vw, 112px);
  display:block;background:#fff;color:var(--nsl-navy);font-family:var(--nsl-text);font-size:var(--nsl-0);font-weight:400;line-height:1.55;
  padding-bottom:var(--nsl-space-xl);overflow-x:clip
}
@media (min-width:1200px){.nsl{--nsl-g:30px}}

/* Reset the theme's element styles inside the page. */
body .nsl *,body .nsl *::before,body .nsl *::after{box-sizing:border-box}
body .nsl :is(h1,h2,h3,h4,p,ul,ol,li,blockquote,figure){margin:0;padding:0}
body .nsl :is(h1,h2,h3,h4){font-family:var(--nsl-display);font-weight:400;color:inherit;line-height:1.08;letter-spacing:-.01em;text-transform:none;text-wrap:balance}
body .nsl :is(p,li){font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;text-wrap:pretty}
body .nsl strong{font-weight:inherit}
body .nsl img{display:block;max-width:100%;height:auto}
body .nsl a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.2em}
body .nsl a:hover{color:inherit}
body .nsl :focus-visible{outline:3px solid var(--nsl-navy);outline-offset:3px;border-radius:6px}
body .nsl .nsl-on-dark :focus-visible{outline-color:var(--nsl-yellow)}

/* Grid: page edge, 12 columns lined up with the inside of the site header (1540px at most), page edge. */
.nsl-band{display:grid;grid-template-columns:minmax(var(--nsl-g),1fr) repeat(12,minmax(0,calc(1540px / 12))) minmax(var(--nsl-g),1fr)}
.nsl-band > *{grid-column:2 / 14}

/* Buttons */
body .nsl .nsl-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:.55em 1.15em;min-height:44px;font-family:var(--nsl-ui);font-weight:400;font-size:var(--nsl-0);line-height:1.2;text-decoration:none;border:0;cursor:pointer}
body .nsl .nsl-pill--orange{background:var(--nsl-orange);color:#fff}
body .nsl .nsl-pill--orange:hover{background:var(--nsl-orange-deep);color:#fff}

/* Top of page */
.nsl-hero{padding-top:var(--nsl-space-m);row-gap:0}
.nsl-hero__copy{grid-column:2 / 9;grid-row:1;padding:clamp(24px,2.4vw,32px) clamp(0px,3vw,40px) 0 0}
body .nsl .nsl-hero h1{font-size:var(--nsl-3);max-width:15ch}
body .nsl .nsl-hero__lede{font-size:var(--nsl-0);line-height:1.55;margin-top:20px;max-width:576px}
body .nsl .nsl-hero__lede--more{margin-top:1em}
body .nsl .nsl-terms{font-size:16px;line-height:1.5;margin-top:1em;max-width:36em;color:#30305e}
body .nsl .nsl-rating{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:20px;font-size:var(--nsl-xs);font-weight:700}
.nsl-stars{display:flex;gap:2px;flex:none}
body .nsl :is(.nsl-rating,.nsl-proof__score) > span:last-child{flex:1 1 15em;min-width:0}
.nsl-stars svg{display:block}
body .nsl .nsl-hero__jump{display:none;margin-top:var(--nsl-space-m)}
.nsl-hero__road{grid-column:1 / 9;grid-row:2;position:relative;margin-top:40px;height:clamp(150px,11.5vw,166px);background:var(--nsl-yellow);border-radius:0 999px 999px 0;align-self:end}
body .nsl .nsl-hero__car{position:absolute;bottom:clamp(12px,1.4vw,18px);right:clamp(36px,7vw,120px);width:clamp(210px,20vw,290px);animation:nsl-arrive 1.3s cubic-bezier(.16,1,.3,1) .25s both}
@keyframes nsl-arrive{from{transform:translateX(calc(-1 * clamp(240px,40vw,640px)))}to{transform:none}}

/* Quote panel */
.nsl-quote{grid-column:9 / 14;grid-row:1 / 3;background:var(--nsl-navy);color:#fff;border-radius:var(--nsl-radius);padding:clamp(24px,2.2vw,36px);align-self:start;margin-left:var(--nsl-space-m);scroll-margin-top:150px}
body .nsl .nsl-quote h2{font-size:clamp(26px,19.2px + 1.1vw,34px);color:#fff}
body .nsl .nsl-quote__intro{margin-top:12px;font-size:var(--nsl-s);line-height:1.45;color:#dcdcf0}
body .nsl .nsl-quote__small{font-size:15px;margin-top:14px;color:#dcdcf0}
body .nsl .nsl-quote__call{margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.18);display:grid;gap:2px;font-size:var(--nsl-xs)}
body .nsl .nsl-quote__call strong{font-family:var(--nsl-display);font-size:22px}
body .nsl .nsl-quote:has(.gform_confirmation_message) .nsl-quote__small{display:none}

/* Gravity Forms inside the quote panel */
body .nsl .gform_wrapper.gravity-theme{margin:20px 0 0;padding:0;max-width:none}
body .nsl .gform_wrapper.gravity-theme .gform_fields{grid-column-gap:14px;grid-row-gap:14px}
body .nsl .gform_wrapper.gravity-theme .gfield_label{display:block;color:#fff;font-family:var(--nsl-text);font-size:var(--nsl-xs);font-weight:700;line-height:1.3;margin:0 0 6px;padding:0}
body .nsl .gform_wrapper.gravity-theme .gfield_required{display:none}
body .nsl .gform_wrapper.gravity-theme .gform_required_legend{display:none}
/* The theme and Gravity Forms set some of these with !important or long selectors, so they are forced here, inside this page only. */
body .nsl .gform_wrapper.gravity-theme :is(input[type=text],input[type=tel],input[type=email],select){width:100%;font-family:var(--nsl-text);font-size:16px;line-height:1.3 !important;color:var(--nsl-navy);background-color:#fff;border:2px solid #fff !important;border-radius:14px;padding:12px 14px !important;min-height:50px !important;height:auto;margin:0;box-shadow:none;appearance:none;-webkit-appearance:none}
body .nsl .gform_wrapper.gravity-theme select{padding-right:44px !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%23000042' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:44px}
body .nsl .gform_wrapper.gravity-theme input::placeholder{color:#5b5b80;opacity:1}
body .nsl .gform_wrapper.gravity-theme :is(input,select):focus-visible{outline:3px solid var(--nsl-yellow);outline-offset:2px}
body .nsl .gform_wrapper.gravity-theme .gfield_error :is(input,select){border-color:var(--nsl-yellow) !important;box-shadow:inset 0 0 0 1px var(--nsl-yellow)}
body .nsl .gform_wrapper.gravity-theme .gfield_error .gfield_label{color:#fff}
body .nsl .gform_wrapper.gravity-theme :is(.gfield_validation_message,.validation_message){background:none;border:0;padding:0;margin:6px 0 0;color:var(--nsl-yellow);font-size:14px;font-weight:700}
body .nsl .gform_wrapper.gravity-theme .gform_validation_errors{background:none;border:2px solid var(--nsl-yellow);border-radius:14px;box-shadow:none;padding:12px 14px;margin:0 0 16px}
body .nsl .gform_wrapper.gravity-theme .gform_validation_errors :is(h2,.gform_submission_error){color:#fff;font-family:var(--nsl-text);font-size:15px;font-weight:700;line-height:1.4;margin:0;padding:0;display:block}
body .nsl .gform_wrapper.gravity-theme .gform_validation_errors .gform-icon{display:none}
body .nsl .gform_wrapper.gravity-theme .gform_validation_errors:focus{outline:3px solid var(--nsl-yellow);outline-offset:3px}
body .nsl .gform_wrapper.gravity-theme .gform_footer{margin:20px 0 0;padding:0;display:block}
body .nsl .gform_wrapper.gravity-theme .gform_footer .gform_button[type=submit]{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px !important;margin:0;padding:16px 24px !important;background:var(--nsl-orange);color:#fff;border:0;border-radius:999px;font-family:var(--nsl-ui);font-weight:400;font-size:19px !important;line-height:1.2 !important;cursor:pointer;box-shadow:none;text-shadow:none}
body .nsl .gform_wrapper.gravity-theme .gform_footer .gform_button[type=submit]:hover{background:var(--nsl-orange-deep)}
body .nsl .gform_wrapper.gravity-theme .gform_footer .gform_button[type=submit]:focus-visible{outline:3px solid var(--nsl-yellow);outline-offset:3px}
body .nsl .gform_wrapper.gravity-theme .gform_ajax_spinner{margin:12px auto 0;display:block}
body .nsl .gform_confirmation_message{color:#fff;font-size:var(--nsl-s);line-height:1.5;margin-top:16px}
body .nsl .gform_confirmation_message .nsl-done-title{font-family:var(--nsl-display);font-size:28px;line-height:1.1;margin-bottom:10px}

/* Answers */
.nsl-answers{margin-top:var(--nsl-space-xl)}
body .nsl .nsl-answers__title{text-align:center;font-size:var(--nsl-2);max-width:22ch;margin:0 auto var(--nsl-space-l);padding:0 var(--nsl-g)}
.nsl-answer{align-items:center;margin-bottom:clamp(56px,7vw,96px)}
.nsl-answer__shape{position:relative;height:clamp(280px,30vw,420px);grid-row:1}
body .nsl .nsl-answer__shape img{position:absolute;bottom:0;height:86%;width:auto;max-width:82%}
.nsl-answer__body{grid-row:1;max-width:576px}
body .nsl .nsl-answer h3{font-size:var(--nsl-2);margin-bottom:16px}
body .nsl .nsl-answer__body :is(p,ul) + :is(p,ul){margin-top:1em}
.nsl-answer--left .nsl-answer__shape{grid-column:1 / 7}
body .nsl .nsl-answer--left .nsl-answer__shape img{right:clamp(16px,4vw,64px)}
.nsl-answer--left .nsl-answer__body{grid-column:8 / 14}
.nsl-answer--right .nsl-answer__shape{grid-column:9 / 15}
body .nsl .nsl-answer--right .nsl-answer__shape img{left:clamp(16px,4vw,64px)}
.nsl-answer--right .nsl-answer__body{grid-column:2 / 8}
.nsl-shape--blue{background:var(--nsl-blue);border-radius:0 var(--nsl-shape-r) var(--nsl-shape-r) 0}
.nsl-shape--green{background:var(--nsl-green);border-radius:var(--nsl-shape-r) 0 0 0}
.nsl-shape--yellow{background:var(--nsl-yellow);border-radius:0 0 var(--nsl-shape-r) 0}
.nsl-shape--pink{background:var(--nsl-pink);border-radius:0 0 0 var(--nsl-shape-r)}
body .nsl .nsl-answer__body ul{list-style:none;display:grid;gap:10px}
body .nsl .nsl-answer__body li{position:relative;padding-left:38px}
body .nsl .nsl-answer__body li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23000042'/%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat}

/* Steps */
.nsl-steps{background:var(--nsl-cream);border-radius:var(--nsl-radius);padding:clamp(28px,4.5vw,64px)}
body .nsl .nsl-steps h3{font-size:var(--nsl-2)}
body .nsl .nsl-steps__intro{margin-top:16px;max-width:52ch}
body .nsl .nsl-steps ol{list-style:none;margin:var(--nsl-space-l) 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,40px);counter-reset:nsl-step}
body .nsl .nsl-steps li{counter-increment:nsl-step;display:grid;gap:10px;align-content:start}
body .nsl .nsl-steps li::before{content:counter(nsl-step);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--nsl-navy);color:#fff;font-family:var(--nsl-display);font-size:20px}
body .nsl .nsl-steps h4{font-size:var(--nsl-1);margin-top:6px;line-height:1.2}
body .nsl .nsl-steps .nsl-pill{margin-top:var(--nsl-space-l);min-height:56px;padding:16px 32px;font-size:19px}

body .nsl .nsl-office{margin-top:var(--nsl-space-m);display:grid;gap:4px;font-size:var(--nsl-s)}
body .nsl .nsl-office strong{font-family:var(--nsl-display);font-size:var(--nsl-1)}

/* Testimonial */
.nsl-proof{background:var(--nsl-green);border-radius:var(--nsl-radius);padding:clamp(32px,5vw,72px)}
body .nsl .nsl-proof blockquote{margin:0;padding:0;border:0;font-size:inherit}
body .nsl .nsl-proof blockquote p{font-family:var(--nsl-display);font-size:clamp(22px,16px + 1.4vw,34px);line-height:1.3;max-width:40ch}
body .nsl .nsl-proof figure{margin:0}
body .nsl .nsl-proof figcaption{margin-top:var(--nsl-space-m);font-weight:700;font-size:var(--nsl-0);color:inherit}
body .nsl .nsl-proof__score{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:var(--nsl-space-l);padding-top:var(--nsl-space-m);border-top:1.5px solid rgba(0,0,66,.25);font-weight:700}

/* Closing section */
.nsl-close{margin-top:var(--nsl-space-xl)}
.nsl-close__copy{grid-column:2 / 8;background:var(--nsl-stone);border-radius:var(--nsl-radius);padding:clamp(28px,4vw,56px);margin-right:var(--nsl-space-m);display:flex;flex-direction:column}
body .nsl .nsl-close__copy h2{font-size:var(--nsl-2)}
body .nsl .nsl-close__copy p{margin-top:16px;max-width:44ch}
body .nsl .nsl-close__copy .nsl-terms{max-width:36em}
body .nsl .nsl-close__call{margin-top:auto;padding-top:var(--nsl-space-l);display:grid;gap:4px}
body .nsl .nsl-close__call strong{font-family:var(--nsl-display);font-size:var(--nsl-1)}
.nsl-close .nsl-quote{grid-column:8 / 14;grid-row:1;margin-left:0}

/* Tablet and phone */
@media (max-width:900px){
  .nsl-band{grid-template-columns:var(--nsl-g) minmax(0,1fr) var(--nsl-g)}
  .nsl-band > *{grid-column:2}
  .nsl-hero__copy{grid-column:2;padding:28px 0 0}
  body .nsl .nsl-hero__jump{display:inline-flex;font-size:18px;padding:14px 26px;margin-top:20px}
  .nsl-hero__road{grid-column:1 / -1;grid-row:2;margin:28px var(--nsl-g) 0 0;height:150px}
  body .nsl .nsl-hero__car{width:220px;right:24px;bottom:14px}
  .nsl-quote{grid-column:2;grid-row:3;margin:24px 0 0}
  .nsl-answer{row-gap:24px}
  .nsl-answer__shape,.nsl-answer--left .nsl-answer__shape,.nsl-answer--right .nsl-answer__shape{grid-column:1 / -1;grid-row:1;height:240px}
  .nsl-answer--left .nsl-answer__shape{margin-right:var(--nsl-g)}
  .nsl-answer--right .nsl-answer__shape{margin-left:var(--nsl-g)}
  .nsl-answer__body,.nsl-answer--left .nsl-answer__body,.nsl-answer--right .nsl-answer__body{grid-column:2;grid-row:2}
  body .nsl .nsl-steps ol{grid-template-columns:1fr}
  .nsl-close__copy{grid-column:2;margin:0 0 24px}
  .nsl-close .nsl-quote{grid-column:2;grid-row:2}
}
@media (max-width:520px){
  body .nsl .nsl-hero h1{font-size:32px}
  .nsl-hero__copy{padding-top:18px}
  body .nsl .nsl-terms{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  body .nsl .nsl-hero__car{animation:none}
}

/* Cloudflare's spam check is a fixed 300px wide; scale it to fit the form on narrow phones. */
@media (max-width:420px){
  body .nsl .ginput_container_turnstile{transform:scale(.8);transform-origin:left top;margin-bottom:-13px}
}
@media (max-width:360px){
  body .nsl .ginput_container_turnstile{transform:scale(.64);margin-bottom:-23px}
}

/* Password-protected preview: the site's password box on a navy panel. */
.nsl-lock{padding-top:var(--nsl-space-l)}
.nsl-lock__panel{grid-column:4 / 12;background:var(--nsl-navy);color:#fff;border-radius:var(--nsl-radius);padding:clamp(28px,4vw,56px)}
body .nsl .nsl-lock h1{font-size:var(--nsl-2);color:#fff;margin-bottom:var(--nsl-space-s)}
body .nsl .nsl-lock .post-password-form p{margin-top:var(--nsl-space-s);color:#dcdcf0}
body .nsl .nsl-lock .post-password-form label{display:grid;gap:6px;font-weight:700;color:#fff;max-width:420px}
body .nsl .nsl-lock .post-password-form input[type=password]{width:100%;font-family:var(--nsl-text);font-size:16px;color:var(--nsl-navy);background:#fff;border:2px solid #fff !important;border-radius:14px;padding:12px 14px !important;min-height:50px}
body .nsl .nsl-lock .post-password-form input[type=submit]{margin-top:var(--nsl-space-s);min-height:50px;padding:12px 28px;border:0;border-radius:999px;background:var(--nsl-orange);color:#fff;font-family:var(--nsl-ui);font-size:17px;cursor:pointer}
body .nsl .nsl-lock .post-password-form input[type=submit]:hover{background:var(--nsl-orange-deep)}
body .nsl .nsl-lock .post-password-form :is(input):focus-visible{outline:3px solid var(--nsl-yellow);outline-offset:2px}
@media (max-width:900px){.nsl-lock__panel{grid-column:2}}

/* "All offices" list under answer 4 (pages without a single office). */
body .nsl .nsl-office-list{list-style:none;margin:var(--nsl-space-m) 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 24px;font-size:var(--nsl-s)}
body .nsl .nsl-office-list li{display:grid;padding:8px 0;border-top:1.5px solid rgba(0,0,66,.15)}
body .nsl .nsl-office-list strong{font-family:var(--nsl-display);font-weight:400;font-size:var(--nsl-1)}
body .nsl .nsl-office-list a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
body .nsl .nsl-office-list a:hover{text-decoration:underline}
body .nsl .nsl-office-hours{margin-top:var(--nsl-space-s);font-size:var(--nsl-s)}
body .nsl .nsl-answer__body .nsl-office-list li{padding-left:0}
body .nsl .nsl-answer__body .nsl-office-list li::before{content:none}

/* Edinburgh campaign page: wider text than the default measure (Jack, 22 October 2026). Hero text stops
   at 650px, halfway between the original measure and the full column. */
.page-template-newton-switching-landing-php .nsl .nsl-hero h1,
.page-template-newton-switching-landing-php .nsl .nsl-steps__intro,
.page-template-newton-switching-landing-php .nsl .nsl-close__copy p{max-width:none}
.page-template-newton-switching-landing-php .nsl .nsl-hero__lede{max-width:650px}
.page-template-newton-switching-landing-php .nsl p.nsl-terms{max-width:36em}

/* General page: steps intro the full width of the panel, so "We handle the paperwork and the handover."
   stays on one line on desktop and tablet (Newton, 10 November 2026). */
.page-template-newton-switching-general-php .nsl .nsl-steps__intro{max-width:none}

/* Quote form in a narrow panel (hero form on landscape tablets and small laptops): one field per row,
   so labels stay on one line and placeholders are not cut off. */
body .nsl .nsl-quote{container:nsl-quote / inline-size}
@container nsl-quote (max-width:400px){
  body .nsl .gform_wrapper.gravity-theme .gfield{grid-column:1 / -1}
}
/* When the form is taller than the copy, keep the car road under the copy, not at the form's foot. */
@media (min-width:901px){
  .nsl-hero{grid-template-rows:auto 1fr}
  .nsl-hero__road{align-self:start}
}

/* Edinburgh page amends from Newton (Naomi Clark, 23 October 2026): offer conditions in italics with a terms link.
   (Intro lines at body size and the steps button the size of the form button apply to both pages, set above.) */
.page-template-newton-switching-landing-php .nsl .nsl-terms{font-style:italic}
.page-template-newton-switching-landing-php .nsl .nsl-terms a{color:inherit;text-decoration:underline;text-underline-offset:2px}
/* Steps button on phones: the width of its panel, so the text stays on one line. */
@media (max-width:520px){
  body .nsl .nsl-steps .nsl-pill{display:flex;width:100%;padding:16px 12px}
}
@media (max-width:374px){
  body .nsl .nsl-steps .nsl-pill{font-size:17px}
}
/* Edinburgh box in the site footer: the number matches the other offices while it is still a placeholder (not a link). */
.page-template-newton-switching-landing-php .loc .number{color:#000042;font-family:"Moranga W05 Regular",Georgia,serif;font-weight:700;line-height:24px}
/* Phone icon beside each office number under "Will we have someone local?" (Newton's icon traced to SVG, 23 October 2026). */
body .nsl .nsl-tel{display:inline-flex;align-items:center;gap:10px;justify-self:start;font-family:var(--nsl-display);font-weight:400;font-size:var(--nsl-0)}
body .nsl .nsl-tel a{font-family:inherit;font-weight:inherit;font-size:inherit}
body .nsl .nsl-tel__icon{display:block;width:26px;height:23px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 57.1'%3E%3Cpath fill='%23e65928' d='M30.3 0.0C31.5 -0.0 32.4 -0.0 33.6 0.0C34.8 0.0 36.2 0.1 37.4 0.3C38.6 0.4 39.7 0.6 40.7 0.8C41.6 0.9 42.3 1.1 43.2 1.3C44.1 1.6 45.0 1.8 45.9 2.2C46.8 2.5 47.6 2.8 48.6 3.3C49.5 3.7 50.7 4.3 51.5 4.8C52.3 5.3 52.9 5.7 53.6 6.2C54.3 6.7 55.2 7.4 55.8 8.0C56.4 8.5 56.8 8.9 57.2 9.4C57.7 9.9 58.1 10.4 58.6 11.0C59.1 11.7 59.6 12.5 60.1 13.3C60.6 14.1 61.1 15.0 61.5 15.8C61.8 16.6 62.0 17.1 62.3 17.8C62.5 18.6 62.7 19.2 63.0 20.1C63.2 21.1 63.5 22.7 63.7 23.7C63.8 24.8 63.9 25.4 63.9 26.5C64.0 27.7 64.0 29.4 63.9 30.5C63.9 31.7 63.8 32.4 63.7 33.3C63.6 34.2 63.4 35.1 63.2 35.8C63.1 36.6 63.0 36.9 62.7 37.8C62.4 38.7 61.9 40.2 61.5 41.2C61.0 42.2 60.6 43.0 60.1 43.8C59.6 44.6 59.1 45.4 58.6 46.0C58.1 46.7 57.8 47.0 57.2 47.7C56.6 48.3 55.5 49.3 54.8 49.9C54.1 50.5 53.7 50.8 53.0 51.3C52.2 51.8 51.2 52.4 50.4 52.9C49.5 53.4 48.7 53.8 47.7 54.2C46.7 54.6 45.3 55.1 44.3 55.4C43.3 55.7 42.5 55.9 41.6 56.1C40.6 56.3 39.5 56.5 38.4 56.7C37.2 56.8 36.1 56.9 34.8 57.0C33.5 57.1 32.0 57.1 30.6 57.1C29.2 57.0 27.7 56.9 26.6 56.8C25.4 56.7 24.5 56.5 23.6 56.4C22.8 56.2 22.3 56.1 21.2 55.8C20.2 55.5 18.2 54.9 17.2 54.6C16.2 54.2 16.1 54.2 15.2 53.7C14.3 53.3 12.7 52.5 11.7 51.8C10.7 51.2 9.9 50.6 9.1 49.9C8.3 49.2 7.4 48.3 6.8 47.7C6.1 47.0 5.8 46.7 5.4 46.0C4.9 45.4 4.3 44.6 3.8 43.8C3.3 43.0 2.8 42.0 2.5 41.2C2.1 40.5 2.1 40.3 1.8 39.5C1.5 38.7 1.1 37.4 0.8 36.4C0.6 35.4 0.4 34.3 0.3 33.3C0.1 32.3 0.0 31.7 0.0 30.5C-0.0 29.4 -0.0 27.7 0.0 26.5C0.0 25.4 0.1 24.8 0.3 23.7C0.4 22.7 0.7 21.1 1.0 20.1C1.2 19.2 1.3 18.7 1.7 17.8C2.0 17.0 2.4 16.0 2.9 15.0C3.4 14.0 4.0 12.9 4.7 12.0C5.3 11.1 5.9 10.3 6.6 9.5C7.3 8.7 7.9 8.1 8.8 7.4C9.7 6.7 11.0 5.7 11.9 5.1C12.9 4.5 13.5 4.1 14.4 3.7C15.3 3.3 16.3 2.8 17.3 2.4C18.4 2.0 19.7 1.6 20.7 1.3C21.7 1.1 22.3 0.9 23.3 0.8C24.2 0.6 25.3 0.4 26.5 0.3C27.7 0.1 29.2 0.0 30.3 0.0Z'/%3E%3Cpath fill='%23fff' d='M20.8 11.2C21.5 11.1 22.0 11.2 22.4 11.2C22.8 11.3 23.0 11.3 23.3 11.4C23.6 11.5 23.8 11.2 24.2 12.0C24.6 12.9 25.1 15.0 25.7 16.4C26.3 17.9 27.6 19.8 28.0 20.7C28.4 21.5 28.2 21.1 28.0 21.5C27.8 22.0 27.4 22.7 27.0 23.2C26.6 23.7 26.1 24.1 25.6 24.5C25.1 24.8 23.9 24.7 24.0 25.4C24.1 26.0 25.6 27.6 26.3 28.4C26.9 29.3 27.3 29.7 28.0 30.4C28.7 31.1 29.5 32.0 30.3 32.8C31.2 33.5 32.2 34.4 33.0 35.1C33.8 35.7 34.9 36.5 35.3 36.7C35.7 37.0 35.3 36.9 35.5 36.7C35.7 36.4 36.0 35.6 36.3 35.1C36.7 34.7 37.2 34.2 37.5 33.8C37.9 33.5 38.1 33.4 38.4 33.2C38.8 33.0 39.2 32.8 39.5 32.8C39.8 32.7 39.6 32.6 40.2 32.8C40.7 33.1 41.7 33.8 42.6 34.2C43.5 34.7 44.4 35.2 45.5 35.6C46.5 36.0 48.2 36.4 48.8 36.7C49.5 37.0 49.2 37.1 49.3 37.3C49.4 37.5 49.4 37.4 49.5 37.9C49.5 38.4 49.7 39.6 49.6 40.4C49.5 41.1 49.3 41.8 49.0 42.5C48.7 43.1 48.3 43.9 47.8 44.4C47.3 44.9 46.6 45.2 45.9 45.5C45.2 45.7 44.5 45.8 43.8 45.9C43.1 46.0 42.4 45.9 41.8 45.9C41.2 45.9 40.7 45.8 40.1 45.6C39.5 45.5 39.0 45.4 38.4 45.2C37.7 45.0 37.1 44.8 36.1 44.4C35.2 43.9 34.0 43.4 32.7 42.6C31.4 41.9 29.8 40.8 28.5 39.8C27.2 38.8 26.0 37.7 24.9 36.7C23.8 35.6 22.8 34.4 21.8 33.3C20.8 32.1 19.8 30.7 19.2 29.8C18.5 28.9 18.4 28.5 18.0 27.8C17.6 27.0 17.1 26.3 16.7 25.3C16.3 24.3 15.7 22.7 15.4 21.8C15.2 20.9 15.1 20.7 15.0 20.1C14.9 19.5 14.9 18.7 14.9 18.2C14.8 17.6 14.9 17.2 14.9 16.7C15.0 16.2 15.1 15.6 15.2 15.2C15.4 14.7 15.5 14.3 15.7 14.0C15.9 13.6 16.0 13.3 16.4 12.9C16.9 12.6 17.8 12.0 18.5 11.7C19.3 11.4 20.2 11.2 20.8 11.2Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Awareness page (Inverclyde, 11 November 2026): no quote form, so a brand shape with an illustration sits
   beside the hero copy; the customer service line is a green statement panel; the office is a navy panel. */
.nsl--awareness .nsl-hero{grid-template-rows:auto auto}
.nsl-aw-shape{grid-column:9 / 15;grid-row:1 / 3;position:relative;min-height:clamp(320px,30vw,440px);margin-left:var(--nsl-space-l)}
body .nsl .nsl-aw-shape img{position:absolute;bottom:0;left:clamp(16px,4vw,64px);height:86%;width:auto;max-width:82%}
body .nsl .nsl-aw-jump{display:inline-flex;margin-top:var(--nsl-space-m);font-size:18px;padding:14px 26px}
body .nsl--awareness .nsl-answer h2{font-size:var(--nsl-2);margin-bottom:16px}
body .nsl .nsl-aw-service{font-family:var(--nsl-display);font-size:clamp(22px,16px + 1.4vw,34px);line-height:1.3;max-width:40ch;margin:0}
.nsl-aw-team{margin-top:var(--nsl-space-xl)}
body .nsl .nsl-aw-team h2{font-size:var(--nsl-2);text-align:center}
body .nsl .nsl-aw-people{list-style:none;margin:var(--nsl-space-l) 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--nsl-space-l)}
body .nsl .nsl-aw-people li{display:grid;justify-items:center;text-align:center;gap:4px;max-width:260px;padding:0}
body .nsl .nsl-aw-people li::before{content:none}
body .nsl .nsl-aw-people img{width:200px;height:200px;object-fit:cover;border-radius:50%;margin-bottom:14px;background:var(--nsl-cream)}
body .nsl .nsl-aw-people strong{font-family:var(--nsl-display);font-weight:400;font-size:var(--nsl-1)}
body .nsl .nsl-aw-people span{font-size:var(--nsl-s)}
body .nsl .nsl-aw-office{display:grid;gap:10px;align-content:start;scroll-margin-top:150px}
body .nsl .nsl-aw-office h2{font-size:var(--nsl-2);color:#fff;margin-bottom:6px}
body .nsl .nsl-aw-office p{margin:0}
body .nsl .nsl-aw-office a{color:#fff}
body .nsl .nsl-aw-office .nsl-tel{font-size:22px}
body .nsl .nsl-aw-office__hours{color:#dcdcf0;font-size:var(--nsl-s);margin-top:6px !important}
.nsl-aw-close{scroll-margin-top:150px}
@media (max-width:900px){
  .nsl-aw-shape{display:none}
  .nsl--awareness .nsl-hero__road{grid-row:2}
}
/* Awareness page: a hero photo in place of the illustration, cropped to the green shape (11 November 2026). */
.nsl-aw-shape--photo{overflow:hidden}
body .nsl .nsl-aw-shape--photo img{position:absolute;inset:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 60%}
@media (max-width:900px){
  .nsl-aw-shape--photo{display:block;grid-column:1 / -1;grid-row:3;min-height:0;height:240px;margin:24px 0 0 var(--nsl-g)}
}

/* Amends from Jack, 17 November 2026 (both switching pages). */
/* Steps: number and heading on one line, text underneath. */
body .nsl .nsl-steps li{grid-template-columns:44px minmax(0,1fr);column-gap:14px;align-items:center}
body .nsl .nsl-steps li::before{grid-column:1;grid-row:1}
body .nsl .nsl-steps h4{grid-column:2;grid-row:1;margin-top:0}
body .nsl .nsl-steps li p{grid-column:1 / -1}
/* "Prefer to talk?" under the forms: centred, with a larger number and no rule, as on the location pages' forms. */
body .nsl .nsl-quote__small{text-align:center !important;color:#fff}
body .nsl .nsl-quote__call{margin-top:24px;padding-top:0;border-top:0;justify-items:center;text-align:center !important;gap:6px;font-size:var(--nsl-s)}
body .nsl .nsl-quote__call strong{font-size:clamp(28px,22px + 1.2vw,34px);line-height:1.15}
body .nsl .nsl-quote__call strong a{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
/* The first answer's picture: shown above the section title on phones and tablets, like the other answers. */
.nsl-answers__lead{display:none}
@media (max-width:900px){
  /* Colour in the first screen: the road and the car straight under the menu, then the headline. */
  .nsl:not(.nsl--awareness) .nsl-hero__road{grid-row:1;margin-top:12px;height:124px}
  .nsl:not(.nsl--awareness) .nsl-hero__copy{grid-row:2}
  .nsl:not(.nsl--awareness) .nsl-quote{grid-row:3}
  body .nsl:not(.nsl--awareness) .nsl-hero__car{width:200px;bottom:12px}
  .nsl:not(.nsl--awareness) .nsl-answers__lead{display:grid;margin-bottom:24px}
  .nsl:not(.nsl--awareness) .nsl-answers > article.nsl-answer:first-of-type .nsl-answer__shape{display:none}
  .nsl:not(.nsl--awareness) .nsl-answers > article.nsl-answer:first-of-type .nsl-answer__body{grid-row:1}
}

/* 17 Nov 2026 (Jack's review): office emails, testimonial heading and italics, extra buttons, tighter mobile spacing */
body .nsl .nsl-office-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 32px}
body .nsl .nsl-office-list li{gap:2px;padding:12px 0}
body .nsl .nsl-office-list a{min-height:34px}
body .nsl .nsl-mail,body .nsl .nsl-office-list a.nsl-mail{justify-self:start;font-family:var(--nsl-text);font-weight:400;font-size:var(--nsl-s);color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
body .nsl .nsl-office .nsl-mail{display:inline-flex;align-items:center;min-height:34px}
body .nsl .nsl-answer__cta{margin-top:var(--nsl-space-m)}
body .nsl .nsl-answer__cta .nsl-pill{min-height:56px;padding:16px 32px;font-size:19px}
body .nsl .nsl-proof__title{font-size:var(--nsl-2);margin:0 0 var(--nsl-space-m)}
body .nsl .nsl-proof blockquote p{font-family:var(--nsl-text);font-style:italic;font-weight:400;font-size:clamp(20px,16px + 1vw,28px);line-height:1.45;max-width:46ch}
@media (max-width:900px){
  .nsl-close{margin-top:0}
  body .nsl .nsl-close__call{padding-top:8px}
  body .nsl .nsl-close__copy p{max-width:none}
  .nsl:not(.nsl--awareness) .nsl-answers > article.nsl-answer:last-child{margin-bottom:32px}
  body .nsl .nsl-answer__cta .nsl-pill{display:flex;width:100%;padding:16px 12px}
}


/* Service pages (Homeowners, Developers, Contractors), 17 Nov 2026: the switch page template, with the location pages'
   cards, "why" panels and FAQ bars, so the pages sit with the rest of the site. Scoped to .nsl--service. */
.nsl--service .nsl-hero__art{grid-column:9 / 15;grid-row:1 / 3;position:relative;align-self:stretch;min-height:clamp(340px,34vw,500px);margin:var(--nsl-space-m) 0 0 var(--nsl-space-m);border-radius:var(--nsl-shape-r) 0 0 0}
body .nsl--service .nsl-hero__art img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:86%;width:auto;max-width:84%}
body .nsl--service .nsl-hero__sub{font-family:var(--nsl-display);font-size:var(--nsl-1);line-height:1.3}
body .nsl--service .nsl-hero__cta{margin-top:var(--nsl-space-m);min-height:56px;padding:16px 32px;font-size:19px}
.nsl--service .nsl-section{margin-top:var(--nsl-space-xl)}
.nsl--service .nsl-section.nsl-answer{margin-bottom:0}
body .nsl--service .nsl-head{max-width:820px;margin:0 auto var(--nsl-space-l);text-align:center}
body .nsl--service .nsl-head h2{font-size:var(--nsl-2)}
body .nsl--service .nsl-head p{margin-top:16px;text-align:center !important}
body .nsl--service .nsl-section--first .nsl-head{margin-bottom:0}
body .nsl--service .nsl-already a{font-weight:700}
.nsl--service .nsl-panel{background:var(--nsl-stone);border-radius:var(--nsl-radius);padding:clamp(28px,4.5vw,64px)}
body .nsl--service .nsl-panel h2{font-size:var(--nsl-2)}
.nsl--service .nsl-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px clamp(20px,3vw,40px);margin-top:var(--nsl-space-l)}
body .nsl--service .nsl-tick-list{list-style:none;display:grid;gap:12px;align-content:start}
body .nsl--service .nsl-tick-list li{position:relative;padding-left:38px;text-align:left !important}
body .nsl--service .nsl-tick-list li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23000042'/%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat}
.nsl--service .nsl-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,32px)}
.nsl--service .nsl-card{background:var(--nsl-blue);color:#fff;border-radius:30px;overflow:hidden;display:flex;flex-direction:column}
.nsl--service .nsl-card__img{aspect-ratio:1;border:20px solid var(--nsl-blue);border-radius:30px;background:var(--nsl-cream);overflow:hidden;display:grid;place-items:center}
body .nsl--service .nsl-card__img img{width:78%;height:78%;object-fit:contain}
body .nsl--service .nsl-card__img--cover img{width:100%;height:100%;object-fit:cover}
.nsl--service .nsl-card__body{padding:4px 30px 32px}
body .nsl--service .nsl-card h3{font-size:clamp(24px,19px + .6vw,30px);color:#fff}
body .nsl--service .nsl-card p{margin-top:12px;font-size:var(--nsl-0);line-height:1.45}
.nsl--service .nsl-why{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,32px)}
.nsl--service .nsl-why article{background:var(--nsl-blue);color:#fff;border-radius:30px;padding:clamp(28px,2.6vw,40px)}
body .nsl--service .nsl-why h3{font-size:clamp(24px,19px + .6vw,30px);color:#fff}
body .nsl--service .nsl-why p{margin-top:14px;line-height:1.45}
body .nsl--service .nsl-steps h2{font-size:var(--nsl-2)}
body .nsl--service .nsl-steps__intro + .nsl-steps__intro{margin-top:8px}
body .nsl--service .nsl-answer__shape--photo{overflow:hidden}
body .nsl--service .nsl-answer__shape--photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.nsl-proof--tp{text-align:center}
body .nsl--service .nsl-proof--tp .nsl-proof__title{margin-bottom:12px}
body .nsl--service .nsl-proof__intro{text-align:center !important;margin:0 auto}
.nsl--service .nsl-tp{margin-top:var(--nsl-space-l)}
body .nsl--service .nsl-faq{margin-bottom:8px}
body .nsl--service .nsl-faq summary{list-style:none;cursor:pointer;position:relative;display:block;background:var(--nsl-blue);color:#fff;font-family:"Moranga W05 Regular","Moranga W05 Bold",Georgia,serif;font-size:18px;line-height:1.35;padding:18px 60px 18px 18px;border-radius:10px}
body .nsl--service .nsl-faq summary::-webkit-details-marker{display:none}
body .nsl--service .nsl-faq summary::after{content:"";position:absolute;right:20px;top:50%;width:18px;height:18px;margin-top:-9px;background:linear-gradient(#fff,#fff) center/18px 2.5px no-repeat,linear-gradient(#fff,#fff) center/2.5px 18px no-repeat}
body .nsl--service .nsl-faq[open] summary::after{background:linear-gradient(#fff,#fff) center/18px 2.5px no-repeat}
body .nsl--service .nsl-faq summary:focus-visible{outline:3px solid var(--nsl-navy);outline-offset:3px}
body .nsl--service .nsl-faq__a{background:#fff;padding:30px;color:#333;font-size:18px}
body .nsl--service .nsl-faq__a a{font-weight:700}
body .nsl--service .nsl-offices .nsl-office-list{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
body .nsl--service .nsl-office-list__addr{font-size:var(--nsl-xs);line-height:1.4;margin:2px 0 4px}
body .nsl--service .nsl-urgent{margin-top:var(--nsl-space-m);font-size:var(--nsl-s)}
body .nsl--service .nsl-urgent a{font-weight:700}
body .nsl--service .nsl-close__line{margin-top:auto !important;padding-top:var(--nsl-space-l);font-family:var(--nsl-display);font-size:var(--nsl-1);line-height:1.3}
.nsl--service .nsl-links{text-align:center}
body .nsl--service .nsl-links h2{font-size:var(--nsl-1)}
body .nsl--service .nsl-links p{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 32px;margin-top:16px;text-align:center !important}
body .nsl--service .nsl-links a{font-weight:700}
.nsl--service{padding-bottom:var(--nsl-space-xl)}
@media (max-width:900px){
  .nsl--service .nsl-hero__art{grid-column:1 / -1;grid-row:3;min-height:260px;margin:28px 0 0 var(--nsl-g)}
  .nsl--service .nsl-cols,.nsl--service .nsl-cards,.nsl--service .nsl-why{grid-template-columns:1fr}
  .nsl--service .nsl-cols{gap:12px}
  .nsl--service .nsl-card__img{aspect-ratio:16 / 10}
  body .nsl--service .nsl-hero__cta,body .nsl--service .nsl-steps .nsl-pill,body .nsl--service .nsl-answer__cta .nsl-pill{display:flex;width:100%;padding:16px 12px}
  body .nsl--service .nsl-close__line{padding-top:var(--nsl-space-m)}
  body .nsl--service .nsl-faq__a{padding:25px}
}
@media (min-width:901px) and (max-width:1100px){
  .nsl--service .nsl-cards,.nsl--service .nsl-why{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 18 Nov 2026 (Jack's review of the Edinburgh switch page), switch pages only. */
@media (max-width:900px){
  /* Headline first, then the road and the car, then the rest of the intro. */
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero__copy{display:contents}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero__copy > *{grid-column:2}
  body .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero h1{grid-row:1;margin-top:28px}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero__road{grid-row:2;margin-top:24px}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero__lede{grid-row:3}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero__lede--more{grid-row:4}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero .nsl-terms{grid-row:5}
  body .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero__jump{grid-row:6;justify-self:center}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero .nsl-rating{grid-row:7}
  .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero .nsl-quote{grid-row:8}
  /* One heading over the first answer ("Is it worth switching?"); the section title stays for screen readers. */
  body .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-answers__title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}
@media (max-width:520px){
  body .nsl:not(.nsl--awareness):not(.nsl--service) .nsl-hero h1{margin-top:18px}
}

/* 18 Nov 2026, Jack's reviews of the Developers and Contractors pages. The classes are switched on per page in build_switch.py. */
/* Cards (.nsl-cards--blue): the location pages' blue cards (illustration straight on the blue, 28px titles, a full-width button at the foot). */
.nsl--service .nsl-cards--blue .nsl-card__img{background:transparent}
.nsl--service .nsl-cards--blue .nsl-card__body{flex:1 1 auto;display:flex;flex-direction:column;padding:15px 30px 30px}
body .nsl--service .nsl-cards--blue .nsl-card h3{font-size:28px;line-height:1.1}
body .nsl--service .nsl-cards--blue .nsl-card p{margin-top:15px;font-size:20px;line-height:1.25}
body .nsl--service .nsl-cards--blue .nsl-card .nsl-card__cta{margin-top:auto;padding-top:30px}
body .nsl--service .nsl-cards--blue .nsl-card__cta .nsl-pill{display:flex;width:100%;justify-content:center;text-align:center !important;min-height:52px;padding:14px 20px;font-size:19px}
/* Steps box intro on one line (.nsl-steps--wide). */
body .nsl--service .nsl-steps--wide .nsl-steps__intro{max-width:none}
/* Offices (.nsl-offices--boxed): each office in its own grey box, with the illustration as a sixth tile in the page's shape colour. */
body .nsl--service .nsl-offices--boxed .nsl-office-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,32px);margin-top:var(--nsl-space-l)}
body .nsl--service .nsl-offices--boxed .nsl-office-list li{background:var(--nsl-stone);border:0;border-radius:30px;padding:30px;align-content:start}
body .nsl--service .nsl-offices--boxed .nsl-office-list li.nsl-office-tile{position:relative;overflow:hidden;padding:0;min-height:240px;background:var(--nsl-green)}
body .nsl--service .nsl-offices--boxed .nsl-office-list li.nsl-office-tile--blue{background:var(--nsl-blue)}
body .nsl--service .nsl-office-tile img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:88%;width:auto;max-width:none}
body .nsl--service .nsl-offices--boxed .nsl-office-hours{margin-top:var(--nsl-space-m);text-align:center !important}
/* Hero text column without the 15ch / 576px caps (.nsl-hero--wide), so it fills the space up to the illustration. */
body .nsl--service .nsl-hero--wide h1,body .nsl--service .nsl-hero--wide .nsl-hero__lede{max-width:none}
body .nsl--service .nsl-hero--wide h1{font-size:min(var(--nsl-3),58px)}
body .nsl--service .nsl-offices--boxed .nsl-urgent{text-align:center !important}
/* Closing section (.nsl-close__photo): a photo in place of the copy box; the crop is set inline per page. */
.nsl--service .nsl-close__photo{position:relative;overflow:hidden;padding:0;min-height:320px}
body .nsl--service .nsl-close__photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
@media (max-width:1100px){
  body .nsl--service .nsl-offices--boxed .nsl-office-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .nsl--service .nsl-cards--blue .nsl-card__img{aspect-ratio:1}
  .nsl--service .nsl-cards--blue .nsl-card__body{padding:15px 22px 24px}
  body .nsl--service .nsl-cards--blue .nsl-card__cta .nsl-pill{padding:14px 8px}
  .nsl--service .nsl-close__photo{min-height:0;aspect-ratio:4 / 3}
}
@media (max-width:600px){
  body .nsl--service .nsl-offices--boxed .nsl-office-list{grid-template-columns:1fr}
  body .nsl--service .nsl-offices--boxed .nsl-office-list li{padding:20px}
  body .nsl--service .nsl-offices--boxed .nsl-office-list a.nsl-mail{font-size:16px}
}
@media (max-width:420px){
  body .nsl--service .nsl-cards--blue .nsl-card__cta .nsl-pill{font-size:17px}
}
@media (max-width:380px){
  body .nsl--service .nsl-cards--blue .nsl-card__cta .nsl-pill{font-size:16px;padding:14px 4px}
}

/* 18 Nov 2026 (Jack): the service pages on phones follow the switch pages. The headline comes first, then the road and
   the car, then the intro and the button, then the picture. */
@media (max-width:900px){
  .nsl.nsl--service .nsl-hero__copy{display:contents}
  .nsl.nsl--service .nsl-hero__copy > *{grid-column:2}
  body .nsl.nsl--service .nsl-hero h1{grid-row:1;margin-top:28px}
  .nsl.nsl--service .nsl-hero__road{grid-row:2;margin-top:24px}
  .nsl.nsl--service .nsl-hero__sub{grid-row:3}
  .nsl.nsl--service .nsl-hero__lede--more{grid-row:4}
  body .nsl.nsl--service .nsl-hero__cta{grid-row:5}
  .nsl.nsl--service .nsl-hero__art{grid-row:6}
}
@media (max-width:520px){
  body .nsl.nsl--service .nsl-hero h1{margin-top:18px}
}
/* 18 Nov 2026: the steps box button on the service pages, full width, centred and on one line on phones (like the card buttons). */
@media (max-width:900px){
  body .nsl.nsl--service .nsl-steps .nsl-pill{width:100% !important;max-width:none;justify-content:center;text-align:center !important;white-space:nowrap;padding:16px 8px}
}
@media (max-width:420px){
  body .nsl.nsl--service .nsl-steps .nsl-pill{font-size:17px}
}
@media (max-width:380px){
  body .nsl.nsl--service .nsl-steps .nsl-pill{font-size:16px;padding:16px 4px}
}
/* 20 Nov 2026: Trustpilot carousel on phones. The widget cuts off its right arrow below about 285px wide, so on phones the reviews box runs to the band edge (20px from the screen, as on the location pages) and the carousel sits 15px in from the box edge. */
@media (max-width:767px){
  body .nsl--service .nsl-band > .nsl-proof--tp{grid-column:1 / -1;padding:50px 30px 36px}
  body .nsl--service .nsl-proof--tp .nsl-tp{margin-left:-15px;margin-right:-15px}
}

/* 24 Nov 2026, mobile review of the three service pages. */
@media (max-width:767px){
  /* Sections 48px apart (the location pages use 40 to 60px on phones). The theme's 20px section padding is removed so the gap is the same everywhere. */
  body .nsl--service .nsl-section{margin-top:48px}
  body .nsl--service section.nsl-section{padding-top:0;padding-bottom:0}
  body .nsl--service section.nsl-hero{padding-bottom:0}
  body .nsl--service section.nsl-close{margin-top:48px;padding-top:0}
  body .nsl--service .nsl-faqs .nsl-faq:last-child{margin-bottom:0}
  /* Tick lists: tighter lines inside an item and a clearer gap between items, so wrapped items read as one and the ticks sit evenly. */
  body .nsl--service .nsl-cols,body .nsl--service .nsl-tick-list{gap:16px}
  body .nsl--service .nsl-tick-list li{line-height:1.35;padding-left:38px}
  body .nsl--service .nsl-tick-list li::before{top:-2px}
  /* Steps box: paragraphs fill the line instead of being balanced short. */
  body .nsl--service .nsl-steps p{text-wrap:wrap}
}
@media (max-width:600px){
  /* The illustration tile under the offices is not needed when the offices are in one column. */
  body .nsl--service .nsl-offices--boxed .nsl-office-list li.nsl-office-tile{display:none}
}

/* 24 Nov 2026: both switch pages (general and Edinburgh) on phones, the same fixes as the service pages (Jack's review of 24 Nov). */
@media (max-width:767px){
  /* Sections 48px apart: the theme's 20px section padding removed, one margin between sections. */
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl > section:not(.nsl-hero){padding-top:0;padding-bottom:0;margin-top:48px;margin-bottom:0}
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl > section.nsl-hero{padding-bottom:0}
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl .nsl-answers > .nsl-answer:not(.nsl-answers__lead){margin-bottom:48px}
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl .nsl-answers > article.nsl-answer:last-child{margin-bottom:0}
  /* Tick list: tighter lines inside an item, a clearer gap between items. */
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl .nsl-ticks > ul{gap:16px}
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl .nsl-ticks > ul > li{line-height:1.35}
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl .nsl-ticks > ul > li::before{top:-2px}
  /* Safari balances whole paragraphs under text-wrap:pretty and leaves short lines; fill the line instead. */
  body:is(.page-template-newton-switching-general-php,.page-template-newton-switching-landing-php) .nsl :is(p,li){text-wrap:wrap}
}

/* 24 Nov 2026: general page, the Business Development Team and the existing customer offer (from the old Change Factor page; offer option B). */
.nsl-offer{margin-bottom:clamp(56px,7vw,96px)}
.nsl-offer__panel{background:var(--nsl-blue);color:#fff;border-radius:var(--nsl-radius);padding:clamp(28px,4.5vw,64px);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--nsl-space-m) clamp(32px,5vw,80px);align-items:start}
body .nsl .nsl-offer__panel h2{font-size:var(--nsl-2);color:#fff}
body .nsl .nsl-offer__panel p{max-width:62ch;color:#fff}
@media (max-width:900px){
  .nsl-offer__panel{grid-template-columns:1fr}
}

/* 24 Nov 2026 (later): the team section redone as option B, keeping the same photo. The photo sits in a
   brand shape beside the names, like the answers above it; the shape is rounded only at the top so nobody on the sofa is cut off. */
.nsl-team__shape{overflow:hidden;height:clamp(320px,36vw,520px);border-radius:0 var(--nsl-shape-r) 0 0}
body .nsl .nsl-team__shape img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%}
body .nsl .nsl-team h2{font-size:var(--nsl-2);margin-bottom:16px}
body .nsl .nsl-answer__body .nsl-team__list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin:var(--nsl-space-m) 0 0;padding:0}
body .nsl .nsl-answer__body .nsl-team__list li{display:grid;gap:2px;align-content:start;padding:12px 0;border-top:1.5px solid rgba(0,0,66,.15)}
body .nsl .nsl-answer__body .nsl-team__list li::before{content:none}
body .nsl .nsl-team__list strong{font-family:var(--nsl-display);font-weight:400;font-size:var(--nsl-1);line-height:1.2}
body .nsl .nsl-team__list span{font-size:var(--nsl-s);line-height:1.35}
.nsl-team--nophoto .nsl-answer__body{grid-column:2 / 14;max-width:none}
@media (max-width:900px){
  /* Full width under 900px, about 4:3 on phones and no taller than 420px on tablets; crop from nearer the top so heads stay in. */
  .nsl-answer--left.nsl-team .nsl-team__shape{height:clamp(240px,70vw,420px)}
  body .nsl .nsl-team__shape img{object-position:50% 30%}
  .nsl-team--nophoto .nsl-answer__body{grid-column:2;grid-row:1}
}
@media (max-width:600px){
  body .nsl .nsl-answer__body .nsl-team__list{grid-template-columns:1fr}
  body .nsl .nsl-answer__body .nsl-team__list li:first-child{border-top:0;padding-top:0}
}

/* 25 Nov 2026: once the thank-you message replaces the form, hide the intro line above it */
body .nsl .nsl-quote:has(.gform_confirmation_wrapper) .nsl-quote__intro{display:none}

/* 25 Nov 2026, phones (Jack: the form wasn't the same width as the images). Every image, shape, panel and form card spans the full phone grid, so they all sit 20px from the screen edge on both sides; text keeps its 40px margin. Awareness pages have their own layout and are left out. */
@media (max-width:767px){
  body .nsl:not(.nsl--awareness) .nsl-answer__shape{margin-left:0;margin-right:0}
  body .nsl:not(.nsl--awareness) .nsl-hero__road{margin-right:0}
  body .nsl:not(.nsl--awareness) :is(.nsl-quote,.nsl-steps,.nsl-proof,.nsl-offer__panel,.nsl-close__copy,.nsl-panel,.nsl-close__photo){grid-column:1 / -1}
}

/* 26 Nov 2026, small phones (under 360px, e.g. 320): the office list's 260px minimum column was wider than the 240px text column, so long emails ran past it; the submit label wrapped onto two lines. */
@media (max-width:359px){
  body .nsl .nsl-office-list{grid-template-columns:minmax(0,1fr)}
  body .nsl .nsl-office-list a.nsl-mail,body .nsl .nsl-mail{font-size:15px}
  body .nsl .gform_wrapper.gravity-theme .gform_footer .gform_button[type=submit]{font-size:17px !important;padding:16px 14px !important}
}
