/* G.S Johnson — site styles
   Palette: deep van teal, polished copper, cool stone. No pure white anywhere. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* teal: the van livery */
  --teal-950: #011c1e;
  --teal-900: #012629;
  --teal-800: #003437;
  --teal-700: #0a4547;
  --teal-600: #195a59;
  --teal-300: #8fbfb0;
  /* copper: the pipework */
  --copper-900: #6e3d1d;
  --copper-700: #9a5a2b;
  --copper-500: #b8743f;
  --copper-300: #e2a56f;
  --copper-100: #f3d9bd;
  --pipe: linear-gradient(180deg, #e9b07a 0%, #c27c44 38%, #8d4f26 70%, #b56f3b 100%);
  --pipe-h: linear-gradient(90deg, #8d4f26 0%, #d9975e 45%, #b06a37 70%, #8d4f26 100%);
  /* stone: light surfaces */
  --stone-50: #ebede4;
  --stone-100: #e2e6dc;
  --stone-200: #d4dbd2;
  --stone-300: #bfc9c0;
  /* ink */
  --ink: #102b2c;
  --ink-soft: #3f5a5a;
  --on-dark: #e6e6d8;
  --on-dark-soft: #aab8ad;

  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
  --quote: "Newsreader", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
  --shadow-deep: 0 30px 60px -30px rgba(1, 28, 30, .55);
  --step: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone-100);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 760; font-stretch: 112%; letter-spacing: -.012em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
ul { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--copper-300); color: var(--teal-950); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--copper-300); color: var(--teal-950); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--copper-300); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 38em; }
.measure { max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--copper-500); --fg: var(--teal-950);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font); font-stretch: 108%;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: linear-gradient(180deg, #e7ae78, #c8834b); color: var(--teal-950); box-shadow: inset 0 1px 0 rgba(255, 240, 220, .45), 0 10px 24px -12px rgba(184, 116, 63, .9); }
.btn-copper:hover { background: linear-gradient(180deg, #efbb87, #d18f57); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(228, 235, 230, .35); }
.btn-ghost:hover { border-color: var(--copper-300); color: var(--copper-100); }
.btn-teal { background: var(--teal-800); color: var(--on-dark); }
.btn-teal:hover { background: var(--teal-700); }
.btn-line { background: transparent; color: var(--teal-800); border-color: var(--teal-800); }
.btn-line:hover { background: var(--teal-800); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink { color: var(--copper-700); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--copper-300); }
.textlink:hover { text-decoration-color: var(--copper-700); }
.on-dark .textlink, .textlink.light { color: var(--copper-300); text-decoration-color: rgba(226, 165, 111, .5); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(1, 38, 41, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid rgba(143, 191, 176, .14); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-weight: 800; font-stretch: 122%; font-size: 1.45rem; letter-spacing: -.01em; color: var(--on-dark); }
.brand-name span { color: var(--copper-300); }
.brand-sub { margin-top: 6px; font-size: .78rem; font-weight: 500; color: var(--on-dark-soft); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 560; font-size: .98rem; color: var(--on-dark-soft); }
.nav a:hover { color: var(--on-dark); background: rgba(143, 191, 176, .1); }
.nav a[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -2px 0 var(--copper-300); border-radius: 0; }
.header-call { padding: .75em 1.2em; font-size: .95rem; }
.wa-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #25d366; background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .35); transition: background-color .2s, transform .2s; }
.wa-btn svg { width: 22px; height: 22px; }
.wa-btn:hover { background: rgba(37, 211, 102, .2); transform: translateY(-1px); }
.btn svg.wa { width: 1.1em; height: 1.1em; }
.menu-btn { display: none; background: none; border: 1px solid rgba(228, 235, 230, .25); color: var(--on-dark); border-radius: 999px; padding: 10px 16px; font: 600 .95rem var(--font); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-call .label { display: none; }
  .header-call { padding: .75em; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--teal-900); padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(143, 191, 176, .18); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(143, 191, 176, .12); font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--copper-300); }
  .header-actions { display: flex; gap: 8px; align-items: center; }
}
@media (max-width: 480px) { .menu-btn .txt { display: none; } .menu-btn { padding: 10px; } .brand-name { font-size: 1.25rem; } .brand-sub { font-size: .72rem; } }
@media (min-width: 961px) { .header-actions { display: flex; align-items: center; gap: 16px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(120% 90% at 85% 10%, var(--teal-700) 0%, var(--teal-800) 45%, var(--teal-900) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.hero h1 { color: var(--on-dark); max-width: 11ch; }
.hero .lead { color: var(--on-dark-soft); margin: 28px 0 36px; }
.hero-area { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 600; color: var(--copper-100); font-size: .98rem; }
.hero-area svg { width: 18px; height: 18px; color: var(--copper-300); }
.hero-photo { margin: 0; position: relative; justify-self: end; width: min(100%, 440px); }
.hero-photo .arch { position: relative; border-radius: 999px 999px var(--radius-m) var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5.2; box-shadow: var(--shadow-deep); border: 6px solid transparent; background: var(--pipe) border-box; }
.hero-photo .arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 9px 9px; opacity: 0; transition: opacity 1.4s ease; }
.hero-photo .arch img.on { opacity: 1; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero-photo figcaption span { display: block; transition: opacity .4s; }
@media (prefers-reduced-motion: reduce) { .hero-photo .arch img.on { animation: none; } .hero-photo .arch img { transition: none; } }
.hero-photo figcaption { position: absolute; left: -28px; bottom: 36px; background: var(--stone-50); color: var(--ink); padding: 14px 18px; border-radius: var(--radius-m); box-shadow: var(--shadow-deep); max-width: 230px; font-size: .9rem; line-height: 1.35; }
.hero-photo figcaption strong { display: block; font-stretch: 110%; font-size: 1rem; }

/* the copper pipe that runs under the hero */
.hero-pipe { position: relative; display: block; width: 100%; height: 90px; margin: -36px 0 -18px; pointer-events: none; }
.hero-pipe path { fill: none; stroke: url(#pipeGrad); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.hero-pipe .joint { fill: url(#jointGrad); }
.hero-pipe .gleam { stroke: #f7e2c6; stroke-width: 4; stroke-dasharray: 36 1000; stroke-dashoffset: 36; opacity: .9; animation: gleam 7s linear 2.6s infinite; }
@keyframes gleam { 0% { stroke-dashoffset: 36; } 45%, 100% { stroke-dashoffset: -1000; } }
@media (prefers-reduced-motion: reduce) { .hero-pipe .gleam { display: none; } }
.hero-pipe .draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: drawPipe 2.2s cubic-bezier(.65, .05, .25, 1) .3s forwards; }
.hero-pipe .joint { opacity: 0; animation: fadeIn .4s ease 2.1s forwards; }
@keyframes drawPipe { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-pipe .draw { animation: none; stroke-dashoffset: 0; } .hero-pipe .joint { animation: none; opacity: 1; } }

.creds { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; margin-top: 8px; }
.cred { display: flex; gap: 14px; align-items: center; padding: 22px 18px 26px 0; text-decoration: none; color: var(--on-dark); }

.cred .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(143, 191, 176, .1); color: var(--copper-300); }
.cred .ico svg { width: 24px; height: 24px; }
.cred .ico img { width: 31px; height: 34px; border-radius: 4px; }
.cred strong { display: block; font-size: 1rem; font-stretch: 108%; line-height: 1.2; }
.cred small { display: block; color: var(--on-dark-soft); font-size: .86rem; line-height: 1.3; margin-top: 2px; }
a.cred:hover strong { color: var(--copper-100); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 20px; gap: 28px; }
  .hero-photo { order: -1; justify-self: stretch; width: 100%; }
  .hero-photo .arch { aspect-ratio: 5 / 4; border-radius: 180px 180px var(--radius-m) var(--radius-m); border-width: 5px; }
  .hero-photo .arch img { border-radius: 175px 175px 9px 9px; }
  .hero-photo figcaption { position: static; max-width: none; margin-top: 10px; padding: 0 4px; background: none; box-shadow: none; color: var(--on-dark-soft); font-size: .86rem; line-height: 1.4; }
  .hero-photo figcaption strong { display: inline; color: var(--copper-100); font-size: .86rem; margin-right: 6px; }
  .hero-photo figcaption span { display: inline; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero .lead { margin: 18px 0 26px; }
  .creds { grid-template-columns: 1fr 1fr; }
    .hero-pipe { display: none; }
}
@media (max-width: 520px) {
  .creds { grid-template-columns: 1fr; }
  .cred { padding: 12px 0; }
}

/* page hero (inner pages) */
.page-hero { position: relative; color: var(--on-dark); background:
    radial-gradient(120% 120% at 90% 0%, var(--teal-700) 0%, var(--teal-800) 50%, var(--teal-900) 100%);
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); max-width: 16ch; }
.page-hero .lead { color: var(--on-dark-soft); margin-top: 22px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--pipe-h); opacity: .9; }

/* ---------- sections ---------- */
.section { padding-block: var(--step); }
.section.tight { padding-block: calc(var(--step) * .7); }
.section.stone-50 { background: var(--stone-50); }
.section.stone-200 { background: var(--stone-200); }
.section.dark { background: var(--teal-800); color: var(--on-dark); }
.section.darker { background: var(--teal-900); color: var(--on-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.dark .section-head p, .darker .section-head p { color: var(--on-dark-soft); }
.section-head.stack { grid-template-columns: 1fr; gap: 18px; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* copper rule — a length of pipe with a fitting */
.pipe-rule { position: relative; height: 6px; border-radius: 6px; background: var(--pipe-h); width: 88px; margin-bottom: 22px; transition: width 1s cubic-bezier(.65, .05, .25, 1); }
.js .pipe-rule:not(.in) { width: 36px; }
@media (prefers-reduced-motion: reduce) { .js .pipe-rule:not(.in) { width: 88px; } }
.pipe-rule::after { content: ""; position: absolute; right: -6px; top: -4px; width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #f0c193, #a8622f); }

/* ---------- services list (home) ---------- */
.svc-list { border-top: 2px solid var(--teal-800); }
.svc { display: grid; grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--stone-300); text-decoration: none; color: inherit; position: relative; }
.svc .svc-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--teal-800); color: var(--copper-300); display: grid; place-items: center; transition: background-color .25s; }
.svc .svc-ico svg { width: 32px; height: 32px; }
.svc h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.svc p { margin: 0; color: var(--ink-soft); }
.svc .go { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--stone-300); display: grid; place-items: center; color: var(--teal-800); transition: background-color .2s, border-color .2s, color .2s; }
.svc .go svg { width: 20px; height: 20px; }
.svc:hover .go { background: var(--copper-500); border-color: var(--copper-500); color: var(--teal-950); }
.svc:hover .svc-ico { background: var(--teal-600); }
@media (max-width: 760px) {
  .svc { grid-template-columns: 56px 1fr; gap: 14px 18px; padding: 24px 0; }
  .svc .svc-ico { width: 56px; height: 56px; border-radius: 14px; }
  .svc p { grid-column: 1 / -1; }
  .svc .go { display: none; }
}

/* ---------- Vaillant ---------- */
.vaillant { position: relative; overflow: hidden; }
.vaillant .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.vaillant-photo { position: relative; }
.vaillant-photo img { border-radius: var(--radius-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-deep); }
.vaillant-photo .tag { position: absolute; right: -14px; top: 28px; background: var(--copper-300); color: var(--teal-950); font-weight: 760; font-stretch: 110%; padding: 12px 18px; border-radius: var(--radius-s); box-shadow: var(--shadow-deep); line-height: 1.2; font-size: .95rem; }
.vaillant h2 { color: var(--on-dark); }
.vaillant .lead { color: var(--on-dark-soft); margin: 24px 0 32px; }
.v-points { display: grid; gap: 0; border-top: 1px solid rgba(143, 191, 176, .2); margin-bottom: 36px; }
.v-points li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(143, 191, 176, .2); }
.v-points svg { width: 24px; height: 24px; color: var(--copper-300); margin-top: 2px; }
.v-points strong { display: block; font-stretch: 108%; font-size: 1.08rem; color: var(--on-dark); }
.v-points span { color: var(--on-dark-soft); font-size: .98rem; }
@media (max-width: 860px) { .vaillant .wrap { grid-template-columns: 1fr; } .vaillant-photo { max-width: 420px; } .vaillant-photo .tag { right: 12px; } }

/* ---------- before / after ---------- */
.work-feature { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ba { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-m); overflow: hidden; background: var(--teal-900); box-shadow: var(--shadow-deep); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 8px; margin-left: -4px; background: var(--pipe); box-shadow: 0 0 0 1px rgba(1, 28, 30, .3); pointer-events: none; }
.ba .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--copper-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011c1e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 6px 18px rgba(1, 28, 30, .45); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type=range]:focus-visible + .handle::after { outline: 3px solid var(--stone-50); outline-offset: 3px; }
.ba .lbl { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(1, 28, 30, .78); color: var(--on-dark); font-size: .85rem; font-weight: 600; pointer-events: none; }
.ba .lbl.b { left: 14px; } .ba .lbl.a { right: 14px; }
.ba-hint { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; }
.job-mini { display: grid; gap: 14px; }
.job-mini a { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; text-decoration: none; padding: 10px; border-radius: var(--radius-m); border: 1px solid var(--stone-300); background: var(--stone-50); transition: border-color .2s; }
.job-mini a:hover { border-color: var(--copper-500); }
.job-mini img { width: 96px; height: 80px; object-fit: cover; border-radius: 8px; }
.job-mini strong { display: block; font-stretch: 106%; line-height: 1.25; }
.job-mini span { color: var(--ink-soft); font-size: .9rem; }
.job-mini a[aria-current="true"] { border-color: var(--teal-800); box-shadow: inset 4px 0 0 var(--copper-500); }
@media (max-width: 860px) { .work-feature { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.quote-big blockquote { margin: 0; font-family: var(--quote); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; color: var(--on-dark); }
.quote-big blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .7; color: var(--copper-300); margin-bottom: 8px; }
.cite { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--on-dark-soft); font-size: .95rem; }
.cite strong { color: var(--on-dark); font-weight: 700; }
.cite .fb { width: 20px; height: 20px; color: var(--copper-300); }
.quote-stack { display: grid; gap: 16px; }
.quote-card { padding: 24px 26px; border-radius: var(--radius-m); background: rgba(143, 191, 176, .07); border: 1px solid rgba(143, 191, 176, .16); }
.quote-card p { font-family: var(--quote); font-style: italic; font-size: 1.22rem; line-height: 1.4; margin: 0 0 12px; color: var(--on-dark); }
.quote-card .cite { margin-top: 0; }
.rec-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(226, 165, 111, .12); color: var(--copper-100); text-decoration: none; font-weight: 600; font-size: .95rem; }
.rec-badge svg { width: 20px; height: 20px; color: var(--copper-300); }
.rec-badge:hover { background: rgba(226, 165, 111, .2); }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* all reviews (about page) */
.review-list { columns: 2 340px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; padding: 28px; border-radius: var(--radius-m); background: var(--stone-50); border: 1px solid var(--stone-300); }
.review p { font-family: var(--quote); font-style: italic; font-size: 1.15rem; line-height: 1.5; margin: 0 0 .7em; }
.review footer { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stone-300); font-size: .92rem; color: var(--ink-soft); }
.review footer strong { color: var(--ink); font-size: 1rem; }

/* ---------- areas map ---------- */
.areas { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.map-card { position: relative; border-radius: 24px; overflow: hidden; background: var(--teal-950); box-shadow: var(--shadow-deep); }
.map-card svg { display: block; width: 100%; height: auto; }
.map .ring { fill: none; stroke: rgba(143, 191, 176, .22); stroke-width: 1.5; }
.map .ring.edge { stroke: var(--copper-300); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.map .sea { fill: #0b3a46; }
.map .land { fill: var(--teal-900); }
.map .urban { fill: #134a49; }
.map .road { fill: none; stroke: var(--copper-500); stroke-width: 1.6; opacity: .45; stroke-linejoin: round; stroke-linecap: round; }
.map .road.major { stroke: var(--copper-300); stroke-width: 3.2; opacity: .6; }
.map .zone { fill: rgba(226, 165, 111, .07); }
.map .pulse { fill: rgba(226, 165, 111, .1); stroke: var(--copper-300); stroke-width: 2; transform-box: view-box; transform-origin: 0 0; opacity: 0; animation: radar 5s cubic-bezier(.2, .6, .3, 1) 1s infinite; }
@keyframes radar { 0% { transform: scale(.04); opacity: .9; } 80% { opacity: .15; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map .pulse { display: none; } }
.map .core { fill: rgba(226, 165, 111, .1); }
.map .ring-lbl { fill: rgba(169, 189, 182, .85); font: 600 19px var(--font); }
.map .ring-lbl.edge { fill: var(--copper-300); }
.map .town circle { fill: var(--teal-300); stroke: var(--teal-900); stroke-width: 3; transition: r .2s, fill .2s; }
.map .town text { fill: var(--on-dark); font: 600 25px var(--font); font-stretch: 104%; paint-order: stroke; stroke: var(--teal-900); stroke-width: 5px; stroke-linejoin: round; transition: fill .2s; }
.map .town[data-town="bury"] text { transform: translateY(-10px); }
.map .town.small text { font-size: 21px; fill: var(--on-dark-soft); }
.map .town.on circle { fill: var(--copper-300); r: 9; }
.map .town.on text { fill: var(--copper-100); }
.map .home circle.pin { fill: var(--copper-300); stroke: var(--teal-950); stroke-width: 4; }
.map .home circle.halo { fill: none; stroke: var(--copper-300); stroke-width: 2; opacity: .5; }
.map .home text { fill: var(--copper-100); font: 800 30px var(--font); font-stretch: 115%; paint-order: stroke; stroke: var(--teal-900); stroke-width: 6px; }
.map .compass text { fill: var(--on-dark-soft); font: 700 20px var(--font); }
.map .compass path { fill: var(--on-dark-soft); }
.map .scale line { stroke: var(--on-dark-soft); stroke-width: 2; }
.map .scale text { fill: var(--on-dark-soft); font: 600 18px var(--font); }
.map-note { margin-top: 12px; font-size: .82rem; color: var(--ink-soft); }
.town-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.town-list li { padding: 8px 14px; border-radius: 999px; background: var(--stone-50); border: 1px solid var(--stone-300); font-weight: 560; font-size: .95rem; cursor: default; transition: border-color .2s, background-color .2s; }
.town-list li.core { border-color: var(--teal-600); }
.town-list li:hover, .town-list li.on { border-color: var(--copper-500); background: var(--copper-100); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .map .town text { font-size: 36px; stroke-width: 7px; }
  .map .town.small { display: none; }
  .map .town circle { r: 8; }
  .map .town[data-town="bury"] text { transform: translateY(-20px); }
  .map .town[data-town="bolton"] text { transform: translateY(12px); }
  .map .town[data-town="preston"] text { transform: translateY(-16px); }
  .map .town[data-town="rossendale"] text { transform: translateY(12px); }
  .map .home text { font-size: 36px; }
  .map .ring-lbl { font-size: 24px; }
  .map .compass, .map .scale { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--teal-900); color: var(--on-dark); padding-block: clamp(64px, 8vw, 104px); }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--pipe-h); }
.cta-band .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-soft); margin: 18px 0 0; max-width: 44ch; }
.cta-band .btn-row { flex-direction: column; align-items: stretch; justify-self: end; width: min(100%, 320px); }
.cta-band .btn-row .btn { justify-content: center; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn-row { justify-self: start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-950); color: var(--on-dark-soft); padding-block: 64px 28px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h3 { font-size: 1rem; font-stretch: 108%; color: var(--on-dark); margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--copper-300); }
.foot-brand p { margin-top: 16px; max-width: 34ch; }
.foot-creds { display: grid; gap: 12px; }
.foot-creds div { display: flex; align-items: center; gap: 12px; }
.foot-creds img { width: 33px; height: 36px; border-radius: 4px; }
.foot-creds .vbadge { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(143, 191, 176, .12); color: var(--copper-300); }
.foot-creds .vbadge svg { width: 20px; height: 20px; }
.fb-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(143, 191, 176, .25); border-radius: 999px; color: var(--on-dark); margin-top: 18px; }
.fb-link svg { width: 18px; height: 18px; color: var(--copper-300); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(143, 191, 176, .14); font-size: .86rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.svc-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(143, 191, 176, .1); border: 1px solid rgba(143, 191, 176, .2); color: var(--on-dark); text-decoration: none; font-weight: 600; }
.svc-nav a span { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-900); color: var(--copper-300); display: grid; place-items: center; }
.svc-nav a span svg { width: 18px; height: 18px; }
.svc-nav a:hover { border-color: var(--copper-300); }
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc-detail.flip .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-m); box-shadow: var(--shadow-deep); }
.svc-media .ico-float { position: absolute; left: -18px; bottom: -18px; width: 76px; height: 76px; border-radius: 20px; background: var(--teal-800); color: var(--copper-300); display: grid; place-items: center; box-shadow: var(--shadow-deep); border: 4px solid var(--stone-100); }
.svc-media .ico-float svg { width: 38px; height: 38px; }
.section.stone-50 .svc-media .ico-float { border-color: var(--stone-50); }
.svc-media.panel { aspect-ratio: 4 / 3.4; border-radius: var(--radius-m); background: radial-gradient(circle at 30% 20%, var(--teal-700), var(--teal-800) 70%); display: grid; place-items: center; color: var(--copper-300); box-shadow: var(--shadow-deep); }
.svc-media.panel svg.big { width: 38%; height: auto; opacity: .9; }
.svc-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 18px; }
.svc-copy > p { color: var(--ink-soft); }
.covered { margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.covered li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.4; }
.covered svg { width: 20px; height: 20px; color: var(--copper-500); margin-top: 1px; }
@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-media { order: 0; }
  .covered { grid-template-columns: 1fr; }
  .svc-media .ico-float { left: 12px; }
}
.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius-m); background: var(--teal-800); color: var(--on-dark); margin-top: 48px; }
.callout .ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(226, 165, 111, .15); color: var(--copper-300); display: grid; place-items: center; }
.callout .ico svg { width: 28px; height: 28px; }
.callout strong { display: block; font-stretch: 110%; font-size: 1.2rem; }
.callout span { color: var(--on-dark-soft); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 2px solid var(--teal-800); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--stone-300); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-weight: 700; font-stretch: 106%; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--stone-300); position: relative; transition: transform .25s, border-color .2s, background-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal-800); border-radius: 2px; transition: transform .25s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--copper-500); border-color: var(--copper-500); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover .pm { border-color: var(--copper-500); }
.faq .ans { padding: 0 60px 24px 0; color: var(--ink-soft); }

/* ---------- work page ---------- */
.job { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.job + .job { margin-top: var(--step); padding-top: var(--step); border-top: 1px solid var(--stone-300); }
.job-viewer { position: relative; }
.job-stage { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-m); overflow: hidden; background: var(--teal-900); box-shadow: var(--shadow-deep); }
.job-stage img { width: 100%; height: 100%; object-fit: cover; }
.job-stage .now { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(1, 28, 30, .8); color: var(--on-dark); font-size: .88rem; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; counter-reset: s; }
.steps button { position: relative; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.steps img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid transparent; transition: border-color .2s, opacity .2s; opacity: .75; }
.steps button:hover img { opacity: 1; }
.steps button[aria-pressed="true"] img { border-color: var(--copper-500); opacity: 1; }
.steps .n { display: flex; gap: 6px; align-items: baseline; margin-top: 6px; font-size: .85rem; font-weight: 600; line-height: 1.2; }
.steps .n b { color: var(--copper-700); font-stretch: 112%; }
.job-copy h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 10px 0 16px; }
.job-meta { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.job-meta span { padding: 6px 12px; border-radius: 999px; background: var(--stone-50); border: 1px solid var(--stone-300); font-size: .88rem; font-weight: 600; }
.job-copy p { color: var(--ink-soft); }
@media (max-width: 860px) { .job { grid-template-columns: 1fr; } .steps { gap: 6px; } .steps .n span { display: none; } }

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-grid img { border-radius: var(--radius-m); box-shadow: var(--shadow-deep); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px; border-top: 2px solid var(--teal-800); }
.team div { padding: 20px 20px 4px 0; }
.team div + div { padding-left: 20px; border-left: 1px solid var(--stone-300); }
.team strong { display: block; font-stretch: 110%; font-size: 1.15rem; }
.team span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } .team div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--stone-300); } }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 6px; border-radius: 6px; background: var(--pipe-h); }
.process li { position: relative; padding-right: 24px; }
.process .num { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-900); border: 3px solid var(--copper-300); color: var(--copper-100); display: grid; place-items: center; font-weight: 800; font-stretch: 115%; font-size: 1.15rem; margin-bottom: 22px; }
.process h3 { color: var(--on-dark); font-size: 1.3rem; margin-bottom: 10px; }
.process p { color: var(--on-dark-soft); font-size: .98rem; }
.process q { display: block; margin-top: 14px; font-family: var(--quote); font-style: italic; font-size: 1.08rem; color: var(--copper-100); quotes: "\201C" "\201D"; }
.process q + small { display: block; margin-top: 6px; color: var(--on-dark-soft); font-size: .86rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 6px; height: auto; background: var(--pipe); }
  .process li { padding: 0 0 0 76px; }
  .process .num { position: absolute; left: 0; top: 0; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: var(--stone-50); border: 1px solid var(--stone-300); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(1, 28, 30, .35); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.form-card .note { color: var(--ink-soft); margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font-weight: 650; font-size: .98rem; }
.field label small, .field legend small { font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.field input, .field textarea { width: 100%; font: 400 1.05rem/1.4 var(--font); color: var(--ink); background: var(--stone-100); border: 2px solid var(--stone-300); border-radius: 10px; padding: 14px 16px; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); background: var(--stone-50); box-shadow: 0 0 0 4px rgba(25, 90, 89, .14); }
.field input::placeholder, .field textarea::placeholder { color: #7d918d; }
.field .hint { font-size: .88rem; color: var(--ink-soft); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--stone-300); background: var(--stone-100); font-weight: 600; font-size: .95rem; transition: border-color .2s, background-color .2s, color .2s; }
.chips span svg { width: 18px; height: 18px; color: var(--copper-700); }
.chips input:checked + span { background: var(--teal-800); border-color: var(--teal-800); color: var(--on-dark); }
.chips input:checked + span svg { color: var(--copper-300); }
.chips input:focus-visible + span { outline: 3px solid var(--copper-500); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 8px; }
.form-foot p { margin: 0; font-size: .9rem; color: var(--ink-soft); max-width: 36ch; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: rgba(25, 90, 89, .12); color: var(--teal-800); border: 1px solid rgba(25, 90, 89, .3); }
.form-status.err { display: block; background: rgba(184, 116, 63, .12); color: var(--copper-900); border: 1px solid rgba(184, 116, 63, .35); }
.field.invalid input, .field.invalid textarea { border-color: var(--copper-700); }
.field .err-msg { display: none; color: var(--copper-900); font-size: .88rem; font-weight: 600; }
.field.invalid .err-msg { display: block; }

.side-card { border-radius: 20px; background: var(--teal-800); color: var(--on-dark); padding: 32px; position: sticky; top: 100px; }
.side-card h2 { font-size: 1.5rem; color: var(--on-dark); margin-bottom: 18px; }
.side-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.side-card dl { margin: 24px 0 0; display: grid; gap: 16px; }
.side-card dt { font-size: .86rem; color: var(--on-dark-soft); }
.side-card dd { margin: 2px 0 0; font-weight: 600; }
.side-card dd a { text-decoration: none; }
.side-card dd a:hover { color: var(--copper-300); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .side-card { position: static; } }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--copper-700); font-weight: 600; }

/* ---------- lightbox-free image zoom on work page ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- van: services intro + CTA backdrop ---------- */
.svc-home { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-intro h2 { margin-bottom: 18px; }
.svc-intro p { color: var(--ink-soft); max-width: 44ch; }
.van-photo { margin: 28px 0 0; }
.van-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); box-shadow: var(--shadow-deep); border: 5px solid transparent; background: var(--pipe) border-box; }
.van-photo figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); }
.svc-home .svc-list { border-top: 0; }
.svc-home .svc { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "ico title go" "ico text go"; gap: 4px 22px; padding: 26px 0; }
.svc-home .svc:first-child { padding-top: 0; }
.svc-home .svc .svc-ico { grid-area: ico; align-self: start; }
.svc-home .svc h3 { grid-area: title; }
.svc-home .svc p { grid-area: text; }
.svc-home .svc .go { grid-area: go; }
@media (max-width: 900px) { .svc-home { grid-template-columns: 1fr; } .van-photo { max-width: 560px; } }
@media (max-width: 760px) { .svc-home .svc { grid-template-columns: 56px 1fr; grid-template-areas: "ico title" "text text"; gap: 12px 18px; } }

.cta-band.van { background:
    linear-gradient(90deg, var(--teal-950) 0%, var(--teal-950) 46%, rgba(1, 28, 30, .84) 66%, rgba(1, 38, 41, .58) 100%),
    url("../img/van.jpg") right 40% / 62% auto no-repeat,
    var(--teal-900); }
@media (max-width: 860px) { .cta-band.van { background:
    linear-gradient(180deg, rgba(1, 28, 30, .96), rgba(1, 38, 41, .84)),
    url("../img/van.jpg") 70% 40% / cover no-repeat,
    var(--teal-900); } }

/* phones: hero photo as a rounded rectangle, matching the van photo */
@media (max-width: 640px) {
  .hero-photo .arch { aspect-ratio: 4 / 3; border-radius: var(--radius-m); border-width: 5px; }
  .hero-photo .arch img { border-radius: 9px; }
}
