/* AS-Sky Painting. Mobile first. Colour appears only where something has been "painted". */
:root {
	--sky: #2B7FBF;
	--sky-deep: #2372B0;
	--navy: #17263F;
	--plaster: #D5D7D9;
	--primer: #F4F5F6;
	--white: #fff;
	--muted: #4A566B;
	--line: rgba(23, 38, 63, .14);
	--ok: #1B8A4F;
	--hh: 60px;
	--bar: 62px;
	--pad: 20px;
	--r: 14px;
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
img, video, canvas { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 4px; }
.icon { flex: none; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 800px; }
.sec { padding-block: clamp(64px, 13vw, 136px); }
.sec--tight { padding-block: clamp(36px, 7vw, 72px); }
.sec--primer { background: var(--primer); }
.sec > .wrap > * + *, .head .wrap > * + * { margin-top: clamp(20px, 3vw, 32px); }

.h1, .h2, .paint__h { font-weight: 700; letter-spacing: -.032em; line-height: 1.04; text-wrap: balance; }
.h1 { font-size: clamp(2.3rem, 8.6vw, 4.5rem); max-width: 17ch; }
.h2 { font-size: clamp(1.9rem, 6.6vw, 3.25rem); max-width: 19ch; }
.lead { font-size: clamp(1.125rem, 2.3vw, 1.3125rem); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.note { font-size: .9375rem; color: var(--muted); max-width: 60ch; }
.note a, .prose a { color: var(--sky-deep); text-underline-offset: 3px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .15s; cursor: pointer; font-family: inherit; }
.btn:active { transform: scale(.98); }
.btn--sky { background: var(--sky-deep); color: var(--white); }
.btn--line { border-color: var(--navy); color: var(--navy); }
@media (hover: hover) {
	.btn--sky:hover { background: var(--navy); }
	.btn--line:hover { background: var(--navy); color: var(--white); }
}

/* Header */
/* The blur lives on a pseudo-element: backdrop-filter on .top itself would make the header the
   containing block for the fixed mobile menu and collapse it to the header's height. */
.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.top__in { display: flex; align-items: center; gap: 12px; min-height: var(--hh); max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); flex-wrap: wrap; }
.top__logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.top__logo img { height: 40px; width: auto; }
.top__badge { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-right: auto; white-space: nowrap; }
.top__toggle { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--navy); background: none; color: var(--navy); font: 600 .9375rem var(--font); cursor: pointer; }
html:not(.js) .top__toggle { display: none; }
.nav { flex-basis: 100%; padding-bottom: 16px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.nav__cta { margin-top: 12px; }
.js .nav { display: none; }
.js .nav.is-open { display: block; position: fixed; inset: var(--hh) 0 0 0; background: var(--white); padding: 12px var(--pad) calc(var(--bar) + 32px); overflow-y: auto; }
.js .nav.is-open ul { display: block; }
.js .nav.is-open a:not(.btn) { display: flex; min-height: 58px; font-size: 1.5rem; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.js .nav.is-open .nav__cta { margin-top: 24px; width: 100%; }
html.nav-open, html.nav-open body { overflow: hidden; }

/* Hero: the wall that gets painted */
.paint { position: relative; }
.paint__stage { position: relative; height: calc(100svh - var(--hh) - var(--bar)); min-height: 540px; max-height: 980px; overflow: hidden; background: var(--plaster); }
.motion .paint { height: calc(200svh - var(--hh)); }
.motion .paint__stage { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); max-height: none; }
.paint__layer { position: absolute; inset: 0; }
.paint__layer picture, .paint__layer img { display: block; width: 100%; height: 100%; }
.paint__layer img { object-fit: cover; object-position: 50% 100%; }
.paint__layer--bare { color: var(--navy); z-index: 0; }
.paint__layer--colour { color: var(--white); z-index: 1; will-change: clip-path; }
.paint__layer--colour::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 46, 84, .42), rgba(12, 46, 84, 0) 62%); pointer-events: none; }
html:not(.motion) .paint__layer--bare { display: none; }
.paint__copy { position: absolute; z-index: 1; inset: 0 0 auto 0; max-width: 1200px; margin-inline: auto; padding: clamp(28px, 6.5svh, 80px) var(--pad) 0; }
.paint__copy > * + * { margin-top: clamp(14px, 2.4svh, 24px); }
.paint__h { font-size: clamp(2.5rem, 10.6vw, 5.75rem); max-width: 11.5ch; }
.paint__p { font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); line-height: 1.45; max-width: 34ch; font-weight: 500; }
.paint__layer--colour .btn--solid { background: var(--white); color: var(--navy); }
.paint__layer--colour .btn--ghost { border-color: var(--white); color: var(--white); }
.paint__layer--bare .btn--solid { background: var(--navy); color: var(--white); }
.paint__layer--bare .btn--ghost { border-color: var(--navy); color: var(--navy); }
.paint__layer--colour :focus-visible { outline-color: var(--white); }
.paint__hint { display: none; }
.motion .paint__hint { display: block; position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(var(--bar) + 18px); text-align: center; font-size: .875rem; font-weight: 600; color: var(--white); text-shadow: 0 1px 12px rgba(0, 0, 0, .55); opacity: var(--hint, 1); pointer-events: none; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-block: 22px; font-size: .9375rem; font-weight: 600; }
.trust__list li { display: flex; align-items: center; gap: 8px; }
.trust__list .icon { color: var(--sky-deep); }
.status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.status[hidden] { display: none; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-open="true"]::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(27, 138, 79, .18); }

/* Spray gun sequence */
.seq { background: linear-gradient(180deg, #D6D9D5, #E7E3E2); }
.seq__stage { display: flex; flex-direction: column; padding-block: 48px 56px; }
.seq__visual { position: relative; width: min(64vw, 300px); aspect-ratio: 480 / 854; margin-inline: auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.seq__poster, .seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.seq__canvas { display: none; }
.seq__visual.is-ready .seq__canvas { display: block; }
.seq__visual.is-ready .seq__poster { visibility: hidden; }
.seq__text { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.seq__caps { margin-top: 20px; font-size: 1.0625rem; max-width: 46ch; }
.seq__caps li + li { margin-top: 14px; }
.seq__caps strong { display: block; font-size: 1.1875rem; }
.motion .seq { height: 300svh; }
.motion .seq__stage { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); padding-block: 12px calc(var(--bar) + 20px); overflow: hidden; }
.motion .seq__visual { flex: 1 1 0; min-height: 0; width: auto; max-width: 100%; }
.motion .seq__text .h2 { font-size: clamp(1.6rem, 6vw, 3rem); }
.motion .seq__caps { position: relative; min-height: 7.6em; }
.motion .seq__caps li { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.motion .seq__caps li.is-on { opacity: 1; transform: none; }

/* Service rows: hover paints the row */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; background: linear-gradient(var(--sky-deep), var(--sky-deep)) no-repeat 0 0 / 0% 100%; transition: background-size .5s var(--ease), color .25s, padding .5s var(--ease); }
.row__t { font-size: clamp(1.6rem, 6vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.row__d { color: var(--muted); transition: color .25s; }
.rows--small .row__t { font-size: clamp(1.3rem, 4vw, 1.75rem); }
.row:active, .row:focus-visible { background-size: 100% 100%; color: var(--white); padding-inline: 16px; }
.row:active .row__d, .row:focus-visible .row__d { color: var(--white); }
@media (hover: hover) {
	.row:hover { background-size: 100% 100%; color: var(--white); padding-inline: 20px; }
	.row:hover .row__d { color: var(--white); }
}

/* Before / after */
.ba-grid { display: grid; gap: 40px 24px; align-items: start; }
.ba__frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--plaster); --pos: 50%; touch-action: pan-y; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(23, 38, 63, .78); color: var(--white); font-size: .8125rem; font-weight: 600; pointer-events: none; }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317263F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 2px 10px rgba(0, 0, 0, .28); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.ba__frame:focus-within { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.ba figcaption { padding-top: 14px; }
.ba__title { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.ba figcaption p { color: var(--muted); font-size: .9375rem; }
.ba__svc a { display: inline-block; padding-block: 12px; color: var(--sky-deep); font-weight: 600; text-underline-offset: 3px; }

/* Clips */
.job__strip { display: flex; gap: 12px; margin-top: 28px; padding-inline: max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad))); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.job__strip::-webkit-scrollbar { display: none; }
.clip { position: relative; flex: none; height: min(58svh, 460px); max-width: 84vw; border-radius: var(--r); overflow: hidden; scroll-snap-align: center; background: var(--navy); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: var(--white); font-size: .875rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }

/* Sam */
.sam__grid { display: grid; gap: 28px; align-items: center; }
.sam__grid > div > * + * { margin-top: clamp(18px, 3vw, 28px); }
.sam__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

/* Areas */
.area__list { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: clamp(1.25rem, 3.6vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; }
.area__list li:nth-child(n+7) { color: var(--muted); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; min-height: 44px; font-size: 1.125rem; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; background: linear-gradient(var(--navy), var(--navy)) center / 100% 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 2px 100% no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* Quote */
.quote__grid { display: grid; gap: 36px; }
.quote__intro > * + * { margin-top: 20px; }
.contact-list li + li { margin-top: 4px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.contact-list .icon { color: var(--sky-deep); }
.hours { font-size: .9375rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--line); max-width: 340px; }
.hours dt { color: inherit; opacity: .75; }
.hours dd { font-weight: 600; }

/* Inner pages */
.head { padding-block: clamp(28px, 6vw, 72px) clamp(20px, 4vw, 40px); }
.crumbs { font-size: .875rem; color: var(--muted); }
.crumbs a { display: inline-block; padding-block: 12px; text-underline-offset: 3px; }
.crumbs--solo { padding-top: 16px; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { max-width: 66ch; }
.prose h2 { font-size: clamp(1.5rem, 4.6vw, 2.125rem); letter-spacing: -.025em; line-height: 1.12; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li + li { margin-top: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-radius: 2px; background: var(--sky); }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.steps { counter-reset: step; margin-top: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: span 2; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--sky-deep); letter-spacing: -.03em; }
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); margin-top: 4px; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; }

/* Footer */
.foot { background: var(--navy); color: var(--white); padding-block: 56px 28px; font-size: .9375rem; }
.foot a { text-decoration: none; display: inline-block; padding-block: 10px; }
.foot__grid { display: grid; gap: 32px; }
.foot__brand img { width: 168px; }
.foot__brand p { margin-top: 16px; opacity: .8; max-width: 34ch; }
.foot__h { font-size: .9375rem; font-weight: 700; margin-bottom: 8px; opacity: .7; }
.foot .hours div { border-color: rgba(255, 255, 255, .16); }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); opacity: .75; font-size: .8125rem; }
.foot :focus-visible { outline-color: var(--white); }
@media (hover: hover) { .foot a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* Fixed contact bar (mobile) */
.cta-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.35fr; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cta-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: var(--bar); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.cta-bar a + a { border-left: 1px solid var(--line); }
.cta-bar__main { background: var(--sky-deep); color: var(--white); }
.cta-bar :focus-visible { outline-offset: -4px; }

@media (min-width: 640px) {
	:root { --pad: 32px; }
	.trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
	.foot__grid { grid-template-columns: 1fr 1fr; }
	.ba-grid--two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
	:root { --hh: 72px; --bar: 0px; }
	body { padding-bottom: 0; }
	.cta-bar { display: none; }
	.top__logo img { height: 46px; }
	.paint__layer img { object-position: 50% 60%; }
	.paint__copy { padding-top: clamp(40px, 9svh, 110px); }
	.motion .paint__hint { bottom: 28px; }
	.ba-grid { grid-template-columns: repeat(3, 1fr); }
	.ba-grid--two { grid-template-columns: 1fr 1fr; }
	.row { grid-template-columns: 1fr 1fr; align-items: baseline; gap: 32px; padding-block: 28px; }
	.quote__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
	.sam__grid { grid-template-columns: 4fr 6fr; gap: 64px; }
	.sam__grid > :only-child { grid-column: 1 / -1; }
	.foot__grid { grid-template-columns: 1.5fr 1.2fr 1.2fr 1fr 1fr; }
	.seq__stage { flex-direction: row; align-items: center; max-width: 1200px; margin-inline: auto; }
	.seq__visual { order: 2; width: 40%; max-width: 400px; }
	.motion .seq__visual { flex: 0 0 42%; height: 86%; }
	.seq__text { order: 1; flex: 1; }
}

@media (min-width: 1280px) {
	.top__in { flex-wrap: nowrap; max-width: 1360px; gap: 16px; }
	.top__badge { display: none; }
	.top__toggle { display: none; }
	.nav, .js .nav { display: flex; align-items: center; gap: 18px; flex-basis: auto; padding: 0; margin-left: auto; }
	.nav ul { gap: 2px 16px; flex-wrap: nowrap; }
	.nav a:not(.btn) { font-size: .9375rem; white-space: nowrap; }
	.nav__cta { margin: 0; min-height: 44px; padding-inline: 18px; white-space: nowrap; }
}

@media (min-width: 1480px) {
	.top__badge { display: inline; margin-right: 0; }
}

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