/* ==========================================================================
   Precision Installations Ltd — stylesheet
   ========================================================================== */

:root {
  --paper: #f7f6f2;
  --paper-2: #f0eee8;
  --char: #17191c;
  --char-80: #2a2d31;
  --blue: #1677a8;
  --blue-dark: #12628b;
  --grey: #686868;
  --grey-line: #d8d5cd;
  --white: #ffffff;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1220px;
  --wrap-narrow: 760px;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(23, 25, 28, 0.06), 0 4px 16px rgba(23, 25, 28, 0.05);
  --shadow-md: 0 2px 6px rgba(23, 25, 28, 0.08), 0 18px 44px rgba(23, 25, 28, 0.1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--char);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--char); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-6); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--char); color: #eceae4; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 var(--sp-4);
}
.section--dark .eyebrow { color: #7cc3e5; }

.lede { font-size: 1.0625rem; color: var(--grey); max-width: 60ch; }
.section--dark .lede { color: #b9b7b0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--char);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  z-index: 200;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--primary { background: var(--char); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--char); border-color: rgba(23, 25, 28, 0.28); }
.btn--ghost:hover { background: var(--char); color: #fff; border-color: var(--char); }
.btn--light { background: rgba(255, 255, 255, 0.94); color: var(--char); }
.btn--light:hover { background: #fff; color: var(--blue-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: #fff; color: var(--char); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--grey-line); box-shadow: 0 1px 14px rgba(23, 25, 28, 0.05); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  min-height: 96px;
  padding: 0.6rem var(--sp-6);
  max-width: var(--wrap);
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 78px; width: auto; }
@media (max-width: 900px) { .brand img { height: 64px; } }
@media (max-width: 400px) { .brand img { height: 54px; } }

/* Instagram / social button in the header */
.header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--char-80);
  text-decoration: none;
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  padding: 0.44rem 0.85rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.header-social svg { flex: 0 0 auto; }
.header-social:hover { color: var(--char); border-color: var(--char); background: var(--tint); }
@media (max-width: 1180px) { .header-social span { display: none; } .header-social { padding: 0.44rem 0.5rem; } }
@media (max-width: 900px) {
  .header-social--desktop { display: none; }
  .header-social--mobile { display: inline-flex; margin-top: var(--sp-4); justify-content: center; padding: 0.7rem 1rem; }
  .header-social--mobile span { display: inline; }
}
@media (min-width: 901px) { .header-social--mobile { display: none; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-8); }
.nav-list { list-style: none; display: flex; align-items: center; gap: var(--sp-8); margin: 0; padding: 0; }
.nav-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--char-80);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--char); border-bottom-color: var(--blue); }
.nav-list a[aria-current="page"] { color: var(--char); border-bottom-color: var(--blue); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--char);
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 96px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--grey-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--sp-6) var(--sp-8);
    margin: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-115%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--grey-line); font-size: 1.05rem; }
  .nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--grey-line); color: var(--blue-dark); }
  .nav .btn { margin-top: var(--sp-6); }
  .nav-phone { display: block; margin-top: var(--sp-4); font-size: 0.9rem; color: var(--grey); text-align: center; }
}

.header-phone {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--char);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue-dark); }
@media (max-width: 1080px) { .header-phone { display: none; } }
@media (min-width: 901px) { .nav-phone { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--char); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 13, 15, 0.86) 0%, rgba(11, 13, 15, 0.66) 44%, rgba(11, 13, 15, 0.26) 74%, rgba(11, 13, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(11, 13, 15, 0.5) 0%, rgba(11, 13, 15, 0.12) 38%, rgba(11, 13, 15, 0.52) 100%);
}
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9.5rem) var(--sp-6) clamp(3.5rem, 8vw, 6rem);
}
.hero__body { max-width: 46rem; color: #fff; }
.hero h1 { color: #fff; margin-bottom: var(--sp-6); }
.hero__text { font-size: clamp(1rem, 1.35vw, 1.125rem); color: rgba(255, 255, 255, 0.86); max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.hero__trust {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__trust span::before { content: ""; width: 5px; height: 5px; background: #7cc3e5; border-radius: 50%; flex: 0 0 auto; }

/* Page hero for interior pages */
.page-hero { background: var(--char); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 58ch; margin-top: var(--sp-6); }

/* ---------- Section headers ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--split {
  display: grid;
  gap: var(--sp-6) var(--sp-12);
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  transition: background-color 0.3s var(--ease);
}
.service:hover { background: var(--white); }
.service__icon { color: var(--blue); margin-bottom: var(--sp-6); }
.service__icon svg { display: block; width: 34px; height: 34px; }
.service h3 { margin-bottom: var(--sp-3); font-size: 1.125rem; }
.service p { color: var(--grey); font-size: 0.9375rem; margin: 0; }

/* ---------- Featured work ---------- */
.featured-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .featured-grid { grid-auto-rows: clamp(280px, 26vw, 360px); } }
@media (max-width: 560px) { .featured-grid { grid-template-columns: minmax(0, 1fr); } }

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--char);
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 200px;
}
.work-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 15, 0) 40%, rgba(11, 13, 15, 0.72) 100%);
  pointer-events: none;
}
.work-card:hover img { transform: scale(1.035); }
.work-card__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--sp-6);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ---------- Why choose ---------- */
.split { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 940px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split--reverse .split__media { order: -1; }
@media (max-width: 939px) { .split--reverse .split__media { order: 0; } }

.points { list-style: none; margin: var(--sp-8) 0 0; padding: 0; display: grid; gap: 0; }
.points li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--grey-line);
  font-size: 0.9875rem;
  font-weight: 500;
}
.points li:last-child { border-bottom: 1px solid var(--grey-line); }
.points svg { flex: 0 0 auto; color: var(--blue); margin-top: 2px; }
.section--dark .points li { border-color: rgba(255, 255, 255, 0.16); }
.section--dark .points svg { color: #7cc3e5; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
}
.section--tint .quote { background: var(--white); }
.quote__mark { font-family: var(--font-display); font-size: 2.75rem; line-height: 0.6; color: var(--blue); opacity: 0.5; margin-bottom: var(--sp-4); }
.quote blockquote { margin: 0 0 var(--sp-6); font-size: 1.0625rem; line-height: 1.55; font-family: var(--font-display); }
.quote figcaption { margin-top: auto; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); }
.quote-note { margin-top: var(--sp-8); font-size: 0.8125rem; color: var(--grey); }

/* ---------- Coverage ---------- */
.coverage-towns { list-style: none; margin: var(--sp-8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.coverage-towns li {
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Form ---------- */
.enquiry-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .enquiry-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.form-card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.field-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--char-80); }
.field .req { color: var(--blue-dark); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--char);
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bcb8ae; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--blue); outline: 2px solid rgba(22, 119, 168, 0.25); outline-offset: 1px; }
.field-hint { font-size: 0.8125rem; color: var(--grey); }
.field input[type="file"] { padding: 0.6rem; background: var(--paper); font-size: 0.9rem; }

.consent { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-6); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue); }
.consent label { font-size: 0.9rem; color: var(--char-80); line-height: 1.5; }

.form-actions { margin-top: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-4); }
.form-footnote { font-size: 0.8125rem; color: var(--grey); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.contact-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--char);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
a.contact-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-item__icon { color: var(--blue); flex: 0 0 auto; }
.contact-item__icon svg { width: 24px; height: 24px; display: block; }
.contact-item__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin: 0 0 0.2rem; }
.contact-item__value { font-size: 1.0625rem; font-weight: 600; margin: 0; word-break: break-word; }
.contact-item__meta { font-size: 0.875rem; color: var(--grey); margin: 0.25rem 0 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 1.05rem;
  background: transparent;
  color: var(--char-80);
  border: 1px solid var(--grey-line);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.filter:hover { border-color: var(--char); }
.filter[aria-pressed="true"] { background: var(--char); color: #fff; border-color: var(--char); }

.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-btn:hover img { transform: scale(1.04); }
.gallery-item figcaption { font-size: 0.875rem; color: var(--grey); margin-top: var(--sp-3); }

.gallery-group { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group__head { display: flex; align-items: baseline; gap: var(--sp-4); margin-bottom: var(--sp-6); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--grey-line); }
.gallery-group__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.gallery-group__count { font-size: 0.8125rem; color: var(--grey); letter-spacing: 0.06em; text-transform: uppercase; }
.gallery-group__note { font-size: 0.9375rem; color: var(--grey); margin: -0.5rem 0 var(--sp-6); max-width: 62ch; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 10, 12, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: var(--sp-4); }
.lightbox__figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox__caption { color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; text-align: center; }
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* ---------- Banner image ---------- */
.banner { position: relative; }
.banner img { width: 100%; height: clamp(280px, 46vw, 560px); object-fit: cover; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--char); color: #fff; padding: var(--section-y) 0; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255, 255, 255, 0.8); max-width: 52ch; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: var(--sp-12); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; color: var(--char-80); }
.prose li { margin-bottom: var(--sp-2); }
.prose .updated { font-size: 0.875rem; color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer { background: var(--char); color: #a9a7a0; padding: clamp(3rem, 6vw, 4.5rem) 0 var(--sp-8); }
.footer-grid { display: grid; gap: var(--sp-8) var(--sp-12); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); } }
.site-footer img { height: 62px; width: auto; margin-bottom: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer p { font-size: 0.9375rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.site-footer a { color: #d5d3cd; text-decoration: none; font-size: 0.9375rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d5d3cd;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.socials a:hover { background: #fff; color: var(--char); border-color: #fff; }
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: none;
  background: var(--char);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  flex: 1 1 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.7rem 0.4rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 58px;
}
.action-bar a + a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.action-bar a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.action-bar svg { width: 19px; height: 19px; }
@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 62px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Four-up variant (process steps) */
@media (min-width: 1000px) { .services-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Contact item text blocks */
.contact-item__label,
.contact-item__value,
.contact-item__meta { display: block; }
.contact-item > span:last-child { min-width: 0; }

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta-strip__actions { flex-direction: column; align-items: stretch; }
  .cta-strip__actions .btn { width: 100%; }
}

.contact-list li { display: flex; }
.contact-list .contact-item { flex: 1 1 auto; }
.contact-item__value { overflow-wrap: anywhere; }
.contact-item__value--email { font-size: 0.9875rem; }

/* ---------- Header height compensation for in-page anchors ---------- */
html { scroll-padding-top: 108px; }

/* ---------- Accreditations ---------- */
.creds {
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  background: var(--tint);
  padding: var(--sp-10) 0;
}
.creds__head { margin-bottom: var(--sp-8); }
.creds__head h2 { margin: 0.35rem 0 0; }
.creds-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .creds-grid { grid-template-columns: repeat(3, 1fr); } }
.cred {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cred__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(22, 119, 168, 0.09);
  color: var(--blue);
}
.cred__badge svg { width: 22px; height: 22px; }
.cred h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
}
.cred p { margin: 0; font-size: 0.9375rem; color: var(--grey); }
.creds__note {
  margin: var(--sp-6) 0 0;
  font-size: 0.8125rem;
  color: var(--grey);
}

/* ---------- Rental / between-tenancy specialism ---------- */
.rental__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7cc3e5;
  border: 1px solid rgba(124, 195, 229, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: var(--sp-6);
}
.turnaround {
  list-style: none;
  margin: var(--sp-8) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
  counter-reset: step;
}
.turnaround li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.turnaround li:last-child { border-bottom: 0; padding-bottom: 0; }
.turnaround li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(124, 195, 229, 0.5);
  color: #7cc3e5;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.turnaround strong { display: block; font-weight: 600; }
.turnaround span { color: #b9b7b0; font-size: 0.9375rem; }

/* ---------- Scope range (tap washer to barn conversion) ---------- */
.scope {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  margin-top: var(--sp-8);
}
@media (min-width: 720px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope__col {
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  background: #fff;
}
.scope__col h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: var(--blue-dark);
}
.scope__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.scope__col li { font-size: 0.9375rem; color: var(--char-80); padding-left: 1.1rem; position: relative; }
.scope__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
}
.turnaround li > div { min-width: 0; }
.turnaround strong { margin-bottom: 0.25rem; }
.turnaround span { display: block; }
