/* =====================================================================
   SRJ Sprays — site styles
   Brand: navy #133142 · deep navy #0F202B · slate #3B505C · light grey #E6E8EB
          sage (from SRJ's transformation photos) #93A08A · fonts Vollkorn / Poppins / Caveat
   ===================================================================== */

:root {
  --navy: #133142;
  --navy-deep: #0f202b;
  --navy-ink: #0b1922;
  --slate: #3b505c;
  --slate-soft: #5b6d77;
  --mist: #e6e8eb;
  --paper: #f4f5f2;
  --white: #ffffff;
  --sage: #93a08a;
  --sage-light: #c8d0c1;
  --sage-deep: #56644f;
  --anthracite: #3a3f4a;
  --tape: #c4a14f;
  --kraft: #b19b7f;
  --focus: var(--navy);
  --wa: #25d366;

  --font-display: "Vollkorn", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --container: 1200px;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); /* on a sideways iPhone: clear of the camera */
  --section: clamp(64px, 7.5vw, 112px);
  --header-h: 68px;

  --r-s: 8px;
  --r: 14px;
  --r-l: 22px;
  --shadow-s: 0 2px 8px rgba(15, 32, 43, .08);
  --shadow-m: 0 14px 34px rgba(15, 32, 43, .14);
  --shadow-l: 0 30px 70px rgba(11, 25, 34, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* fine overspray speckle, used for textures and sprayed edges */
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -.55'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero, .section--dark, .site-header, .site-footer, .action-bar, .review { --focus: var(--sage); }
[hidden] { display: none !important; }
::selection { background: var(--sage); color: var(--navy-deep); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -4rem; z-index: 1000; padding: .7rem 1rem; border-radius: var(--r-s);
  background: var(--sage); color: var(--navy-deep); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--grey { background: var(--paper); }
.section--dark { background: var(--navy-deep); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--sage); }

.h2 { font-size: clamp(1.9rem, 1.25rem + 2.3vw, 3.1rem); }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); color: var(--slate); max-width: 62ch; }
.section--dark .lead { color: rgba(255, 255, 255, .8); }

/* Handwritten notes — the sprayer's pencil on masking paper */
.note {
  font-family: var(--font-hand); font-weight: 600; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.2rem);
  line-height: 1; color: var(--navy); transform: rotate(-3deg); display: inline-block;
}
.on-dark .note, .note--light { color: var(--white); }

/* Sprayed-on underline for key headings */
.sprayline { position: relative; display: inline; background: none; }
.sprayline { isolation: isolate; }
.sprayline::after {
  content: ""; position: absolute; left: -1%; right: -3%; bottom: .06em; height: .26em; z-index: -1;
  background: linear-gradient(90deg, rgba(147, 160, 138, 0), var(--sage) 7%, var(--sage) 88%, rgba(147, 160, 138, 0));
  box-shadow: 0 0 .5em rgba(147, 160, 138, .45);
  opacity: .6; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  transform-origin: left center; transform: scaleX(var(--line, 1)); transition: transform 1.1s var(--ease) .25s;
}
.js .sprayline:not(.is-in)::after { --line: 0; }
.hero .sprayline::after, .section--dark .sprayline::after { opacity: .55; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-spray: var(--sage);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .8rem 1.6rem; border: 0; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s ease, color .25s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn::before { /* spray-fill on hover, from the pointer */
  content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%);
  width: 260%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; scale: 0;
  background: radial-gradient(circle, var(--btn-spray) 0 52%, transparent 70%);
  transition: scale .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { scale: 1; }
.btn:hover { box-shadow: 0 10px 24px rgba(15, 32, 43, .2); }
.btn:active { transform: translateY(1px); }
.btn--sage { --btn-bg: var(--sage); --btn-fg: var(--navy-deep); --btn-spray: #b4bfac; }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-spray: var(--navy-deep); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-spray: var(--mist); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-spray: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.btn--call { --btn-bg: var(--white); --btn-fg: var(--navy-deep); --btn-spray: var(--sage-light); }
.btn--block { width: 100%; }
.btn-or { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 600; color: var(--sage); transform: rotate(-4deg); line-height: 1; }

.text-link { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: var(--navy); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(11, 25, 34, .0); transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-solid {
  background: rgba(11, 25, 34, .9); box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 30px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  padding: .55rem .8rem; border-radius: 8px; color: rgba(255, 255, 255, .82); text-decoration: none;
  font-size: .93rem; font-weight: 500; transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; border-radius: 10px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .8);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 72px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(147, 160, 138, .22), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(101, 145, 169, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-ink) 0%, var(--navy-deep) 55%, #10242f 100%);
}
.hero::before { /* booth atmosphere: faint overspray */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: screen;
  background: var(--speckle) 0 0 / 200px;
}
/* the page has the headline, then the photo, then the copy and buttons (the order on phones and tablets, so Tab and
   screen readers follow the screen); on laptops the headline and the copy share the left column, centred together beside
   the photo, which spans every row of the right one */
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: 1fr auto auto 1fr;
  column-gap: clamp(32px, 5vw, 80px);
}
.hero-head { grid-column: 1; grid-row: 2; }
.hero-body { grid-column: 1; grid-row: 3; }
.hero-grid > .stage-wrap { grid-column: 2; grid-row: 1 / -1; align-self: center; }
.hero h1 {
  color: var(--white); font-size: clamp(2.35rem, 1.35rem + 3.7vw, 4.5rem); font-weight: 700; line-height: 1.03;
  margin-bottom: 1.25rem;
}
.hero h1 .sprayline::after { height: .26em; bottom: .04em; }
/* laptops: the headline's longer words ("Specialist Spray", "Finishing Across") share a narrow column with the photo,
   so it is sized to keep them in three lines from 1024px up instead of one word per line */
@media (min-width: 900.02px) { .hero h1 { font-size: clamp(2.9rem, 1.1rem + 3.25vw, 4.05rem); } }
@media (min-width: 900.02px) and (max-width: 956px) { .hero h1 { font-size: 2.8rem; } } /* the narrowest column: just small enough for three lines */
.hero-sub { font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem); color: rgba(255, 255, 255, .82); max-width: 34ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; }
.hero-proof {
  margin-top: clamp(1.6rem, 3vw, 2.4rem); padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; font-size: .92rem;
}
.hero-proof li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-proof svg { width: 18px; height: 18px; fill: var(--sage); flex: none; }
.stars { height: 16px; width: auto; }
.hero-quote { margin: 0; color: rgba(255, 255, 255, .86); font-style: italic; }

/* ---------------------------------------------------------------- before & after stage: real jobs */
/* isolation: the slider, its line and the tapes stack inside the stage, so the hero's "Call us" card always opens on
   top of the photo (the entrance animation did this too, but there is none with reduced motion) */
.stage-wrap { position: relative; isolation: isolate; justify-self: center; width: min(100%, 430px); }
.compare {
  position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden;
  background: #8e8b82; box-shadow: var(--shadow-l), 0 0 0 1px rgba(255, 255, 255, .06);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.js .compare { --pos: 100%; } /* the script starts on the "before" photo and glides to the middle */
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .16s ease; }
.compare-before { z-index: 0; }
.compare-after { z-index: 1; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare.is-swapping img { opacity: 0; }
/* a photo that didn't load: show the one that did, on its own, without labels or a slider */
.compare.no-after .compare-after, .compare.no-before .compare-before,
.compare.no-after .compare-ui, .compare.no-before .compare-ui,
.compare.no-after .stage-hint, .compare.no-before .stage-hint { display: none; }
.compare.no-before .compare-after { clip-path: none; }

/* stage labels: each one is cut with its own photo, so "After" only shows over the after photo */
.tag-layer { position: absolute; inset: 0; pointer-events: none; }
.tag-layer--before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.tag-layer--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.stage-tag {
  position: absolute; top: 14px; padding: .25rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(11, 25, 34, .72); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stage-tag--before { left: 14px; }
.stage-tag--after { right: 14px; background: rgba(147, 160, 138, .92); color: var(--navy-deep); }

/* compare slider */
.compare-ui { position: absolute; inset: 0; z-index: 7; }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; translate: -50% 0; pointer-events: none;
  background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 0 14px rgba(0, 0, 0, .3);
}
.compare-handle {
  position: absolute; top: 50%; left: var(--pos, 50%); width: 52px; height: 52px; translate: -50% -50%; pointer-events: none;
  display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3), 0 0 0 4px rgba(255, 255, 255, .35);
  transition: transform .2s var(--ease);
}
.compare-handle svg { width: 26px; height: 26px; fill: currentColor; }
.compare-range {
  /* extends half a thumb past each edge so the divider sits exactly under the finger */
  position: absolute; inset: 0 auto 0 -28px; width: calc(100% + 56px); height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y;
}
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.compare-range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; }
/* touch screens: the thumb is only as tall as the round handle. On iPhones and iPads (every iOS browser uses Safari's
   engine) a touch that lands on the thumb belongs to the slider, so with the full-height thumb a swipe up that started
   anywhere on the divider line moved nothing; now it scrolls the page. The cost there: a sideways drag has to start on
   the handle. Chrome and Firefox still move the divider to wherever a finger or click lands on the photo */
@media (any-pointer: coarse) {
  .compare-range::-webkit-slider-thumb { height: 64px; }
  .compare-range::-moz-range-thumb { height: 64px; }
}
.compare-range:focus-visible ~ .compare-handle { box-shadow: 0 0 0 4px var(--sage), 0 0 0 7px var(--navy-deep), 0 8px 22px rgba(0, 0, 0, .3); }
.compare:hover .compare-handle { transform: scale(1.06); }
.stage-hint {
  position: absolute; z-index: 8; left: 50%; bottom: 16px; translate: -50% 0; margin: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(11, 25, 34, .72); color: var(--white); font-size: .8rem; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s ease;
}
.compare.is-ready:not(.is-touched) .stage-hint { opacity: 1; transition-delay: .5s; }
.stage-tape {
  position: absolute; z-index: 9; width: 92px; height: 26px; background: rgba(196, 161, 79, .9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15); pointer-events: none;
  -webkit-mask: radial-gradient(4px at 0 50%, #0000 98%, #000) 0 0 / 100% 7px, linear-gradient(#000 0 0);
}
.stage-tape--a { top: -10px; left: 18px; transform: rotate(-6deg); }
.stage-tape--b { top: -8px; right: 22px; transform: rotate(5deg); }

/* what was done on the job shown, and the switch between jobs */
.job-panel {
  margin-top: 14px; padding: 14px 16px 16px; border-radius: var(--r);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86);
}
.job-kicker { margin: 0 0 .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.job-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.job-btn {
  display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: 5px 10px 5px 5px; text-align: left;
  border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .78); font-size: .86rem; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.job-btn img { flex: none; width: 28px; height: 37px; border-radius: 5px; object-fit: cover; }
.job-btn:hover { border-color: rgba(255, 255, 255, .42); color: var(--white); }
.job-btn[aria-pressed="true"] { border-color: var(--sage); background: rgba(147, 160, 138, .18); color: var(--white); }
.job-btn:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 2px; }
.job-cards { min-width: 0; }
/* both jobs' cards share one spot, so the panel keeps the taller one's height and nothing below jumps when switching
   (the hidden one keeps its [hidden] attribute and stays out of reach of screen readers) */
.js .job-cards { display: grid; }
.js .job-card { grid-area: 1 / 1; min-width: 0; }
.js .job-card[hidden] { display: block !important; visibility: hidden; }
.job-change { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.job-change li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; line-height: 1.35; color: var(--white); }
/* label column, then the colours: both rows' colours start at the same place and a wrapped line stays under its colours */
.job-change li > span:last-child { display: grid; grid-template-columns: 4.1em minmax(0, 1fr); align-items: baseline; min-width: 0; }
.job-change b {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.swatches { display: inline-flex; flex: none; width: 32px; }
.sw { display: block; width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px var(--navy-deep), inset 0 0 0 1px rgba(255, 255, 255, .28); }
.sw + .sw { margin-left: -5px; }
.sw-dark-green { background: #2f3d38; }
.sw-golden-oak { background: #a2692f; }
.sw-ammonite { background: #d3d1c8; }
.sw-satin-white { background: #f3f3ef; }
.sw-white { background: #f6f6f3; }
.sw-satin-black { background: #0e0e10; }
@media (max-width: 640px) {
  .job-panel { margin-top: 12px; padding: 12px 13px 14px; }
  .job-btn { font-size: .8rem; }
  .job-btn img { width: 24px; height: 32px; }
  .job-change li { font-size: .88rem; }
}

/* ---------------------------------------------------------------- upload your project (under the hero) */
/* a white card half over the hero's end, half over the services: the photos picked here go into the quote form */
.upload { --over: 3.2rem; position: relative; z-index: 2; margin-top: calc(-1 * var(--over)); background: linear-gradient(180deg, transparent var(--over), var(--white) 0); }
.hero::after { content: ""; display: block; height: 3.2rem; } /* the hero's end, behind the card's top */
.upload + .photo-host + .section { padding-top: clamp(40px, 4.4vw, 64px); }
.upload-card {
  display: grid; grid-template-columns: auto minmax(0, max-content) auto; justify-content: center; align-items: center; gap: .9rem clamp(1rem, 2vw, 1.75rem); /* (in the middle: at the right edge its button would be under the chat button) */
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 2.4vw, 1.9rem); border-radius: var(--r-l); background: var(--white); color: var(--slate); box-shadow: var(--shadow-m), 0 0 0 1px rgba(19, 49, 66, .06);
}
.upload-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--sage); color: var(--navy-deep); }
.upload-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upload-title { margin: 0; font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.2; color: var(--navy); }
.upload-note { margin: .2rem 0 0; font-size: .9rem; color: var(--slate-soft); }
.upload-card .btn { scroll-margin-bottom: 6rem; } /* reached with Tab, it stops clear of the chat button too */
.upload-card .btn[hidden], .upload-note[hidden], html:not(.js) .upload-note { display: none; } /* (without JavaScript there are no photos: the box is a link to the form) */
@media (max-width: 640px) {
  .upload-card { grid-template-columns: auto minmax(0, 1fr); gap: .9rem; }
  .upload-icon { width: 46px; height: 46px; border-radius: 12px; }
  .upload-icon svg { width: 24px; height: 24px; }
  .upload-card .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------------------------------------------------------------- services */
/* the heading, SRJ's line about surfaces, and the six services with nothing round them but a hairline over each row. The
   line is each cell's own top border and the cells have no gap between them (the space is their right padding), so the
   line runs on unbroken and each name starts on a column line, the first on the page's left edge */
.services-head .h2 { margin-bottom: .8rem; }
@media (min-width: 14.02em) { .services-head .sprayline { white-space: nowrap; } } /* (two lines only with very large text on a narrow phone) */
.surfaces { margin: 0; max-width: 62ch; }
.services {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service { position: relative; padding: 1.1rem .75rem 1.15rem 0; border-top: 1px solid var(--mist); --svc-gap: .65rem; }
/* each icon is a button: it opens that service's gallery (site.js) */
.svc-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--svc-gap);
  width: 100%; margin: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.svc-btn:focus-visible { outline-offset: 6px; }
.svc-btn:disabled { cursor: default; } /* without JavaScript (the script turns them on) */
/* the drawings (made with Higgsfield; inline, decorative): navy lines over an offset sage "fresh coat". All six share
   one 330 x 320 box, stand on the same floor line and start on the box's left edge, so they line up at one scale */
.svc-icon {
  width: 5rem; height: auto; aspect-ratio: 33 / 32; overflow: visible;
  fill: none; stroke: var(--navy); stroke-linecap: round; stroke-linejoin: round;
}
.svc-icon .coat { fill: var(--sage); stroke: none; }
.svc-icon .w { fill: var(--white); }
.svc-icon .n { fill: var(--navy); stroke: none; }
.svc-icon .hl { stroke: var(--white); }
.svc-name {
  font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--navy);
  -webkit-hyphens: manual; hyphens: manual; /* "Conservatories" only ever breaks at its &shy; */
}
/* with a mouse: the drawing lifts off its coat, and a deeper sage sprays along the line over the name (5:1 on white) */
@media (hover: hover) and (pointer: fine) {
  .svc-icon, .svc-icon .coat { transition: transform .4s var(--ease); }
  .service::after {
    content: ""; position: absolute; left: 0; right: .75rem; top: -1px; height: 2px; background: var(--sage-deep);
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
  }
  .service:hover .svc-icon { transform: translateY(-4px); }
  .service:hover .svc-icon .coat { transform: translate(6px, 20px); } /* drawing units: the coat stays put as it lifts */
  .service:hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) { /* the line still shows; nothing moves */
  .service:hover .svc-icon, .service:hover .svc-icon .coat { transform: none; }
}
@media (min-width: 900.02px) {
  .services { margin-top: 2rem; }
  .svc-icon { width: 5.25rem; } /* 84px */
  .svc-name { font-size: 1rem; }
}
/* laptops: all six in one row (60em: 960px, or wider with larger text, so every name stays on one line) */
@media (min-width: 60em) {
  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service { padding-top: 1.4rem; padding-bottom: 0; }
}

/* ---------------------------------------------------------------- a family-run business: SRJ's text, the areas and the van */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.about-grid .h2 { margin-bottom: 1.2rem; }
.about-copy .lead { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
/* the areas: no box, the bold label running into its text (the client's own sentence) */
.about-facts { margin-top: 1.4rem; font-size: .95rem; line-height: 1.65; }
.about-facts p { margin: 0; }
.about-facts strong { font-weight: 600; color: var(--navy); }
.about-facts .areas-more { margin-top: .45rem; }
.about-facts .text-link { white-space: nowrap; }
/* the van: just the photo, with its caption under it (its size and crop are set for each screen size below) */
.van-card { position: relative; margin: 0; }
.van-card img { width: 100%; object-fit: cover; border-radius: var(--r); background: var(--mist); }
.van-card figcaption { margin-top: .7rem; font-size: .85rem; line-height: 1.5; color: var(--slate-soft); }
/* tablets: under the words, the areas and the van share a row, so the photo doesn't run the full width of the screen; it
   fills its half down to the end of the areas, but never gets more than 83% as tall as it is wide (with larger text they
   grow, and a taller crop would cut into the logo) */
@media (min-width: 640.02px) and (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "facts van"; column-gap: 2rem; }
  .about-copy { grid-area: copy; }
  .about-facts { grid-area: facts; }
  .van-card { grid-area: van; margin-top: 1.6rem; display: flex; flex-direction: column; container-type: inline-size; }
  .van-card img { flex: 1 1 auto; height: 0; min-height: 11rem; max-height: 83cqi; aspect-ratio: auto; object-position: 50% 40%; }
}
/* laptops: the words and the areas on the left, the van beside them, centred on them. The photo keeps its own shape */
@media (min-width: 900.02px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "copy van" "facts van"; column-gap: clamp(32px, 6vw, 88px); align-content: center; }
  .about-copy { grid-area: copy; align-self: end; }
  .about-facts { grid-area: facts; align-self: start; }
  .van-card { grid-area: van; align-self: center; }
  .van-card img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 45%; }
}
/* phones: tighter, and the van's caption is for screen readers only */
@media (max-width: 640px) {
  .surfaces { font-size: .95rem; line-height: 1.6; }
  .services { margin-top: 1.1rem; }
  .service { --svc-gap: .45rem; padding: .75rem 1rem .8rem 0; } /* 1rem: with larger text a long name wraps before it reaches the next */
  .service::after { right: 1rem; }
  .svc-icon { width: 3.75rem; } /* 60px */
  .svc-name { font-size: .875rem; } /* 14px */
  .about-facts { margin-top: 1.1rem; font-size: .9rem; line-height: 1.6; }
  .van-card { margin-top: 1.4rem; }
  /* a wide strip: the logo, the side window's number and website and the QR code stay in, and its bottom edge stays
     clear of the number on the back door */
  .van-card img { aspect-ratio: 5 / 2; object-position: 50% 24%; }
  .van-card figcaption {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
/* narrow phones, three across: in equal
   thirds the names would nearly touch ("UPVC Windows UPVC Doors"), so each column takes the width of its names and the
   space left over goes evenly between them: every name stays on one line, with the same clear gap before the next
   (never under 1rem, so with larger text the names wrap instead of running together). The list draws the hairlines
   itself (over each of its two equal rows), so they still run on unbroken. Below 372px the names are 13px, which keeps
   that gap at 21px or more */
@media (min-width: 359.99px) and (max-width: 440px) {
  .services {
    grid-template-columns: repeat(3, auto); grid-auto-rows: 1fr; justify-content: space-between; column-gap: 1rem;
    background: linear-gradient(var(--mist), var(--mist)) 0 0 / 100% 1px no-repeat,
      linear-gradient(var(--mist), var(--mist)) 0 50% / 100% 1px no-repeat;
  }
  .service { padding-right: 0; border-top: 0; }
  .service::after { right: 0; }
}
/* forced colours (Windows contrast themes) drop background images, so there the cells draw their own lines again */
@media (forced-colors: active) and (min-width: 359.99px) and (max-width: 440px) {
  .service { border-top: 1px solid; }
}
@media (max-width: 371.98px) { .svc-name { font-size: .8125rem; } }
/* under 360px (the narrowest phones, and any phone zoomed in) two across instead, in equal halves, at 14px */
@media (max-width: 359.98px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { padding-top: .6rem; padding-bottom: .65rem; }
  .svc-icon { width: 3rem; } /* 48px */
  .svc-name { font-size: .875rem; }
}

/* "Choose a service…": a hint under the icons, only where JavaScript can open the gallery (site.js takes it out of a
   browser without dialogs) */
.svc-hint { display: none; align-items: center; gap: .5rem; margin: .9rem 0 0; font-size: .85rem; line-height: 1.4; color: var(--slate-soft); }
.js .svc-hint { display: flex; }
.svc-hint svg { width: 18px; height: 18px; flex: none; fill: var(--sage-deep); }
@media (min-width: 900.02px) { .svc-hint { margin-top: 1.5rem; } }
@media (max-width: 640px) { .svc-hint { margin-top: .2rem; } } /* nearer the icons than the areas under it */

/* ---------------------------------------------------------------- service galleries: the dialog the six icons open */
/* Phones: the whole screen. Larger screens: a card in the middle. A row of tabs (one per service) on top, the photos
   scrolling under it, the estimate button at the foot. Photos keep their own shape; nothing is cropped */
/* the page behind can't scroll. Both of them: with only the html locked, iPhone Safari treats the body as a scroller of
   its own and a swipe on the photos moves the page behind instead */
html.is-gallery-open { overflow: hidden; scrollbar-gutter: stable; }
html.is-gallery-open body { overflow: hidden; }
/* where scrollbars take up room (most Windows PCs) the backdrop stops short of theirs: the strip it leaves is the page's
   own background, so it gets the colour white has under the backdrop */
@media (min-width: 640.02px) { html.is-gallery-open { background: #5e676d; } }
.sg {
  --sg-screen: 100vh;
  width: 100%; max-width: none; height: var(--sg-screen); max-height: none; margin: 0; padding: 0; border: 0;
  background: none; color: var(--slate); overflow: visible;
}
@supports (height: 100dvh) { .sg { --sg-screen: 100dvh; } }
.sg:not([open]) { display: none; } /* (and so it stays in a browser that doesn't know <dialog>) */
.sg:focus, .sg-body:focus { outline: none; } /* opened with a finger or mouse, the focus is on the photos' scroller: no ring */
.sg::backdrop { background: rgba(11, 25, 34, .66); }
.sg-sheet { display: flex; flex-direction: column; height: 100%; background: var(--white); }
.sg[open] .sg-sheet { animation: sg-in .28s var(--ease) both; }
@keyframes sg-in { from { opacity: 0; transform: translateY(16px); } }
.sg-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(.9rem + env(safe-area-inset-top)) var(--gutter) .55rem; }
.sg-title { font-size: 1.5rem; }
.sg-close {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--navy); cursor: pointer; transition: background-color .2s ease;
}
.sg-close:hover { background: var(--mist); }
.sg-close svg { width: 22px; height: 22px; fill: currentColor; }
/* the row of tabs scrolls sideways where it has to (phones): a soft shade at whichever edge has more tabs past it. The
   two white layers scroll with the tabs and cover the shade once that end is reached */
.sg-tabs {
  position: relative; display: flex; gap: .25rem; flex: none; padding: 0 var(--gutter); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scrollbar-width: none; border-bottom: 1px solid var(--mist);
  background:
    linear-gradient(90deg, var(--white) 40%, rgba(255, 255, 255, 0)) 0 0 / 48px 100% no-repeat local,
    linear-gradient(270deg, var(--white) 40%, rgba(255, 255, 255, 0)) 100% 0 / 48px 100% no-repeat local,
    linear-gradient(90deg, rgba(15, 32, 43, .15), rgba(15, 32, 43, 0)) 0 0 / 14px 100% no-repeat scroll,
    linear-gradient(270deg, rgba(15, 32, 43, .15), rgba(15, 32, 43, 0)) 100% 0 / 14px 100% no-repeat scroll;
}
.sg-tabs::-webkit-scrollbar { display: none; }
.sg-tab {
  flex: none; min-height: 46px; margin-bottom: -1px; padding: .5rem .8rem .55rem; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
  background: none; color: var(--slate); font-size: .95rem; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.sg-tab:first-child { margin-left: -.8rem; } /* its words start on the column line; its padding gives the ring and the line the same room as on the others */
.sg-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--sage-deep); }
.sg-tab:focus-visible { outline-offset: -4px; }
/* position: the captions' screen-reader-only words stay inside the scroller (they made the whole card scroll in Safari) */
.sg-body { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem var(--gutter) 1.6rem; }
.sg-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.sg-panel:focus-visible { outline-offset: 6px; }
.sg-item { margin: 0; }
.sg-item figcaption { margin-top: .6rem; font-size: .92rem; font-weight: 600; line-height: 1.45; color: var(--navy); }
.sg-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.sg-pair--stack { grid-template-columns: minmax(0, 1fr); }
.sg-pair--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-shot { position: relative; overflow: hidden; border-radius: 12px; background: var(--mist); }
.sg-shot img { display: block; width: 100%; height: auto; }
.sg-item--clip .gallery-clip { position: relative; overflow: hidden; width: min(22rem, 100%); border-radius: 12px; background: var(--navy-deep); }
.sg-item--clip .gallery-clip video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 480px) { .sg-item--clip .gallery-clip { width: 100%; } } /* phones: as wide as the column, like the photos */
/* a service without photos yet: its drawing over a line of text, in the middle of the space */
.sg-panel--empty:not([hidden]) { align-content: center; min-height: 100%; }
.sg-empty { display: grid; justify-items: center; gap: .9rem; max-width: 44ch; margin-inline: auto; padding: .4rem 0; text-align: center; }
.sg-empty .svc-icon { width: 6rem; margin-bottom: .2rem; }
.sg-empty p { margin: 0; }
.sg-foot { flex: none; padding: .8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--mist); }
.sg-foot .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
/* a card in the middle: one size whichever tab is open, so the row of tabs stays where it is (a card as tall as its photos
   moved the tabs under the pointer, and a second click landed outside and closed it). The photos sit in the middle of the
   space when they don't fill it, and the clip is never taller than the space */
@media (min-width: 640.02px) {
  .sg {
    --sg-h: min(44rem, var(--sg-screen) - 3rem);
    width: min(880px, 100% - max(3rem, env(safe-area-inset-left) + env(safe-area-inset-right))); height: var(--sg-h); margin: auto;
  }
  .sg-sheet { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-l); }
  .sg-head { padding: 1.1rem 1.6rem .55rem; }
  .sg-tabs { padding-inline: 1.6rem; }
  .sg-body { padding: 1.4rem 1.6rem 1.6rem; }
  .sg-panel:not([hidden]) {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.8rem 1.6rem;
    align-items: start; align-content: center; min-height: 100%;
  }
  .sg-pair--stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } /* two wide photos, side by side when there's room */
  .sg-item--clip { display: grid; justify-items: center; }
  .sg-item--clip .gallery-clip { width: min(22rem, 100%, max(8rem, (var(--sg-h) - 17.75rem) * .75)); } /* 8rem: with large text it scrolls instead of shrinking away */
  .sg-empty, .sg-item--wide { grid-column: 1 / -1; }
  .sg-item--wide { justify-self: center; width: min(100%, 36rem); }
  .sg-foot { padding: .9rem 1.6rem 1.1rem; }
  .sg-foot .btn { width: auto; }
}
/* short windows (a phone on its side, a small or zoomed-in window): the full height, and everything scrolls under a slim
   title row, so the photos get nearly all of it. On phones the side margins stay: they keep the words clear of the camera */
@media (max-height: 520px) {
  .sg { --sg-h: var(--sg-screen); height: var(--sg-h); margin-block: 0; }
  .sg-sheet { border-radius: 0; overflow: hidden auto; overscroll-behavior: contain; scroll-padding-top: 4.25rem; }
  .sg-head { position: sticky; z-index: 3; top: 0; flex: none; padding-block: calc(.3rem + env(safe-area-inset-top)) .3rem; background: var(--white); }
  .sg-title { font-size: 1.2rem; }
  .sg-body { flex: 1 0 auto; overflow: visible; padding-block: .8rem 1.1rem; }
  .sg-item--clip { display: grid; justify-items: center; }
  .sg-item--clip .gallery-clip { width: min(22rem, 100%, max(6rem, (var(--sg-h) - 9.5rem) * .75)); }
  .sg-empty { gap: .5rem; padding: 0; }
  .sg-empty .svc-icon { width: 3.5rem; margin: 0; }
  .sg-foot { padding-block: .6rem calc(.6rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .sg[open] .sg-sheet { animation: none; } }
/* forced colours (Windows contrast themes) draw transparent borders and drop shadows: only the chosen tab keeps its line,
   and the card gets an outline */
@media (forced-colors: active) {
  .sg-tab { border-bottom-color: Canvas; }
  .sg-tab[aria-selected="true"] { border-bottom-color: Highlight; }
  .sg-sheet { border: 1px solid CanvasText; }
}

/* ---------------------------------------------------------------- kitchen respraying (its own section) */
.section--dark .text-link { color: var(--white); text-decoration-color: var(--sage); }
.section--dark .text-link:hover { text-decoration-color: var(--white); }
.kitchen-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.kitchen-head .h2 { margin: 0; }
.kitchen-photo { margin: 0; }
.kitchen-shot { position: relative; overflow: hidden; border-radius: var(--r-l); background: #1c3442; }
.kitchen-shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
/* the same kitchen before, in a corner of the picture */
.kitchen-inset { position: absolute; left: 3%; bottom: 4%; width: min(36%, 14rem); border-radius: 12px; overflow: hidden; border: 3px solid var(--white); background: var(--white); box-shadow: var(--shadow-m); }
.kitchen-inset img, .kitchen-grid .kitchen-inset img, .svc-hero-grid .kitchen-inset img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 9px; }
.kitchen-inset .pair-tag { top: 5px; left: 5px; font-size: .6rem; padding: .15rem .5rem; }
.kitchen-photo figcaption { margin-top: .7rem; font-size: .8rem; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.kitchen-body .lead { margin-bottom: 1.25rem; }
.kitchen-points { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .75rem; }
.kitchen-points li span { text-wrap: balance; }
.kitchen-points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; line-height: 1.5; }
.kitchen-points svg { width: 20px; height: 20px; flex: none; margin-top: .17em; fill: var(--sage); }
.kitchen-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.kitchen-ctas .btn { white-space: normal; text-align: center; } /* its long label wraps where it has to (larger text, the narrowest phones) */
@media (max-width: 343px) { .kitchen-ctas .btn { padding-inline: .8rem; } }
@media (min-width: 900.02px) { /* laptops: the picture on the left, the words beside it, as tall as they need */
  .kitchen-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    grid-template-areas: "photo head" "photo body"; gap: 1.2rem clamp(32px, 6vw, 88px); align-items: start;
  }
  .kitchen-grid .kitchen-head { grid-area: head; }
  .kitchen-grid .kitchen-photo { grid-area: photo; align-self: center; }
  .kitchen-grid .kitchen-body { grid-area: body; }
}

/* ---------------------------------------------------------------- service pages (kitchen-respraying/ is the first; the others will follow the same pattern) */
.svc-hero { --focus: var(--sage); background: var(--navy-deep); color: rgba(255, 255, 255, .82); padding: calc(var(--header-h) + clamp(22px, 3vw, 48px)) 0 clamp(40px, 5vw, 80px); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
.svc-hero .eyebrow { color: var(--sage); margin-bottom: .7rem; }
.svc-hero h1 { color: var(--white); font-size: min(14vw, clamp(2.2rem, 1.4rem + 3vw, 3.7rem)); font-weight: 700; line-height: 1.05; margin-bottom: 1.1rem; }
@media (min-width: 640.02px) and (max-width: 900px) { .svc-hero h1 { max-width: 13em; } } /* two lines in the fallback font and in Vollkorn, so nothing moves when the web font arrives */
.svc-hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 1.6rem; }
.svc-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; }
@media (max-width: 640px) { .svc-hero-ctas { display: grid; grid-template-columns: 1fr; } } /* one wide button (the bar along the bottom has Call, WhatsApp and Chat); the home page's hero has none on phones */
.svc-hero-copy ul.hero-proof { margin-top: 1.6rem; }
@media (min-width: 640.02px) and (max-width: 900px) { .svc-hero-copy ul.hero-proof { display: grid; grid-template-columns: minmax(0, 1fr); } } /* one under the other: in rows, they wrapped differently in the two fonts and moved the picture */
.crumbs { margin-bottom: 1.2rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .5rem; list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.crumbs li { display: inline-flex; gap: .5rem; align-items: center; color: rgba(255, 255, 255, .62); }
.crumbs li + li::before { content: "/"; content: "/" / ""; color: rgba(255, 255, 255, .35); } /* (the second: not read out) */
.crumbs a { padding-block: .6rem; margin-block: -.6rem; color: rgba(255, 255, 255, .86); text-underline-offset: 3px; } /* a taller target, same place */
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.svc-split-copy .h2, .svc-cta .h2 { margin-bottom: 1rem; }
.kitchen-photo--detail .kitchen-shot img { aspect-ratio: 12 / 7; }
.section:not(.section--dark) .kitchen-photo figcaption { color: var(--slate-soft); }
.svc-steps { list-style: none; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
.svc-steps .step-num { margin-bottom: 1rem; }
.svc-steps h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .45rem; }
.svc-steps p { margin: 0; color: rgba(255, 255, 255, .78); }
.svc-faq { max-width: 820px; }
@media (max-width: 1023.98px) { .svc-faq { max-width: none; } } /* until there's room for a column of its own, it starts where the other sections do */
.svc-faq .h2 { margin-bottom: 1.4rem; }
.svc-cta { max-width: 760px; text-align: center; }
.svc-cta p { margin: 0 auto; max-width: 60ch; }
.svc-cta .process-cta { margin-top: 1.8rem; }
@media (min-width: 640.02px) {
  .svc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
}
@media (min-width: 900.02px) {
  .svc-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
  .svc-hero-grid > .kitchen-photo { align-self: start; margin-top: 4rem; } /* level with the eyebrow, so it stays put when the web fonts change the height of the words */
}
/* the narrowest laptops: the words (a three-line headline) run tall beside it, so it is taller too */
@media (min-width: 900.02px) and (max-width: 1259px) { .svc-hero-grid .kitchen-shot img { aspect-ratio: 5 / 4; } }
@media (min-width: 900.02px) and (max-width: 1100px) { .svc-hero-grid .kitchen-shot img { aspect-ratio: 1; } }
/* on phones the header proof list and the steps keep to one column, with the picture under the words */
@media (max-width: 640px) { .svc-steps .step-num { width: 50px; height: 50px; font-size: 1.15rem; background: var(--sage); color: var(--navy-deep); border-color: var(--sage); } }

/* ---------------------------------------------------------------- work */
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(28px, 4vw, 48px); }
.work-head .lead { margin: 0; }
/* three before & afters side by side: the door pair, the windows clip and the media wall */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.door-pair {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: var(--r-l);
  background: var(--white); box-shadow: var(--shadow-m);
}
.door { position: relative; margin: 0; }
.door > img, .door-spray > img { width: 100%; aspect-ratio: 400 / 826; object-fit: cover; border-radius: 10px; } /* the door photos only, not the little arrows */
.door figcaption { text-align: center; margin-top: .7rem; }
.door figcaption .note { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.door--after figcaption .note { color: var(--sage-deep); }
.door-pair .stage-tape--a { left: 30%; top: -11px; }
/* under the two photos, the same door masked up before spraying (not on phones: it is in the gallery) */
@media (min-width: 640.02px) { .door-pair { grid-template-rows: auto 1fr; } } /* the row's spare height goes to that photo */
.door-mask { position: relative; grid-column: 1 / -1; margin: 0; display: flex; flex-direction: column; }
.door-mask img { flex: 1 1 auto; width: 100%; height: 0; min-height: 9rem; object-fit: cover; object-position: 50% 22%; border-radius: 10px; background: var(--mist); }
.door-mask figcaption { margin-top: .6rem; font-size: .84rem; font-weight: 600; line-height: 1.35; color: var(--navy); }
.door--after .spray-wipe { position: absolute; inset: 0 0 auto; aspect-ratio: 400 / 826; border-radius: 10px; overflow: hidden; pointer-events: none; }
.gallery { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.gallery figure { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-s); background: var(--mist); }
.gallery img, .gallery video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery-clip video { aspect-ratio: 4 / 5; }
/* the media wall: before above after, on a white card like the door pair */
.gallery .gallery-pair { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--white); box-shadow: var(--shadow-m); }
/* the two photos always keep their 16:9 shape (nothing cut off the sides); if the row is taller than the card, the extra
   room goes above the caption, which sits at the bottom like the others */
/* from tablets up: the garage door across both columns, before beside after */
@media (min-width: 640.02px) {
  .gallery .gallery-pair--wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
  .gallery .gallery-pair--wide figcaption { grid-column: 1 / -1; margin-top: .1rem; }
}
.pair-shot { position: relative; flex: none; border-radius: 12px; overflow: hidden; background: var(--mist); }
.gallery .pair-shot img { height: auto; aspect-ratio: 16 / 9; }
.pair-tag {
  position: absolute; top: 8px; left: 8px; padding: .2rem .6rem; border-radius: 999px; font-size: .66rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; background: rgba(11, 25, 34, .72); color: var(--white);
}
.pair-tag--after { background: rgba(147, 160, 138, .94); color: var(--navy-deep); }
.gallery .gallery-pair figcaption { position: static; max-width: none; margin: auto 2px 0; padding: 0; background: none; color: var(--navy); font-size: .84rem; font-weight: 600; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: .3rem .7rem; border-radius: 12px;
  background: rgba(11, 25, 34, .74); color: var(--white); font-size: .76rem; font-weight: 500; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
/* short job clips from Instagram: silent, played once each time they come on screen, with their own pause / play button */
.gallery-clip video { background: var(--navy-deep); }
.clip-toggle {
  position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; border: 0; border-radius: 50%; background: rgba(11, 25, 34, .66); color: var(--white); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s ease;
}
.clip-toggle:hover { background: rgba(11, 25, 34, .86); }
.clip-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.clip-toggle .i-pause, .gallery-clip.is-playing .clip-toggle .i-play { display: none; }
.gallery-clip.is-playing .clip-toggle .i-pause { display: block; }
.clip-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); }
@media (pointer: coarse) { .clip-toggle { width: 44px; height: 44px; } }

/* sprayed-in reveal for photos */
.js .reveal { --p: -20%; -webkit-mask-image: linear-gradient(100deg, #000 var(--p), transparent calc(var(--p) + 22%)); mask-image: linear-gradient(100deg, #000 var(--p), transparent calc(var(--p) + 22%)); }
.js .reveal.is-in, .js .reveal:focus-within { --p: 120%; transition: --p 1.25s var(--ease); } /* (shown at once when Tab reaches something in it) */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 120%; }

/* ---------------------------------------------------------------- about us */
/* laptops: the portrait beside the heading and text; tablets: heading across the top, portrait beside the text;
   phones: heading, a shorter crop of the portrait (his face, the spray gun and the top of the frame), then the text */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo head" "photo copy";
  grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 88px); align-items: start;
}
.story-head { grid-area: head; }
.story-head .h2 { margin-bottom: 1.2rem; }
.story-copy { grid-area: copy; max-width: 62ch; }
.story-copy p:last-child { margin-bottom: 0; }
.story-photo { grid-area: photo; position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.story-photo::before, .story-photo::after { /* masking-tape corners, as on the photos of the three steps */
  content: ""; position: absolute; z-index: 1; width: 64px; height: 18px; background: rgba(196, 161, 79, .88);
}
.story-photo::before { top: 10px; left: -14px; transform: rotate(-38deg); }
.story-photo::after { bottom: 10px; right: -14px; transform: rotate(-38deg); }
/* tablets, sideways phones and small laptops: side by side the text ran far below the portrait, so here the heading
   goes across the top and the text runs beside the portrait and on underneath it */
@media (min-width: 640.02px) and (max-width: 1100px) {
  .story-grid { display: flow-root; }
  .story-photo { float: left; width: min(38%, 360px); margin: .35rem clamp(22px, 3vw, 36px) .9rem 0; }
  .story-copy { max-width: 46rem; }
  .story-copy .lead { max-width: none; }
  /* the second paragraph stays a column beside the photo (none of its lines slips under it to the left edge), and the
     third starts under the photo; classes, not nth-child, so edits to the copy keep the intended split */
  .story-copy .story-side { display: flow-root; }
  .story-copy .story-under { clear: left; }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photo" "copy"; grid-template-rows: auto; }
  /* 4:3 across the column, but no taller than 325px on the widest phones (a max-height with aspect-ratio would narrow
     it); 325px keeps his hair and the whole spray gun in shot up to 640px wide */
  .story-photo { aspect-ratio: auto; height: min(calc((100vw - 2 * var(--gutter)) * .75), 325px); margin-bottom: 1.4rem; border-radius: var(--r); }
  .story-photo img { object-position: 50% 5%; }
}

/* ---------------------------------------------------------------- process */
.process-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(32px, 5vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); counter-reset: step; }
.paint-track { position: absolute; left: 0; right: 0; top: 34px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.paint-track span {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, #7f8d77, var(--sage) 60%, #b4bfac);
  box-shadow: 0 0 14px rgba(147, 160, 138, .55);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 1.4rem; border-radius: 50%;
  background: var(--navy-deep); border: 2px solid rgba(147, 160, 138, .5); color: var(--sage);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}
.step.is-active .step-num { background: var(--sage); color: var(--navy-deep); border-color: var(--sage); }
.step-photo { position: relative; margin: 0 0 1.25rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 768 / 500; background: #1c3442; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-photo::before, .step-photo::after { /* masking-tape corners */
  content: ""; position: absolute; z-index: 1; width: 54px; height: 16px; background: rgba(196, 161, 79, .88);
}
.step-photo::before { top: 8px; left: -12px; transform: rotate(-38deg); }
.step-photo::after { bottom: 8px; right: -12px; transform: rotate(-38deg); }
.step h3 { font-size: 1.5rem; margin-bottom: .55rem; }
.step p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1rem; }
.process-cta { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.1rem; }

/* ---------------------------------------------------------------- customer reviews, then the FAQs */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.6rem clamp(32px, 6vw, 80px); align-items: center; }
.reviews-head .h2 { margin: 0; }
.reviews-links { margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; }
.reviews-links a { padding-block: .5rem; } /* easy to tap */
.reviews-grid:has(.review + .review) { grid-template-columns: minmax(0, 1fr); } /* two or more: the heading over a row of them */
.reviews-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.review {
  position: relative; margin: 0; padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--r-l); background: var(--navy); color: var(--white); box-shadow: var(--shadow-m); overflow: hidden;
}
.review::before {
  content: "\201C"; position: absolute; right: 18px; top: -26px; font-family: var(--font-display); font-size: 11rem;
  line-height: 1; color: rgba(147, 160, 138, .25);
}
.review .stars { height: 22px; margin-bottom: 1.2rem; }
.review blockquote { margin: 0; }
.review figcaption { margin-top: 1rem; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.review blockquote p {
  margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem);
  line-height: 1.35; color: var(--white);
}
.faq-grid .h2 { margin: 0; }
.faq { border-top: 1px solid rgba(19, 49, 66, .14); }
.faq details { border-bottom: 1px solid rgba(19, 49, 66, .14); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .2rem; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23133142' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1.5px rgba(19, 49, 66, .18); transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sage); }
.faq summary:hover { color: var(--navy-deep); }
.faq-answer { padding: 0 .2rem 1.3rem; max-width: 64ch; }
.faq-answer p { margin: 0; }
.faq details[open] .faq-answer { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- contact */
.contact { padding-top: 0; overflow: hidden; }
.van-band { position: relative; height: clamp(220px, 32vw, 420px); overflow: hidden; }
.van-band img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.van-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 32, 43, 0) 45%, var(--navy-deep) 100%); }
.van-band .note { position: absolute; z-index: 1; left: var(--gutter); bottom: 18%; color: var(--white); text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.contact-grid { position: relative; z-index: 1; margin-top: clamp(-90px, -6vw, -40px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy .h2 { margin-bottom: 1rem; }
@media (min-width: 900.02px) { .contact-copy .h2 { margin-right: -.5rem; } } /* a little of the column gap, so "no-obligation quote" fits on one line at 901-933 */
.contact-copy p { color: rgba(255, 255, 255, .8); }
.contact-ways { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 12px; }
.contact-way {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r); text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--white);
  transition: background-color .25s ease, border-color .25s ease, transform .25s var(--ease); width: 100%; text-align: left;
}
.contact-way:hover { background: rgba(255, 255, 255, .1); border-color: rgba(147, 160, 138, .6); transform: translateX(4px); }
.contact-way-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--sage); color: var(--navy-deep); }
.contact-way-icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-way strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.contact-way small { display: block; color: rgba(255, 255, 255, .65); font-size: .85rem; }
.contact-way .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #a9b3ba; vertical-align: 1px; }
.is-online .contact-way .dot { background: #3ccf78; }
.social { display: flex; align-items: center; gap: .9rem; margin-top: 1.8rem; }
.social .note { color: var(--sage); font-size: 1.6rem; margin-right: .2rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--white); transition: background-color .2s; }
.social a:hover { background: var(--sage); color: var(--navy-deep); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--white); color: var(--slate); box-shadow: var(--shadow-l); }
.form-card h3 { font-size: 1.6rem; margin-bottom: .3rem; }
#estimate-title { line-height: 1.2; margin-bottom: 1.1rem; } /* a longer heading, with nothing between it and the form (SRJ, 1 December 2026) */
.form-card h3:focus { outline: none; } /* focused when photos are picked near the top of the page: it is where the page has gone */
.form-card > p { font-size: .95rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: .35rem; }
.form-grid .field { align-content: end; } /* when one label wraps, the boxes side by side stay level and the same height */
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.field label span { font-weight: 400; color: var(--slate-soft); }
.field label .req, .form-foot .req { font-weight: 700; color: #b3261e; } /* the asterisk on what we need */
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 10px; border: 1.5px solid #7b8790;
  background: var(--paper); color: var(--navy-deep); font-size: 16px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(147, 160, 138, .35); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.form-foot small { font-size: .8rem; color: var(--slate-soft); }
.form-msg { margin: .9rem 0 0; font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form-msg.is-error { color: #b3261e; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: .5rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-ink); color: rgba(255, 255, 255, .7); padding: clamp(40px, 5vw, 64px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-top img { height: 32px; width: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; }
.footer-bottom a { color: rgba(255, 255, 255, .8); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }

/* ---------------------------------------------------------------- mobile action bar */
.action-bar { display: none; }

/* ---------------------------------------------------------------- cookie consent */
.consent {
  position: fixed; z-index: 950; left: 16px; bottom: 16px; max-width: 420px; padding: 1rem 1.1rem; border-radius: var(--r);
  background: var(--white); color: var(--slate); box-shadow: var(--shadow-l); font-size: .88rem; line-height: 1.5;
}
.consent p { margin: 0 0 .8rem; }
.consent-actions { display: flex; gap: .5rem; }
.consent .btn { min-height: 40px; padding: .45rem 1rem; font-size: .88rem; border-radius: 9px; }

/* ---------------------------------------------------------------- generic reveal */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); }
.js .form-card[data-rise] { transform: none; } /* #estimate, where the quote buttons land: it fades in where it is */
.js [data-rise].is-in, .js [data-rise]:focus-within { opacity: 1; transform: none; } /* (and when Tab reaches it before it has come into view) */

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px), (max-width: 67.5em) { /* 67.5em: the same 1080px, or sooner with larger text, so the buttons stay on the screen */
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .hero-grid, .work-grid, .reviews-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-column: auto; }
  .hero-sub { max-width: none; }
  .stage-wrap { width: min(100%, 520px); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .paint-track { left: 36px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .paint-track span { transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .step { display: grid; grid-template-columns: 74px 1fr; column-gap: 18px; }
  .step-num { margin: 0; grid-row: 1 / span 3; }
  .step-photo { grid-column: 2; }
  .step h3, .step p { grid-column: 2; }
  .process-head { grid-template-columns: 1fr; }
  .contact-grid { margin-top: -30px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-cta { padding: .5rem .9rem; }
  .brand img { height: 26px; }
  .hero { padding-top: calc(var(--header-h) + 22px); }
  .btn-or { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery figcaption { font-size: .7rem; left: 8px; bottom: 8px; }
  .door-pair { padding: 10px; gap: 8px; }
  .door-mask { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .stage-tape { width: 70px; height: 22px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* thumb-reach action bar */
  body.has-actionbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; z-index: 800; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 25, 34, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .action-bar.is-shown { transform: none; }
  .action-bar a, .action-bar button {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 54px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--white);
    font-size: .75rem; font-weight: 600; text-decoration: none; letter-spacing: .02em;
  }
  .action-bar svg { width: 22px; height: 22px; fill: currentColor; }
  .action-bar .ab-chat { background: var(--sage); color: var(--navy-deep); }
  .action-bar .ab-dot { position: absolute; top: 9px; right: calc(50% - 20px); width: 9px; height: 9px; border-radius: 50%; background: #a9b3ba; box-shadow: 0 0 0 2px var(--sage); }
  .is-online .action-bar .ab-dot { background: #20b25a; }
  .action-bar .ab-badge { position: absolute; top: 4px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #d9483b; color: #fff; font-size: 11px; line-height: 18px; }
  .consent { left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js .reveal { -webkit-mask-image: none; mask-image: none; }
}

/* ---------------------------------------------------------------- additions */
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.door-arrow { display: block; height: 30px; width: auto; margin: 0 auto .3rem; }
.door figcaption { display: flex; flex-direction: column; align-items: center; }
.door-spray { border-radius: 10px; overflow: hidden; }
.contact-way { font: inherit; cursor: pointer; }
.footer-links .link-btn { color: rgba(255, 255, 255, .8); }

.form-card h3, .form-success h3 { color: var(--navy); }
.site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.van-band { height: clamp(200px, 28vw, 380px); }

/* hero copy animates in on load (no observer needed — it is above the fold) */
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero-head > *, .js .hero-body > *, .js .stage-wrap { animation: hero-rise .9s var(--ease) both; }
.js .hero-head > :nth-child(2) { animation-delay: .08s; }
.js .hero-body > :nth-child(1) { animation-delay: .16s; }
.js .hero-body > :nth-child(2) { animation-delay: .24s; }
.js .hero-body > :nth-child(3) { animation-delay: .3s; }
.js .stage-wrap { animation-delay: .12s; }
.cta-short { display: none; }

@media (max-width: 900px) {
  /* phones/tablets: headline → the real job → copy → buttons, on tablets only (the page's own order), so the photo is on screen one */
  .hero-grid, .hero-head, .hero-body { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero h1 { margin-bottom: 1.4rem; }
  .stage-wrap { margin: .4rem auto 1.6rem; width: min(100%, 440px); }
}
@media (max-width: 22.49em), (min-width: 640.02px) and (max-width: 28em) { /* the narrowest phones (under 360px, or wider with larger text), and tablets with very large text: "Quote" */
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2rem, 1.2rem + 4.2vw, 2.4rem); }
  .header-cta { min-height: 40px; padding: .45rem .9rem; }
  .hero-proof ul { gap: .5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-head > *, .js .hero-body > *, .js .stage-wrap { animation: none; }
}
ul.hero-proof { list-style: none; padding: 1.4rem 0 0; margin-bottom: 0; }

/* ---------------------------------------------------------------- phones: keep the scroll short */
@media (max-width: 640px) {
  .h2 { font-size: clamp(1.55rem, 1.1rem + 2.6vw, 1.95rem); }
  .lead { font-size: 1rem; }
  /* swipeable rows instead of tall stacks. They scroll sideways only: with overflow-y left to the browser it becomes
     auto, and a card still rising in (22px low until it's swiped into view) let the row scroll 8px up and down, so the
     first upward swipe that started on it moved the row instead of the page */
  .gallery, .steps {
    display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 64%; scroll-snap-align: start; }
  .gallery-clip video { aspect-ratio: 4 / 5; }
  .steps .paint-track { display: none; }
  .process .process-cta { display: none; } /* just Call us: the bar along the bottom has it */
  .step { flex: 0 0 84%; display: block; scroll-snap-align: start; }
  .step-num { width: 50px; height: 50px; margin: 0 0 .9rem; font-size: 1.15rem; background: var(--sage); color: var(--navy-deep); border-color: var(--sage); }
  .step-photo { margin-bottom: .9rem; }
  .step h3 { font-size: 1.3rem; }
  .step p { font-size: .95rem; }
  .swipe-hint { display: flex; }
  .review { padding: 24px; }
  .review blockquote p { font-size: 1.25rem; }
  .van-band { height: 170px; }
  .van-band img { object-position: 30% 50%; }
  .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr); gap: 12px; } /* so "Telephone Number *" stays on one line from 360px */
  .form-grid .field:first-child, .form-grid .field:nth-child(4) { grid-column: 1 / -1; }
  .door figcaption .note { font-size: 1.2rem; }
}
.swipe-hint {
  display: flex; align-items: center; gap: .5rem; margin: -2px 0 0; font-size: .8rem; color: var(--slate-soft);
}
/* 640.02px rather than 641px here and below (and 900.02px rather than 901px): a zoomed window can be 640.8px wide, and
   then neither the phone rules (up to 640px) nor these would apply */
@media (min-width: 640.02px) { .swipe-hint { display: none; } } /* only under the swipeable rows on phones */
.section--dark .swipe-hint { color: rgba(255, 255, 255, .6); }
.swipe-hint svg { width: 18px; height: 18px; fill: currentColor; }
/* tablets and sideways phones: the before & afters stay three across as on laptops, so the door pair is no longer a
   full-width card taller than the screen; slimmer padding and smaller notes keep the three cards about the same height */
@media (min-width: 640.02px) and (max-width: 900px), (min-width: 560px) and (max-width: 640px) and (min-aspect-ratio: 3 / 2) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { /* the clip and the media wall take the other two columns (on sideways phones, instead of the swipe row) */
    grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px);
    overflow: visible; margin-inline: 0; padding: 0;
  }
  .work-grid .swipe-hint { display: none; }
  .door-pair { padding: 10px; gap: 8px; }
  .door-pair .stage-tape { width: 70px; height: 22px; }
  /* the notes may run a little past the photos' edges, so a longer caption takes two even lines, not three */
  .door figcaption { margin: .4rem -6px 0; }
  .door-arrow { height: 22px; margin-bottom: .15rem; }
  .door figcaption .note { font-size: clamp(1rem, .55rem + 1.3vw, 1.3rem); text-wrap: balance; }
}
/* sideways phones have the narrowest cards: a smaller media wall caption stays on two lines, so the row stays short and
   the clip is not cropped more */
@media (min-width: 560px) and (max-width: 640px) and (min-aspect-ratio: 3 / 2) {
  .gallery .gallery-pair figcaption { margin-inline: 0; font-size: .74rem; }
}
@media (max-width: 640px) {
  .contact-ways { display: none; }          /* the sticky Call / WhatsApp / Chat bar covers this on phones */
  .social { margin-top: 1.2rem; }
  .review { padding: 22px 22px 20px; }
  .review .stars { height: 18px; margin-bottom: .8rem; }
  .review blockquote p { font-size: 1.12rem; line-height: 1.4; }
  .faq summary { padding: 1rem .1rem; font-size: 1rem; }
  .section { padding-block: 56px; }
  .contact { padding-top: 0; }
}

/* phones: the header has "Request a quote" and the sticky bar Call / WhatsApp / Chat, so the hero has no buttons of its own
   (SRJ, 1 December 2026) */
@media (max-width: 640px) {
  .hero-ctas { display: none; }
  .hero-sub { margin-bottom: 0; }
  .site-header .call-menu, .svc-hero-ctas .call-menu { display: none; }
  body.is-typing .action-bar { transform: translateY(110%); }
  /* whatever Tab brings into view stops clear of that bar along the bottom (while the cookie notice shows, its own
     rule further down makes room for both) */
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* desktop: keep the whole page within ~6.5 screens */
@media (min-width: 900.02px) {
  .section { padding-block: clamp(56px, 5.4vw, 86px); }
  .hero { padding-top: calc(var(--header-h) + clamp(24px, 3.6vw, 52px)); padding-bottom: clamp(40px, 4.6vw, 68px); }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .work-head { margin-bottom: 28px; }
  .process-head { margin-bottom: 36px; }
  .process-cta { margin-top: 40px; }
  .van-band { height: clamp(200px, 22vw, 320px); }
}

/* ---------------------------------------------------------------- hero on short laptop screens */
/* most laptop windows are too short for the photo with the job panel under it (1366x768, and 1440x900 or 1920x1080 at
   125%, once the browser's own bars are taken off). There the photo, the door switch and the colours all fit on the
   first screen: the stage starts at the top of the hero, level with the headline, instead of centred on the copy, and
   the gap under the header shrinks with the window's height */
/* the window's height in the two widths below: 100svh (the height while the browser's own bars show) where the browser
   has that unit, else 100vh. It is chosen once here because a width that uses var() cannot fall back to an earlier
   100vh line: a browser without svh would keep the 100svh line anyway, find out only later that it can't use it, and
   shrink the photo to nothing */
.hero { --screen-h: 100vh; }
@supports (height: 100svh) { .hero { --screen-h: 100svh; } }
@media (min-width: 900.02px) and (max-height: 889px) {
  .hero { --hero-gap: clamp(20px, min(3.6vw, 4vh), 52px); padding-top: calc(var(--header-h) + var(--hero-gap)); }
  /* squarer windows (901x800, 1024x768): the panel stays under the photo, which gets the height left above it (the
     panel, its gap and a margin under it take 240px), never under 300px wide. The stage keeps to the copy's side of
     its column, away from the chat button in the corner */
  .hero-grid > .stage-wrap {
    align-self: start; justify-self: start;
    width: min(100%, 430px, max(300px, (var(--screen-h) - var(--header-h) - var(--hero-gap) - 240px) * 3 / 4));
  }
  /* the colours wrap into two even lines that end well before the panel's right edge (and the chat button), with the
     swatches by the first line */
  .job-change li { align-items: flex-start; }
  .job-change .swatches { margin-top: 1px; }
  .job-change li > span:last-child { grid-template-columns: 4.1em minmax(0, 10em); text-wrap: balance; }
}
/* from 1024px wide the chat button is clear of the panel, so a colour row only wraps when the panel is too narrow */
@media (min-width: 1024px) and (max-height: 889px) {
  .job-change li > span:last-child { grid-template-columns: 4.1em minmax(0, 1fr); }
}
/* wider windows (1280x720, 1366x657, 1536x730...): the panel becomes a narrow column beside the photo, so the photo can
   stay large: as tall as the window allows (20px clear of the bottom) and as wide as the column leaves. The stage may
   take 16px of the gap beside the copy. Not on very short windows (under 480px tall, such as a half-height window) up
   to 1519px wide: there the chat button in the corner would sit on the colours, so the panel stays under the photo.
   From 1520px wide the button is clear of the panel at any height */
@media (min-width: 1024px) and (min-height: 480px) and (max-height: 889px) and (min-aspect-ratio: 13/9),
       (min-width: 1520px) and (max-height: 889px) {
  .hero-grid > .stage-wrap {
    --panel-w: 206px;
    display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); column-gap: 16px; align-items: start;
    justify-self: end; margin-left: -16px;
    width: min(100% + 16px, max(300px, (var(--screen-h) - var(--header-h) - var(--hero-gap) - 20px) * 3 / 4) + 16px + var(--panel-w));
  }
  .stage-wrap .stage-tape--b { right: calc(var(--panel-w) + 16px + 22px); } /* stays on the photo's corner */
  .job-panel { margin-top: 0; }
  .job-kicker { line-height: 1.45; text-wrap: balance; }
  .job-switch { grid-template-columns: 1fr; } /* the door buttons one above the other */
  .job-change { gap: .7rem; }
  .job-change li { font-size: .88rem; }
  .job-change li > span:last-child { grid-template-columns: minmax(0, 1fr); } /* each label over its colours */
  .job-change b { line-height: 20px; } /* level with the swatches beside it */
}

/* ---------------------------------------------------------------- review fixes */
.form-card { --focus: var(--navy); }
.action-bar .ab-dot { box-shadow: 0 0 0 2px var(--navy-deep); }
/* the ring sits just inside the swipe rows: on phones they run edge to edge, so a ring outside them lost its sides, and
   on short zoomed windows the rest of it ended up under the header and the Call / WhatsApp / Chat bar */
.gallery:focus-visible, .steps:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
body.has-consent { --consent-pad: calc(var(--consent-h, 140px) + 24px); }
html:has(body.has-consent) { scroll-padding-bottom: var(--consent-h, 140px); }
body.has-consent .site-footer { padding-bottom: calc(var(--consent-h, 140px) + 40px); }

/* ---------------------------------------------------------------- "Call us": one button → phone call or WhatsApp */
.call-menu { position: relative; display: inline-flex; }
.call-btn { gap: .55rem; }
.call-btn .call-btn-icon { width: 19px; height: 19px; }
.btn--call .call-btn-icon { fill: var(--sage-deep); }
.btn--ghost .call-btn-icon { fill: var(--sage); }
.call-btn .call-btn-caret {
  width: 16px; height: 16px; margin-left: -.15rem; fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease);
}
.call-menu.is-open .call-btn-caret { transform: rotate(180deg); }
.call-menu--header .call-btn {
  min-height: 44px; padding: .55rem 1rem; font-size: .92rem; border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32);
}
.call-menu--header .call-btn:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.call-menu.is-open .btn--ghost { background: rgba(255, 255, 255, .1); }

.call-pop {
  --focus: var(--navy);
  position: absolute; z-index: 60; top: calc(100% + 10px); left: 0; translate: var(--pop-x, 0px) 0;
  width: max-content; min-width: 264px; padding: 6px; border-radius: 16px; text-align: left;
  background: var(--white); color: var(--slate);
  box-shadow: 0 22px 48px rgba(11, 25, 34, .34), 0 0 0 1px rgba(19, 49, 66, .06);
  animation: call-pop-in .22s var(--ease) both;
}
.call-menu--header .call-pop { left: auto; right: 0; }
.call-menu--center .call-pop { left: 50%; translate: calc(-50% + var(--pop-x, 0px)) 0; }
.call-menu--up .call-pop { top: auto; bottom: calc(100% + 10px); animation-name: call-pop-up; }
@keyframes call-pop-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes call-pop-up { from { opacity: 0; transform: translateY(6px); } }
.call-opt {
  display: flex; align-items: center; gap: .85rem; min-height: 60px; padding: .55rem 1rem .55rem .6rem;
  border-radius: 11px; color: var(--navy); text-decoration: none; line-height: 1.25; transition: background-color .2s;
}
.call-opt + .call-opt { margin-top: 2px; }
.call-opt:hover { background: var(--paper); }
.call-opt:focus-visible { outline-offset: -3px; background: var(--paper); }
.call-opt-icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage); color: var(--navy-deep); transition: transform .25s var(--ease);
}
.call-opt:hover .call-opt-icon { transform: scale(1.06); }
.call-opt-icon svg { width: 20px; height: 20px; fill: currentColor; }
.call-opt-icon--wa { background: #1aa851; color: var(--white); }
.call-opt-text { display: flex; flex-direction: column; }
.call-opt-text strong { font-size: .98rem; font-weight: 600; color: var(--navy); }
.call-opt-text small { font-size: .84rem; color: var(--slate-soft); letter-spacing: .01em; }

/* the open card sits above the lines that follow it */
.hero-ctas, .svc-hero-ctas, .process-cta { position: relative; z-index: 3; }
@supports (overflow-x: clip) {
  .hero { overflow-x: clip; overflow-y: visible; }
}
/* pages without the main nav (terms): keep the header buttons on the right */
.brand + .header-actions { margin-left: auto; }

/* phone action bar: chat status shown by shape as well as colour (filled = online, hollow ring = offline);
   darker badge so its white count passes contrast */
.action-bar .ab-dot { background: transparent; box-shadow: inset 0 0 0 2px var(--navy-deep); }
.is-online .action-bar .ab-dot { background: #20b25a; box-shadow: 0 0 0 2px var(--navy-deep); }
.action-bar .ab-badge { background: #b3261e; }

/* ---------------------------------------------------------------- hosts that pin their own badge to the corner */
/* Netlify's free plan pins a "Powered by Netlify" badge (an iframe its script adds to <body>, inline styles without
   !important) to the bottom-right corner of every page. At the client's request it is hidden here. To show it again,
   delete the display rule and put back `html:has(#nl-badge-frame) { --host-badge: 64px; }`, which moves the site's own
   corner buttons up clear of it: the Live chat button (chat.css), the Call / WhatsApp / Chat bar on phones, the cookie
   notice and the room kept for them. With --host-badge at 0 nothing moves. (On a paid plan the badge can be switched
   off in Netlify: Project configuration → General → Powered by Netlify badge.) */
#nl-badge-frame { display: none !important; }
html { --host-badge: 0px; }
@media (max-width: 640px) {
  body.has-actionbar { padding-bottom: calc(70px + var(--host-badge) + env(safe-area-inset-bottom)); }
  .action-bar { padding-bottom: calc(8px + var(--host-badge) + env(safe-area-inset-bottom)); }
  .consent { bottom: calc(80px + var(--host-badge) + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(80px + var(--host-badge) + env(safe-area-inset-bottom)); }
}
@media (min-width: 640.02px) {
  html { scroll-padding-bottom: var(--host-badge); }
  .site-footer { padding-bottom: calc(96px + var(--host-badge) + env(safe-area-inset-bottom)); }
}
@media (min-width: 900.02px) {
  .site-footer { padding-bottom: calc(84px + var(--host-badge) + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- cookie notice: reopened from "Cookie settings" */
/* focus moves into the notice (it is a labelled region), and the visitor's current choice is marked on its button */
.consent:focus { outline: none; }
.consent:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.consent .btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--sage-deep, #5d6b55); }
.consent .btn[aria-pressed="true"] > .consent-tick { display: inline; }
.consent-tick { display: none; margin-right: .3em; }

/* ---------------------------------------------------------------- quote form: photos (optional) */
/* The home page's [data-photo-field], run by photoField() (site.js): shown where this browser can send photos, unless
   they are switched off. The tiles, their progress rings and the Take a photo / Choose photos menu are styled by the photo
   script (photos.js), which puts its stylesheet first in <head>, so a rule here wins any tie with it. Its file inputs
   and menu live in [data-photo-host], after the contact grid: inside the form, `.field input` would size the hidden
   inputs, and the grid's stacking layer would put the menu under the header. */
.photo-field { gap: .5rem; margin-bottom: 1rem; } /* over the details: photos first */
.photo-label { font-size: .86rem; font-weight: 600; line-height: 1.7; color: var(--navy); } /* as .field label */
.photo-label span { font-weight: 400; color: var(--slate-soft); }
.photo-field .srjphoto-list { padding: .1rem 0 .15rem; } /* room for the ring round a focused × */
.photo-notice { margin: 0; font-size: .86rem; font-weight: 500; line-height: 1.45; color: var(--navy); }
.photo-problem[hidden] { display: none; }
.photo-problem { display: grid; justify-items: start; }
.photo-problem .photo-notice { color: #b3261e; } /* as the message under Send Enquiry */
.photo-add {
  justify-self: start; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .45rem 1.05rem .45rem .85rem; border: 1.5px solid #7b8790; border-radius: 10px;
  background: var(--paper); color: var(--navy); font-size: .92rem; font-weight: 600; line-height: 1.2;
  transition: border-color .2s, background-color .2s;
}
.photo-add svg { flex: none; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.photo-add:hover, .photo-add[aria-expanded="true"] { border-color: var(--navy); background: var(--white); }
.photo-add:disabled { opacity: .55; cursor: default; } /* while a request is on its way */
.photo-add:disabled:hover { border-color: #7b8790; background: var(--paper); }
.photo-note { margin: -.15rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--slate-soft); }
/* beside Send Enquiry while it waits for the photos, and there and with the photos after one didn't upload */
.photo-skip {
  min-height: 44px; font-size: .95rem; font-weight: 600; color: var(--navy);
  text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.photo-skip:hover { text-decoration-color: var(--navy); }
/* "Your 3 photos were sent too." under the thank-you heading */
.form-photos { margin: -.1rem 0 .6rem; font-weight: 500; color: var(--navy); }
