/* DeepSteam.ca design tokens. Every colour on the site is one of these; a hex
   value anywhere else in this file is a bug.

   The palette is the client's own logo: a black plate, chrome lettering, two
   red rules, and steam. The old site used that black and red as full-bleed
   slabs slammed against each other. Here black is the truck cab (header, hero,
   booking panel), white and steam-grey are the body panels where the photos
   live, and red is spent in exactly two places: the double rule that echoes
   the logo's two bars, and the primary action. Red never carries large text.

   Roles:
   --black   ground for header, hero, booking panel; matches the logo image.
   --coal    footer and dark cards; slightly lifted so the header still reads.
   --steel   hairlines and borders on dark grounds only.
   --chrome  secondary text on dark grounds; the logo's metal.
   --steam   light section ground; alternates with white.
   --white   main content ground.
   --ink     body text on light grounds.
   --ink-2   secondary text on light grounds.
   --red     the double rule and the primary button. Nothing else.
   --red-2   pressed and hover state of the primary button.
   --line    hairlines on light grounds. */
:root {
  --black: #000000;
  --coal: #15171a;
  --steel: #33373d;
  --chrome: #c8cbd0;
  --steam: #eef0f2;
  --white: #ffffff;
  --ink: #16181b;
  --ink-2: #4e535b;
  --red: #c8161d;
  --red-2: #950f14;
  --line: #d9dce0;

  --display: "Rokkitt", "Rockwell", "Roboto Slab", Georgia, serif;
  --text: "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 64px;
}

@font-face {
  font-family: "Rokkitt";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/rokkitt-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.15em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: 0 0 0.35rem; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
h1 { font-size: clamp(1.8rem, 3.7vw + 1.03rem, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 2.2vw + 0.75rem, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--text); font-weight: 700; }
strong { font-weight: 700; }
small, .small { font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .book-panel :focus-visible { outline-color: var(--white); }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--red); color: var(--white); padding: 0.6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { top: 0.5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The signature: two red rules, the logo's bars. Used as the mark above a
   section heading and as the section divider. It is the only decoration. */
.rule, .sec-h::before {
  content: "";
  display: block;
  width: 64px;
  height: 11px;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  margin-bottom: 1rem;
}
.rule-wide { width: 100%; height: 11px; border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  font: 700 1rem/1.1 var(--text);
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background-color 120ms, color 120ms, border-color 120ms;
}
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--chrome); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--coal); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---- header -------------------------------------------------------------- */
.site-header {
  background: var(--black); color: var(--white);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--steel);
  /* Same reasoning as .actbar's bottom padding, for the header. Mostly
     dormant in portrait, where Safari's own chrome already owns that space,
     but a notched iPhone turned sideways puts the notch beside this bar, and
     viewport-fit=cover is what makes the browser hand that space to the page
     instead of reserving it automatically. */
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.mainnav a { display: block; padding: 0.55rem 0.6rem; color: var(--chrome); text-decoration: none; font-weight: 600; font-size: 0.9rem; border-bottom: 2px solid transparent; }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--white); border-bottom-color: var(--red); }
/* The header call button is a secondary control: the sticky bar owns Call on
   phones and the hero owns it on desktop, so this one stays small. */
.nav-phone.btn { white-space: nowrap; min-height: 36px; padding: 0.35rem 0.8rem; font-size: 0.9rem; border-width: 1px; }
.nav-phone.btn svg { width: 15px; height: 15px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.75rem; color: var(--white); font-weight: 700; border: 1px solid var(--steel); border-radius: 2px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu[open] summary { background: var(--coal); }
.menu .mainnav { position: absolute; right: 0; top: calc(100% + 0.5rem); background: var(--coal); border: 1px solid var(--steel); min-width: 240px; padding: 0.5rem; z-index: 60; }
.menu .mainnav ul { flex-direction: column; gap: 0; }
.menu .mainnav a { padding: 0.8rem 0.9rem; font-size: 1.05rem; border-bottom: 1px solid var(--steel); }
.menu .mainnav li:last-child a { border-bottom: 0; }
.desk-nav { display: none; }
@media (min-width: 1120px) {
  .brand img { height: 34px; }
  .menu { display: none; }
  .desk-nav { display: flex; align-items: center; gap: 0.75rem; }
}
@media (max-width: 1119px) {
  .nav-phone.btn { display: none; }
}

/* ---- hero ---------------------------------------------------------------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: clamp(0.9rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 0.85rem; align-items: center; position: relative; z-index: 1; }
/* On a phone the header wordmark sits 200px above this, so the big lockup was
   the same brand mark twice and it pushed the CTA off the fold. Desktop keeps
   it: there it is the brand statement and there is room for it. */
.hero-logo { display: none; }
.hero-photo { order: -1; }
@media (min-width: 900px) {
  .hero-logo { display: block; width: min(100%, 420px); margin-bottom: 1.25rem; }
  .hero-photo { order: 0; }
}
.hero .eyebrow { color: var(--chrome); font-weight: 600; margin: 0 0 0.5rem; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero .lede { color: var(--chrome); font-size: 1.15rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1.25rem; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--chrome); font-size: 0.95rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.hero-trust svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-photo::after { content: ""; display: block; height: 11px; border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); margin-top: 0.5rem; }
/* Phone order: photo, then the claim, then the two actions, then the detail.
   The buttons sit directly under the headline so the fold ends on an action
   rather than mid-paragraph. DOM order is unchanged for screen readers. */
@media (max-width: 899px) {
  .hero-grid > div:not(.hero-photo) { display: flex; flex-direction: column; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .grating { order: 3; }
  .hero-ctas { order: 4; margin: 1rem 0 1.25rem; }
  .hero .lede { order: 5; }
  .hero-trust { order: 6; }
}
@media (max-width: 559px) {
  /* Full-bleed buttons on a phone only; at 768 a 700px wide button is absurd. */
  .hero-ctas .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .hero-logo { width: min(100%, 320px); }
  .hero-photo img { aspect-ratio: 3 / 2; }
}

/* Page hero for inner pages: black band, short. */
.page-hero { background: var(--black); color: var(--white); padding: clamp(1.75rem, 4vw, 3rem) 0; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero .lede { color: var(--chrome); font-size: 1.1rem; max-width: 42rem; margin-bottom: 0; }
.page-hero .rule { margin-bottom: 1rem; }
.page-hero-grid { display: grid; gap: 1.5rem; align-items: end; }
.page-hero-grid img { width: 100%; max-height: 320px; object-fit: cover; }
/* A PORTRAIT photograph must never take the height cap above. That cap was
   written for the landscape van shot on the truck-mounted page, where cropping
   34px off the sky costs nothing. Applied to the 499x537 family photograph it
   cropped 440px at tablet width and cut the heads off three of the four people
   in it, on the page whose entire subject is the family. Portrait images are
   sized by WIDTH and never cropped. */
.page-hero-grid img.portrait {
  max-height: none;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  justify-self: center;
}
@media (min-width: 900px) { .page-hero-grid img.portrait { justify-self: start; } }
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  /* Masthead: title left, standfirst right, baselines aligned. Without this the
     right half of the black band is dead space on every inner page. */
  .page-hero > .wrap:not(.page-hero-grid) { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 3rem; align-items: end; }
  .page-hero > .wrap:not(.page-hero-grid) > .rule { grid-column: 1 / -1; }
  .page-hero > .wrap:not(.page-hero-grid) > h1 { grid-column: 1; margin-bottom: 0; }
  .page-hero > .wrap:not(.page-hero-grid) > .lede { grid-column: 2; padding-bottom: 0.35rem; }
}

/* ---- sections ------------------------------------------------------------ */
.sec { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.sec-steam { background: var(--steam); }
.sec-dark, .dark { background: var(--coal); color: var(--white); }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark p { color: var(--chrome); }
.sec-h { margin-bottom: 1.5rem; }
.sec-h h2 { margin-bottom: 0.5rem; }
.sec-h p { color: var(--ink-2); max-width: 44rem; margin-bottom: 0; }
.sec-dark .sec-h p { color: var(--chrome); }
.two { display: grid; gap: 2rem; align-items: start; }
@media (max-width: 859px) { .two > div { max-width: 42rem; } }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; gap: 3rem; } .two-wide { grid-template-columns: 1.4fr 1fr; } .two > div { max-width: none; } }
.prose { max-width: min(42rem, 66ch); }
/* When .prose IS the wrap, two rules fought over the same box and the page lost
   its left edge. .wrap centres the page's content area; .prose then narrowed
   that same box to 42rem and margin-inline:auto re-centred the narrow column in
   the viewport. Every section written as <div class="wrap prose"> therefore sat
   17px right of the rest of the page at 768px and 254px right at 1440px, which
   read as a mistake because it was one. The wrap keeps the page edge and the
   reading measure moves to what is inside it, so one rule owns the column. */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: min(42rem, 66ch); }
.wrap.prose > table, .wrap.prose > .work, .wrap.prose > figure, .prose > table { max-width: none; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul li, .prose ol li { margin-bottom: 0.5rem; }

/* Answer-first block: the sentence an assistant lifts. */
.answer { border-left: 4px solid var(--red); padding: 0.25rem 0 0.25rem 1rem; margin: 0 0 1.5rem; font-size: 1.1rem; max-width: min(44rem, 66ch); }
.answer p { margin: 0; }

/* Fact strip: four facts under the hero. */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); }
.facts li { background: var(--steam); padding: 1.1rem 1rem; margin: 0; }
.facts b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.facts span { color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* Service ledger: rows, not a card kit. Phone: name left, link right, description
   under both. Desktop: name | description | link. Every cell is placed
   explicitly, because an auto-placed cell next to an explicitly-rowed one gets
   pushed to the wrong column (it did, on the first build). */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li { margin: 0; border-bottom: 1px solid var(--line); }
.ledger a { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; }
.ledger a:hover .ledger-name { text-decoration: underline; }
.ledger-name { grid-column: 1; grid-row: 1; font-family: var(--display); font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.ledger-go { grid-column: 2; grid-row: 1; color: var(--red); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.ledger-desc { grid-column: 1 / span 2; grid-row: 2; color: var(--ink-2); }
@media (min-width: 760px) {
  .ledger a { grid-template-columns: minmax(220px, 0.5fr) 1fr auto; align-items: center; }
  .ledger-desc { grid-column: 2; grid-row: 1; }
  .ledger-go { grid-column: 3; }
}

/* Comparison tables: real tables that stack into labelled cards on a phone. */
.cmp { margin: 1rem 0 1.5rem; font-size: 0.98rem; }
.cmp caption { text-align: left; font-weight: 700; padding: 0 0 0.6rem; color: var(--ink-2); }
.cmp th, .cmp td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tbody th a { display: inline-block; padding: 0.3rem 0; }
.cmp thead th { background: var(--black); color: var(--white); font-weight: 700; }
/* Both sides need a floor or auto layout starves whichever one is not claimed.
   A floor on the data columns alone pushed the row-header column to 140px and
   put "Water temperature" on two lines: the same starvation as the old
   width:28%, moved one column left. Measured minimums: the longest row header
   is 18ch, the longest short-data cell ("Common expense") is 17ch.

   They apply from 900px up only. Below that the table is a stack of cards and
   has no columns to size, and a floor there would push the table wider than the
   page: five columns at these minimums need 815px, which a 768px screen does
   not have, and the table silently overflowed its container by 154px. */
.cmp tbody th { font-weight: 700; }
@media (min-width: 900px) {
  .cmp tbody th { min-width: 18ch; }
  .cmp td { min-width: 17ch; }
}
@media (max-width: 899px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp caption { display: block; }
  .cmp tr { display: block; border: 1px solid var(--line); margin-bottom: 0.75rem; }
  .cmp tbody th { display: block; width: auto; min-width: 0; background: var(--steam); border-bottom: 0; }
  .cmp td { display: block; min-width: 0; border-bottom: 1px solid var(--line); }
  .cmp td:last-child { border-bottom: 0; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.2rem; }
}

/* Work grid: the half-cleaned photos. */
.work { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (max-width: 559px) { .work { grid-template-columns: 1fr; } }
.work li { margin: 0; }
.work figure { margin: 0; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--steam); }
/* Set by the build from the image's own width and height attributes; see
   markWideWorkPhotos() in scripts/build.mjs. */
.work li.wide { grid-column: 1 / -1; }
.work li.wide img { aspect-ratio: 16 / 9; }
.work figcaption { padding: 0.6rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.work figcaption b { color: var(--ink); }
@media (min-width: 700px) { .work img { aspect-ratio: 3 / 4; } }
@media (min-width: 1000px) { .work { grid-template-columns: repeat(4, 1fr); } .work-3 { grid-template-columns: repeat(3, 1fr); } }

/* Quotes: real Google reviews, quoted with attribution, no review schema. */
.quotes { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.quotes li { margin: 0; background: var(--steam); padding: 1.25rem 1.25rem 1.4rem; }
.quotes blockquote { margin: 0 0 0.75rem; font-size: 1.02rem; }
.quotes cite { font-style: normal; color: var(--ink-2); font-size: 0.92rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.disclose { color: var(--ink-2); font-size: 0.92rem; max-width: 52rem; }

/* City list. */
.cities { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cities li { margin: 0; }
.cities a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.cities a:hover { color: var(--red); }

/* Booking panel and form. */
.book-panel { background: var(--black); color: var(--white); }
.book-panel h2, .book-panel h3 { color: var(--white); }
.book-panel p { color: var(--chrome); }
.form { display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; min-height: 48px; width: 100%;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); outline: none; }
.form .row { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
/* --ink-2 by default, NOT --chrome. This booking form renders on two different
   grounds: inside the black .book-panel on the homepage, and on a plain white
   page at /book/ and /commercial/quote/. --chrome is documented at the top of
   this file as "secondary text on dark grounds", and every other use of it is
   scoped to one; this rule was the only unscoped one, so on the two light pages
   it put #c8cbd0 on white at 1.63:1 against the 4.5:1 WCAG AA needs for 14px
   text. It passed unnoticed because the same class on the homepage sits on
   black and measures 12.9:1, so whichever page you looked at, it looked fine.
   Light ground gets --ink-2 at 7.65:1; the dark panel overrides back below. */
.form .fine { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.book-panel .form .fine { color: var(--chrome); }
.form-note { border: 2px solid var(--red); padding: 0.9rem 1rem; margin-top: 1rem; }
/* The two outcomes were visually identical, which is a poor way to tell
   somebody their booking did or did not go through. */
.form-note.success { border-color: #2e7d32; }
.form-note.error { border-color: var(--red); }
.form-note[hidden] { display: none; }
.book-panel .form label { color: var(--white); }
.book-side h3 { margin-top: 1.5rem; }
/* The big phone number, wherever it appears. Was three inline styles. */
.big, .phone-big { display: inline-block; font-family: var(--display); font-size: clamp(1.6rem, 4.5vw, 2rem); font-weight: 800; line-height: 1.1; text-decoration: none; padding: 0.35rem 0; margin: 0.25rem 0 0.75rem; }
/* Honeypot. Clipped rather than pushed to -9999px, which showed up as a
   left-overflowing element in every layout audit. */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-lines a { display: inline-block; padding: 0.35rem 0; }

/* Steps. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps li { margin: 0; padding-left: 3.2rem; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--black); color: var(--white); font: 800 1.2rem var(--display); }
.steps b { display: block; font-size: 1.1rem; }
/* Single column at every width, on purpose. These are SEQUENTIAL numbered
   steps, and a 2-column split (dropped here) had step 3 sitting beside step 4
   rather than under step 2, breaking the order a numbered list exists to show.
   It also meant an odd step count left the last step alone in its row with a
   visibly empty cell beside it at 1440px (5 steps, /commercial/), which read
   as an unfinished layout. Removed rather than patched around: the 2-column
   form was never right for this content regardless of the empty-cell case. */

/* Videos: click-to-load. */
.videos { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.videos li { margin: 0; }
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--black); display: block; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; padding: 0; }
.yt-play span { display: inline-grid; place-items: center; width: 64px; height: 64px; background: var(--red); color: var(--white); border-radius: 2px; }
.yt-play svg { width: 28px; height: 28px; }
.yt-cap { font-size: 0.92rem; color: var(--ink-2); padding-top: 0.5rem; }
@media (min-width: 720px) { .videos { grid-template-columns: repeat(2, 1fr); } }

/* Crumbs, meta, footer. */
.crumbs { font-size: 0.9rem; padding: 0.35rem 0; background: var(--coal); color: var(--chrome); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--steel); }
.crumbs a, .crumbs [aria-current] { color: var(--chrome); display: inline-block; padding: 0.4rem 0; }
.crumbs [aria-current] { color: var(--white); }
.byline { color: var(--ink-2); font-size: 0.92rem; margin: 0 0 1.5rem; }
.site-footer { background: var(--black); color: var(--chrome); padding: 2.5rem 0 1.5rem; font-size: 0.95rem; border-top: 1px solid var(--steel); }
.site-footer a { color: var(--white); }
/* Only a paragraph that IS a link gets tap padding. Applied to a link sitting
   inside a sentence it pushes that one line away from the rest of the
   paragraph, which is what the footer blurb was doing. .go is set by the
   build; see markStandaloneLinks() in scripts/build.mjs. */
.site-footer p.go > a, .site-footer address a { display: inline-block; padding: 0.4rem 0; }
.site-footer a[href^="tel:"], .site-footer a[href^="mailto:"] { font-weight: 700; padding: 0.5rem 0; }
.footer-grid { display: grid; gap: 2rem; }
.footer-h { color: var(--white); font-size: 1.05rem; text-transform: uppercase; margin-bottom: 0.6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { text-decoration: none; display: inline-block; padding: 0.42rem 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-logo { width: 220px; margin-bottom: 0.75rem; }
.hours-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding: 0.3rem 0; border-bottom: 1px solid var(--steel); }
.foot-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--steel); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; font-size: 0.88rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* minmax(0, ...) not a bare fr: a plain fr track has min-width:auto, so the
   first column would refuse to shrink below the 220px footer logo and push the
   grid wider than its container. Same trap as the action bar below. */
@media (min-width: 1080px) { .footer-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) auto minmax(0, 1.1fr) minmax(0, 1.1fr); } }

/* Sticky action bar on phones. The two things a phone visitor does. */
/* minmax(0,1fr): with a plain 1fr the two labels set a min-content floor that
   made this bar 334px wide inside a 320px viewport and scrolled the page. */
/* auto-flow rather than a fixed two, so the bar is correct whether it carries
   one action or two. A hard repeat(2) leaves a bare grey column when the
   booking page drops its own self-link. */
/* padding-bottom: env(safe-area-inset-bottom) on a bottom:0 fixed element adds
   blank space UNDER the buttons at the true screen edge, on the iPhones (X and
   newer, which is most iPhones in active use) that swap a home button for a
   swipe gesture there. Without it, and without viewport-fit=cover on the
   meta tag above (the env() value is always 0 without that), the bar's own
   background is what a visitor's thumb lands on first, and the bottom of the
   "Call now" / "Book online" buttons sits inside the same strip the OS reads
   swipe gestures from. The fallback 0px keeps this harmless on every phone
   that has no inset to report. */
.actbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; background: var(--steel); border-top: 1px solid var(--steel); padding-bottom: env(safe-area-inset-bottom, 0px); }
.actbar a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 56px; padding: 0 0.4rem; font-weight: 700; font-size: 0.98rem; text-decoration: none; }
.actbar .a-call { background: var(--black); color: var(--white); }
.actbar .a-book { background: var(--red); color: var(--white); }
.actbar svg { width: 20px; height: 20px; }
/* Must grow by the same safe-area amount as .actbar's own padding-bottom above,
   or the last real content on the page sits underneath the taller bar on a
   phone with a home-indicator inset. */
body.has-actbar { padding-bottom: calc(57px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1120px) { .actbar { display: none; } body.has-actbar { padding-bottom: 0; } }

/* Utilities. */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.muted { color: var(--ink-2); }
main p.byline, main p.muted, main p.fine, main p.small { max-width: 66ch; }
.frame img { width: 100%; }
.frame::after { content: ""; display: block; height: 11px; border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); margin-top: 0.75rem; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.badges { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; margin: 1rem 0; }
.badges img { height: 56px; width: auto; }
.badges p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

/* ---------- two tracks: home and business ---------------------------------
   The site sells to two buyers who search different words and need different
   proof, so it runs a residential front door and a commercial wing. These are
   the only pieces of furniture that exist to hold the two apart. */

/* The cross-track bridge. Search sends the wrong buyer to the wrong page often
   enough that every track page carries one line offering the other side. It
   sits directly under the hero, where somebody who has just realised they are
   in the wrong place is still looking. */
.switch {
  background: var(--steam);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.switch .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; padding: 0.7rem 0; }
.switch p { margin: 0; color: var(--ink-2); }
.switch a { font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.switch a:hover { color: var(--red); }

/* Premises and surface names as plain inline text. Not buttons: they are a
   scanning aid that tells a facilities manager in one glance that their kind of
   building is on the list, and half of them are not links. */
.chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0; }
.chips li, .chips a {
  display: block;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.chips li:has(a) { padding: 0; border: 0; }
.chips a:hover { border-color: var(--red); color: var(--red); }
.sec-dark .chips li, .sec-dark .chips a, .hero .chips li, .hero .chips a { border-color: var(--steel); color: var(--chrome); }
.sec-dark .chips a:hover, .hero .chips a:hover { border-color: var(--red); color: var(--white); }

/* The commercial rate. Published as a figure with its qualifiers attached,
   because the qualifiers are the honest part and a number alone would read as
   a quote. Kept as one block so the two can never be separated by an edit. */
.rate {
  border: 3px solid var(--black);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--white);
}
.rate b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.rate p { margin: 0.5rem 0 0; color: var(--ink-2); font-size: 0.97rem; }
.rate p + p { margin-top: 0.5rem; }

/* Insurance and WSIB. The single most load-bearing fact on a page aimed at a
   facilities manager, so it gets its own block rather than a line of body copy
   they might skim past. Deliberately carries no coverage amount: see the
   COMMERCIAL note in site.config.mjs. */
.creds {
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: var(--white);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}
.creds b {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.creds svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.creds p { margin: 0.5rem 0 0; color: var(--ink-2); font-size: 0.97rem; }
.sec-dark .creds, .book-panel .creds { background: transparent; border-color: var(--steel); }
.sec-dark .creds b, .book-panel .creds b { color: var(--white); }
.sec-dark .creds p, .book-panel .creds p { color: var(--chrome); }

/* Google rating row. Plain text and a star glyph, always linked to the profile
   so the number can be checked. NOT marked up: a business that marks up review
   data about itself is ineligible for the star rich result, so schema here
   would cost exactly what it looks like it buys. */
.grating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}
.grating-stars { display: inline-flex; gap: 2px; color: #f5a623; flex: none; }
.grating-stars svg { width: 17px; height: 17px; }
.grating-text { color: var(--ink-2); }
.grating-text b { color: var(--ink); font-weight: 800; }
.grating:hover .grating-text { text-decoration: underline; }
.hero .grating-text, .sec-dark .grating-text { color: var(--chrome); }
.hero .grating-text b, .sec-dark .grating-text b { color: var(--white); }

/* Review cards carrying the business's own Google reviews. */
.greviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); }
.greviews li { background: var(--white); padding: 1.25rem 1.35rem; margin: 0; }
.greviews blockquote { margin: 0 0 0.75rem; font-size: 1.02rem; }
.greviews .gr-stars { display: inline-flex; gap: 2px; color: #f5a623; margin-bottom: 0.5rem; }
.greviews .gr-stars svg { width: 15px; height: 15px; }
.greviews cite { font-style: normal; font-size: 0.9rem; color: var(--ink-2); }
.greviews cite b { color: var(--ink); font-weight: 700; font-style: normal; }
@media (min-width: 760px) { .greviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ---------- hero steam -----------------------------------------------------
   The hero's single orchestrated moment: steam rises off the floor, drifts up
   past the wordmark and is gone inside about five seconds, leaving one
   barely-there layer so the black is not dead. It ENDS on purpose: the double
   red rule is this site's one persistent decoration and a background animating
   forever would compete with it.

   PERFORMANCE IS THE DESIGN HERE. The first version used live SVG filters and
   ran the hero at 11 fps against 60 fps with the effect removed. Any geometric
   transform on a filtered element re-runs the filter every frame. The noise is
   now baked into three PNGs by scripts/build-steam.py and these are plain
   images: transform and opacity only, nothing that forces a repaint.

   Do not add filter, backdrop-filter, box-shadow or mask to .pf. Any of them
   puts the paint cost back and the hero drops to single-figure frame rates
   again, which no lighthouse run or console warning will tell you about.
   scripts/check.mjs fails the build if one appears. */
.hero-steam {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-steam .pf {
  position: absolute;
  height: auto;
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: 50% 85%;   /* pivot at the source, so a rise opens upward */
}

/* Weighted to the right half, where the van photograph is and no text lives.
   Composition doing the work a heavy scrim would otherwise have to do, and it
   is where steam would actually come from. Only p7 crosses the text column, on
   a much fainter curve. */
/* Placed against what is actually VISIBLE, not against the whole box. On a
   desktop hero the van photograph is opaque and sits above this layer, and the
   legibility scrim darkens everything left of 56%, so vapour put behind the
   photo or under the scrim is vapour nobody sees: the first pass of this
   rewrite looked empty for exactly that reason. The dark canvas that is left is
   the gap between the text and the photo, the band above the photo, the strip
   to its right, and the full width along the bottom. That is where these go. */
.hero-steam .p1 { left: 56%; bottom: -16%; width: 32%; }   /* gap, behind the photo edge */
.hero-steam .p2 { left: 74%; bottom: -20%; width: 30%; }   /* right of the photo */
.hero-steam .p3 { left: 86%; bottom:  -8%; width: 26%; }   /* far right edge */
.hero-steam .p4 { left: 62%; bottom:  44%; width: 38%; }   /* above the photo */
.hero-steam .p5 { left: 80%; bottom:  26%; width: 32%; }
.hero-steam .p6 { left: 44%; bottom: -12%; width: 30%; }
.hero-steam .p7 { left:  1%; bottom: -14%; width: 28%; }   /* the faint one, left */
.hero-steam .p8 { left: 22%; bottom: -16%; width: 88%; }   /* the long low veil */
.hero-steam .p9 { left: 46%; bottom:  38%; width: 76%; }   /* the upper veil */

/* A rising wisp. Quick to arrive and slow to leave: that asymmetry is the whole
   difference between evaporating and simply fading out. It also stretches more
   in height than in width, because vapour being pulled upward is taller at the
   end than it was at the start, and scale(x, y) costs the compositor nothing
   extra over scale(n). */
@keyframes steam-rise-a {
  0%   { opacity: 0;    transform: translate3d(0, 16%, 0)    scale(0.70, 0.64) rotate(0deg); }
  13%  { opacity: 0.86; transform: translate3d(1%, 5%, 0)    scale(0.86, 0.90) rotate(-1.5deg); }
  44%  { opacity: 0.56; transform: translate3d(4%, -20%, 0)  scale(1.06, 1.36) rotate(-4deg); }
  100% { opacity: 0;    transform: translate3d(10%, -60%, 0) scale(1.36, 2.00) rotate(-9deg); }
}
/* Mirrored: the negative X scale flips the texture on the compositor for
   nothing, which is how three files cover nine layers without any two of them
   reading as the same shape. */
@keyframes steam-rise-b {
  0%   { opacity: 0;    transform: translate3d(0, 18%, 0)     scale(-0.66, 0.60) rotate(0deg); }
  15%  { opacity: 0.80; transform: translate3d(-1%, 4%, 0)    scale(-0.84, 0.88) rotate(2deg); }
  47%  { opacity: 0.52; transform: translate3d(-5%, -23%, 0)  scale(-1.04, 1.40) rotate(5deg); }
  100% { opacity: 0;    transform: translate3d(-11%, -64%, 0) scale(-1.30, 2.05) rotate(10deg); }
}
@keyframes steam-rise-c {
  0%   { opacity: 0;    transform: translate3d(0, 14%, 0)    scale(0.74, 0.70) rotate(0deg); }
  17%  { opacity: 0.76; transform: translate3d(2%, 2%, 0)    scale(0.92, 0.96) rotate(-1deg); }
  52%  { opacity: 0.48; transform: translate3d(5%, -25%, 0)  scale(1.12, 1.44) rotate(-3deg); }
  100% { opacity: 0;    transform: translate3d(8%, -58%, 0)  scale(1.42, 1.90) rotate(-6deg); }
}
/* The one wisp that crosses the text column, held far fainter so it can never
   compete with a word. */
@keyframes steam-rise-faint {
  0%   { opacity: 0;    transform: translate3d(0, 12%, 0)   scale(0.76, 0.72) rotate(0deg); }
  20%  { opacity: 0.32; transform: translate3d(2%, 1%, 0)   scale(0.94, 1.00) rotate(-1deg); }
  55%  { opacity: 0.21; transform: translate3d(5%, -20%, 0) scale(1.12, 1.34) rotate(-3deg); }
  100% { opacity: 0;    transform: translate3d(8%, -48%, 0) scale(1.34, 1.72) rotate(-5deg); }
}

/* The lingering half of the brief. The room never quite clears: two wide, very
   slow veils that only breathe and drift, on periods long enough and different
   enough that they never resolve into a loop. */
@keyframes steam-linger-a {
  0%   { opacity: 0.22; transform: translate3d(-4%, 2%, 0) scale(1.00, 1.00) rotate(0deg); }
  50%  { opacity: 0.44; transform: translate3d(5%, -4%, 0) scale(1.16, 1.08) rotate(2.5deg); }
  100% { opacity: 0.22; transform: translate3d(-4%, 2%, 0) scale(1.00, 1.00) rotate(0deg); }
}
@keyframes steam-linger-b {
  0%   { opacity: 0.38; transform: translate3d(4%, 0, 0)     scale(-1.12, 1.06) rotate(0deg); }
  50%  { opacity: 0.18; transform: translate3d(-6%, -5%, 0)  scale(-0.96, 0.98) rotate(-3deg); }
  100% { opacity: 0.38; transform: translate3d(4%, 0, 0)     scale(-1.12, 1.06) rotate(0deg); }
}

/* Every delay is NEGATIVE, which starts each layer part-way through its own
   cycle. Without that the hero paints empty and fills with steam over the first
   few seconds, which is the wrong first impression for a company called
   DeepSteam. The periods share no common factor, so the nine layers never line
   up into a rhythm a visitor can catch. */
.hero-steam .p1 { animation: steam-rise-a     34s ease-in-out  -6s infinite; }
.hero-steam .p2 { animation: steam-rise-b     29s ease-in-out -17s infinite; }
.hero-steam .p3 { animation: steam-rise-c     41s ease-in-out -25s infinite; }
.hero-steam .p4 { animation: steam-rise-b     31s ease-in-out -11s infinite; }
.hero-steam .p5 { animation: steam-rise-a     26s ease-in-out -21s infinite; }
.hero-steam .p6 { animation: steam-rise-c     37s ease-in-out  -3s infinite; }
.hero-steam .p7 { animation: steam-rise-faint 33s ease-in-out -14s infinite; }
.hero-steam .p8 { animation: steam-linger-a   59s ease-in-out -12s infinite; }
.hero-steam .p9 { animation: steam-linger-b   73s ease-in-out -31s infinite; }

/* Legibility scrim, above the vapour and below the content. Pure black, so on a
   black hero it is invisible; all it does is keep the steam off the text. This
   was measured, not guessed: an earlier centred version put the trust row on
   rgb(124,124,124) and scored 2.57:1 against chrome-coloured text, a flat WCAG
   failure that looked fine in a screenshot. Below 900px the hero is one stacked
   column, so the shield protects the lower half instead of the left. */
.hero-steam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.26) 28%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .hero-steam::after {
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.34) 30%, rgba(0,0,0,0) 56%);
  }
}

/* On a tall phone hero the puffs would sit in a strip at the very bottom, under
   the darkest part of the scrim, so they are spread up and widened. */
@media (max-width: 899px) {
  .hero-steam .p1 { left: 44%; bottom:  -8%; width: 72%; }
  .hero-steam .p2 { left: 64%; bottom:  -2%; width: 68%; }
  .hero-steam .p3 { left: 18%; bottom:  10%; width: 64%; }
  .hero-steam .p4 { left: 70%; bottom:  20%; width: 66%; }
  .hero-steam .p5 { left: 26%; bottom:  30%; width: 62%; }
  .hero-steam .p6 { left:  8%; bottom:  -6%; width: 58%; }
  .hero-steam .p7 { left:  2%; bottom:  42%; width: 54%; }
  .hero-steam .p8 { left: 38%; bottom:   4%; width: 118%; }
  .hero-steam .p9 { left: 24%; bottom:  34%; width: 104%; }
}
/* The visitor asked for no MOTION, not for no steam on a page about steam.
   Everything that rises is removed and the two veils stay, still, at the
   opacity they would otherwise have rested at. An earlier version hid the whole
   layer, which threw away the one piece of brand material on the page along
   with the movement. */
@media (prefers-reduced-motion: reduce) {
  .hero-steam .pf { animation: none; }
  /* Everything that rises is removed; the two veils stay, still, at the opacity
     they would have rested at. The visitor asked for no motion, not for no
     steam on a page about steam. */
  .hero-steam .p1, .hero-steam .p2, .hero-steam .p3, .hero-steam .p4,
  .hero-steam .p5, .hero-steam .p6, .hero-steam .p7 { display: none; }
  .hero-steam .p8 { opacity: 0.26; }
  .hero-steam .p9 { opacity: 0.20; }
}

/* A link that is the ONLY thing in its paragraph or list item is a navigation
   control, not an inline link inside a sentence, so it needs a real tap target.
   At 20px tall these were under the 24px WCAG minimum and nowhere near the 44px
   that is comfortable with a thumb. The ledger, chips and city lists are
   excluded because they already build their own generous hit areas.

   The .go class is applied by the build, not matched by :only-child. CSS
   :only-child counts ELEMENT children and cannot see text, so it also matched
   a link inside a sentence and inflated that line of prose by 22px: on eight
   sample pages it hit 25 inline links to catch 3 real ones. See
   markStandaloneLinks() in scripts/build.mjs. */
main p.go > a,
main ul:not(.chips):not(.ledger):not(.cities):not(.work) > li.go > a {
  display: inline-block;
  padding: 0.7rem 0;
}
