/* Pacific Blue Painting: site styles.
   Type and texture: big Oswald lettering, their royal blue and yellow, and close-up surfaces
   (rolled paint, weatherboard, tin, tiles, blockwork, pavers) instead of drawings.
   The thread through the page is a paint chip: the business is named for a colour. */

@font-face { font-family: "Oswald"; src: url(/fonts/oswald.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/fonts/dmsans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --pb: #0044f2;          /* Pacific Blue: their header blue */
  --pb-hi: #1d5cff;
  --pb-deep: #061a5c;     /* their blue, darkened for grounds */
  --pb-night: #04113d;
  --sky: #0083e7;         /* their link blue */
  --sky-lt: #7cc0ff;      /* their link blue, lifted for dark grounds */
  --yel: #efbb20;         /* their yellow band */
  --yel-hi: #ffcd3a;
  --sp-y: #f8e800;        /* the logo's splatter */
  --sp-g: #38b048;
  --sp-o: #e88020;
  --ink: #0b1433;
  --muted: #485170;
  --paper: #f6f4ee;
  --card: #fff;
  --line: #dcd8cd;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --text: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gut: 20px;
  --r: 14px;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(4, 17, 61, .08), 0 10px 30px -12px rgba(4, 17, 61, .28);
}
@media (min-width: 760px) { :root { --gut: 32px; --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 760px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pb); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yel); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.02; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 56px 0; }
@media (min-width: 760px) { .sec { padding: 104px 0; } }
.sec--tight { padding-top: 24px; }
.sec--dark { background: var(--pb-deep); color: #fff; }
.sec--card { background: var(--card); }

/* ---------- display type ---------- */
.display, h1, .h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 10.6vw, 5.6rem); line-height: .94; }
.h2 { font-size: clamp(2.1rem, 8.4vw, 4rem); line-height: .96; margin-bottom: .4em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 40ch; }
.sec--dark .lede, .on-dark .lede { color: #cfd8f5; }
@media (min-width: 760px) { .lede { font-size: 1.25rem; } }

/* a word laid on in rolled paint: their blue with the roller's nap showing */
.paint { color: var(--pb); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .paint { background: url(/img/tex-roller.webp) 0 0 / 180px, linear-gradient(var(--pb), var(--pb)); background-blend-mode: soft-light, normal; -webkit-background-clip: text; background-clip: text; color: transparent; }
  .sec--dark .paint, .on-dark .paint { background: url(/img/tex-roller.webp) 0 0 / 180px, linear-gradient(var(--yel), var(--yel)); background-blend-mode: soft-light, normal; -webkit-background-clip: text; background-clip: text; }
}

/* ---------- the paint chip: eyebrow label ---------- */
.chip { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.1rem; font: 700 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chip::before { content: ""; flex: none; width: 15px; height: 20px; border-radius: 3px; background: linear-gradient(var(--c, var(--pb)) 0 64%, #fff 64%); box-shadow: 0 0 0 1px rgba(11, 20, 51, .18), 0 1px 2px rgba(0, 0, 0, .15); }
.sec--dark .chip, .on-dark .chip { color: #c9d4f7; }
.sec--dark .chip::before, .on-dark .chip::before { --c: var(--yel); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .8em 1.4em; border: 0; border-radius: 999px; font: 700 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--yel { background: var(--yel); color: var(--pb-night); box-shadow: 0 6px 18px -8px rgba(239, 187, 32, .8); }
.btn--yel:hover { background: var(--yel-hi); }
.btn--blue { background: var(--pb); color: #fff; }
.btn--blue:hover { background: var(--pb-hi); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); background: rgba(4, 17, 61, .15); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255, 255, 255, .08); }
.btn--line { color: var(--pb-deep); box-shadow: inset 0 0 0 2px var(--pb-deep); background: transparent; }
.btn--line:hover { background: var(--pb-deep); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.more::after { content: "\2192"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.sec--dark .more, .on-dark .more { color: var(--sky-lt); }

/* ---------- skip link, tape progress line ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .7em 1.1em; background: var(--yel); color: var(--pb-night); font-weight: 700; border-radius: 0 0 10px 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 0; }
/* painter's masking tape, pulled along the top of the screen as the page scrolls */
.tape { position: fixed; inset: 0 0 auto 0; height: 7px; z-index: 60; pointer-events: none; }
.tape span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: url(/img/tex-roller.webp) 0 0 / 90px, linear-gradient(#5aa9ff, #2f86f2); background-blend-mode: soft-light, normal; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 30%, 100% 55%, calc(100% - 2px) 80%, 100% 100%, 0 100%); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--pb); color: #fff; transition: transform .35s var(--ease), box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 6px 24px -10px rgba(4, 17, 61, .6); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 16px; height: var(--hdr); }
.hdr__logo { display: block; flex: none; margin-right: auto; }
.hdr__logo img { height: 46px; width: auto; }
@media (min-width: 760px) { .hdr__logo img { height: 56px; } }
.hdr__call { display: none; }
.nav__list { display: none; }
.nav__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; cursor: pointer; }
.nav__btn:hover { background: rgba(255, 255, 255, .24); }
.nav__btn i { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav__btn i::before, .nav__btn i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav__btn i::before { top: -6px; } .nav__btn i::after { top: 6px; }
@media (min-width: 1000px) {
  .nav__btn { display: none; }
  .nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .nav__list a { display: block; padding: .55em .8em; border-radius: 999px; color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; }
  .nav__list a:hover, .nav__list a[aria-current="page"] { background: rgba(255, 255, 255, .15); }
  .hdr__call { display: inline-flex; min-height: 46px; padding: .6em 1.2em; font-size: 1rem; }
}
/* the phone menu, opened with the popover attribute (no script needed) */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--pb-deep); color: #fff; overflow: auto; }
.menu::backdrop { background: rgba(4, 17, 61, .5); }
.menu__in { display: flex; flex-direction: column; min-height: 100%; padding: 14px var(--gut) 28px; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 50px; margin-bottom: 18px; }
.menu__top img { height: 42px; width: auto; }
.menu__close { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.menu ul { list-style: none; margin: 0 0 24px; padding: 0; }
.menu li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font: 600 1.9rem/1.1 var(--display); text-transform: uppercase; text-decoration: none; }
.menu li a::after { content: "\2192"; font: 400 1.2rem var(--text); opacity: .6; }
.menu li.sub a { font-size: 1.15rem; font-family: var(--text); text-transform: none; padding: 11px 0 11px 18px; }
.menu .btns { margin-top: auto; flex-direction: column; }
.menu .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .menu:popover-open { animation: menu-in .32s var(--ease); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
}

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: calc(100svh - var(--hdr)); color: #fff; overflow: hidden; background: var(--pb-night); }
@supports not (height: 100svh) { .hero { min-height: calc(100vh - var(--hdr)); } }
/* phones: the first screen ends above the call bar, so the trust line is never under it */
@media (max-width: 999px) { .hero { min-height: calc(100svh - var(--hdr) - 66px - env(safe-area-inset-bottom)); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 17, 61, 0) 12%, rgba(4, 17, 61, .35) 36%, rgba(4, 17, 61, .9) 58%, var(--pb-night) 82%); }
.hero__in { width: 100%; padding-top: 30vh; padding-bottom: 26px; }
.hero h1 { max-width: 13ch; margin-bottom: .38em; text-shadow: 0 2px 30px rgba(4, 17, 61, .45); }
.hero h1 .paint { display: inline; }
.hero__p { max-width: 36ch; margin-bottom: 20px; color: #dbe3ff; font-size: 1.0625rem; }
.hero__alt { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #fff; font-weight: 700; text-decoration: none; }
.hero__alt::after { content: "\2193"; margin-left: .45em; transition: transform .2s var(--ease); }
.hero__alt:hover::after { transform: translateY(3px); }
.hero .btns { align-items: center; gap: 8px 18px; }
.hero .btns { margin-bottom: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: .86rem; color: #c3cdf2; }
.facts li { display: inline-flex; align-items: center; gap: .5em; }
.facts li::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: linear-gradient(var(--c, var(--yel)) 0 62%, #fff 62%); }
.facts li:nth-child(2)::before { --c: var(--sp-g); }
.facts li:nth-child(3)::before { --c: var(--sp-o); }
@media (min-width: 760px) {
  .hero { min-height: min(820px, calc(100svh - var(--hdr))); align-items: center; }
  .hero::before { background: linear-gradient(90deg, rgba(4, 17, 61, .94) 0%, rgba(4, 17, 61, .78) 34%, rgba(4, 17, 61, .1) 66%, rgba(4, 17, 61, 0) 100%); }
  .hero__media img { object-position: 70% 40%; }
  .hero__in { padding-top: 80px; padding-bottom: 80px; }
  .hero__p { font-size: 1.25rem; }
}
/* the moving moment: a slow drift, and light travelling across like a sheen on wet paint.
   The opening is built to hold a muted video later (see .hero__media video). */
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: drift 28s ease-in-out infinite alternate; transform-origin: 65% 35%; }
  @keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.5%, 1%, 0); } }
  .hero__media::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%); mix-blend-mode: soft-light; animation: sheen 11s 1.2s ease-in-out infinite; transform: translateX(-60%); }
  @keyframes sheen { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
}

/* ---------- inner page hero: a band of the trade's surface, with the title painted on ---------- */
.phero { position: relative; color: #fff; background: var(--pb-deep); overflow: hidden; }
.phero__band { position: absolute; inset: 0; }
.phero__in { position: relative; padding-top: 34px; padding-bottom: 40px; }
@media (min-width: 760px) { .phero__in { padding-top: 76px; padding-bottom: 84px; } }
.phero h1 { font-size: clamp(2.4rem, 9.4vw, 5rem); max-width: 16ch; text-shadow: 0 2px 24px rgba(4, 17, 61, .35); }
.phero .lede { color: #dfe6ff; max-width: 44ch; }
.phero .btns { margin-top: 22px; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 17, 61, .62), rgba(4, 17, 61, .28) 60%, rgba(4, 17, 61, .12)); pointer-events: none; }
.phero__band.tex:not([class*="tex--"]) { background-size: 320px; }
.phero > * { z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 18px; padding: 0; list-style: none; font-size: .9rem; color: #c9d4f7; }
.crumbs li + li::before { content: "/"; margin-right: .4em; opacity: .6; }
.crumbs a { color: #fff; }

/* surfaces (close-up materials): used on service chips, page heroes and the price guide */
.tex { background-color: var(--c, var(--pb)); background-image: url(/img/tex-roller.webp); background-size: 220px; background-blend-mode: soft-light; }
.tex--board { background-image: url(/img/tex-weatherboard.svg), url(/img/tex-roller.webp); background-size: 160px 26px, 220px; background-blend-mode: normal, soft-light; }
.tex--tin { background-image: url(/img/tex-tin.svg), url(/img/tex-roller.webp); background-size: 22px 40px, 220px; background-blend-mode: normal, soft-light; }
.tex--tiles { background-image: url(/img/tex-tiles.svg), url(/img/tex-roller.webp); background-size: 56px 34px, 220px; background-blend-mode: normal, soft-light; }
.tex--blocks { background-image: url(/img/tex-blocks.svg), url(/img/tex-roller.webp); background-size: 96px 48px, 220px; background-blend-mode: normal, soft-light; }
.tex--pavers { background-image: url(/img/tex-pavers.svg), url(/img/tex-roller.webp); background-size: 72px 36px, 220px; background-blend-mode: normal, soft-light; }
.c-blue { --c: var(--pb); } .c-deep { --c: #0a2a8a; } .c-sky { --c: #0b6fd0; } .c-yel { --c: var(--yel); } .c-slate { --c: #3c4b6e; }

/* ---------- section heads ---------- */
.head { max-width: 760px; margin-bottom: 24px; }
.head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; max-width: none; }
.head--row > div { max-width: 700px; }
.head p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .head { margin-bottom: 44px; } }

/* ---------- swipe rows: the next card peeks in at the edge ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 330px); gap: 14px; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: thin; scrollbar-color: rgba(11, 20, 51, .25) transparent; list-style: none; }
.row > * { scroll-snap-align: start; }
.sec--dark .row { scrollbar-color: rgba(255, 255, 255, .3) transparent; }
@media (min-width: 1000px) {
  .row { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 4), 1fr); margin: 0; padding: 0; overflow: visible; gap: 22px; }
}
.row--3 { --cols: 3; } .row--5 { --cols: 5; }
.row--mini { grid-auto-columns: 40%; gap: 10px; margin-top: 18px; padding-bottom: 8px; }
.row--mini .work__img { aspect-ratio: 1; }
.row--mini .work__cap { padding: 9px 12px; font-size: .9rem; }
@media (min-width: 1000px) { .row--mini { --cols: 4; gap: 14px; margin-top: 22px; } }
.quotes { margin-top: 36px; }
@media (min-width: 760px) { .quotes { margin-top: 56px; } }
.light { font-weight: 400; color: var(--muted); }
.show-sm { margin: 14px 0 0; }
@media (min-width: 900px) { .show-sm { display: none; } }
@media (max-width: 899px) { .hide-sm { display: none !important; } }
.row-hint { display: flex; align-items: center; gap: .5em; margin: 0; font-size: .85rem; color: var(--muted); }
.row-hint::after { content: "\2192"; }
@media (min-width: 1000px) { .row-hint { display: none; } }

/* ---------- service chips: big paint chips whose colour field is the trade's surface ---------- */
.svc { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(4, 17, 61, .08), 0 22px 40px -16px rgba(4, 17, 61, .38); }
.svc__field { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3.2; padding: 18px; color: #fff; }
.svc__field h3, .svc__field .svc__h { margin: 0; font: 600 clamp(1.9rem, 7vw, 2.3rem)/.95 var(--display); text-transform: uppercase; text-shadow: 0 1px 14px rgba(0, 0, 0, .25); }
.svc__field.c-yel { color: var(--pb-night); }
.svc__field.c-yel h3, .svc__field.c-yel .svc__h { text-shadow: none; }
.svc__label { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.svc__label p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.svc__label .more { margin-top: auto; font-size: .98rem; color: var(--pb); }
.svc__code { position: absolute; top: 14px; right: 16px; font: 700 .72rem/1 var(--text); letter-spacing: .14em; opacity: .8; }

/* ---------- before / after ---------- */
.ba { margin: 0; }
.ba__stage { position: relative; --pos: 50%; overflow: hidden; border-radius: var(--r); background: #ccc; box-shadow: var(--shadow); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ba__stage img { width: 100%; height: auto; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { width: 100%; height: 100%; object-fit: cover; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--pb); color: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 18px rgba(0, 0, 0, .35); pointer-events: none; transition: transform .2s var(--ease); }
.ba__grip svg { width: 26px; height: 26px; }
.ba__stage:hover .ba__grip, .ba__stage.is-drag .ba__grip { transform: scale(1.08); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; }
.ba__range:focus-visible + .ba__line + .ba__grip { box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--yel); }
.ba__tag { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: .45em; padding: .45em .75em; border-radius: 6px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 700 .75rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; transition: opacity .25s; }
.ba__tag::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: linear-gradient(var(--c) 0 62%, #ddd 62%); }
.ba__tag--b { left: 12px; --c: #9a8f80; }
.ba__tag--a { right: 12px; --c: var(--pb); }
.ba figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.sec--dark .ba figcaption { color: #c9d4f7; }

.feature { display: grid; gap: 26px; }
@media (min-width: 900px) { .feature { grid-template-columns: 5fr 7fr; align-items: center; gap: 56px; } .feature--flip { grid-template-columns: 7fr 5fr; } .feature--flip > :first-child { order: 2; } }

/* ---------- photo chips (their own work) ---------- */
.work { display: block; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.work__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #d9dde6; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.work:hover .work__img img { transform: scale(1.04); }
.work figcaption, .work__cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.work__cap small, .work figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.work__sw { flex: none; width: 14px; height: 18px; border-radius: 3px; background: linear-gradient(var(--c, var(--pb)) 0 64%, #fff 64%); box-shadow: 0 0 0 1px rgba(11, 20, 51, .18); }

/* ---------- team and proof ---------- */
.team { display: grid; gap: 22px; }
.team__photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.team__photo img { width: 100%; }
@media (min-width: 900px) { .team { grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; } }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.creds li { display: inline-flex; align-items: center; gap: .5em; padding: .5em .8em; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: .9rem; font-weight: 600; }
.creds li::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: linear-gradient(var(--c, var(--pb)) 0 62%, #fff 62%); box-shadow: 0 0 0 1px rgba(11, 20, 51, .15); }
.creds li:nth-child(3n+2)::before { --c: var(--sp-g); } .creds li:nth-child(3n)::before { --c: var(--sp-o); }
.sec--dark .creds li { background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }

.quote { position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 24px 22px 20px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.quote::before { content: "\201C"; position: absolute; top: 2px; right: 18px; font: 600 5rem/1 var(--display); color: var(--pb); opacity: .14; }
.quote blockquote { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.55; }
.quote figcaption { margin-top: auto; font-weight: 700; font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.sec--dark .quote { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.sec--dark .quote::before { color: var(--yel); opacity: .3; }
.sec--dark .quote figcaption span { color: #b8c4ee; }
.source { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.sec--dark .source { color: #b8c4ee; }

/* ---------- content pages ---------- */
.split { display: grid; gap: 30px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .split--wide { grid-template-columns: 7fr 5fr; } }
.prose { max-width: 66ch; }
.prose h2 { font: 600 clamp(1.7rem, 5.6vw, 2.5rem)/1 var(--display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose .h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 13px; height: 17px; border-radius: 3px; background: linear-gradient(var(--c, var(--pb)) 0 62%, #fff 62%); box-shadow: 0 0 0 1px rgba(11, 20, 51, .18); }
.ticks li:nth-child(3n+2)::before { --c: var(--sp-g); } .ticks li:nth-child(3n)::before { --c: var(--sp-o); }
.sec--dark .ticks li::before { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
@media (min-width: 760px) { .ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.panel { padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.panel h2, .panel h3 { margin-top: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 74px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 40px; height: 52px; display: grid; place-items: start center; padding-top: 4px; border-radius: 5px; background: linear-gradient(var(--pb) 0 64%, #fff 64%); box-shadow: 0 0 0 1px rgba(11, 20, 51, .18); color: #fff; font: 600 1.4rem/1 var(--display); }
.steps h3 { margin: 0 0 .25em; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #d9dde6; }
.photo img { width: 100%; }
.photo figcaption { padding: 10px 14px; background: var(--card); font-size: .9rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .work figcaption { font-size: .88rem; padding: 10px 12px; }

.cta-band { display: grid; gap: 18px; align-items: center; padding: 28px; border-radius: var(--r); background: var(--pb); color: #fff; }
.cta-band .h2 { margin: 0; font-size: clamp(1.9rem, 6.4vw, 3rem); }
.cta-band p { margin: 0; color: #dfe6ff; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px 48px; } }

/* ---------- forms (contact page and the quote drawer) ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: .75em .9em; border: 1.5px solid #b9b5aa; border-radius: 10px; background: #fff; font-size: 1.0625rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pb); box-shadow: 0 0 0 3px rgba(0, 68, 242, .2); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form small { color: var(--muted); font-size: .85rem; }
.form .btn { width: 100%; }
@media (min-width: 760px) { .form--2 { grid-template-columns: 1fr 1fr; } .form--2 .field--full, .form--2 .btn, .form--2 small { grid-column: 1 / -1; } }

/* the quote form rises over the page */
.drawer { width: 100%; max-width: 560px; max-height: 92svh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 -20px 60px rgba(4, 17, 61, .35); overflow: auto; }
.drawer::backdrop { background: rgba(4, 17, 61, .55); backdrop-filter: blur(2px); }
@media (min-width: 760px) { .drawer { margin: auto; border-radius: 22px; } }
.drawer__top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; background: var(--paper); }
.drawer__top h2 { margin: 0; font: 600 1.7rem/1 var(--display); text-transform: uppercase; }
.drawer__x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #e6e2d8; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer__body { padding: 0 20px 24px; }
.drawer__body > p { color: var(--muted); font-size: .98rem; }
.drawer__call { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: .95rem; }
.drawer__call a { font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: rise-up .42s var(--ease); }
  .drawer[open]::backdrop { animation: fade .3s ease; }
  @keyframes rise-up { from { transform: translateY(40px); opacity: 0; } }
  @keyframes fade { from { opacity: 0; } }
}
.carried { margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid var(--pb); border-radius: 6px; background: #e8eefe; font-size: .95rem; }
.carried[hidden] { display: none; }

/* ---------- phone call bar: the number never leaves the screen ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(4, 17, 61, .96); box-shadow: 0 -8px 24px rgba(4, 17, 61, .3); transition: transform .3s var(--ease); }
.callbar .btn { min-height: 50px; padding: .6em .8em; font-size: .98rem; }
.callbar .btn--ghost { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
@supports (backdrop-filter: blur(8px)) { .callbar { background: rgba(4, 17, 61, .86); backdrop-filter: blur(10px); } }
body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--pb-night); color: #c9d4f7; font-size: .98rem; }
.ftr a { color: #fff; }
.ftr__call { padding: 40px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__call p { margin: 0 0 8px; }
.ftr__big { display: block; font: 600 clamp(3.2rem, 17vw, 8.5rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.005em; color: #fff; text-decoration: none; }
.ftr__big .paint { background-size: 260px, auto; }
.ftr__big:hover .paint { filter: brightness(1.08); }
.ftr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 30px 0 24px; }
.ftr__grid > :first-child, .ftr__grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .ftr__call { padding: 56px 0 44px; } .ftr__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding: 40px 0 28px; } .ftr__grid > :first-child, .ftr__grid > :last-child { grid-column: auto; } }
.ftr h2 { margin: 0 0 12px; font: 700 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #8ea0dc; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { text-decoration: none; }
.ftr ul a:hover { text-decoration: underline; }
.ftr__logo img { height: 48px; width: auto; margin-bottom: 10px; }
.ftr__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.ftr__brand p { flex: 1 1 200px; margin: 0; }
@media (min-width: 760px) { .ftr__brand { display: block; } .ftr__brand p { margin: 0 0 1em; } }
.ftr__swatch { display: none; gap: 6px; margin-top: 16px; }
@media (min-width: 760px) { .ftr__swatch { display: flex; } }
.ftr__swatch i { width: 18px; height: 24px; border-radius: 3px; background: linear-gradient(var(--c) 0 62%, #fff 62%); }
.ftr__swatch i:nth-child(1) { --c: var(--sp-y); } .ftr__swatch i:nth-child(2) { --c: var(--sp-g); } .ftr__swatch i:nth-child(3) { --c: var(--sp-o); } .ftr__swatch i:nth-child(4) { --c: var(--pb); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #9fb0e4; }
.ftr__legal a { color: #c9d4f7; }
.ftr__credit { margin-left: auto; }
.ftr__credit a { color: #9fb0e4; text-decoration: none; }
.ftr__credit a:hover { color: #fff; text-decoration: underline; }

/* ---------- reveal on scroll (only when script has marked an element as waiting) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv-wait { opacity: 0; transform: translateY(26px); }
  .rv-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  /* headings are rolled on: a straight wipe left to right */
  .h2.rv-wait { opacity: 1; transform: none; clip-path: inset(-10% 100% -10% 0); }
  .h2.rv-in { clip-path: inset(-10% -2% -10% 0); transition: clip-path 1s var(--ease); }
}

/* ---------- page-to-page: a service chip grows into the top of its own page ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
.vt-house { view-transition-name: svc-house; }
.vt-roof { view-transition-name: svc-roof; }
.vt-commercial { view-transition-name: svc-commercial; }
.vt-clean { view-transition-name: svc-clean; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; align-items: center; }
.lost .h2 { font-size: clamp(3rem, 14vw, 7rem); }

@media print { .hdr, .callbar, .tape, .ftr__call, .drawer { display: none !important; } body { padding: 0; } }

/* ---------- roof in three passes (type and texture: the same tiles, three states) ---------- */
.stages { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.stages li { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
@media (min-width: 760px) { .stages { grid-template-columns: repeat(3, 1fr); } .stages li { display: block; } }
.stages li { border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.stages .tex { aspect-ratio: 1; height: 100%; }
.stages p { margin: 0; padding: 10px 12px 12px; font-size: .9rem; line-height: 1.3; }
.stages strong { display: block; font: 600 1.15rem/1 var(--display); text-transform: uppercase; margin-bottom: 2px; }
.st-old { --c: #6e6455; position: relative; }
.st-old::after { content: ""; position: absolute; inset: 0; background-image: url(/img/tex-peel.svg); background-size: 90px 58px; opacity: .55; }
.st-clean { --c: #9a8a76; }
.st-new { --c: var(--pb); }
@media (min-width: 760px) { .stages { gap: 22px; } .stages p { padding: 14px 16px 16px; font-size: 1rem; } .stages strong { font-size: 1.5rem; } }

/* ---------- contact cards ---------- */
.ways { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ways li { padding: 18px 20px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.ways h2 { margin: 0 0 4px; font: 700 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ways p { margin: 0; }
.ways .big { font: 600 1.9rem/1.1 var(--display); text-decoration: none; }
@media (min-width: 760px) { .ways { grid-template-columns: 1fr 1fr; } }

/* a postcode in big painted type */
.big-type { margin: 0; font: 600 clamp(4.5rem, 26vw, 11rem)/.85 var(--display); letter-spacing: -.01em; }
.promise { margin: 0; padding: 26px 24px; border-radius: var(--r); background: var(--pb); color: #fff; }
.promise p { margin: 0 0 10px; font: 600 clamp(1.7rem, 6vw, 2.4rem)/1.05 var(--display); text-transform: uppercase; }
.promise cite { font-style: normal; font-size: .9rem; color: #cfd9ff; }
.prose-sec + .prose-sec { padding-top: 0; }
.ba-row2 { margin-top: 34px; }
.sec--dark a:not(.btn):not(.more) { color: var(--sky-lt); }
.email, .ticks a { overflow-wrap: anywhere; }
.quotes-all { grid-template-columns: 1fr; }
@media (min-width: 760px) { .quotes-all { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes-all { grid-template-columns: repeat(3, 1fr); } }
