/* Watercolour: the On the job preview with one painted device.
   A watercolour wash, made from the masks in ./watercolour/, joins the film to the page,
   sits behind the portrait and the service drawings, and paints in as each part arrives.
   Text, the video, Tom's face and the form fields never sit under texture. */

.design-watercolour {
  --paper: #fbf8f1;
  --design-paper: #fbf8f1;
  --linen: #f2e9d8;
  --mist: #e4ecf0;
  --design-wash: var(--linen);
  --ink: #1f2b37;
  --muted: #4b5664;
  --blue: #2c5674;
  --blue-dark: #1e4058;
  --pale: var(--mist);
  --line: #d6d2c6;
  --beanie: #8a2e2f;
  --beanie-dark: #6c2223;
  --wash-sky: #7f9fbd;
  --wash-ochre: #dcae55;
  --wash-sage: #93b393;
  --wash-clay: #c49a7a;
  --wc-edge-height: clamp(2.25rem, 1.25rem + 3vw, 4rem);
  --wc-tooth: url("watercolour/paper.webp");
  --wc-paint-time: 2.25s;
  --wc-ink-time: 2.05s;
  --wc-paint-ease: cubic-bezier(.38, .12, .27, 1);
  --wc-stagger: 135ms;
  /* Tokens read by film-palettes.css, which supplies the rounded buttons, framed portrait,
     compact cards and rounded fields of the palette previews. */
  --accent: var(--beanie);
  --accent-text: #fff;
  --accent-outline: var(--beanie);
  --hero-wash: var(--paper);
  --design-wash: var(--linen);
  --field-outline: #6c7884;
  background: var(--paper) var(--wc-tooth) 0 0 / 320px;
}

/* ---------- The wash: one mask recipe, reused ---------- */
/* Layer 1 is the painted shape. Layer 2 is a soft-edged sweep that, while it moves,
   reveals the shape from left to right like a loaded brush; at rest it covers everything. */
.wc-edge::before,
.wc-hero .film-copy h1 em::after,
.service-drawing::before,
.meet-tom figure::before,
.estimate-result::before {
  -webkit-mask-image: var(--wc-shape), linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: var(--wc-shape-size, 100% 100%), 250% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 0, 0 0;
  -webkit-mask-composite: source-in;
  mask-image: var(--wc-shape), linear-gradient(90deg, #000 40%, transparent 60%);
  mask-size: var(--wc-shape-size, 100% 100%), 250% 100%;
  mask-repeat: no-repeat;
  mask-position: 0 0, 0 0;
  mask-composite: intersect;
}
@keyframes wc-paint {
  from {
    -webkit-mask-position: 0 0, 100% 0;
    mask-position: 0 0, 100% 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .wc-motion :is(.wc-edge, .service-drawing, .meet-tom figure, .estimate-result):not(.is-painted)::before,
  .wc-motion .wc-hero .film-copy h1 em:not(.is-painted)::after {
    -webkit-mask-position: 0 0, 100% 0;
    mask-position: 0 0, 100% 0;
  }
  .wc-motion :is(.wc-edge, .service-drawing, .meet-tom figure, .estimate-result).is-painted::before {
    animation: wc-paint var(--wc-paint-time) var(--wc-paint-ease) both;
  }
  .wc-motion .service-drawing.is-painted::before { animation-delay: calc(var(--wc-i, 0) * var(--wc-stagger)); }
}

/* Section joins: each painted section brings its own colour up over the one above it. */
.wc-paper { --wc-bg: var(--paper); }
.wc-linen { --wc-bg: var(--linen); }
.wc-mist { --wc-bg: var(--mist); }
.design-watercolour .wc-edge {
  position: relative;
  background: var(--wc-bg) var(--wc-tooth) 0 0 / 320px;
  border-block: 0;
}
.wc-edge::before {
  --wc-shape: url("watercolour/edge.webp");
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: var(--wc-edge-height);
  background: var(--wc-bg) var(--wc-tooth) 0 0 / 320px;
  pointer-events: none;
}
/* Paper sections show the page itself, so its texture runs on without a seam. */
.design-watercolour .wc-edge.wc-paper { background: transparent; }
/* Container sections are narrower than the page: a full-bleed layer carries their colour and
   grain to both edges, and main clips the overhang so the page never scrolls sideways. */
.design-watercolour main { overflow-x: clip; }
.design-watercolour .container.wc-edge { background: transparent; isolation: isolate; }
.design-watercolour .container.wc-edge:not(.wc-paper)::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--wc-bg) var(--wc-tooth) 0 0 / 320px;
}
.design-watercolour .container.wc-edge::before { left: calc(50% - 50vw); right: calc(50% - 50vw); }

/* ---------- Type ---------- */
.design-watercolour main :is(h1, h2, h3) { text-wrap: balance; }
.design-watercolour main p { text-wrap: pretty; }
.design-watercolour main :is(.section-heading h2, .meet-tom h2, .design-enquiry-grid > div > h2, .quote-intro > h2, .about-principles > h2, .page-heading h1) {
  color: var(--ink);
  font: 700 clamp(2.1rem, 1.45rem + 1.9vw, 3.4rem)/1.04 "DM Sans", sans-serif;
  letter-spacing: -.035em;
}
.design-watercolour .design-location { color: var(--muted); letter-spacing: .1em; font-size: .8125rem; }
.design-watercolour .section-heading p { color: var(--muted); }
.design-watercolour h3 { letter-spacing: -.01em; }

/* ---------- Logo: a spirit level that settles, once ---------- */
.wc-brand > span { display: inline-block; }
.wc-level {
  width: 1.3em;
  height: .62em;
  margin-right: .28em;
  vertical-align: .02em;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}
.wc-level path { stroke-width: 1.4; }
.wc-bubble { fill: var(--wash-ochre); stroke: var(--ink); stroke-width: 1.4; }
.design-watercolour .brand-trade { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .wc-bubble {
    transition: translate .7s linear(0, .55 18%, 1.08 40%, .98 62%, 1);
    animation: wc-settle 1.5s linear(0, .45 15%, 1.1 38%, .96 58%, 1.01 78%, 1) .35s backwards;
  }
  .wc-brand:is(:hover, :focus-visible) .wc-bubble { translate: 5px 0; }
}
@keyframes wc-settle { from { translate: -11px 0; } }

/* ---------- Hero: the film stays whole; a paper wash carries the words ---------- */
.design-watercolour .design-film-hero::before { content: none; }
.wc-hero .film-motion video,
.wc-hero .film-motion img {
  filter: contrast(.92) brightness(1.06) saturate(1.04);
  /* Anchor to the top: when Tom straightens, his hat reaches the top of the frame. */
  object-position: right top;
}
.wc-hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper) var(--wc-tooth) 0 0 / 320px;
  -webkit-mask: url("watercolour/hero-side.webp") 0 0 / 100% 100% no-repeat;
  mask: url("watercolour/hero-side.webp") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.wc-hero .film-copy {
  padding-top: clamp(3.5rem, 2rem + 4vw, 6.5rem);
  padding-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.75rem);
}
.wc-hero .film-copy h1 {
  font: 700 clamp(2.9rem, 1.6rem + 4vw, 5.3rem)/.98 "DM Sans", sans-serif;
  letter-spacing: -.065em;
}
.wc-hero .film-copy h1 em {
  position: relative;
  isolation: isolate;
  color: var(--blue);
  font: italic 400 1.08em/1 "Baskervville", Georgia, serif;
  letter-spacing: -.05em;
  padding-right: .08em;
}
/* The same brush, loaded with ochre, under the word that names the trade. */
.wc-hero .film-copy h1 em::after {
  --wc-shape: url("watercolour/stroke.webp");
  content: "";
  position: absolute;
  left: -.08em;
  right: -.12em;
  bottom: -.1em;
  height: .52em;
  z-index: -1;
  rotate: -1.5deg;
  background: var(--wash-ochre);
  opacity: .7;
}
@media (prefers-reduced-motion: no-preference) {
  .wc-motion .wc-hero .film-copy h1 em.is-painted::after { animation: wc-paint var(--wc-paint-time) var(--wc-paint-ease) .15s both; }
}
.wc-hero .film-copy h1 { margin-bottom: .25em; }
/* Tied to the viewport so enlarged text wraps instead of running past the wash onto the film. */
.wc-hero .film-copy .design-lead { max-width: min(25rem, 36vw); color: var(--ink); }
/* Room for the wash of the next section, which paints over the bottom of the film. */
.wc-hero .film-controls { padding-bottom: calc(var(--wc-edge-height) + .5rem); position: relative; z-index: 1; }
.wc-hero .film-controls a,
.wc-hero .film-controls .animation-control { background: var(--paper); }

/* The pause control stays for keyboard users (WCAG 2.2.2) but is only drawn while it has focus. */
.wc-hero [data-motion-toggle]:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons: calm, physical feedback ---------- */
.design-watercolour :is(main, .site-header) .button:not(.secondary),
.design-watercolour .mobile-quote {
  background: var(--beanie);
  border-color: var(--beanie);
  color: #fff;
}
.design-watercolour :is(main, .site-header) .button:not(.secondary):hover { background: var(--beanie-dark); border-color: var(--beanie-dark); }
.design-watercolour .button.secondary { color: var(--blue); border-color: var(--blue); background: transparent; }
.design-watercolour .button.secondary:hover { background: color-mix(in oklab, var(--wash-sky) 18%, white); }
.design-watercolour :is(.button, .add-job, .text-button, .animation-control) { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
@media (prefers-reduced-motion: no-preference) {
  .design-watercolour :is(.button, .add-job) {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, translate .25s cubic-bezier(.2, .8, .2, 1);
  }
  .design-watercolour :is(.button, .add-job):hover { translate: 0 -1px; }
  .design-watercolour :is(.button, .add-job):active { translate: 0 1px; transition-duration: .06s; }
}
.design-watercolour :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.design-watercolour .add-job[aria-pressed="true"] { background: color-mix(in oklab, var(--wash-ochre) 30%, white); border-color: var(--ink); color: var(--ink); }

/* ---------- First enquiry, under the film ---------- */
.design-watercolour .design-enquiry { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* ---------- Portrait on a painted mount ---------- */
.design-watercolour .meet-tom figure { position: relative; isolation: isolate; }
.meet-tom figure::before {
  --wc-shape: url("watercolour/mount.webp");
  content: "";
  position: absolute;
  inset: -1.4rem -2.2rem -2.4rem -1.2rem;
  z-index: -1;
  background: var(--wash-sky);
  opacity: .72;
  pointer-events: none;
}
.design-watercolour .meet-tom figure img { position: relative; }

/* ---------- Services: compact cards, each drawing on its own wash ---------- */
/* Explore services lands the heading just under the sticky header, and the four cards
   (drawing, description, price, scope and both actions) fit a 1280×720 screen below it. */
/* html already reserves the sticky header (scroll-padding-top), so no extra margin here. */
.design-watercolour #home-services { scroll-margin-top: 0; padding-block: 1.5rem 3.5rem; }
.design-watercolour .services-section .section-heading { margin-bottom: 1rem; align-items: baseline; }
.design-watercolour .service-cards { gap: 1rem; }
.design-watercolour .service-cards > article { background: #fffdf8; border: 1px solid var(--line); }
.design-watercolour .service-drawing {
  position: relative;
  isolation: isolate;
  background: transparent;
  border-bottom: 0;
  color: var(--ink);
  padding: .5rem 1.25rem 0;
}
.service-drawing::before {
  --wc-shape: url("watercolour/blob-1.webp");
  content: "";
  position: absolute;
  top: -2%;
  bottom: -14%;
  left: 50%;
  aspect-ratio: 720 / 520;
  translate: -50% 0;
  z-index: -1;
  background: var(--wash-sky);
  opacity: .62;
  pointer-events: none;
}
.service-cards > article:nth-child(2) .service-drawing::before { --wc-shape: url("watercolour/blob-2.webp"); background: var(--wash-ochre); }
.service-cards > article:nth-child(3) .service-drawing::before { --wc-shape: url("watercolour/blob-3.webp"); background: var(--wash-sage); }
.service-cards > article:nth-child(4) .service-drawing::before { --wc-shape: url("watercolour/blob-4.webp"); background: var(--wash-clay); }
.design-watercolour .service-drawing .work-drawing { max-height: 104px; color: var(--ink); }
.design-watercolour .service-card-body { padding: .75rem 1.1rem 1rem; }
.design-watercolour .service-card-body h3 { min-height: 0; font-size: 1.15rem; line-height: 1.25; }
.design-watercolour .service-card-body h3 a { color: var(--ink); }
.design-watercolour .service-card-body > p { font-size: 1rem; line-height: 1.5; margin: .35rem 0 0; }
.design-watercolour .service-card-body .service-start { margin-top: .6rem; font-size: 1.3rem; color: var(--beanie); }
.design-watercolour .service-card-body .service-scope { margin: .15rem 0 .8rem; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.design-watercolour .service-cards .card-actions { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }

/* Drawn lines: ink on paper. Fills lie under the line like a light wash. */
.design-watercolour .work-drawing { color: var(--ink); }
.design-watercolour .work-drawing .wood { fill: color-mix(in oklab, var(--wash-ochre) 45%, white); stroke: #6d5636; }
.design-watercolour .work-drawing .blue-fill { fill: color-mix(in oklab, var(--wash-sky) 35%, white); }
.design-watercolour .work-drawing .pale-fill { fill: color-mix(in oklab, var(--wash-sage) 35%, white); }
.design-watercolour .work-drawing .paper { fill: #fffdf8; }
@media (prefers-reduced-motion: no-preference) {
  .wc-motion .work-drawing :is(path, rect, circle) { stroke-dasharray: 1; }
  .wc-motion .work-drawing:not(.is-painted) :is(path, rect, circle) {
    stroke-dashoffset: 1;
    fill-opacity: 0;
  }
  .wc-motion .work-drawing.is-painted :is(path, rect, circle) {
    --wc-ink-delay: calc(var(--wc-i, 0) * var(--wc-stagger));
    stroke-dashoffset: 0;
    fill-opacity: 1;
    transition:
      stroke-dashoffset var(--wc-ink-time) var(--wc-paint-ease) calc(var(--wc-ink-delay) + .18s),
      fill-opacity .85s ease calc(var(--wc-ink-delay) + .95s);
  }
}

/* ---------- Estimate: one calm surface; the total sits on a wash ---------- */
.design-watercolour .estimate-choice { background: #fffdf8; border: 1px solid var(--line); }
.design-watercolour .estimate-result {
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
}
.estimate-result::before {
  --wc-shape: url("watercolour/stroke.webp");
  content: "";
  position: absolute;
  top: -.2rem;
  left: -.9rem;
  width: min(17rem, 100%);
  height: 3.4rem;
  z-index: -1;
  background: var(--wash-ochre);
  opacity: .3;
  pointer-events: none;
}
.design-watercolour .estimate-result output { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .estimate-result.is-updated::before { animation: wc-deepen .6s ease-out; }
}
@keyframes wc-deepen { 40% { opacity: .55; } }

/* Work examples: the plan drawing sits on the same wash as the service drawings. */
.design-watercolour .work-pair > figure:first-child { position: relative; isolation: isolate; }
.design-watercolour .work-pair > figure:first-child > svg { background: transparent; }
.design-watercolour .work-pair > figure:first-child::before {
  content: "";
  position: absolute;
  inset: 0 0 1.6rem;
  z-index: -1;
  background: var(--wash-sky);
  opacity: .45;
  -webkit-mask: url("watercolour/blob-3.webp") center / 100% 100% no-repeat;
  mask: url("watercolour/blob-3.webp") center / 100% 100% no-repeat;
}
.design-watercolour .work-cards > article:nth-child(2) .work-pair > figure:first-child::before { background: var(--wash-ochre); }
.design-watercolour .work-cards > article:nth-child(3) .work-pair > figure:first-child::before { background: var(--wash-sage); }
.design-watercolour .estimate-choice textarea { min-height: 7rem; }
.design-watercolour .estimate-choices { align-items: start; }
.design-watercolour .estimate-choice > .button { margin-top: 1.25rem; }
.design-watercolour .estimate-choice > div.field { flex: none; }
.design-watercolour .area-section { padding-top: 2.5rem; }

/* Contact details in the sticky bar and the two places they repeat on the page. */
.design-watercolour :is(.header-contact-bar .header-phone, .header-contact-bar .header-email,
  .quote-intro .phone-number, .site-footer .phone-number) {
  font-family: Baskervville, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .01em;
  text-underline-offset: .18em;
}
.design-watercolour .header-contact-bar :is(.header-phone, .header-email) { font-size: clamp(1.1rem, 1rem + .35vw, 1.4rem); }
.design-watercolour :is(.quote-intro, .site-footer) .phone-number { font-size: 1.65rem; }

/* ---------- Forms: clear white fields on a quiet card ---------- */
.design-watercolour :is(.quote-form, .quick-form) { background: #fff; }
.design-watercolour .field :is(input, textarea, select) { background: #fff; color: var(--ink); }
.design-watercolour .field :is(input, textarea, select):not(:focus, [aria-invalid="true"]) { border-color: #6c7884; }
.design-watercolour .field :is(input, textarea, select):focus-visible { outline-offset: 1px; border-color: var(--blue); }
.design-watercolour .field :is(input, textarea)[aria-invalid="true"] { border-color: #a23e33; border-width: 2px; }
.design-watercolour .quote-form { scroll-margin-block: 0; }
.wc-job-list {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  color: var(--muted);
  font-size: 1rem;
}
.section-heading .wc-job-list { max-width: 31rem; }
.wc-job-list a { flex: none; font-weight: 600; }
.design-watercolour .service-cards .add-job[aria-pressed="true"] {
  color: var(--blue-dark);
  background: var(--mist);
}
.wc-job-list + .service-cards { margin-top: 1rem; }
.wc-form-actions .form-price { font-size: .95rem; }

@media (min-width: 901px) {
  .design-watercolour .quote-section { padding-block: 1.65rem 2.75rem; }
  .design-watercolour .quote-layout { grid-template-columns: minmax(0, 1fr); gap: .95rem; }
  .design-watercolour .quote-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.5rem;
    align-items: center;
  }
  .design-watercolour .quote-intro > :is(h1, h2) { grid-column: 1; margin-bottom: .3rem; }
  .design-watercolour .quote-intro > p { grid-column: 1; max-width: 45rem; }
  .design-watercolour .quote-intro .quote-area { margin: .25rem 0 0; }
  .design-watercolour .quote-intro .contact-options { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .design-watercolour :is(.quote-form, .quick-form) { padding: 1.25rem 1.55rem; }
  .design-watercolour .form-heading { margin-bottom: .75rem; }
  .design-watercolour .form-heading p { margin-top: .25rem; }
  .design-watercolour .job-options-disclosure { margin-bottom: .85rem; padding-bottom: .65rem; }
  .design-watercolour .job-options-disclosure summary span { display: inline; margin-left: .5rem; }
  .design-watercolour .job-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-form-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.32fr);
    gap: .65rem 1rem;
  }
  .wc-form-fields .form-two { grid-column: 1 / 3; grid-row: 1; gap: 1rem; }
  .wc-form-fields .reply-method { grid-column: 1; grid-row: 2; }
  .wc-form-fields .wc-contact-field { grid-column: 2; grid-row: 2; }
  .wc-form-fields .wc-message-field { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; }
  .wc-form-fields :is(.field, .reply-method) { margin-bottom: 0; }
  .wc-form-fields .wc-message-field textarea { flex: 1; min-height: 6.1rem; }
  .wc-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
  .wc-form-actions .form-price { margin: 0; }
  .design-watercolour .design-enquiry-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
  .design-watercolour .quick-form:not(.is-complete) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .75rem 1rem; }
  .design-watercolour .quick-form > :is(h2, .button, .quick-status, noscript) { grid-column: 1 / -1; margin: 0; }
  .design-watercolour .quick-form .field { margin: 0; }
  .design-watercolour .quick-form textarea { min-height: 49px; }
}

/* ---------- Other sections ---------- */
.design-watercolour .review-cards article { background: #fffdf8; }
.design-watercolour .page-heading { padding-block: clamp(2rem, 4.5vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
.design-watercolour .page-heading .lead { max-width: 41rem; }
.design-watercolour :is(.service-detail figure, .article-cover) img { border-radius: 1rem; }
.design-watercolour :is(.rate-note, .principle-grid article, .work-stages > div) {
  padding: clamp(1rem, 1.6vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: #fffdf8;
}
.design-watercolour .compare-buttons button { border-radius: 999px; }
.design-watercolour .comparison figure { border-radius: var(--card-radius); overflow: hidden; }
.design-watercolour .mobile-quote { gap: .7rem; }
.design-watercolour .mobile-quote strong { white-space: nowrap; }

/* Lead and footage credit: inside the hero on wide screens, just below the film on phones. */
.wc-narrow { display: none; }
.wc-hero-after .design-lead { margin: 0 0 .5rem; color: var(--ink); }
.wc-hero-after a { font-size: .8125rem; color: var(--ink); }

/* ---------- Phones and portrait tablets: the film fills the hero; the wash rises from below ---------- */
/* Through the whole clip Tom's face stays in the top half of the frame (about 18–45% of its
   height), so the hero is sized for the painted copy to start below 52% of it. Side by side,
   below 900px the copy column would reach his face. */
@media (max-width: 900px) {
  .design-watercolour .wc-wide { display: none; }
  .wc-narrow { display: block; }
  .wc-hero-after { padding-bottom: 1.75rem; }
  .design-watercolour .design-enquiry { padding-top: 1.25rem; }
  .design-watercolour .design-film-hero { --film-copy-offset: clamp(22rem, 85vw + 4rem, 27rem); }
  .wc-hero .film-motion video,
  .wc-hero .film-motion img { object-position: 84% 22%; }
  .wc-hero .film-controls { position: absolute; top: .75rem; left: 0; right: 0; padding: 0; }
  .wc-hero .film-copy { padding-bottom: calc(var(--wc-edge-height) + .5rem); }
  .wc-hero .film-copy .design-actions { gap: .75rem 1.25rem; }
  /* The preview switcher stays on one line so the film keeps the first screen. */
  .design-watercolour .design-switch { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .design-watercolour .design-switch a { flex: none; }
  .wc-hero-wash {
    top: calc(var(--film-copy-offset) - 3.5rem);
    -webkit-mask: url("watercolour/edge.webp") 0 0 / 100% 4rem no-repeat, linear-gradient(#000, #000) 0 3.9rem / 100% 100% no-repeat;
    mask: url("watercolour/edge.webp") 0 0 / 100% 4rem no-repeat, linear-gradient(#000, #000) 0 3.9rem / 100% 100% no-repeat;
  }
  .wc-hero .film-copy { padding-top: calc(var(--film-copy-offset) + .5rem); }
  /* Keep focused controls clear of the sticky quote bar and the header. */
  :root:has(body.design-watercolour) { scroll-padding-block: 9rem 5.5rem; }
  .wc-hero .film-copy h1 { font-size: clamp(2.6rem, 1.3rem + 7vw, 3.6rem); }
}
@media (max-width: 700px) {
  .design-watercolour .service-drawing .work-drawing { max-height: 150px; }
}

/* ---------- Without masks, a plain colour still separates the sections ---------- */
@supports (not (mask-image: url(x))) and (not (-webkit-mask-image: url(x))) {
  .wc-edge::before, .service-drawing::before, .meet-tom figure::before,
  .estimate-result::before, .wc-hero .film-copy h1 em::after { content: none; }
  .wc-hero-wash { inset: 0 auto 0 0; width: min(100%, 44rem); opacity: .92; }
}
/* In forced colours, painted backgrounds disappear: give the hero words a solid backplate. */
@media (forced-colors: active) {
  .wc-hero .film-copy > * { background: Canvas; color: CanvasText; }
  .wc-level, .wc-bubble { stroke: CanvasText; }
}
