/* Ron's site (the design reviewed as preview E, "Shine"). One page: a hero, one stage that carries three of the services, three plain sections of words
   (more services, how to reach us, about Ron's), the walkthrough plan, the form.
   The stage stays put and the two mascots from the invoices cross it, wiping in the next service. A crossing starts when the
   page is scrolled a little past a service, and then runs at its own pace to the end (site.js). Without the script, with
   motion reduced, or on a short screen (under 640px high, or under 780px on a phone), the three services simply stack. */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
    font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

/* Where the two colour fronts are across the stage. Registered so they can be animated. */
@property --x1 { syntax: "<percentage>"; inherits: true; initial-value: 110%; }
@property --x2 { syntax: "<percentage>"; inherits: true; initial-value: -10%; }

:root {
    color-scheme: light;
    --ink: #0c1a2b;
    --muted: #46556a;
    --paper: #f2f5f7;
    --blue: #1557ff;
    --blue-deep: #0d3fc4;
    --field: #7d8a99;
    --error: #b3261e;
    /* One colour per service (offices mint, floors gold, windows sky), with the colour passed through on the way between them
       (lime, then rose). Aqua is the way back from sky to mint lower down the page. */
    --mint: #9ef4c6; --lime: #cce992; --gold: #fcd472; --rose: #ffb2b4; --sky: #95d6ff; --aqua: #91e9ee;
    /* The same colours, pale, for the page behind */
    --mint-t: #daf9e7; --lime-t: #eaf6d6; --gold-t: #fdefcd; --rose-t: #ffe6e6; --sky-t: #dcf4ff; --aqua-t: #d8f7f9; --ice: #e6f4fe;
    --sans: "Archivo", "Segoe UI", Helvetica, Arial, sans-serif;
    --gutter: clamp(18px, 5vw, 84px);
    --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
/* No scroll snapping anywhere on the page. It pulled a slow mouse-wheel scroll back to where it started, which felt stuck. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.55 var(--sans); overflow-x: hidden; }
h1, h2, h3, p, ul, figure { margin: 0; }
img { display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -72px; z-index: 50; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Navigation */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; min-height: 48px; font-size: 1.5rem; font-weight: 800; font-stretch: 122%; letter-spacing: -0.03em; text-decoration: none; }
/* The page now has long stretches of words that scroll under the bar. The name and the number sit on the same frosted glass
   as the links, pulled out by their own padding so the letters still line up with the page's edge. */
.brand, .top-phone { padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.brand { margin-left: -16px; }
.pill { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 34px rgba(12, 26, 43, 0.09); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.pill a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; white-space: nowrap; border-radius: 999px; font-size: 0.9375rem; font-weight: 550; text-decoration: none; transition: background-color 0.2s ease; }
.pill a:hover { background: #fff; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-phone { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.btn-top { min-height: 46px; padding: 0 20px; font-size: 0.9375rem; }
/* Six links, the number and the button need about 1300px. Below that the links tighten, and below 1160px they give way
   to the number and the button; the sections are then reached by scrolling. */
@media (max-width: 1320px) {
    .pill { gap: 2px; }
    .pill a { padding: 0 10px; font-size: 0.875rem; }
}
@media (max-width: 1160px) { .pill { display: none; } }

/* Shared pieces */
.copy { display: grid; gap: 18px; justify-items: start; align-content: center; }
.copy p { max-width: 27em; text-wrap: pretty; }             /* no single word left alone on the last line, where the browser can */
h2 { font-size: clamp(2.125rem, 4.4vw, 4.25rem); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 650 1.0625rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, transform 0.15s ease; }
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: scale(0.97); }
.next { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 600; text-decoration: none; }
.next::after { content: ""; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform 0.2s ease; }
.next:hover::after { transform: translateY(4px) rotate(45deg); }

/* Hero: the name standing on a waxed floor, with the invoice mascot walking in. The floor is a picture of a real-looking one
   (generated), laid in under the name so that its far edge sits just above the letters' feet, and faded out before the headline. */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; padding: 104px max(var(--gutter), calc((100% - 1400px) / 2)) 56px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 50%, var(--mint-t) 100%); }
.hero-kicker { font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.shine { position: relative; display: grid; place-items: center; padding-block: 1vh; font-size: clamp(5rem, 20.5vw, 18.5rem); }
.shine-row { display: flex; align-items: flex-start; }
.shine-stack { position: relative; display: grid; justify-items: center; }
.shine-stack picture { display: contents; }
.hero-floor { position: absolute; z-index: -1; top: 0.5em; left: 50%; width: 150vw; max-width: none; height: 1.55em; translate: -50% 0; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 48%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 48%, transparent); }
.shine-word { display: block; font-size: 1em; font-weight: 800; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.045em; white-space: nowrap; }
.shine-mirror { margin-top: -0.11em; margin-bottom: -0.36em; transform: scaleY(-1); opacity: 0.5; filter: blur(0.6px); -webkit-mask-image: linear-gradient(to top, #000, transparent 56%); mask-image: linear-gradient(to top, #000, transparent 56%); }
.hero-ron { position: relative; z-index: 2; flex: none; align-self: flex-start; width: auto; height: 1.12em; margin: -0.36em 0 0 -0.24em; filter: drop-shadow(0 0.04em 0.05em rgba(12, 26, 43, 0.22)); }
/* He stands on the same floor as the name: a faint copy of him upside down under his feet, as the letters have. */
.hero-ron::before { content: ""; position: absolute; left: 0; right: 0; top: 95.5%; height: 100%; background: url("../img/ron-worker.png") center / 100% 100% no-repeat; transform: scaleY(-1); opacity: 0.22; pointer-events: none; -webkit-mask-image: linear-gradient(to top, #000, transparent 46%); mask-image: linear-gradient(to top, #000, transparent 46%); }
/* The two mascots. Each is the still drawing as supplied, with a strip of twelve frames laid over it that shows only while it
   moves. The frames come from a Higgsfield clip of the same drawing (tools/sprite.py); the box is where the still sits inside a frame. */
.mascot { position: relative; display: block; --n: 12; --cycle: calc(100% * var(--n) / (var(--n) - 1)); }
.mascot img { display: block; width: 100%; height: 100%; }
.mascot::after { content: ""; position: absolute; opacity: 0; pointer-events: none; background-repeat: repeat-x; background-size: calc(var(--n) * 100%) 100%; background-position: 0 0; }
.mascot-worker { aspect-ratio: 1240 / 1082; }
.mascot-worker::after { left: -3.383%; top: -1.695%; width: 106.089%; height: 104.16%; }
.mascot-basket { aspect-ratio: 1118 / 1171; }
.mascot-basket::after { left: -2.033%; top: -1.552%; width: 104.065%; height: 102.458%; }
.shine::before { content: ""; position: absolute; z-index: 3; top: 46%; bottom: 0; left: 0; width: 26%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.95), transparent); filter: blur(10px); transform: translateX(-140%) skewX(-18deg); pointer-events: none; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
h1 { font-size: clamp(1.75rem, 3.3vw, 3.125rem); font-weight: 750; font-stretch: 112%; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.lede { margin-top: 14px; max-width: 33em; color: var(--muted); }
.actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 28px; }

/* Services. Base layout: three panels, one under the other. */
.svc { position: relative; padding: 24px 14px; background: linear-gradient(180deg, var(--mint-t) 0%, var(--lime-t) 26%, var(--gold-t) 50%, var(--rose-t) 76%, var(--sky-t) 100%); }
.svc-anchor { position: absolute; left: 0; top: calc(24px + var(--i) * (100% - 28px) / 3); width: 1px; height: 1px; scroll-margin-top: 84px; pointer-events: none; }
/* --i: its place in the stack. --at: how many screens down the pinned stretch it rests (used only with the pinned stage). */
#offices { --i: 0; --at: 0; }
#hard-surfaces { --i: 1; --at: 1.5; }
#windows { --i: 2; --at: 3.5; }
.stage { display: grid; grid-auto-rows: 1fr; gap: 20px; max-width: 1500px; margin-inline: auto; }
.tabs, .fog, .wiper, .bubbles { display: none; }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: min(86svh, 760px); padding: clamp(28px, 4.5vw, 72px); border-radius: 32px; overflow: hidden; }
.scene-floors { background: radial-gradient(80% 60% at 8% -10%, rgba(255, 255, 255, 0.75), transparent 62%), var(--gold); }
.scene-windows { background: radial-gradient(80% 60% at 8% -10%, rgba(255, 255, 255, 0.75), transparent 62%), var(--sky); }
.scene-offices { background: radial-gradient(80% 60% at 8% -10%, rgba(255, 255, 255, 0.75), transparent 62%), var(--mint); }

/* Floors: drag between a worn floor and the same floor restored. Two generated images of one corridor, taken from the same spot; the caption says they are an illustration. */
.ba { margin: 0; --pos: 55%; }
.ba-view { position: relative; overflow: hidden; isolation: isolate; width: min(100%, 58svh * 1.333); aspect-ratio: 4 / 3; margin-inline: auto; border-radius: var(--radius); background: #cfcdc9; box-shadow: 0 34px 80px rgba(12, 26, 43, 0.24); }
.ba figcaption { text-align: center; }
.shot { position: absolute; inset: 0; }
.shot picture, .shot img { display: block; width: 100%; height: 100%; }
.shot img { object-fit: cover; }
.shot-before { z-index: 1; }
.shot-after { z-index: 2; clip-path: inset(0 0 0 var(--pos)); }
.floor-tag { position: absolute; z-index: 4; top: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 0.875rem; font-weight: 650; }
.shot-before .floor-tag { left: 16px; }
.shot-after .floor-tag { right: 16px; }
.stage-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-handle { position: absolute; z-index: 7; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(12, 26, 43, 0.14); }
.ba-handle::after { content: "\2039\00a0\203A"; position: absolute; top: 70%; left: 0; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px; padding-bottom: 3px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.375rem; font-weight: 700; line-height: 1; box-shadow: 0 10px 28px rgba(12, 26, 43, 0.28); }
.stage-range:focus-visible + .ba-handle::after { outline: 3px solid var(--blue); outline-offset: 4px; }

/* Windows: one office window, pictured dirty and clean from the same spot (generated, and the caption says so). The dirty one is
   painted on a canvas over the clean one and rubbed away where the pointer or a finger passes (site.js). The words sit on the clean glass, so washing the window is how they are read. */
.glass { margin: 0 auto; width: min(100%, 58svh * 1.333); }
.pane { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; border-radius: var(--radius); cursor: crosshair; touch-action: pan-y; background: #dfe6ec; box-shadow: 0 34px 80px rgba(12, 26, 43, 0.24); }
.pane-view { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pane-text { position: absolute; left: 16%; right: 16%; top: 17%; display: grid; justify-items: start; gap: 0.6em; }
.pane-text p { max-width: 13em; font-size: clamp(1.125rem, 2.1vw, 2rem); font-weight: 750; font-stretch: 110%; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.pane-film { display: none; }                               /* only the script uses it, to paint the canvas */
.grime { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.7s ease; }
.glass.is-clean .grime { opacity: 0; }
.glass figcaption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px; min-height: 44px; text-align: center; }
.wipe-all { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 0.9375rem/1 var(--sans); cursor: pointer; }
.wipe-all:hover { background: rgba(255, 255, 255, 0.6); }
.wipe-all[hidden] { display: none; }

/* Offices: the everyday list, with the wastebasket mascot */
.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 14px; font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; letter-spacing: -0.02em; }
.ticks li::before { content: ""; flex: none; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 58% no-repeat; }
/* The fourth line is a phrase, not a word: its mark sits on the first line and the choice of supplies follows in plain text. */
.ticks .tick-long { align-items: flex-start; }
.ticks .tick-long::before { margin-top: 0.1em; }
.tick-tail { display: block; margin-top: 5px; font-size: 1.0625rem; font-weight: 500; font-stretch: 100%; line-height: 1.35; letter-spacing: 0; }
/* Offices: an office after the cleaners have been (generated, and the caption says so), with the wastebasket on its way out in front. */
.office { position: relative; margin: 0 auto; width: min(100%, 58svh * 1.333); }
.office-frame { position: relative; }
.office-shot { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #d9dcdf; box-shadow: 0 34px 80px rgba(12, 26, 43, 0.24); }
.office-shot picture, .office-shot img { display: block; width: 100%; height: 100%; }
.office-shot img { object-fit: cover; }
.office figcaption { text-align: center; }
.bin { position: absolute; left: -11%; bottom: -5%; width: 41%; }
.bin .mascot { filter: drop-shadow(0 22px 26px rgba(12, 26, 43, 0.24)); }

/* More services, how to reach us, about Ron's. Words only, on one field of colour that carries the page from the
   last service on the stage (windows, sky) to the walkthrough. Each heading sits in the same column as the headings of the two slides below. */
.firm { background: linear-gradient(180deg, var(--sky-t) 0%, var(--aqua-t) 58%, var(--mint-t) 100%); }
.band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 5vw, 88px); align-items: start; padding: 104px max(var(--gutter), calc((100% - 1400px) / 2)) 40px; }
.band:last-child { padding-bottom: 64px; }
.band-body { display: grid; gap: 22px; justify-items: start; }
.band-body p { max-width: 34em; }
.lead { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.42; }
/* The invitation to ask for a job that is not listed: the one card in these sections. */
.band-body .ask { justify-self: stretch; max-width: none; padding: clamp(22px, 2.6vw, 36px) clamp(22px, 2.8vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.92); box-shadow: 0 24px 60px rgba(12, 26, 43, 0.1); }
.ask strong { display: block; margin-bottom: 10px; font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
/* Three statements, one to a line */
/* Client letters: a short excerpt of each, signed as the letter was. Six cards: three to a row here, two to a row on a
   tablet, and on a phone one at a time (see "Letters on a phone" further down). */
.firm .refs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.firm .ref { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.92); box-shadow: 0 24px 60px rgba(12, 26, 43, 0.1); }
.ref-facts { font-size: 0.9375rem; font-weight: 650; color: var(--blue-deep); }
.ref-quote { margin: 0; }
.ref-quote p { font-size: clamp(1.1875rem, 1.55vw, 1.4375rem); font-weight: 600; line-height: 1.28; letter-spacing: -0.01em; }
.ref-quote p::before { content: "\201C"; }
.ref-quote p::after { content: "\201D"; }
.ref-by { display: grid; margin-top: auto; font-size: 0.9375rem; line-height: 1.45; }
.ref-close, .ref-role { color: var(--muted); }
.ref-name { color: var(--ink); font-size: 1.0625rem; font-weight: 750; }
.ref-dots { display: none; }

/* How it starts, and the request */
.slide { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: 104px max(var(--gutter), calc((100% - 1400px) / 2)) 56px; }
.walk { background: linear-gradient(180deg, var(--mint-t), var(--ice)); }
.contact { align-content: center; background: linear-gradient(180deg, var(--ice), var(--paper)); }
/* The walk is drawn over a model of an example office (generated, and the caption says so). The drawing shares the picture's own
   1600 by 1195 grid, so the route and the six stops stay on the rooms at every size. */
.tour { margin: 0; }
/* clip, not hidden: a hidden box would become the thing the route's scroll animation watches, and it never scrolls */
.tour-frame { position: relative; aspect-ratio: 1600 / 1195; overflow: hidden; overflow: clip; border-radius: var(--radius); background: #dfe5ec; box-shadow: 0 34px 90px rgba(12, 26, 43, 0.14); }
.tour-frame picture, .tour-frame img { display: block; width: 100%; height: 100%; }
.tour-frame img { object-fit: cover; }
.tour-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour figcaption { text-align: center; }
.tour-key { display: block; color: var(--ink); font-weight: 550; }
.route, .route-halo { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.1 24; }
.route { stroke: var(--blue); stroke-width: 11; }
.route-halo { stroke: #fff; stroke-width: 19; }
.route-reveal { fill: none; stroke: #fff; stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.start-dot { fill: var(--blue-deep); stroke: #fff; stroke-width: 5; }
.tour-start { font: 700 31px var(--sans); fill: var(--blue-deep); stroke: #fff; stroke-width: 9; stroke-linejoin: round; paint-order: stroke; }
.stops { filter: drop-shadow(0 5px 7px rgba(12, 26, 43, 0.32)); }
.stop { transform-box: fill-box; transform-origin: center; }
.stop circle { fill: var(--blue); stroke: #fff; stroke-width: 6; }
.stop text { font: 700 37px var(--sans); fill: #fff; dominant-baseline: central; }
.contact-lines { display: grid; gap: 2px; justify-items: start; font-weight: 600; }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-lines span { color: var(--muted); font-weight: 400; }
.form-card { padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.92); box-shadow: 0 34px 90px rgba(12, 26, 43, 0.14); }
.legal { grid-column: 1 / -1; align-self: end; font-size: 0.9375rem; color: var(--muted); }
.wt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide, .form-actions { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--field); border-radius: 14px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.field .input-validation-error { border: 2px solid var(--error); }
.field-error { font-size: 0.9375rem; font-weight: 600; color: var(--error); }
.form-error { grid-column: 1 / -1; padding: 14px 18px; border: 2px solid var(--error); border-radius: 14px; background: #fff; font-size: 1rem; font-weight: 600; }
.form-error a { white-space: nowrap; }
.field-validation-valid { display: none; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; min-height: 58px; font-size: 1.125rem; }
.wt-form.htmx-request .btn-submit { opacity: 0.6; cursor: progress; }
.form-note { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.form-note a { white-space: nowrap; }
/* The towns we serve: one button in the "easy to reach" section, closed until someone opens it. */
.towns { justify-self: stretch; }
.towns summary { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 34px rgba(12, 26, 43, 0.09); font-size: 1rem; font-weight: 650; cursor: pointer; list-style: none; }
.towns summary::-webkit-details-marker { display: none; }
.towns summary::after { content: "+"; font-size: 1.375rem; font-weight: 500; line-height: 1; }
.towns[open] summary::after { content: "\2212"; }
.towns summary:hover { background: #fff; }
.towns-body { display: grid; gap: 6px; margin-top: 20px; }
.towns-body h3 { margin-top: 12px; font-size: 1rem; font-weight: 700; }
.towns-body h3:first-child { margin-top: 0; }
.band-body .towns-body p { max-width: 46em; font-size: 1rem; }
.towns-body .towns-note { margin-top: 12px; color: var(--muted); }

/* The agreement box: the box on the left, the sentence beside it, the error (if any) under the sentence. */
.field-check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.field-check input[type="checkbox"] { width: 26px; height: 26px; min-height: 0; margin: 1px 0 0; padding: 0; border-radius: 6px; accent-color: var(--ink); }
.field-check label { font-size: 0.9375rem; font-weight: 400; line-height: 1.45; }
.field-check .field-error { grid-column: 2; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.legal-links { display: block; margin-top: 6px; }
.legal-links a { display: inline-block; margin-right: 18px; padding: 6px 0; font-weight: 600; }

/* The two pages of words (Terms of Use, Privacy Notice): one readable column on the page's paper. */
.doc { min-height: 100vh; padding: 132px var(--gutter) 56px; background: linear-gradient(180deg, var(--ice), var(--paper) 420px); }
.doc-body { max-width: 46rem; margin: 0 auto; }
.doc-body h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; font-stretch: 112%; line-height: 1.02; letter-spacing: -0.03em; }
.doc-meta { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.doc-body h2 { margin-top: 44px; font-size: 1.5rem; font-weight: 800; font-stretch: 108%; line-height: 1.15; letter-spacing: -0.015em; scroll-margin-top: 96px; }
.doc-body h3 { margin-top: 22px; font-size: 1.0625rem; font-weight: 700; }
.doc-body p, .doc-body ul { margin-top: 12px; }
.doc-body ul { padding-left: 1.25rem; }
.doc-body li + li { margin-top: 6px; }
.doc-body a { text-decoration-thickness: 1.5px; }
.doc-notice { margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(12, 26, 43, 0.08); }
.doc .legal { max-width: 46rem; margin: 56px auto 0; }

.wt-done h3 { font-size: 2rem; font-weight: 800; font-stretch: 112%; line-height: 1.05; letter-spacing: -0.02em; }
.wt-done p { margin-top: 12px; }

/* Phones get a floating pair of actions instead of the pill nav */
.mobile-actions { display: none; }

@media (max-width: 900px) {
    .pill, .btn-top { display: none; }
    .top-phone { margin-right: -16px; }
    .hero { padding-top: 84px; padding-bottom: 100px; }
    .hero .actions .btn { display: none; }
    .lede { margin-top: 10px; }
    .shine { font-size: 21.5vw; }
    .shine-row { flex-direction: column; align-items: center; }
    .hero-ron { order: -1; align-self: center; height: 1.7em; margin: 0 0 -0.24em 1em; }
    .hero-ron::before { content: none; }
    .hero-floor { top: 0.43em; width: 220vw; height: 2.3em; }
    .hero-foot { grid-template-columns: minmax(0, 1fr); }
    .actions { justify-content: flex-start; }
    .svc { padding-inline: 8px; }
    .scene { grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: center; min-height: 0; padding: 26px 20px 30px; border-radius: 26px; }
    .ba-view { width: min(100%, 36svh * 1.333); }
    .glass { width: min(100%, 30svh * 1.333); }
    .pane-text { left: 14.5%; right: 14.5%; top: 15%; }
    .office { width: min(100%, 30svh * 1.333); }
    .bin { left: -3%; bottom: -1%; width: 40%; }
    .ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
    .ticks li { font-size: 1.25rem; gap: 9px; }
    .ticks .tick-long { flex-basis: 100%; }
    .tick-tail { display: inline; margin: 0; font-size: 1rem; }
    .band { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 64px var(--gutter) 20px; scroll-margin-top: 24px; }
    .band:last-child { padding-bottom: 64px; }
    .firm .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
    .slide { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 88px; padding-bottom: 100px; align-content: center; }
    .stop { transform: scale(1.5); }
    .route { stroke-width: 15; }
    .route-halo { stroke-width: 26; }
    .tour-start { font-size: 46px; stroke-width: 12; }
    .wt-form { grid-template-columns: minmax(0, 1fr); }
    .mobile-actions {
        position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px)) 12px; z-index: 40;
        display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: 999px;
        background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 12px 36px rgba(12, 26, 43, 0.2);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    }
    .mobile-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 650; text-decoration: none; }
    .ma-call { border: 1.5px solid var(--ink); }
    .ma-request { background: var(--ink); color: #fff; }
    body:has(#walkthrough-form:focus-within) .mobile-actions { display: none; }
}

/* Letters on a phone. Six cards one under the other is a long way to scroll. So where the script is running (it adds
   "turns"), the cards sit in one row that reaches both edges of the screen, and one shows at a time. The row is an ordinary
   sideways scroller: a finger swipes it, and site.js (part 8) moves it along by itself and keeps the dots underneath in
   step. The dots say which letter is showing and how many there are; the last button stops and starts the changing.
   Without the script the cards simply stay one under the other. */
@media (max-width: 640px) {
    .firm .refs { grid-template-columns: minmax(0, 1fr); }
    .firm .refs.turns {
        display: flex; gap: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 8px 0 30px var(--gutter);
        overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
        scrollbar-width: none;
    }
    .firm .refs.turns::-webkit-scrollbar { display: none; }
    /* The gap is as wide as the page's margin, so the next card waits just off the edge of the screen. This empty last
       item gives the last card the same margin on its right. */
    .firm .refs.turns::after { content: ""; flex: 0 0 0; }
    .firm .refs.turns .ref { flex: 0 0 calc(100% - var(--gutter)); scroll-snap-align: start; scroll-snap-stop: always; box-shadow: 0 12px 26px rgba(12, 26, 43, 0.1); }
    .turns + .ref-dots { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; margin-top: -34px; }
    .ref-dot, .ref-pause { display: grid; place-items: center; height: 44px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
    .ref-dot { width: 26px; }
    /* The grey of a waiting dot is 4 to 1 against the page behind it (a control needs 3 to 1) */
    .ref-dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #6b7887; }
    .ref-dot[aria-current="true"] { width: 42px; }
    .ref-dot[aria-current="true"]::before { width: 28px; background: linear-gradient(var(--ink), var(--ink)) no-repeat left / 100% 100%, #6b7887; }
    .ref-pause { width: 44px; margin-left: 4px; }
    .ref-pause[hidden] { display: none; }
    /* Pause is two bars; once stopped it is a triangle, for "start again" */
    .ref-pause::before { content: ""; width: 12px; height: 14px; border-inline: 4px solid currentColor; }
    .ref-pause.is-stopped::before { width: 0; height: 0; border: solid transparent; border-width: 8px 0 8px 13px; border-left-color: currentColor; }
}
/* While the letters change by themselves, the dot for the one showing fills up over the time that letter stays. */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
    .ref-dot::before { transition: width 0.25s ease; }
    .ref-dots.is-running .ref-dot[aria-current="true"]::before { animation: letter-stays var(--stay, 7s) linear both; }
}
@keyframes letter-stays { from { background-size: 0% 100%, auto; } to { background-size: 100% 100%, auto; } }

/* Motion that runs on its own. With it off, everything above is complete and still. */
@media (prefers-reduced-motion: no-preference) {
    .shine::before { animation: sweep 1.9s cubic-bezier(0.3, 0.6, 0.3, 1) 0.5s both; }
    .hero-ron { animation: stride-in 1.3s cubic-bezier(0.3, 0.7, 0.3, 1) 0.15s both; }
    /* The frames are large, so site.js loads them first and then sets .walks. Until then the stills stand in. */
    .mascot-worker::after { background-image: url("../img/ron-worker-walk.png"); }
    .walks .hero-ron img { animation: still-returns 1.5s steps(1, end) both; }
    .walks .hero-ron::after { animation: frames 1s steps(var(--n)) -0.5s 2 both, strip-shows 1.5s steps(1, end) both; }
    /* The route waits until the picture has scrolled into view (site.js adds the two classes), then draws itself once. */
    .tour.waits .route-reveal { stroke-dashoffset: 1; }
    .tour.waits .stop { opacity: 0; }
    .tour.is-seen .route-reveal { animation: route-draw 2.6s cubic-bezier(0.45, 0.05, 0.35, 1) 0.2s forwards; }
    .tour.is-seen .stop { animation: stop-in 0.25s ease-out forwards; animation-delay: calc(0.2s + var(--i) * 0.4s); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
    .mascot-worker::after { background-image: url("../img/ron-worker-walk-s.png"); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* The pinned stage. Only where the script is running (it puts .deck on the page), motion is welcome, and the screen is tall
   enough to hold a service. The three services share one card that stays put, and the script says which one is showing.
   Every moving part reads one number, --p, its place on the crossings' timeline: offices rest at 0.08, floors at 0.5 and
   windows at 0.95. The script walks that number from one resting place to the next in a little under two seconds, and each
   animation below is a one-second animation held (paused) at the moment the number names. So a crossing always runs through
   to the end at its own pace, however the page is scrolled. (The number is written by the script, frame by frame. A CSS
   transition on it would not do: browsers refuse a value that is itself being animated inside an animation property.)
   The card stays pinned for three and a half screens of scrolling: the hard surfaces rest a screen and a half down (--at),
   the windows two screens after that, at the end. That length is only room to scroll in. The script moves the page to
   the next resting place once scrolling stops, so a small scroll is enough; the room is for someone who keeps scrolling
   steadily, or flicks a phone a long way, to see each service before the card leaves. */
@media (prefers-reduced-motion: no-preference) and (min-width: 901px) and (min-height: 640px), (prefers-reduced-motion: no-preference) and (max-width: 900px) and (min-height: 780px) {
    .deck .svc { --p: 0.08; height: 450svh; padding: 0; }
    .deck .svc-anchor { top: calc(var(--at) * 100svh); scroll-margin-top: 0; }
    /* The pinned screen carries its own pale tint, which changes with the service (pin-hue), and hides the section's
       top-to-bottom tint while it is pinned. So nothing changes on screen when the script moves the page to a resting place. */
    .deck .pin { position: sticky; top: 0; height: 100svh; padding: 80px 14px 14px; animation-name: pin-hue; }
    .deck .stage {
        position: relative; display: block; height: 100%; max-width: none; overflow: hidden; isolation: isolate; border-radius: 32px; container-type: size;
        box-shadow: 0 30px 70px rgba(12, 26, 43, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
        background:
            radial-gradient(80% 60% at 8% -10%, rgba(255, 255, 255, 0.75), transparent 62%),
            radial-gradient(60% 50% at 96% 108%, rgba(255, 255, 255, 0.4), transparent 60%),
            linear-gradient(98deg, rgb(252 212 114 / 0) calc(var(--x2) - 60%), var(--lime) calc(var(--x2) - 30%), var(--mint) var(--x2)),
            linear-gradient(98deg, var(--gold) var(--x1), var(--rose) calc(var(--x1) + 30%), var(--sky) calc(var(--x1) + 60%));
        background:
            radial-gradient(80% 60% at 8% -10%, rgba(255, 255, 255, 0.75), transparent 62%),
            radial-gradient(60% 50% at 96% 108%, rgba(255, 255, 255, 0.4), transparent 60%),
            linear-gradient(98deg in oklch, rgb(252 212 114 / 0) calc(var(--x2) - 60%), var(--lime) calc(var(--x2) - 30%), var(--mint) var(--x2)),
            linear-gradient(98deg in oklch, var(--gold) var(--x1), var(--rose) calc(var(--x1) + 30%), var(--sky) calc(var(--x1) + 60%));
    }
    .deck .pin, .deck .stage, .deck .scene, .deck .fog, .deck .wiper, .deck .bin, .deck .tabs::before, .deck .scene :is(a, input, button) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--p) * -1s); }
    .deck .stage { animation-name: stage-hue; }

    /* The three tabs are as wide as their words need (--w0 to --w2). The white marker behind them slides and changes width to match. */
    .deck .tabs { --w0: 98px; --w1: 142px; --w2: 106px; position: absolute; z-index: 5; top: 26px; left: clamp(22px, 3.2vw, 46px); display: grid; grid-template-columns: var(--w0) var(--w1) var(--w2); padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); isolation: isolate; }
    .deck .tabs a { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-size: 0.9375rem; font-weight: 650; text-decoration: none; }
    .deck .tabs::before { content: ""; position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 5px; width: var(--w0); border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(12, 26, 43, 0.12); animation-name: tab-mark; }

    .deck .scene { position: absolute; inset: 0; z-index: 1; min-height: 0; padding: 104px clamp(28px, 4.6vw, 76px) clamp(28px, 4vw, 56px); border-radius: 0; background: none; }
    .deck .scene-offices { animation-name: scene-offices; }
    .deck .scene-floors { animation-name: scene-floors; }
    .deck .scene-windows { animation-name: scene-windows; }
    .deck .scene-offices :is(a, input, button) { animation-name: live-1; }
    .deck .scene-floors :is(a, input, button) { animation-name: live-2; }
    .deck .scene-windows :is(a, input, button) { animation-name: live-3; }

    /* The floors go out of focus under a thin wash (see scene-floors) while soap bubbles drift over them (drawn by site.js). */
    .deck .fog { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(rgba(240, 247, 253, 0.55), rgba(221, 236, 248, 0.42)); animation-name: fog; }
    .deck .bubbles { display: block; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }

    /* The two crossings. Each box is as wide as the stage and is slid so its left edge sits on the wipe line.
       First a gleam runs left to right and the hard floors appear behind it, with the wastebasket pushed out of the office ahead
       of it. Then the squeegee comes back right to left and the windows appear behind it. */
    .deck .wiper { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
    .deck .wiper-gleam { animation-name: wiper-gleam; }
    .deck .wiper-squeegee { animation-name: wiper-squeegee; }
    .deck .gleam { position: absolute; top: 0; bottom: 0; left: calc(-7% - 70px); width: calc(14% + 140px); clip-path: polygon(calc(100% - 140px) 0, 100% 0, 140px 100%, 0 100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95) 46%, rgba(255, 255, 255, 0.95) 54%, transparent); }
    .deck .suds { position: absolute; top: 0; bottom: 0; left: calc(-7% - 130px); width: calc(14% + 130px); clip-path: polygon(0 0, 130px 0, 100% 100%, calc(100% - 130px) 100%); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 72%); }
    .deck .suds::after { content: ""; position: absolute; inset: 0; clip-path: polygon(121px 0, 130px 0, 100% 100%, calc(100% - 9px) 100%); background: var(--ink); }
    /* Real soap pushed along by the blade: a strip of suds (a generated photo, cut out) as long as the line and turned to lie along it. */
    .deck .foam { position: absolute; top: 50%; left: 0; height: calc(hypot(100cqh, 14cqw) + 30px); aspect-ratio: 360 / 1238; translate: calc(-100% - 5px) -50%; rotate: calc(-1 * atan2(14cqw, 100cqh)); transform-origin: calc(100% + 5px) 50%; background: url("../img/suds.webp") right center / auto 100% no-repeat; }
    /* He follows the squeegee from right to left, so the drawing is turned to face that way. With the frames loaded his legs
       keep step with the crossing: one walk cycle is about one body width of travel. He is on stage from 0.52 to 0.93. */
    .deck .runner { position: absolute; bottom: 2%; width: auto; height: clamp(170px, 46%, 400px); transform: scaleX(-1); filter: drop-shadow(0 16px 18px rgba(12, 26, 43, 0.25)); }
    .deck.walks .runner img { opacity: 0; }
    .deck.walks .runner::after { opacity: 1; animation: walk-across 1s linear both paused; animation-delay: calc((var(--p) - 0.52) / 0.41 * -1s); }
    .deck .wiper-squeegee .runner { left: calc(7% + 6px); }
    /* The wastebasket stands in the office picture. When the gleam sets off it is pushed out to the right, just ahead of the
       line (0.18 to 0.37). Until then the drawing is the still one as supplied; the frames show only while it moves. */
    .deck .bin { animation-name: bin-out; }
    .deck .mascot-basket::after { background-image: url("../img/ron-wastebasket-push.png"); }
    .deck.walks .bin img, .deck.walks .bin .mascot::after { animation-fill-mode: forwards; animation-play-state: paused; animation-delay: calc((var(--p) - 0.18) / 0.19 * -1s); }
    .deck.walks .bin img { animation-name: still-away; animation-duration: 1s; animation-timing-function: steps(1, end); }
    .deck.walks .bin .mascot::after { animation-name: frames, strip-on; animation-duration: calc(1s / 3), 1s; animation-timing-function: steps(var(--n)), steps(1, end); animation-iteration-count: 3, 1; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) and (min-height: 780px) {
    .deck .pin { padding: 72px 8px 86px; }
    .deck .stage { border-radius: 26px; }
    .deck .tabs { --w0: 84px; --w1: 126px; --w2: 92px; top: 14px; left: 14px; }
    .deck .scene { padding: 82px 20px 22px; gap: 18px; align-content: start; }
    .deck .scene .copy { gap: 12px; }
    .deck .ticks { gap: 6px 16px; }
    .deck .ticks li { font-size: 1.125rem; }
    .deck .ba-view { width: min(100%, 27svh * 1.333); }
    .deck .office { width: min(100%, 27svh * 1.333); }
    .deck .suds { left: calc(-7% - 80px); width: calc(14% + 80px); clip-path: polygon(0 0, 80px 0, 100% 100%, calc(100% - 80px) 100%); }
    .deck .suds::after { clip-path: polygon(73px 0, 80px 0, 100% 100%, calc(100% - 7px) 100%); }
    .deck .runner { height: clamp(150px, 30%, 240px); }
    .deck .foam { aspect-ratio: 190 / 1238; }
    .deck.walks .runner::after { animation-name: walk-across-narrow; }
    .deck .mascot-basket::after { background-image: url("../img/ron-wastebasket-push-s.png"); }
    /* On a narrow stage the wastebasket stands near the left edge, so it sets off as soon as the gleam does (0.12 to 0.36). */
    .deck .bin { animation-name: bin-out-narrow; }
    .deck.walks .bin img, .deck.walks .bin .mascot::after { animation-delay: calc((var(--p) - 0.12) / 0.24 * -1s); }
}

@keyframes sweep { to { transform: translateX(520%) skewX(-18deg); } }
@keyframes stride-in { from { opacity: 0; translate: -34% 0; } to { opacity: 1; translate: 0 0; } }
/* Mascot frames. One cycle moves the strip by its own length, so it comes back to the first frame. */
@keyframes frames { to { background-position-x: var(--cycle); } }
@keyframes strip-shows { from { opacity: 1; } to { opacity: 0; } }
@keyframes still-returns { from { opacity: 0; } to { opacity: 1; } }
/* The worker's crossing has three speeds (see wiper-squeegee), so the walk has three: 1, 4 and 4 cycles on a wide stage, half, 2 and 2 on a phone. */
@keyframes walk-across { 0% { background-position-x: 0%; animation-timing-function: steps(12); } 9.756% { background-position-x: var(--cycle); animation-timing-function: steps(48); } 73.171% { background-position-x: calc(5 * var(--cycle)); animation-timing-function: steps(48); } 100% { background-position-x: calc(9 * var(--cycle)); } }
@keyframes walk-across-narrow { 0% { background-position-x: 0%; animation-timing-function: steps(6); } 9.756% { background-position-x: calc(0.5 * var(--cycle)); animation-timing-function: steps(24); } 73.171% { background-position-x: calc(2.5 * var(--cycle)); animation-timing-function: steps(24); } 100% { background-position-x: calc(4.5 * var(--cycle)); } }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes stop-in { to { opacity: 1; } }

/* The crossings' timeline (--p, 0 to 1). Offices rest up to 0.09. The gleam comes on at 0.09, crosses left to right from 0.13
   to 0.39 and is gone by 0.4; floors rest from there to 0.52. The squeegee comes on at 0.52, crosses right to left from 0.56
   to 0.82 and is gone by 0.86; windows rest after that. Lines lean 7% of the stage width either side of their centre. */
@keyframes pin-hue { 0%, 13% { background-color: var(--mint-t); } 26% { background-color: var(--lime-t); } 39%, 56% { background-color: var(--gold-t); } 69% { background-color: var(--rose-t); } 82%, 100% { background-color: var(--sky-t); } }
@keyframes stage-hue { 0%, 13% { --x2: -10%; --x1: 110%; } 39%, 56% { --x2: 170%; --x1: 110%; } 82%, 100% { --x2: 170%; --x1: -70%; } }
@keyframes scene-offices { 0%, 13% { clip-path: polygon(-3% 0, 220% 0, 220% 100%, -17% 100%); } 39%, 100% { clip-path: polygon(117% 0, 220% 0, 220% 100%, 103% 100%); } }
/* Floors come in behind the gleam, rest, then blur under the soap and go out behind the squeegee. Between 0.39 and 0.52 the
   outline changes from the one line to the other; both cover the whole stage, so nothing is seen to move. */
@keyframes scene-floors { 0%, 13% { filter: blur(0); clip-path: polygon(-120% 0, -3% 0, -17% 100%, -120% 100%); } 39% { filter: blur(0); clip-path: polygon(-120% 0, 117% 0, 103% 100%, -120% 100%); } 52% { filter: blur(0); clip-path: polygon(-5% 0, 103% 0, 117% 100%, -5% 100%); } 56% { filter: blur(11px); clip-path: polygon(-5% 0, 103% 0, 117% 100%, -5% 100%); } 82%, 100% { filter: blur(11px); clip-path: polygon(-5% 0, -17% 0, -3% 100%, -5% 100%); } }
@keyframes scene-windows { 0%, 56% { clip-path: polygon(103% 0, 220% 0, 220% 100%, 117% 100%); } 82%, 100% { clip-path: polygon(-17% 0, 220% 0, 220% 100%, -3% 100%); } }
@keyframes fog { 0%, 52% { opacity: 0; clip-path: polygon(-5% 0, 103% 0, 117% 100%, -5% 100%); } 56% { opacity: 1; clip-path: polygon(-5% 0, 103% 0, 117% 100%, -5% 100%); } 82% { opacity: 1; clip-path: polygon(-5% 0, -17% 0, -3% 100%, -5% 100%); } 82.5%, 100% { opacity: 0; clip-path: polygon(-5% 0, -17% 0, -3% 100%, -5% 100%); } }
@keyframes wiper-gleam { 0%, 9% { transform: translateX(-35%); } 13% { transform: translateX(-10%); } 51%, 100% { transform: translateX(165.4%); } }
@keyframes wiper-squeegee { 0%, 52% { transform: translateX(135%); } 56% { transform: translateX(110%); } 82% { transform: translateX(-10%); } 93%, 100% { transform: translateX(-140%); } }
@keyframes bin-out { 0%, 18% { transform: translateX(0); } 37%, 100% { transform: translateX(85cqw); } }
@keyframes bin-out-narrow { 0%, 12% { transform: translateX(0); } 36%, 100% { transform: translateX(112cqw); } }
@keyframes still-away { from, to { opacity: 0; } }
@keyframes strip-on { from, to { opacity: 1; } }
@keyframes tab-mark { 0%, 24% { transform: translateX(0); width: var(--w0); } 28%, 67% { transform: translateX(var(--w0)); width: var(--w1); } 71%, 100% { transform: translateX(calc(var(--w0) + var(--w1))); width: var(--w2); } }
@keyframes live-1 { 0%, 26% { visibility: visible; } 26.01%, 100% { visibility: hidden; } }
@keyframes live-2 { 0%, 26% { visibility: hidden; } 26.01%, 69% { visibility: visible; } 69.01%, 100% { visibility: hidden; } }
@keyframes live-3 { 0%, 69% { visibility: hidden; } 69.01%, 100% { visibility: visible; } }
