/* Screed Floor Limited — 9 Sep 2026.
 *
 * Damon: "the design is very old and looks like his site — our first prototype
 * was good but not quite right for the industry. Somewhere in the middle, less
 * RAF red white and blue. Soften the blocks. Font is good."
 *
 * So: concrete and steel, with one warm accent used sparingly.
 *
 * His blue is kept but matured — #13478E desaturated and darkened to a slate
 * (#223648) that still reads as his brand from across a room without shouting.
 * The pillar-box red is gone; the accent is a rust/terracotta taken off fired
 * clay and oxide, which is what this trade actually looks like on site. The
 * greys are WARM (#F5F3F0, #E2DED8) rather than blue-grey, because cool greys
 * read as tech and warm greys read as material.
 *
 * "Soften the blocks" is done in four places: the section heading is a rule and
 * type instead of a filled navy box; cards and buttons carry a small radius;
 * the solid navy bands become light concrete with a hairline; and the chips
 * lose their fill for an outline.
 */
:root{
  --ink:#1B2430;          /* headings */
  --slate:#223648;        /* his blue, matured — structure and dark bands */
  --slate-d:#17252F;      /* footer */
  --slate-l:#33506A;      /* hover */
  --accent:#B4553A;       /* rust — used sparingly and never as a background wash */
  --accent-d:#9A4630;
  --body:#4C5765;
  --line:#E2DED8;
  --concrete:#F5F3F0;     /* warm off-white */
  --concrete-d:#EBE7E1;
  --white:#fff;
  --wrap:1200px;
  --r:6px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"IBM Plex Sans",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--body);font-size:17px;line-height:1.68;background:var(--white)}
h1,h2,h3,.hd,.brand-t strong{font-family:"Barlow Condensed","Arial Narrow",system-ui,sans-serif;
  font-weight:600;color:var(--ink);letter-spacing:.004em;line-height:1.12;margin:0}
a{color:var(--slate)}
img{max-width:100%;display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 26px}
.narrow{max-width:800px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:#fff;padding:8px 14px;z-index:99}

/* header — the red band is gone; a hairline does the same job quietly */
.topbar{height:3px;background:var(--accent)}
.head{background:#fff;border-bottom:1px solid var(--line)}
.head-in{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:16px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none}
.brand svg{width:38px;height:28px;flex:0 0 auto;fill:none;stroke:var(--slate);stroke-width:4.5;stroke-linecap:round}
.brand svg path:first-child{stroke:var(--accent)}
.brand-t{display:flex;flex-direction:column;line-height:1}
.brand-t strong{font-size:29px;color:var(--slate);letter-spacing:.012em;font-weight:600}
.brand-t em{font-style:normal;font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--body);margin-top:4px}
.head-r{display:flex;align-items:center;gap:10px}
.ph{background:transparent;color:var(--slate);border:1.5px solid var(--line);text-decoration:none;font-weight:600;
  padding:10px 19px;border-radius:var(--r);white-space:nowrap;font-size:15.5px}
.ph:hover{border-color:var(--slate);background:var(--concrete)}
.burger{display:none;background:none;border:0;font-size:24px;color:var(--slate);cursor:pointer}

/* nav — slate, not primary blue; the active state is a rule, not a red fill */
.nav{background:var(--slate)}
.nav-in{display:flex;align-items:stretch}
.nav a{color:#DCE3EA;text-decoration:none;font-weight:500;font-size:15px;padding:15px 24px;
  letter-spacing:.015em;border-bottom:3px solid transparent}
.nav a:hover{color:#fff;background:var(--slate-l)}
.nav a.on{color:#fff;border-bottom-color:var(--accent)}
.nav-cta{margin-left:auto;color:#fff;font-weight:600}
.nav-cta:hover{background:var(--accent)}

/* hero */
/* The image is absolute, the CONTENT is in flow. The other way round — a fixed
   image height with the copy absolutely positioned over it — looked fine at
   1340px and on a 375px phone the hero text overflowed its own box, landing on
   top of the nav above it and the doors below. A hero must be as tall as its
   words. */
.hero{position:relative;overflow:hidden;background:var(--slate-d)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.52}
.hero-o{position:relative;min-height:min(64vh,540px);display:flex;align-items:center;padding:54px 0;
  background:linear-gradient(92deg,rgba(23,37,47,.93) 0%,rgba(23,37,47,.72) 52%,rgba(23,37,47,.28) 100%)}
.eyebrow{color:var(--accent);font-size:12px;letter-spacing:.19em;text-transform:uppercase;font-weight:600;margin:0 0 16px}
.hero h1{color:#fff;font-size:clamp(38px,4.9vw,62px);max-width:19ch;font-weight:600}
.lead{color:#CBD5DE;font-size:19px;max-width:56ch;margin:20px 0 0;line-height:1.6}
.hero-cta{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.btn{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;font-weight:600;
  padding:14px 28px;border-radius:var(--r)}
.btn:hover{background:var(--accent-d)}
.btn-g{background:transparent;border:1.5px solid rgba(255,255,255,.4);padding:12.5px 26px;color:#fff}
.btn-g:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.7)}

/* the three doors — concrete, not a navy slab */
.band{background:var(--concrete);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.doors{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.door{padding:32px 30px 34px;border-left:1px solid var(--line)}
.door:first-child{border-left:0;padding-left:26px}
.door h3{font-size:23px;margin-bottom:9px;color:var(--slate)}
.door p{margin:0;font-size:15.5px;line-height:1.65}

/* sections */
.sect{padding:78px 0}
.sect-alt{background:var(--concrete)}
.sect-navy{background:var(--slate);color:#C6D2DC}
.sect-navy h2,.sect-navy h3,.sect-navy .hd{color:#fff}
.sect-navy a{color:#E3B9A8}
.sect-navy .big{color:#E8EEF3}
/* the heading: a short rule above, then type. No filled box. */
.hd{font-size:33px;margin:0 0 24px;padding-top:16px;position:relative;font-weight:600}
.hd::before{content:"";position:absolute;top:0;left:0;width:46px;height:3px;background:var(--accent)}
.sub{margin:-8px 0 32px;font-size:17.5px;max-width:70ch}
.two{display:grid;grid-template-columns:1.35fr 1fr;gap:56px;align-items:start}
.big{font-size:19px;color:var(--ink);margin-top:0;line-height:1.6}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.stats div{background:var(--concrete);padding:24px 22px}
.stats strong{display:block;font-family:"Barlow Condensed",sans-serif;font-size:35px;color:var(--slate);line-height:1;font-weight:600}
.stats span{font-size:13.5px}

/* cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(288px,1fr));gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  text-decoration:none;color:inherit;display:flex;flex-direction:column;
  transition:border-color .18s,box-shadow .18s,transform .18s}
.card:hover{border-color:#CFC9C0;box-shadow:0 8px 26px rgba(27,36,48,.09);transform:translateY(-3px)}
.card-img{width:100%;height:154px;object-fit:cover}
.card-b{padding:20px 22px 22px}
.card-b h3{font-size:22px;color:var(--slate);margin-bottom:8px}
.card-b p{margin:0;font-size:15px;line-height:1.58}
.more{display:inline-block;margin-top:13px;color:var(--accent);font-weight:600;font-size:14px}

/* projects */
.pcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(322px,1fr));gap:26px}
.pcard{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:border-color .18s,box-shadow .18s}
.pcard:hover{border-color:#CFC9C0;box-shadow:0 8px 26px rgba(27,36,48,.09)}
.pcard-img{width:100%;height:196px;object-fit:cover}
.pcard-b{padding:22px}
.tag{display:inline-block;color:var(--accent);border:1px solid #E3C9BE;background:#FBF4F1;
  font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:3px 10px;border-radius:3px;margin-bottom:12px}
.pcard-b h3{font-size:23px;color:var(--slate);margin-bottom:9px}
.pcard-b p{margin:0 0 15px;font-size:15px}
.facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
.facts li{background:var(--concrete);border:1px solid var(--line);color:var(--body);font-size:12.5px;padding:4px 10px;border-radius:3px}
.more-l{margin-top:28px}
.more-l a{color:var(--accent);font-weight:600;text-decoration:none}

/* page head */
.ph-head{background:var(--slate);color:#fff;padding:58px 0}
.ph-head h1{color:#fff;font-size:clamp(34px,4.4vw,50px);font-weight:600}
.ph-head .lead{color:#C6D2DC;margin-top:15px}
.ph-img{position:relative;overflow:hidden}
.ph-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.2}
.ph-img .wrap{position:relative}
.crumbs{font-size:13.5px;color:#9FB2C2;margin-bottom:15px}
.crumbs a{color:#9FB2C2}

/* body copy */
.lede{font-size:20px;color:var(--ink);font-weight:400;line-height:1.6;margin:0 0 32px}
.sh{font-size:29px;color:var(--slate);margin:40px 0 13px;font-weight:600}
.sh3{font-size:21px;color:var(--ink);margin:32px 0 11px;font-weight:600}
.ticks{list-style:none;padding:0;margin:0}
.ticks li{position:relative;padding-left:26px;margin-bottom:10px}
.ticks li::before{content:"";position:absolute;left:0;top:11px;width:9px;height:2px;background:var(--accent)}
.fbox{background:var(--concrete);border:1px solid var(--line);border-radius:var(--r);padding:26px 28px;margin:34px 0}
.fbox h3{font-size:20px;color:var(--slate);margin-bottom:16px}
.fbox dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:16px 24px}
.fbox dt{font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--body);opacity:.7}
.fbox dd{margin:3px 0 0;font-weight:600;color:var(--ink)}
.honest{background:#FBF4F1;border:1px solid #E3C9BE;border-left:3px solid var(--accent);border-radius:var(--r);padding:26px 28px;margin:34px 0}
.honest h3{color:var(--accent-d);font-size:21px;margin-bottom:11px}
.note{font-size:15px;background:var(--concrete);padding:17px 19px;border-radius:var(--r);margin:30px 0}

/* form */
.two-q{display:grid;grid-template-columns:1fr 448px;gap:56px;align-items:start}
.qf{background:#fff;padding:30px;border-radius:var(--r);border:1px solid var(--line);color:var(--body)}
.qf h3{font-size:25px;color:var(--slate);margin-bottom:7px}
.qf-i{font-size:14.5px;margin:0 0 20px}
.qf label{display:block;font-size:12.5px;font-weight:600;color:var(--ink);margin-bottom:14px;letter-spacing:.01em}
.qf input,.qf textarea{width:100%;margin-top:6px;padding:11px 13px;border:1px solid #D3CDC5;border-radius:4px;
  font:inherit;font-size:15px;font-weight:400;color:var(--ink);background:#fff}
.qf input:focus,.qf textarea:focus{outline:2px solid var(--slate);outline-offset:0;border-color:var(--slate)}
.qf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qf button{width:100%;background:var(--accent);color:#fff;border:0;padding:14px;font:inherit;font-weight:600;font-size:16px;border-radius:var(--r);cursor:pointer}
.qf button:hover{background:var(--accent-d)}
.qf button[disabled]{opacity:.6;cursor:default}
.qf-s{margin:13px 0 0;font-size:14.5px;min-height:1.2em}
.qf-s.ok{color:#186B45;font-weight:600}
.qf-s.err{color:var(--accent-d);font-weight:600}
.areas-n{font-size:15px;opacity:.85}

/* footer */
.foot{background:var(--slate-d);color:#A7B7C4;padding:56px 0 28px;font-size:14.5px}
.foot a{color:#A7B7C4;text-decoration:none}
.foot a:hover{color:#fff}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:38px}
.foot-h{font-family:"Barlow Condensed",sans-serif;font-weight:600;font-size:18px;color:#fff;margin:0 0 13px;letter-spacing:.03em}
.foot-l{list-style:none;margin:0;padding:0}
.foot-l li{margin-bottom:8px}
.areas{line-height:1.75}
.foot-b{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:19px;display:flex;
  justify-content:space-between;gap:16px;font-size:13px;opacity:.75;flex-wrap:wrap}

@media(max-width:900px){
  .two,.two-q,.doors,.foot-grid{grid-template-columns:1fr;gap:34px}
  .door{border-left:0;border-top:1px solid var(--line);padding-left:26px}
  .door:first-child{border-top:0}
  .nav-in{overflow-x:auto}
  .nav a{padding:13px 16px;font-size:14px;white-space:nowrap}
  .stats{grid-template-columns:1fr 1fr}
  .sect{padding:56px 0}
  .brand-t strong{font-size:24px}
  .brand-t em{font-size:8.5px}
}
@media(max-width:560px){
  .ph{padding:8px 13px;font-size:13.5px}
  .brand svg{width:31px;height:23px}
  .brand-t strong{font-size:21px}
  .brand-t em{display:none}          /* the strapline is unreadable at this width */
  .head-in{padding:14px 0}
  .wrap{padding:0 18px}
  .hero-o{min-height:0;padding:44px 0 48px;
    background:linear-gradient(180deg,rgba(23,37,47,.9) 0%,rgba(23,37,47,.82) 100%)}
  .hero h1{font-size:33px}
  .lead{font-size:17px}
  .hero-cta{gap:10px}
  .hero-cta .btn,.hero-cta .btn-g{flex:1 1 100%;text-align:center}
  .sect{padding:44px 0}
  .hd{font-size:28px}
  .two-q{gap:28px}
  .qf{padding:22px}
  .foot-b{flex-direction:column;gap:6px}
}

/* FAQs — plain disclosure, no JavaScript. They carry FAQPage schema, which is
   how an answer can appear directly in a search result. */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;padding:18px 34px 18px 0;font-family:"Barlow Condensed",sans-serif;
  font-size:21px;font-weight:600;color:var(--slate);list-style:none;position:relative;line-height:1.25}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:15px;font-size:24px;color:var(--accent);font-weight:400}
.faq details[open] summary::after{content:"–"}
.faq summary:hover{color:var(--accent)}
.faq p{margin:0 0 22px;padding-right:34px;font-size:16px}

/* Where we work — one page with real content per region, not twelve thin town
   pages. Each region names a job actually done there. */
.regions{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:26px}
.region{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 28px}
.region h3{font-size:23px;color:var(--slate);margin-bottom:10px}
.region p{margin:0 0 14px;font-size:15.5px}
.towns{font-size:14px;color:var(--body);opacity:.85;border-top:1px solid var(--line);padding-top:13px;margin:0}

/* Services dropdown — CSS only, no JavaScript to fail. Eleven services need a
   menu; his own site has one. On touch it stays reachable because the Services
   link itself still goes to the index. */
.has-sub{position:relative;display:flex}
.sub{position:absolute;top:100%;left:0;min-width:640px;background:#fff;border:1px solid var(--line);
  border-top:0;border-radius:0 0 var(--r) var(--r);box-shadow:0 14px 34px rgba(27,36,48,.14);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s,transform .16s,visibility .16s;z-index:40}
.has-sub:hover .sub,.has-sub:focus-within .sub{opacity:1;visibility:visible;transform:none}
.sub-in{display:grid;grid-template-columns:1fr 1fr;padding:10px}
.sub a{color:var(--body);padding:9px 14px;font-size:14.5px;border-bottom:0;border-radius:4px}
.sub a:hover{background:var(--concrete);color:var(--slate)}
@media(max-width:900px){
  /* No hover on a phone — the menu would be a trap. The Services link goes to
     the index, which lists all eleven as cards. */
  .sub{display:none}
  .has-sub>a span{display:none}
}

/* Social — visible links, not just schema. They were in the JSON-LD `sameAs`
   only, which tells Google the accounts belong to this business and tells a
   visitor nothing. His own site carries both icons in the header, so these sit
   in the same place. */
.soc{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;
  border:1.5px solid var(--line);border-radius:var(--r);color:var(--slate);flex:0 0 auto}
.soc svg{width:17px;height:17px;fill:currentColor}
.soc:hover{border-color:var(--slate);background:var(--concrete)}
.foot-soc{margin-top:14px}
.foot-soc a{text-decoration:underline}
@media(max-width:560px){ .soc{display:none} }  /* the phone number wins the room */

/* ── Mobile nav ──────────────────────────────────────────────────────────────
   All six items plus the CTA measure 642px against a 375px screen. They were in
   a `overflow-x:auto` strip with no scroll affordance, so the nav looked simply
   truncated and "Get a quote" — the conversion — sat off the right-hand edge
   where nobody would find it. The burger that should have solved this was
   `display:none` at every width and had no JavaScript behind it: dead markup.

   Two items stay (Services, Projects — see PHONE_NAV in build.mjs), the CTA
   stays, and everything else moves into a panel the burger opens. */
/* 719px, NOT the 900px used by the .sub dropdown below — they answer different
   questions. The dropdown goes at 900 because that is roughly where hover stops
   being a real input. The nav collapses at 719 because that is where it stops
   FITTING: the six items plus the CTA measure 642px, and with the 36px gutter
   they need ~678. Collapsing at 900 hid four items on tablets and small laptops
   with room to spare, which is a different bug from the one being fixed.
   If this number changes, change it in site.js too — the test pins both. */
@media(max-width:719px){
  .nav-in{overflow:visible;align-items:center}
  .nav a{padding:14px 12px;font-size:14.5px}
  /* Hide by absence of .np, so a new item is hidden on a phone by DEFAULT and
     someone must decide to promote it — the safe direction for a nav that has
     already overflowed once. */
  .nav-in>.nl:not(.np),
  .nav-in>.has-sub:not(.np){display:none}
  /* `.nav .nav-cta`, not `.nav-cta`: the `.nav a` rule above is class+type and
     beats a bare class, so the padding here was silently ignored and the CTA
     sat taller than the burger beside it. */
  .nav .nav-cta{padding:0 14px;height:40px;display:inline-flex;align-items:center;
    border:1px solid rgba(255,255,255,.28);border-radius:var(--r);
    margin:0 8px 0 auto;font-size:14px}
  .burger{display:inline-flex;align-items:center;justify-content:center;
    width:42px;height:40px;font-size:21px;line-height:1;color:#DCE3EA;
    border:1px solid rgba(255,255,255,.28);border-radius:var(--r);background:none;
    flex:0 0 auto;margin-right:2px}
  .burger[aria-expanded="true"]{background:var(--slate-l);color:#fff}
  /* No `display` here on purpose: the panel is a plain block when shown, and the
     `hidden` attribute's own display:none applies when it is not. One source of
     truth for open/closed, toggled in site.js. */
  .navmenu{background:var(--slate-l);border-top:1px solid rgba(255,255,255,.12)}
  .navmenu .wrap{display:flex;flex-direction:column;padding:6px 0}
  .navmenu a{padding:13px 4px;border-bottom:1px solid rgba(255,255,255,.08);font-size:15.5px}
  .navmenu a:last-child{border-bottom:0}
  .navmenu a.on{color:#fff;border-left:3px solid var(--accent);padding-left:12px}
}
/* Above the breakpoint the full nav is present, so neither is ever wanted. */
@media(min-width:720px){
  .burger{display:none}
  .navmenu{display:none}
}

/* Small handsets. At 375px the row is 309px inside a 36px gutter and sits
   comfortably; at 340px it needs 346px and spills past the gutter, so the
   burger ends up outside the margin every other element on the page respects.
   It is not clipped — it just stops lining up, which reads as a broken header.
   Shaving the padding buys 20px and holds the gutter down to 320px. */
@media(max-width:359px){
  .nav a{padding:14px 8px}
  .nav .nav-cta{padding:0 11px;margin-left:auto;margin-right:6px}
}

/* BL-702 — the drawings offer, shown only after an enquiry is accepted. */
.qf-drawings {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--line, #c9d2d8);
  border-radius: 6px;
}
.qf-drawings p { margin: 0 0 10px; font-size: 0.95rem; }
.qf-drawings input[type='file'] { font: inherit; max-width: 100%; }
.qf-drawings input[type='file']:disabled { opacity: 0.5; }
.qf-drawings-s { margin: 10px 0 0 !important; min-height: 1.2em; color: var(--muted, #5b7a94); }
