/* Ace Group | houseextensionsgloucester.com
   Everything here is taken from the client's logo:
   - its two typefaces: Playfair Display small caps (the "ACE GROUP" lettering)
     for headings, and Poppins set wide (the strapline) for text and labels;
   - its colours: black, white, and the #ccc silver of the spade emblem;
   - its shapes: the spade as the bullet and watermark, and the emblem's sharp
     diagonal cuts as the cut corner on cards, panels and photos.
   Mobile first. */

/* ---------------------------------------------------------------- fonts -- */
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/poppins-400-latin.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-500-latin.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-600-latin.woff2) format("woff2")}
@font-face{font-family:"Playfair Display SC";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/playfair-sc-400-latin.woff2) format("woff2")}
@font-face{font-family:"Playfair Display SC";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/playfair-sc-700-latin.woff2) format("woff2")}

/* --------------------------------------------------------------- tokens -- */
:root{
  --black:#000;                /* the logo's background */
  --ink:#0a0a0a;
  --coal:#141414;
  --coal-2:#222;
  --edge-dark:#3a3a3a;
  --silver:#ccc;               /* the spade emblem */
  --silver-lo:#8c8c8c;
  --white:#fff;                /* the lettering */
  --paper:#f4f4f2;
  --paper-2:#e6e6e3;
  --line:#d9d9d5;
  --line-strong:#8a8a85;
  --text:#161616;
  --muted:#595955;
  --on-dark:#ededeb;
  --on-dark-muted:#bdbdb8;
  --wrap:1200px;
  --gutter:20px;
  --cut:18px;                  /* size of the cut corner */
  --display:"Playfair Display SC",Georgia,"Times New Roman",serif;
  --body:"Poppins","Helvetica Neue",Arial,sans-serif;
}

/* ---------------------------------------------------------------- reset -- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;font-family:var(--body);font-size:1rem;line-height:1.7;color:var(--text);background:var(--white);padding-bottom:58px}
img,svg{max-width:100%;height:auto}
img{display:block}
[hidden]{display:none!important}
h1,h2,h3,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--text);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--black)}
strong,b{font-weight:600}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.on-dark :focus-visible,.header :focus-visible,.footer :focus-visible,.cta :focus-visible,.mbar :focus-visible,.why :focus-visible,.panel--ink :focus-visible{outline-color:#fff}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;background:#fff;color:var(--ink);font-weight:600}
.skip:focus{top:12px}

/* --------------------------------------------------------------- layout -- */
.wrap{width:min(100% - 2 * var(--gutter),var(--wrap));margin-inline:auto}
.section{padding-block:60px}
.section--paper{background:var(--paper)}
.section--ink{background:var(--ink)}
.section--silver{background:var(--silver);color:var(--ink)}
.grid{display:grid;gap:22px;grid-template-columns:minmax(0,1fr)}
.stack>*+*{margin-top:16px}
.lead{font-size:1.08rem;line-height:1.7}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.mt{margin-top:26px}
.center{text-align:center}

/* ----------------------------------------------------------------- type -- */
/* Headings are set in the logo's own lettering: small capitals with larger first letters. */
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.14;letter-spacing:.015em;color:var(--ink);text-wrap:balance;font-variant-numeric:lining-nums}
h1{font-size:clamp(1.7rem,5.6vw,3rem)}
h2{font-size:clamp(1.5rem,3.8vw,2.3rem)}
h3{font-size:1.12rem;font-weight:700;line-height:1.25;letter-spacing:.035em}
.on-dark{color:var(--on-dark)}
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark strong{color:#fff}
.on-dark a:not(.btn){color:#fff}

/* Small label above a heading, set wide like the strapline in the logo and led by its spade. */
.eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-family:var(--body);font-weight:500;font-size:.8rem;letter-spacing:.2em;line-height:1.5;color:var(--muted)}
.eyebrow::before{content:"";flex:none;width:13px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%230a0a0a'/%3E%3C/svg%3E") center/contain no-repeat}
.on-dark .eyebrow{color:var(--silver)}
.on-dark .eyebrow::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%23cccccc'/%3E%3C/svg%3E")}
.section--silver .eyebrow{color:var(--ink)}
.head{max-width:780px;margin-bottom:36px}
.head p:not(.eyebrow){margin-top:16px}
.head--center{margin-inline:auto;text-align:center}
.head--center .eyebrow{justify-content:center;margin-bottom:12px}
.head--center .eyebrow::before{display:none}
/* A hairline either side of the spade, under a centred heading */
.rule{display:block;width:168px;height:14px;margin:18px auto 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%230a0a0a'/%3E%3C/svg%3E") center/13px 14px no-repeat,linear-gradient(var(--line-strong),var(--line-strong)) left center/64px 1px no-repeat,linear-gradient(var(--line-strong),var(--line-strong)) right center/64px 1px no-repeat}
.on-dark .rule{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%23cccccc'/%3E%3C/svg%3E"),linear-gradient(var(--silver-lo),var(--silver-lo)),linear-gradient(var(--silver-lo),var(--silver-lo))}
.section--silver .rule{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%230a0a0a'/%3E%3C/svg%3E"),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink))}

/* -------------------------------------------------------------- buttons -- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;max-width:100%;padding:12px 26px;border:1px solid var(--ink);border-radius:0;background:var(--ink);color:#fff;font-family:var(--body);font-weight:600;font-size:.86rem;letter-spacing:.12em;line-height:1.2;text-decoration:none;text-align:center;white-space:nowrap;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}
.btn:hover{background:#2e2e2e;border-color:#2e2e2e;color:#fff}
.btn svg{flex:none;width:18px;height:18px}
.btn--line{background:transparent;color:var(--ink)}
.btn--line:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.7);color:#fff}
.btn--ghost:hover{background:#fff;border-color:#fff;color:var(--ink)}
/* On black, the main button is a plate of the emblem's silver. */
:where(.on-dark,.header,.cta) .btn:not(.btn--ghost,.btn--line){background:var(--silver);border-color:var(--silver);color:var(--ink)}
:where(.on-dark,.header,.cta) .btn:not(.btn--ghost,.btn--line):hover{background:#fff;border-color:#fff;color:var(--ink)}
:where(.on-dark) .btn--line{border-color:var(--silver);color:#fff}
:where(.on-dark) .btn--line:hover{background:#fff;border-color:#fff;color:var(--ink)}
.btn[disabled]{opacity:.65;cursor:progress}
.actions{display:flex;flex-wrap:wrap;gap:12px}

.more{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem;letter-spacing:.08em;text-decoration:none}
.more svg{flex:none;width:17px;height:17px;transition:transform .15s}
.more:hover svg{transform:translateX(4px)}

/* Black tile with one corner cut, like the cuts in the emblem */
.badge{flex:none;display:grid;place-items:center;width:54px;height:54px;background:var(--ink);color:#fff;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
.badge svg{width:26px;height:26px}
.on-dark .badge{background:var(--silver);color:var(--ink)}

/* ------------------------------------------- cut-corner cards and photos -- */
/* --shape is the outline with two opposite corners cut; --ring is a 1px line
   that follows it (a border would be clipped off at the cuts). */
.card,.panel,.why,.compare__card,.form-card,.shot,.steps li,.xtype,.hero__media{
  --k:calc(var(--cut) - .59px);
  --shape:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,var(--cut) 100%,0 calc(100% - var(--cut)));
  --ring:polygon(evenodd,0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,var(--cut) 100%,0 calc(100% - var(--cut)),0 0,1px 1px,calc(100% - 1px - var(--k)) 1px,calc(100% - 1px) calc(1px + var(--k)),calc(100% - 1px) calc(100% - 1px),calc(1px + var(--k)) calc(100% - 1px),1px calc(100% - 1px - var(--k)),1px 1px);
}
.card,.panel,.why,.compare__card,.form-card,.shot,.steps li,.xtype{--edge:var(--line);--face:#fff;position:relative;background-color:var(--face);clip-path:var(--shape);transition:background-color .15s}
.card::after,.panel::after,.why::after,.compare__card::after,.form-card::after,.shot::after,.steps li::after,.xtype::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background-color:var(--edge);clip-path:var(--ring);transition:background-color .15s}
.on-dark .card,.on-dark .shot,.on-dark .steps li,.on-dark .xtype{--edge:var(--edge-dark);--face:var(--coal);color:var(--on-dark)}

/* --------------------------------------------------------------- header -- */
.header{position:relative;z-index:40;background:var(--black);border-bottom:1px solid var(--coal-2);color:#fff}
.header__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;min-height:68px}
.brand{flex:none;display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;line-height:1}
.brand img{width:auto;height:42px}
.brand__text{display:flex;flex-direction:column;justify-content:center}
.brand__name{font-family:var(--display);font-weight:400;font-size:1.3rem;letter-spacing:.05em;line-height:1;white-space:nowrap;color:#fff}
.brand__strap{display:none;margin-top:6px;font-size:.5rem;font-weight:400;letter-spacing:.17em;line-height:1;white-space:nowrap;color:var(--silver)}
.header__actions{display:flex;align-items:center;gap:8px}
.header__call{display:none;align-items:center;gap:8px;color:#fff;font-weight:500;letter-spacing:.04em;text-decoration:none;white-space:nowrap}
.header__call svg{flex:none;width:18px;height:18px;color:var(--silver)}
.header__call:hover{color:#fff;text-decoration:underline}
.header .btn{min-height:42px;padding:8px 14px;font-size:.78rem;letter-spacing:.08em}
.burger{flex:none;place-content:center;gap:5px;width:44px;height:44px;padding:0;border:0;background:none;color:#fff;cursor:pointer}
.burger span{display:block;width:24px;height:2px;background:currentColor;transition:transform .15s,opacity .15s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* Without JavaScript there is no burger, so the menu simply sits under the bar. */
.burger{display:none}
.js .burger{display:grid}
.nav{flex-basis:100%;order:5;padding-bottom:14px}
.js .nav{display:none}
.js .nav.is-open{display:block}
.nav__list{border-top:1px solid var(--coal-2)}
.nav__list a{display:block;padding:14px 2px;border-bottom:1px solid var(--coal-2);color:#fff;font-weight:500;font-size:.95rem;letter-spacing:.1em;text-decoration:none}
.nav__list a[aria-current="page"]{color:var(--silver)}
.nav__call{display:flex;align-items:center;gap:9px;padding:16px 2px 2px;color:#fff;font-weight:500;letter-spacing:.04em;text-decoration:none}
.nav__call svg{flex:none;width:18px;height:18px;color:var(--silver)}

/* ----------------------------------------------------------------- hero -- */
/* On a phone the photo sits between the heading and the rest of the copy, so
   it is on the first screen. "display:contents" lets the copy's own children
   be ordered around it. */
.hero{position:relative;display:flex;flex-direction:column;overflow:hidden;background:var(--black)}
/* The emblem, very large and very faint, behind the dark blocks */
.hero::before,.cta::before,.why::before,.phero::before,.notice::before{content:"";position:absolute;pointer-events:none;aspect-ratio:176/210;background:url(../images/logo-mark-lg.webp) center/contain no-repeat;opacity:.06}
.hero::before{right:-70px;bottom:-40px;width:330px}
.hero__copy{display:contents}
.hero__copy>*{position:relative;margin-inline:var(--gutter)}
.hero__copy .eyebrow{order:1;margin-top:30px}
.hero h1{order:2;font-size:min(calc((100vw - 2 * var(--gutter)) / 10),3.9rem);line-height:1.08;letter-spacing:.02em;color:#fff}
.hero h1 em{display:block;font-style:normal;color:var(--silver)}
.hero__media{order:3}
.hero__copy .lead{order:4}
.hero__copy .actions{order:5}
.hero__copy .ticks{order:6;margin-bottom:40px}
.h1-sub{display:block;margin-top:16px;font-family:var(--body);font-size:.84rem;font-weight:400;line-height:1.6;letter-spacing:.08em;color:var(--on-dark-muted)}
.hero .lead{margin-top:26px;max-width:36em}
.hero .actions{margin-top:26px}
.ticks{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:26px;font-weight:500;letter-spacing:.08em;font-size:.92rem}
.ticks li{display:flex;align-items:center;gap:9px}
.ticks li::before{content:"";flex:none;width:12px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%23cccccc'/%3E%3C/svg%3E") center/contain no-repeat}
/* The photo has the cut corners, and a silver outline of the same shape set behind it. */
.hero__media{position:relative;--cut:24px;margin:28px calc(var(--gutter) + 10px) 10px var(--gutter);aspect-ratio:3/2}
.hero__media::before{content:"";position:absolute;inset:0;transform:translate(10px,10px);background:var(--silver);clip-path:var(--ring)}
.hero__media img{position:relative;width:100%;height:100%;object-fit:cover;clip-path:var(--shape)}

/* Inner page header */
.phero,.notice{position:relative;overflow:hidden;background:var(--black);color:var(--on-dark)}
.phero{padding-block:24px 44px}
.phero::before,.notice::before{right:-40px;top:50%;width:230px;transform:translateY(-50%);opacity:.08}
.phero .wrap,.notice .wrap{position:relative}
.phero h1{color:#fff;max-width:19em}
.phero .lead{margin-top:16px;max-width:42em}
.crumbs{margin-bottom:20px;font-size:.82rem;letter-spacing:.1em;color:var(--on-dark-muted)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:8px}
.crumbs li+li::before{content:"/";margin-right:8px;color:var(--silver-lo)}
.crumbs a{color:#fff}

/* ---------------------------------------------------------- trust strip -- */
.trust{background:var(--black);border-top:1px solid var(--coal-2)}
.trust__list{display:grid;gap:22px 16px;padding-block:26px;grid-template-columns:repeat(2,minmax(0,1fr))}
.trust__list li{display:flex;align-items:center;gap:12px;min-width:0}
.trust__icon{flex:none;display:grid;place-items:center;color:var(--silver)}
.trust__icon svg{width:28px;height:28px}
.trust__list b{display:block;font-family:var(--display);font-weight:700;font-size:.98rem;letter-spacing:.05em;line-height:1.2;color:#fff;font-variant-numeric:lining-nums}
.trust__list span span{display:block;margin-top:3px;font-size:.8rem;line-height:1.35;color:var(--on-dark-muted)}

/* ---------------------------------------------------------------- cards -- */
.card{display:flex;flex-direction:column;color:var(--text)}
.card:hover{--edge:var(--ink)}
.card__body{display:flex;flex-direction:column;gap:13px;flex:1;padding:28px 26px 30px}
.card__body h3 a{color:inherit;text-decoration:none}
.card__body h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.card__body .more{margin-top:auto;padding-top:6px}
.card__body p{font-size:.95rem}
/* A large faint number in the corner */
.card__no{position:absolute;right:26px;top:22px;font-family:var(--display);font-size:2.7rem;line-height:1;letter-spacing:.02em;font-variant-numeric:lining-nums;color:var(--paper-2)}
.on-dark .card__no{color:#303030}
.on-dark .card:hover{--edge:var(--silver);--face:#1b1b1b}
.on-dark .card p{color:var(--on-dark-muted)}
/* The "not sure" card is the reverse: a silver plate */
.card--ask,.on-dark .card--ask{--face:var(--silver);--edge:var(--silver);color:var(--ink)}
.on-dark .card--ask:hover{--face:var(--silver);--edge:var(--silver)}
.on-dark .card--ask h3,.on-dark .card--ask p{color:var(--ink)}
.on-dark .card--ask .badge{background:var(--ink);color:#fff}
.card--ask .btn{position:relative;z-index:1;margin-top:auto;align-self:flex-start;background:var(--ink);border-color:var(--ink);color:#fff}
.card--ask .btn:hover{background:#2e2e2e;border-color:#2e2e2e;color:#fff}

/* Photos with a caption */
.shot{margin:0;color:var(--text)}
.shot__img{overflow:hidden}
.shot img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .4s}
.shot:hover img{transform:scale(1.03)}
.shot figcaption{padding:15px 20px 20px 22px;font-size:.9rem;line-height:1.55}
.shot figcaption strong{display:block;margin-bottom:2px;font-family:var(--display);font-weight:700;font-size:1.02rem;letter-spacing:.05em;color:var(--ink)}
.on-dark .shot figcaption{color:var(--on-dark-muted)}
.on-dark .shot figcaption strong{color:#fff}
.shot--tall img{aspect-ratio:4/3}

/* ---------------------------------------------- copy beside a tick panel -- */
.plain-ticks{display:grid;gap:11px}
.plain-ticks li{display:flex;align-items:flex-start;gap:12px;line-height:1.5;font-size:.95rem}
.plain-ticks li::before{content:"";flex:none;width:20px;height:20px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h18l6 6v18H0z' fill='%230a0a0a'/%3E%3Cpath d='m6 12.6 3.7 3.7L17.6 8.4' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat}
/* Black panel with the emblem behind, like the logo itself */
.why{--face:var(--ink);--edge:var(--edge-dark);margin-top:30px;padding:34px 26px 32px;color:var(--on-dark);overflow:hidden}
.why::before{right:-30px;bottom:-34px;width:210px;opacity:.09}
.why>*{position:relative}
.why h3{margin-bottom:20px;font-size:1.35rem;font-weight:400;color:#fff}
.why .plain-ticks{gap:14px;font-weight:500}
.why .plain-ticks li::before,.panel--ink .plain-ticks li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h18l6 6v18H0z' fill='%23cccccc'/%3E%3Cpath d='m6 12.6 3.7 3.7L17.6 8.4' fill='none' stroke='%230a0a0a' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E")}

/* ---------------------------------------------------------------- panel -- */
.panel{padding:26px 22px 28px}
.panel h3{margin-bottom:18px}
.panel--ink{--face:var(--ink);--edge:var(--edge-dark);color:var(--on-dark)}

/* ------------------------------------------------- types of extension -- */
/* On a phone each type is a row: the plan on the left, the words beside it */
.xtypes{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
.xtype{display:grid;grid-template-columns:104px minmax(0,1fr);gap:0 16px;align-content:start;min-width:0;padding:14px 16px 18px 14px;--cut:14px}
.xtype svg{grid-row:1 / span 2;display:block;width:100%;height:auto}
.xtype h3{align-self:end}
.panel .xtype{grid-template-columns:80px minmax(0,1fr);gap:0 12px;padding:12px 12px 16px}
.xtype__plot{fill:var(--paper)}
.xtype__house{fill:var(--ink)}
.xtype__new rect,.xtype__new path{fill:var(--silver);stroke:var(--ink);stroke-width:1.5;stroke-dasharray:4 3}
.xtype__new text{font-family:var(--body);font-weight:600;font-size:9px;letter-spacing:.06em;fill:var(--ink)}
.xtype h3{margin-bottom:6px;font-size:.95rem;letter-spacing:.02em}
.xtype p{font-size:.88rem;line-height:1.55}
.xtypes__key{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:20px;letter-spacing:.06em}
.panel .xtypes__key{justify-content:flex-start}
.key{display:inline-block;width:16px;height:16px;border:1.5px solid var(--ink)}
.key--house{background:var(--ink)}
.key--new{margin-left:14px;background:var(--silver);border-style:dashed}

/* ---------------------------------------------------- extension compare -- */
.compare{display:grid;gap:20px;grid-template-columns:minmax(0,1fr)}
.compare__card{--edge:var(--ink)}
.compare__card h3{display:flex;align-items:center;gap:14px;padding:18px 22px;background:var(--ink);color:#fff;font-weight:400;font-size:1.22rem}
.compare__card h3 .badge{width:40px;height:40px;background:var(--silver);color:var(--ink);clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,0 100%)}
.compare__card h3 .badge svg{width:21px;height:21px}
.compare__card dl{padding:6px 22px 16px}
.compare__card dl div{padding:13px 0}
.compare__card dl div+div{border-top:1px solid var(--line)}
.compare__card dt,.service__cols h3,.details strong{font-family:var(--body);font-weight:600;font-size:.76rem;letter-spacing:.16em;line-height:1.4;color:var(--muted)}
.compare__card dd{margin-top:4px;font-size:.95rem;line-height:1.5}

/* ---------------------------------------------------------------- steps -- */
.steps{counter-reset:step;display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}
.steps li{counter-increment:step;padding:24px 22px 26px 88px;color:var(--text);--cut:14px}
.steps li::before{content:counter(step,decimal-leading-zero);position:absolute;left:22px;top:20px;font-family:var(--display);font-size:2.3rem;line-height:1;font-variant-numeric:lining-nums;color:var(--ink)}
.steps h3{margin-bottom:7px}
.steps p{font-size:.95rem}

/* ------------------------------------------------------------------ faq -- */
.faq{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);max-width:900px}
.head--center+.faq{margin-inline:auto}
.faq details{background:#fff;border:1px solid var(--line);transition:border-color .15s}
.faq details:hover{border-color:var(--line-strong)}
.faq details[open]{border-color:var(--ink);box-shadow:inset 4px 0 0 var(--ink)}
.faq summary{display:flex;align-items:flex-start;gap:16px;padding:18px 20px;font-weight:500;font-size:1.02rem;line-height:1.45;color:var(--text);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:26px;height:26px;margin-left:auto;background:linear-gradient(#fff,#fff) center/12px 2px no-repeat,linear-gradient(#fff,#fff) center/2px 12px no-repeat,var(--ink)}
.faq details[open] summary::after{background:linear-gradient(var(--ink),var(--ink)) center/12px 2px no-repeat,var(--silver)}
.faq .answer{padding:0 20px 20px 24px;font-size:.96rem;overflow-wrap:anywhere}

/* ------------------------------------------------------------------ map -- */
.map{position:relative;height:340px;overflow:hidden;background:var(--paper-2);border:1px solid var(--ink)}
.map iframe{position:relative;z-index:1;display:block;width:100%;height:100%;border:0}
.map__fallback{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;text-align:center;color:var(--text)}
.map__fallback strong{font-family:var(--display);font-weight:400;font-size:1.5rem;letter-spacing:.04em;color:var(--ink)}

/* ---------------------------------------------------------------- areas -- */
.areas{display:grid;gap:0 22px;grid-template-columns:repeat(2,minmax(0,1fr))}
.areas li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-weight:500;font-size:.95rem;line-height:1.3;overflow-wrap:anywhere}
.areas svg{flex:none;width:17px;height:17px;color:var(--ink)}
.area-group+.area-group{margin-top:46px}
.area-group h3{margin-bottom:8px;font-size:1.5rem;font-weight:400}
.area-group>p{margin-bottom:16px;max-width:46em}
.chips{display:flex;flex-wrap:wrap;gap:9px}
.chips--center{justify-content:center}
.chips li a,.chips li span{display:block;padding:8px 16px;background:#fff;border:1px solid var(--line-strong);color:var(--text);font-weight:500;font-size:.86rem;letter-spacing:.08em;line-height:1.35;text-decoration:none;transition:background-color .15s,color .15s,border-color .15s}
.chips li a:hover{background:var(--ink);border-color:var(--ink);color:#fff}
/* The trades: a spade before each, silver outline on black */
.chips--trades li span{display:flex;align-items:center;gap:9px;background:transparent;border-color:#5c5c5c;color:#fff}
.chips--trades li span::before{content:"";flex:none;width:10px;height:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%23cccccc'/%3E%3C/svg%3E") center/contain no-repeat}
.section--silver .chips--trades li span{background:var(--ink);border-color:var(--ink);color:#fff}

/* ------------------------------------------------------- services page -- */
.jump{padding-block:18px;background:var(--ink)}
.jump .chips li a{background:transparent;border-color:#5c5c5c;color:#fff}
.jump .chips li a:hover{background:var(--silver);border-color:var(--silver);color:var(--ink)}
.service{display:grid;gap:26px;grid-template-columns:minmax(0,1fr);padding-block:50px;border-bottom:1px solid var(--line)}
.service:last-child{border-bottom:0}
.service__head{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.service__main p+p{margin-top:14px}
.service__main p{max-width:46em}
.service__cols{display:grid;gap:24px;grid-template-columns:minmax(0,1fr)}
.service__cols h3{margin-bottom:14px}
.service .more{margin-top:20px}
.service__photos{display:grid;gap:18px;grid-template-columns:minmax(0,1fr);align-content:start}

/* ----------------------------------------------------------------- form -- */
.contact{display:grid;gap:40px;grid-template-columns:minmax(0,1fr)}
.form-card{--face:var(--paper);--edge:var(--ink);padding:28px 20px 30px}
.form{display:grid;gap:17px;grid-template-columns:minmax(0,1fr);margin-top:22px}
.form__row{display:grid;gap:17px;grid-template-columns:minmax(0,1fr)}
.field{min-width:0}
.field label{display:block;margin-bottom:7px;font-weight:500;font-size:.92rem;letter-spacing:.04em;color:var(--text)}
.field .opt{font-weight:400;color:var(--muted)}
.field input,.field select,.field textarea{display:block;width:100%;min-width:0;padding:12px 14px;border:1px solid var(--line-strong);border-radius:0;background:#fff;color:var(--text);font:inherit;letter-spacing:0}
.field textarea{min-height:150px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.field [aria-invalid="true"]{border-color:#b3261e;box-shadow:inset 4px 0 0 #b3261e}
.field__error{margin-top:6px;font-size:.92rem;font-weight:500;color:#a3211a}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.form__status{padding:14px 16px;border:1px solid #b3261e;border-left:5px solid #b3261e;background:#fff;color:var(--text);font-weight:500}
.form__note{font-size:.88rem;color:var(--muted)}
.details{display:grid;gap:18px}
.details li{display:flex;align-items:flex-start;gap:16px}
.details .badge{width:48px;height:48px}
.details .badge svg{width:22px;height:22px}
.details strong{display:block;margin-bottom:2px}
.details a{font-weight:500;overflow-wrap:anywhere}
.side h2{font-size:1.5rem}
.side h2+*{margin-top:20px}
.side .steps{margin-top:20px}

/* ------------------------------------------------------------- cta band -- */
.cta{position:relative;overflow:hidden;background:var(--black);color:var(--on-dark)}
.cta::before{right:-50px;top:50%;width:230px;transform:translateY(-50%);opacity:.07}
.cta__in{position:relative;display:grid;gap:26px;align-items:center;padding-block:56px;grid-template-columns:minmax(0,1fr)}
.cta h2{color:#fff}
.cta p:not(.eyebrow){margin-top:10px;font-size:1.04rem}
.cta .eyebrow{color:var(--silver)}
.cta .eyebrow::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C9 6.5 3.5 9 3.5 13.8a4.2 4.2 0 0 0 7 3.1c-.3 1.9-1 3.3-2.2 4.6h7.4c-1.2-1.3-1.9-2.7-2.2-4.6a4.2 4.2 0 0 0 7-3.1C20.5 9 15 6.5 12 1.5z' fill='%23cccccc'/%3E%3C/svg%3E")}
.cta .tel{display:inline-block;margin-top:14px;color:#fff;font-family:var(--display);font-weight:400;font-size:clamp(2rem,8vw,3rem);letter-spacing:.04em;line-height:1.1;font-variant-numeric:lining-nums;text-decoration:none;white-space:nowrap}
.cta .tel:hover{color:var(--silver)}

/* --------------------------------------------------------------- footer -- */
.footer{position:relative;overflow:hidden;background:var(--black);border-top:1px solid var(--coal-2);color:var(--on-dark-muted);font-size:.92rem}
.footer .wrap{position:relative}
.footer__grid{display:grid;gap:36px;padding-block:48px 34px;grid-template-columns:minmax(0,1fr)}
.footer h2{margin-bottom:14px;color:var(--silver);font-family:var(--body);font-size:.78rem;font-weight:500;letter-spacing:.2em}
.footer a{color:#fff;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer li+li{margin-top:8px}
.footer li{overflow-wrap:anywhere}
/* The logo as it is drawn: emblem over the name over the strapline */
.footer__logo{display:inline-flex;flex-direction:column;align-items:center;text-align:center;line-height:1}
.footer__logo img{width:auto;height:74px}
.footer__name{margin-top:16px;font-family:var(--display);font-size:1.9rem;letter-spacing:.05em;color:#fff;white-space:nowrap}
.footer__strap{margin-top:9px;font-size:.56rem;letter-spacing:.17em;color:var(--silver);white-space:nowrap}
.footer a.footer__logo:hover{text-decoration:none}
.footer__logo+p{margin-top:24px;max-width:30em}
.footer__legal{padding-block:20px 24px;border-top:1px solid var(--coal-2);font-size:.84rem}
.footer__legal p+p{margin-top:6px}

/* Call and enquiry bar pinned to the bottom of phone screens */
.mbar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--edge-dark)}
.mbar a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:56px;padding:6px 8px;font-weight:600;font-size:.86rem;letter-spacing:.1em;text-decoration:none}
.mbar a:first-child{background:var(--black);color:#fff}
.mbar a:last-child{background:var(--silver);color:var(--ink)}
.mbar svg{flex:none;width:18px;height:18px}

/* ------------------------------------------------------- notice (404 etc) -- */
.notice{padding-block:60px 68px}
.notice h1{color:#fff}
.notice .lead{margin-top:16px;max-width:38em}
.notice .actions{margin-top:28px}

/* ====================== small phones: the name stacks so the header fits == */
@media (max-width:399px){
  :root{--gutter:16px}
  .brand{gap:8px}
  .brand img{height:40px}
  .brand__name{width:min-content;white-space:normal;font-size:1.02rem;line-height:1.05}
  .header .btn{padding:8px 10px}
  .header__actions{gap:4px}
}
@media (min-width:420px){
  .brand img{height:46px}
  .brand__name{font-size:1.45rem}
  .header .btn{padding:8px 18px}
  .header__actions{gap:10px}
}

/* ========================================================== 600px and up == */
@media (min-width:600px){
  :root{--gutter:24px}
  .brand img{height:50px}
  .brand{gap:13px}
  .brand__name{font-size:1.6rem}
  .form__row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .form-card{padding:34px 30px 36px}
  .areas{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid--2,.grid--3,.grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service__cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero::before{width:420px}
  .h1-sub{font-size:.92rem;letter-spacing:.14em}
}

/* ========================================================== 760px and up == */
@media (min-width:760px){
  .section{padding-block:84px}
  .head{margin-bottom:44px}
  .trust__list{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-block:0}
  .trust__list li{padding:28px 22px}
  .trust__list li+li{border-left:1px solid var(--coal-2)}
  .trust__list li:first-child{padding-left:0}
  .grid--3,.compare{grid-template-columns:repeat(3,minmax(0,1fr))}
  .xtypes{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
  .xtype,.panel .xtype{display:block;padding:14px 14px 20px}
  .xtype svg{margin-bottom:14px}
  .panel .xtypes{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .areas{grid-template-columns:repeat(4,minmax(0,1fr))}
  .map{height:420px}
  .phero{padding-block:30px 60px}
  .phero::before,.notice::before{right:max(var(--gutter),calc((100vw - var(--wrap)) / 2));width:auto;height:min(72%,220px);opacity:.13}
  .phero h1{max-width:min(19em,calc(100% - 240px))}
  .phero .lead{max-width:min(42em,calc(100% - 240px))}
}

/* ========================================================== 900px and up == */
@media (min-width:900px){
  body{padding-bottom:0}
  .mbar{display:none}
  .hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center}
  .hero::before{right:auto;left:-90px;bottom:-110px;width:520px;opacity:.045}
  /* left padding lines the copy up with the page gutter used everywhere else */
  .hero__copy{position:relative;display:block;padding:76px 56px 80px max(var(--gutter),calc((100vw - var(--wrap)) / 2))}
  .hero__copy>*{margin-inline:0}
  .hero h1{font-size:min(calc((51vw - 60px - max(var(--gutter),(100vw - var(--wrap)) / 2)) / 9.75),3.9rem)}
  .hero__copy .eyebrow{margin-top:0}
  .hero__copy .ticks{margin-bottom:0}
  .hero__media{--cut:34px;margin:60px max(calc(var(--gutter) + 14px),calc((100vw - var(--wrap)) / 2 + 14px)) 74px 0}
  .hero__media::before{transform:translate(14px,14px)}
  .grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  .steps li{padding:84px 22px 26px}
  .steps li::before{font-size:2.6rem;top:24px}
  .steps.steps--stack{grid-template-columns:minmax(0,1fr)}
  .steps.steps--stack li{padding:22px 22px 24px 88px}
  .steps.steps--stack li::before{font-size:2.3rem;top:20px}
  .steps.steps--two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps.steps--two li{padding:26px 28px 28px 96px}
  .steps.steps--two li::before{top:24px;left:26px}
  .contact{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:start}
  /* "auto 1fr": the copy keeps its own height and the tick lists sit straight under it, however tall the photos are */
  .service{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);grid-template-rows:auto 1fr;gap:28px 56px;align-items:start;padding-block:64px}
  .service__main,.service__cols{grid-column:1}
  .service__photos{grid-column:2;grid-row:1 / span 2}
  .cta::before{left:auto;right:max(var(--gutter),calc((100vw - var(--wrap)) / 2 + 230px));width:230px;transform:translateY(-50%);opacity:.1}
  .cta__in{grid-template-columns:minmax(0,1fr) auto;gap:40px;padding-block:72px}
  .cta .actions{flex-direction:column;align-items:stretch}
  .footer__grid{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,.75fr)) minmax(0,1.3fr);gap:44px}
  .split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:center}
  .why{margin-top:0;padding:44px 40px 42px;--cut:26px}
}

/* ============================== 1040px and up: full menu in the header row == */
@media (min-width:1040px){
  html{scroll-padding-top:108px}
  .header{position:sticky;top:0}
  .header__in{flex-wrap:nowrap;min-height:88px;gap:22px}
  .brand img{height:58px}
  .brand__name{font-size:1.72rem}
  .brand__strap{display:block}
  .burger,.js .burger{display:none}
  .nav,.js .nav{display:block;flex-basis:auto;order:0;padding:0;margin-left:auto}
  .nav__list{display:flex;gap:2px;border:0}
  .nav__list a{position:relative;padding:10px 12px;border:0;font-size:.84rem}
  .nav__list a::after{content:"";position:absolute;left:12px;right:12px;bottom:2px;height:1px;background:var(--silver);transform:scaleX(0);transform-origin:left;transition:transform .2s}
  .nav__list a:hover::after,.nav__list a[aria-current="page"]::after{transform:scaleX(1)}
  .nav__list a[aria-current="page"]{color:#fff}
  .nav__call{display:none}
  .header .btn{min-height:46px;padding:10px 22px;font-size:.82rem;letter-spacing:.12em}
}
@media (min-width:1240px){
  .header__call{display:inline-flex}
  .header__actions{gap:22px}
  .nav__list a{padding:10px 14px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;scroll-behavior:auto!important}
}

@media print{
  .header__actions,.nav,.mbar,.cta,.map,.burger{display:none!important}
  body{padding:0}
}
