/* ============================================================
   site.css - Quinprint. Loads after base.css, survives every update.

   Branding owns the palette, fonts, and heading levels; they arrive as
   --color-*, --font-*, and --h1-* through --h6-*. This file names the
   palette the way the design does, sets the tokens Branding cannot
   express, and styles the site-wide components. Page sections follow
   below the components, one group per section class.

   Token names follow the design brief, with two exceptions where the
   engine already uses the name for something else:
     --border   is the engine's border shorthand, so the colour is --border-colour.
     --muted    is the engine's secondary text, so it is pointed at --body
                (which passes contrast) and the fine-print grey is --fineprint.
   ============================================================ */

/* ---- Tokens --------------------------------------------------------------- */
:root {
  /* Colour: Branding's custom colours under the design's names */
  --grape:         var(--color-action);
  --grape-dark:    var(--color-grape-dark);
  --grape-deep:    var(--color-grape-deep);
  --night:         var(--color-night);
  --night-mid:     var(--color-night-mid);
  --glow:          var(--color-glow);
  --wisteria:      var(--color-wisteria);
  --thistle:       var(--color-thistle);
  --magnolia:      var(--color-magnolia);
  --mist:          var(--color-mist);
  --line:          var(--color-line);
  --border-colour: var(--color-border);
  --body:          var(--color-body);
  --fineprint:     var(--color-muted);   /* disabled and fine print only */
  --vanilla:       var(--butter);   /* same hex as the 2026 Butter; one source of truth */
  --uranian:       var(--sky);      /* same hex as the 2026 Sky */
  --mauve:         var(--color-mauve);
  --indigo:        var(--color-indigo);   /* legacy social palette #AC9BFB, not the 2026 Indigo */

  /* 2026 brand guide, secondary palette: each pastel with its deep partner.
     A gradient runs pastel to its own deep, never across two pairs.
     The guide's Indigo is --indigo-2026 so it cannot collide with --indigo above. */
  --pistachio:     var(--color-pistachio);
  --fern:          var(--color-fern);
  --peach:         var(--color-peach);
  --rust:          var(--color-rust);
  --sky:           var(--color-sky);
  --harbour:       var(--color-harbour);
  --lavender:      var(--color-lavender);
  --indigo-2026:   var(--color-indigo-2026);
  --seafoam:       var(--color-seafoam);
  --spruce:        var(--color-spruce);
  --rose:          var(--color-rose);
  --raspberry:     var(--color-raspberry);
  --butter:        var(--color-butter);
  --ochre:         var(--color-ochre);
  --orchid:        var(--color-orchid);
  --plum:          var(--color-plum);
  --marigold:      var(--color-marigold);   /* accent, no deep partner */

  /* The engine's derived colours, pointed at the brand */
  --muted:    var(--body);
  --hairline: var(--line);
  --surface:  var(--mist);

  /* Gradients */
  --sunburst: radial-gradient(ellipse 70% 85% at 50% 115%, var(--glow) 0%, var(--grape) 22%, var(--night-mid) 46%, var(--night) 78%);
  --sunburst-top: radial-gradient(ellipse 80% 70% at 50% -20%, var(--night-mid) 0%, var(--night) 70%);

  /* Radius */
  --r-pill:  999px;
  --r-xl:    28px;
  --r-lg:    24px;
  --r-md:    20px;
  --r-sm:    14px;
  --r-input: 10px;
  --r-hero:  clamp(48px, 9vw, 160px);
  --radius:    var(--r-input);   /* engine: inputs and small parts */
  --radius-lg: var(--r-md);      /* engine: cards and bands */

  /* Layout: 1280px content width is set in Site chrome */
  --gutter: 24px;
  --section-pad:       96px;
  --section-pad-tight: 72px;
  --section-pad-close: 120px;
  --grid-card: 270px;
  --grid-pair: 440px;

  /* Shadow */
  --shadow-media: 0 1px 2px rgba(6, 7, 14, .16), 0 14px 30px rgba(6, 7, 14, .14);
  --shadow-hero:  0 30px 60px rgba(6, 7, 14, .35);

  /* Type */
  --caps-tracking: .08em;
  --display-size: clamp(2.25rem, 1rem + 3.4vw, 4rem);   /* brief: clamp(36px, 4.6vw, 64px) */
  --focus-ring: 3px solid var(--mauve);
}

/* ---- Type ----------------------------------------------------------------- */
.block-eyebrow {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: var(--caps-tracking);
  color: var(--grape-dark);
}

/* Display heading: put "display" in a block's CSS class field */
.display .block-heading {
  font-size: var(--display-size);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-inline-size: 18ch;
}

a { color: var(--grape-dark); }
a:hover { color: var(--ink); }

/* ---- Buttons -------------------------------------------------------------- */
/* Every button is a pill. Engine buttons are the cta--* links, the header
   actions, and the form's submit; all of them take the same shape. */
.cta--primary, .cta--secondary,
.site-header-cta,
.cms-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-block-size: 44px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

/* Primary: the main action in any section */
.cta--primary,
.site-header-cta--primary,
.cms-form button[type="submit"] {
  background: var(--grape);
  color: #fff;
}
.cta--primary:hover,
.site-header-cta--primary:hover,
.cms-form button[type="submit"]:hover {
  background: var(--grape-dark);
  color: #fff;
}

/* Secondary: supporting actions */
.cta--secondary,
.site-header-cta--secondary {
  background: transparent;
  border-color: var(--grape);
  color: var(--grape-deep);
}
.cta--secondary:hover,
.site-header-cta--secondary:hover {
  background: var(--magnolia);
  border-color: var(--grape);
  color: var(--grape-deep);
}

/* On dark: any primary inside a block or section with the class "on-dark",
   and the header's actions wherever the header sits on the hero. */
.on-dark .cta--primary,
.on-dark .site-header-cta--primary {
  background: #fff;
  color: var(--grape-deep);
}
.on-dark .cta--primary:hover,
.on-dark .site-header-cta--primary:hover {
  background: var(--thistle);
  color: var(--grape-deep);
}
.on-dark .cta--secondary,
.on-dark .site-header-cta--secondary {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}
.on-dark .cta--secondary:hover,
.on-dark .site-header-cta--secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* Quiet: low-priority actions, such as the form's "Attach a file" */
.cms-form input[type="file"]::file-selector-button {
  min-block-size: 44px;
  margin-inline-end: 12px;
  padding: 10px 20px;
  border: 1px solid var(--border-colour);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font: 600 .9375rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color var(--transition);
}
.cms-form input[type="file"]::file-selector-button:hover { background: var(--mist); }

/* Text link: "Shop all products", "Read them on Google" */
.cta--tertiary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  padding: 0;
  border-radius: 0;
  color: var(--grape-dark);
  font-weight: 600;
  text-decoration: none;
}
.cta--tertiary:hover { color: var(--ink); }
.on-dark .cta--tertiary { color: #fff; }
.on-dark .cta--tertiary:hover { color: var(--thistle); }

/* The arrow: always on text links, and on every button in a block or
   section with the class "has-arrows". Drawn with a mask, so it takes the
   text colour and is hidden from screen readers. */
.cta--tertiary::after,
.has-arrows :is(.cta--primary, .cta--secondary)::after {
  content: "";
  flex: none;
  inline-size: 1em;
  block-size: 1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5.5 15.5 10 11 14.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5.5 15.5 10 11 14.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transition);
}
.cta--tertiary:hover::after,
.has-arrows :is(.cta--primary, .cta--secondary):hover::after { transform: translateX(3px); }

/* Focus: one ring for every button and link */
:focus-visible,
.cta--primary:focus-visible, .cta--secondary:focus-visible, .cta--tertiary:focus-visible,
.site-header-cta:focus-visible,
.cms-form button:focus-visible,
.cms-form input[type="file"]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* Disabled: a flat colour, never reduced opacity */
.cms-form button:disabled,
[aria-disabled="true"]:is(.cta--primary, .cta--secondary, .site-header-cta) {
  background: var(--mist);
  border-color: var(--mist);
  color: var(--fineprint);
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Inputs --------------------------------------------------------------- */
.cms-form input:not([type="checkbox"], [type="radio"], [type="file"]),
.cms-form textarea,
.cms-form select {
  min-block-size: 44px;
  /* Not --border-colour: an input's edge needs 3:1 against white and the
     brand border is 1.7:1. Grape Deep at 55% is 3.5:1. */
  border: 1px solid color-mix(in srgb, var(--grape-deep) 55%, #fff);
  border-radius: var(--r-input);
  background: #fff;
  font-family: var(--font-body);
}
.cms-form input:focus, .cms-form textarea:focus, .cms-form select:focus { border-color: var(--grape); }

@media (prefers-reduced-motion: reduce) {
  .cta--tertiary::after,
  .has-arrows :is(.cta--primary, .cta--secondary)::after { transition: none; }
}

/* ---- Dark surfaces -------------------------------------------------------- */
/* "on-dark" on a section, block, or the header (Site chrome header class)
   turns text light; the buttons above already respond to it. */
.on-dark { color: #fff; }
.on-dark :is(h1, h2, h3, h4, .block-heading, .card-title) { color: #fff; }
.on-dark :is(.block-body, .card-body) { color: var(--thistle); }
.on-dark .block-eyebrow { color: var(--mauve); }
.on-dark a:not([class*="cta"]) { color: #fff; }
.on-dark a:not([class*="cta"]):hover { color: var(--thistle); }

/* ---- Header --------------------------------------------------------------- */
/* Night on every page, so it joins the hero's dark top without a seam. The
   header runs edge to edge as a full-width box; its contents sit in the same
   column as the page (the max() inset matches the blocks' width rule), with
   the page gutter as the minimum on narrow screens. Overrides base.css
   .site-header (inline-size, margin-inline) and .site-header--blocks
   (padding-inline). The old spread shadow + clip-path left a hairline at the
   header's bottom edge. */
.site-header {
  background: var(--night);
  position: relative;
  z-index: 10;
}
.site-header.site-header--blocks {
  inline-size: auto;
  margin-inline: 0;
  padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
}
.site-header--blocks { gap: var(--space-l); padding-block: 12px; }
.site-header .logo-block img { block-size: 2.25rem; }
.site-header .menu-block a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: #fff;
  font-weight: 500;
  font-size: .9375rem;
}
.site-header .menu-block a:hover { color: var(--thistle); }
.site-header .menu-toggle { inline-size: 44px; block-size: 44px; padding: 10px; }
/* The bars are spans with a height and no width (base.css), which collapsed
   to 0px wide, so the button was invisible on phones (fixed 2026-11-27).
   They fill the button's 24px content box. */
.site-header .menu-toggle span { inline-size: 100%; flex: none; background: #fff; }
.site-header .block--buttons { margin-inline-start: auto; }
.site-header .buttons-block { gap: 10px; }
/* Desktop (above base.css's 800px menu breakpoint): the menu centred in the
   header, the logo on the left and the Get a quote button on the right
   (2026-11-27). A three-column grid; the side columns share the space, so
   the menu sits in the middle of the page column. The section between the
   header and its blocks is display: contents (base.css), so the logo, menu,
   and buttons blocks are the grid's items. */
@media (min-width: 801px) {
  .site-header.site-header--blocks { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .block--logo { justify-self: start; }
  .site-header .block--menu { justify-self: center; }
  .site-header .block--buttons { justify-self: end; margin-inline-start: 0; }
}
.site-header .buttons-block :is(.cta--primary, .cta--secondary) { padding: 10px 20px; font-size: .9375rem; }
.site-header .menu-toggle:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 8px; }
/* Mobile header (below base.css's 800px menu breakpoint): one row, the logo
   on the left; the header button (Get a quote) and the menu button on the
   right, 12px apart. Until 2026-11-26 the menu block took a full row of its
   own (order 3, flex-basis 100%) and the buttons wrapped under the logo:
   three rows. The logo scales with the screen so the row fits, 22px to 32px
   high: the space left after the gutters, the menu button (44px), the
   button (--header-buttons, with a little to spare), and two gaps, divided
   by the logo's 5.33:1 width-to-height ratio. Since 2026-11-27 the one
   button is Get a quote (116px at this size; was Sign in and Cart). */
@media (max-width: 800px) {
  .site-header.site-header--blocks { --header-buttons: 120px; flex-wrap: nowrap; gap: 12px; }
  .site-header .block--logo { flex: 0 1 auto; min-inline-size: 0; margin-inline-end: auto; }
  .site-header .logo-block img {
    block-size: clamp(22px, calc((100vw - (var(--gutter) * 2) - 44px - 24px - var(--header-buttons)) / 5.333), 32px);
    inline-size: auto;
  }
  .site-header .block--buttons { order: 2; flex: none; margin-inline-start: 0; }
  .site-header .block--menu { order: 3; flex: none; }
  .site-header .buttons-block :is(.cta--primary, .cta--secondary) { padding: 8px 16px; font-size: .875rem; white-space: nowrap; }
  /* The open menu: a full-width panel under the header bar, over the page,
     with the page's own gutter. The nav stops being the positioning box so
     the panel spans the whole header (which is position: relative). */
  .site-header .menu-block { position: static; }
  .site-header .menu-block--inline > .menu-list {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    padding: 8px max(var(--gutter), (100% - var(--wrap)) / 2) 16px;
    border-block-start: 1px solid rgba(255, 255, 255, .12);
    background: var(--grape-deep);
    box-shadow: 0 24px 40px rgb(6 7 14 / .5);
  }
}
/* Menu button: the three bars (base.css .menu-toggle span, 2px apart by
   .3rem) turn into an X while the menu is open. Open is aria-expanded on
   menu.js's button, or the checked box before the label without script.
   The outer bars move to the middle one (2px + .3rem) and turn 45deg. */
.site-header .menu-toggle span { transition: transform .2s ease, opacity .2s ease; }
.site-header :is(.menu-toggle[aria-expanded="true"], .menu-toggle-input:checked + .menu-toggle) span:nth-child(1) { transform: translateY(calc(2px + .3rem)) rotate(45deg); }
.site-header :is(.menu-toggle[aria-expanded="true"], .menu-toggle-input:checked + .menu-toggle) span:nth-child(2) { opacity: 0; }
.site-header :is(.menu-toggle[aria-expanded="true"], .menu-toggle-input:checked + .menu-toggle) span:nth-child(3) { transform: translateY(calc(-2px - .3rem)) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .site-header .menu-toggle span { transition: none; }
}
/* Narrower than 360px: no room for the button; the menu and the homepage
   quote section still reach the form. The logo goes back to 32px. */
@media (max-width: 359px) {
  .site-header .block--buttons { display: none; }
  .site-header .logo-block img { block-size: 32px; }
}

/* ---- Hero ----------------------------------------------------------------- */
.qp-hero {
  background-color: var(--night);
  background-image: var(--sunburst);
  border-end-start-radius: var(--r-hero);
  border-end-end-radius: var(--r-hero);
  padding-block-end: clamp(48px, 7vw, 112px);
  overflow: hidden;
}
/* The engine removes the top padding of whatever block follows a section, so
   the space under the hero is set here and holds whichever section comes next. */
.qp-hero { margin-block-end: var(--section-pad-tight); }

/* Notice pill */
.notice-pill.block { padding-block: 24px 0; }
.notice-pill .block-body { margin-block-start: 0; }
.notice-pill p { margin: 0; }
.notice-pill a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}
.notice-pill a::before {
  content: "";
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--vanilla);
}
.notice-pill a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Copy on the left, a 4:3 image on the right; stacks on a phone. */
.qp-hero .block--hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 80px) 0;
}
.qp-hero .block--hero > * { inline-size: auto; margin-inline: 0; }
.qp-hero .hero-inner { display: block; }
.qp-hero .block-heading { max-inline-size: 14ch; }
.qp-hero .block-body { max-inline-size: 34rem; margin-block-start: 20px; font-size: 1.125rem; }
.qp-hero .hero-actions { margin-block-start: 32px; gap: 12px; }
.qp-hero .hero-media img {
  display: block;
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hero);
  background: var(--thistle);
}
/* A cut-out image (transparent background, its own shadow): add the class
   "hero-cutout" to the hero block. Shown whole, with no frame behind it. */
.qp-hero .hero-cutout .hero-media img {
  aspect-ratio: auto;
  block-size: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

/* ---- Cards (shared by reviews, products, services, industries) ----------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 28px;
  gap: 10px;
}
.card-title { font-size: var(--h4-size); font-weight: 600; letter-spacing: -0.01em; }
.card-body { font-size: 1rem; line-height: 1.55; }
.card-media { margin: -28px -28px 4px; }
.card-media img { border-radius: var(--r-md) var(--r-md) 0 0; }
.card-cta,
.qp-contact .contact-details a[href^="https://www.google.com/maps/"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  color: var(--grape-dark);
  font-weight: 600;
  text-decoration: none;
}
.card-cta::after,
.qp-contact .contact-details a[href^="https://www.google.com/maps/"]::after {
  content: "";
  inline-size: 1em;
  block-size: 1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5.5 15.5 10 11 14.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5.5 15.5 10 11 14.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transition);
}
.card-cta:hover,
.qp-contact .contact-details a[href^="https://www.google.com/maps/"]:hover { color: var(--ink); }
.card-cta:hover::after,
.qp-contact .contact-details a[href^="https://www.google.com/maps/"]:hover::after { transform: translateX(3px); }
/* The contact page's "Get directions" link takes the card link's arrow, a size smaller. */
.qp-contact .contact-details a[href^="https://www.google.com/maps/"] { font-size: .9375rem; }

/* ---- Google reviews ------------------------------------------------------- */
/* Direction D: a magnolia band. Summary, then heading on the left; the
   Reviews from Google link as an outline button on the right; cards below.
   .reviews is display: contents so its summary, list, and source link join
   the block's grid next to the header. Google's terms (designer guide):
   .reviews-source stays visible and .review-text is never shortened.
   The selector matches base.css's ".sw-section + .sw-section > .block:first-child"
   in specificity so the band keeps its top padding. */
.sw-section > .block.block--reviews.qp-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow source"
    "summary source"
    "heading source"
    "body    source"
    "list    list"
    "nav     nav";
  column-gap: 32px;
  align-items: end;
  padding-block: var(--section-pad);
  padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  background: var(--magnolia);
}
/* Directly after the hero, the band tucks up behind the hero's curved bottom:
   its negative margin cancels the hero's margin-block-end and rises by the
   corner radius, and the extra top padding keeps the content clear of the
   curve. Only this hero + reviews pairing changes; a hero followed by
   anything else keeps its margin. The hero is raised (z-index 1, below the
   header's 10) so it paints over the band's background. */
.qp-hero { position: relative; z-index: 1; }
.qp-hero + .sw-section > .block.block--reviews.qp-reviews:first-child {
  margin-block-start: calc(-1 * (var(--section-pad-tight) + var(--r-hero)));
  padding-block-start: calc(var(--section-pad) + var(--r-hero));
}
.qp-reviews.block > * { inline-size: auto; margin-inline: 0; }
.qp-reviews .reviews { display: contents; }
.qp-reviews .block-eyebrow { grid-area: eyebrow; }
.qp-reviews .block-heading { grid-area: heading; margin-block-start: 12px; }
/* The filter notice (the block's body): how the reviews shown were chosen. */
.qp-reviews .block-body { grid-area: body; margin-block-start: 8px; color: var(--body); }
.qp-reviews .block-body p { margin: 0; }

/* Summary: Google's own figures as given; no stars drawn from the average. */
.qp-reviews .reviews-summary {
  grid-area: summary;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
}
.qp-reviews .reviews-rating { font-size: var(--display-size); font-weight: 700; line-height: 1; color: var(--grape-deep); }
/* A decorative row of five stars after Google's rating figure: an empty
   ::after, so screen readers still read "5 out of 5". One star mask repeated
   across five .55em slots, each star .5em tall; the square star centres in
   each slot, so the slots make the gaps and the row reads as one group.
   The row sits on the text baseline: flex-end puts it at the bottom of the
   line box (line-height 1), and margin-block-end .1em lifts the stars'
   bottom from there onto the numeral's baseline. Fixed at five, not drawn
   from the average: if the rating ever drops below 5, revisit this.
   inline-flex keeps the numeral's baseline as the span's baseline, so the
   count beside it stays on the same line; .reviews-summary already wraps
   (row gap 4px), so on a narrow phone the count drops under the stars
   rather than the stars shrinking. Same purple as the card stars. */
.qp-reviews .reviews-rating { display: inline-flex; align-items: flex-end; gap: .16em; }
.qp-reviews .reviews-rating::after {
  content: "";
  inline-size: 2.75em;
  block-size: .5em;
  margin-block-end: .1em;
  background: var(--grape);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 6.1 6.71.86-4.93 4.63 1.25 6.65L12 17.5l-5.97 3.24 1.25-6.65-4.93-4.63 6.71-.86z'/%3E%3C/svg%3E") left center / .55em .5em repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 6.1 6.71.86-4.93 4.63 1.25 6.65L12 17.5l-5.97 3.24 1.25-6.65-4.93-4.63 6.71-.86z'/%3E%3C/svg%3E") left center / .55em .5em repeat-x;
  transform: none;
}
.qp-reviews .reviews-out-of {   /* visually hidden; screen readers still hear "out of 5" */
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.qp-reviews .reviews-count { color: var(--body); font-weight: 600; }
.qp-reviews .reviews-count::after { content: " on Google"; }

/* Reviews from Google: the outline button (same look as .cta--secondary). */
.qp-reviews .reviews-source { grid-area: source; align-self: end; margin: 0; font-size: 1rem; }
.qp-reviews .reviews-source a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  padding: 13px 24px;
  border: 2px solid var(--grape);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--grape-deep);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.qp-reviews .reviews-source a:hover { background: #fff; color: var(--grape-deep); }

/* Carousel: one row that scrolls sideways and snaps to each card, with no
   script needed. One card and a peek of the next on a phone, about 3.2 on
   desktop. site.js adds Previous/Next, dots, and keyboard focus on top;
   until it runs (or without it) the scrollbar is the control. */
.qp-reviews .reviews-list {
  --reviews-gap: 16px;
  --reviews-peek: 24px;            /* how much of the next card shows on a phone */
  grid-area: list;
  /* Positioned so the cards' absolutely positioned .sr-only spans (the
     star rating's text) are contained and clipped by the list's scroll box.
     Unpositioned, they escaped to the page and widened it on a phone. */
  position: relative;
  min-inline-size: 0;
  margin-block-start: 40px;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  /* One card per view on a phone, at the full width less the peek. */
  grid-auto-columns: calc(100% - var(--reviews-gap) - var(--reviews-peek));
  align-items: stretch;            /* every card in the row the same height */
  gap: var(--reviews-gap);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block-end: 12px;          /* room for the scrollbar under the cards */
  scrollbar-width: thin;
  scrollbar-color: var(--wisteria) transparent;
}
@media (min-width: 721px) {
  .qp-reviews .reviews-list { --reviews-gap: 20px; grid-auto-columns: calc((100% - 3 * var(--reviews-gap)) / 3.2); }
}
@media (prefers-reduced-motion: reduce) {
  .qp-reviews .reviews-list { scroll-behavior: auto; }
}
.qp-reviews .reviews-list:focus-visible { outline: var(--focus-ring); outline-offset: 4px; }
.qp-reviews .review { scroll-snap-align: start; }
/* With site.js's controls in place, the scrollbar is redundant. */
.qp-reviews .reviews-list.is-enhanced { scrollbar-width: none; padding-block-end: 0; }
.qp-reviews .reviews-list.is-enhanced::-webkit-scrollbar { display: none; }

/* Edge fades, only where a card is actually cut off: site.js sets
   .is-cut-start / .is-cut-end when a card straddles the left / right edge of
   the view (in practice: the right edge until the end, the left edge at the
   end). The mask is always on; the fade widths are registered lengths so
   they animate in and out. A mask is clipped to the list's border box, so
   the enhanced list gets 6px of padding above and below (cancelled by its
   margins, so nothing moves) and draws its focus ring inside that padding,
   where the mask keeps it whole along the top and bottom. */
@property --fade-start { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fade-end   { syntax: "<length>"; inherits: false; initial-value: 0px; }
.qp-reviews .reviews-list.is-enhanced {
  --reviews-fade: 96px;
  padding-block: 6px;
  margin-block: 34px -6px;          /* 40px above, as before; the 6px below is cancelled */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
  transition: --fade-start .25s ease, --fade-end .25s ease;
}
@media (max-width: 799px) {
  .qp-reviews .reviews-list.is-enhanced { --reviews-fade: 48px; }
}
.qp-reviews .reviews-list.is-enhanced:focus-visible { outline-offset: -3px; }
.qp-reviews .reviews-list.is-cut-start { --fade-start: var(--reviews-fade); }
.qp-reviews .reviews-list.is-cut-end { --fade-end: var(--reviews-fade); }

/* Carousel controls, added by site.js only (direction D, on a light band):
   one row under the cards, dots at the row's left edge, Previous and Next
   at its right edge. */
.qp-reviews .reviews-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-start: 24px;
}
.qp-reviews .reviews-nav[hidden] { display: none; }
.qp-reviews .reviews-arrows { display: flex; gap: 12px; }
.qp-reviews .reviews-nav-btn {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid var(--wisteria);
  border-radius: 50%;
  background: transparent;
  color: var(--grape-deep);
  cursor: pointer;
  transition: background-color var(--transition), opacity var(--transition);
}
.qp-reviews .reviews-nav-btn svg { display: block; }
.qp-reviews .reviews-nav-btn:hover:not(:disabled) { background: #fff; }
.qp-reviews .reviews-nav-btn:disabled { opacity: .35; cursor: default; }
.qp-reviews .reviews-nav-btn:focus-visible,
.qp-reviews .reviews-dot:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
/* Dots: 12px rounds; the active one is a 36px pill. Each keeps a 24px tap target. */
.qp-reviews .reviews-dots { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.qp-reviews .reviews-dot {
  display: grid;
  place-items: center;
  min-inline-size: 24px;
  block-size: 24px;
  padding: 0 6px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
}
.qp-reviews .reviews-dot::before {
  content: "";
  inline-size: 12px;
  block-size: 12px;
  border-radius: var(--r-pill);
  background: var(--wisteria);
  transition: inline-size .25s ease, background-color .25s ease;
}
.qp-reviews .reviews-dot[aria-current="true"]::before { inline-size: 36px; background: var(--grape); }
@media (prefers-reduced-motion: reduce) {
  .qp-reviews .reviews-list.is-enhanced,
  .qp-reviews .reviews-nav-btn,
  .qp-reviews .reviews-dot::before { transition: none; }
}

/* Cards: stars, text, Read more (site.js), then avatar beside name and date.
   The "more" row takes the spare height, so the author and date sit at the
   bottom of every card and there is always at least 24px above them. */
.qp-reviews .review {
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto minmax(24px, 1fr) auto auto;
  grid-template-areas:
    "stars   stars"
    "text    text"
    "more    more"
    "avatar  author"
    "avatar  date";
  column-gap: 12px;
  padding: 28px;
  border-radius: var(--r-md);
  background: #fff;
}
.qp-reviews .review-stars { grid-area: stars; color: var(--grape); }
.qp-reviews .review-text { grid-area: text; align-self: start; margin: 12px 0 0; }

/* DEVIATION from designer-guide rule 9 ("review text is never shortened"),
   2026-11-18, pending Scott (dev-requests #7). Long reviews are clamped to
   six lines so the cards in a row share one height. Only when site.js has
   marked the list .is-clampable, so without the script nothing is clamped.
   The full text stays in the DOM, unaltered, and screen readers read all
   of it; "Read more" (a real button) lifts the clamp on that card. */
.qp-reviews .reviews-list.is-clampable .review-text:not(.is-expanded) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.qp-reviews .review-more {
  grid-area: more;
  align-self: start;
  justify-self: start;
  min-block-size: 24px;
  margin-block: 8px 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--grape-dark);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.qp-reviews .review-more:hover { color: var(--ink); }
.qp-reviews .review-more:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
/* The area is "avatar", not "initial": `grid-area: initial` is the CSS-wide
   keyword, which auto-placed the circle into the first empty cell (above
   the name on cards without Read more). */
.qp-reviews .review-initial { grid-area: avatar; align-self: center; color: var(--grape-deep); }
.qp-reviews .review:nth-child(3n+1) .review-initial { background: var(--butter); }
.qp-reviews .review:nth-child(3n+2) .review-initial { background: var(--sky); }
.qp-reviews .review:nth-child(3n) .review-initial { background: var(--lavender); }
.qp-reviews .review-author { grid-area: author; align-self: end; }
.qp-reviews .review-date { grid-area: date; align-self: start; }
.qp-reviews .review-date::after { content: " · Google"; }

@media (max-width: 720px) {
  .sw-section > .block.block--reviews.qp-reviews {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "summary" "heading" "body" "source" "list" "nav";
  }
  .qp-reviews .reviews-source { justify-self: start; margin-block-start: 24px; }
}

/* ---- Popular products: one row that scrolls sideways ---------------------- */
.qp-products .grid > * { flex-basis: clamp(220px, 22%, 280px); }

/* ---- Services ------------------------------------------------------------- */
.qp-services.block { padding-block: var(--section-pad); }
/* base.css's ".sw-section + .sw-section > .block:first-child" zeroes the top
   padding of a section's first block, which put the eyebrow against the
   bottom of the reviews band. Same specificity, later, so this wins. */
.sw-section + .sw-section > .qp-services.block { padding-block-start: var(--section-pad); }
.qp-services .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-card)), 1fr)); }
.qp-services .card { background: var(--mist); border-color: var(--line); }
/* Icon tile at the top of each service card, matched by the card's link so
   it does not depend on card order. Each card sets only its icon; the tile
   rule below lists the same links, so a card with no matching link gets no
   tile (CSS cannot select "has --icon set"). Every tile is mauve. The card
   is a flex column (base.css .card), so align-self keeps the tile 56px wide
   at the start instead of stretching. */
:is(.qp-services, .qp-related) .card:has(.card-cta[href$="/services#variable-data"])  { --icon: url("/assets/img/icons/qp-icon-variable-data.svg"); }
:is(.qp-services, .qp-related) .card:has(.card-cta[href$="/services#mailing"])        { --icon: url("/assets/img/icons/qp-icon-mailing.svg"); }
:is(.qp-services, .qp-related) .card:has(.card-cta[href$="/services#copy-and-print"]) { --icon: url("/assets/img/icons/qp-icon-copy-print.svg"); }
:is(.qp-services, .qp-related) .card:has(.card-cta[href$="/services#graphic-design"]) { --icon: url("/assets/img/icons/qp-icon-graphic-design.svg"); }
:is(.qp-services, .qp-related) .card:has(.card-cta:is(
  [href$="/services#variable-data"],
  [href$="/services#mailing"],
  [href$="/services#copy-and-print"],
  [href$="/services#graphic-design"]
))::before {
  content: "";
  flex: none;
  align-self: flex-start;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 16px;
  margin-block-end: 10px;           /* plus the card's 10px gap: 20px to the title */
  background: var(--mauve) var(--icon) center / 30px no-repeat;
}
/* The Explore links line up along the bottom of every card. */
.qp-services .card-cta { margin-block-start: auto; }

/* ---- Our Peeps ------------------------------------------------------------ */
.qp-peeps {
  background-color: var(--night);
  background-image: var(--sunburst-top);
  padding-block: var(--section-pad);
}
.qp-peeps .block { padding-block: 0; }
.qp-peeps .block-body { max-inline-size: 40rem; }
.qp-peeps .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.qp-peeps .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}
/* The swatch: decorative, a flat fill in the industry's own 2026 pastel.
   Colour follows the industry, not the card's position, so it is keyed on
   the card's link (the collection grid template is engine-owned and emits
   no slug). --industry-pastel / --industry-deep sit on the card for reuse
   (deep is for text or icons on industry pages); an industry with no pair
   below falls back to the core brand. */
.qp-peeps .card { --industry-pastel: var(--thistle); --industry-deep: var(--grape); }
.qp-peeps .card:has(a[href$="/industries/real-estate"])      { --industry-pastel: var(--pistachio); --industry-deep: var(--fern); }
.qp-peeps .card:has(a[href$="/industries/restaurants-and-cafes"]) { --industry-pastel: var(--peach);     --industry-deep: var(--rust); }
.qp-peeps .card:has(a[href$="/industries/health-and-wellness"]) { --industry-pastel: var(--seafoam);   --industry-deep: var(--spruce); }
.qp-peeps .card:has(a[href$="/industries/event-planners"])   { --industry-pastel: var(--rose);      --industry-deep: var(--raspberry); }
.qp-peeps .card:has(a[href$="/industries/tourism"])          { --industry-pastel: var(--sky);       --industry-deep: var(--harbour); }
.qp-peeps .card:has(a[href$="/industries/non-profits"])      { --industry-pastel: var(--lavender);  --industry-deep: var(--indigo-2026); }
.qp-peeps .card:has(a[href$="/industries/home-services"])    { --industry-pastel: var(--butter);    --industry-deep: var(--ochre); }
.qp-peeps .card:has(a[href$="/industries/arts-and-culture"]) { --industry-pastel: var(--orchid);    --industry-deep: var(--plum); }
.qp-peeps .card::before {
  content: "";
  inline-size: 44px;
  block-size: 44px;
  margin-block-end: 6px;
  border-radius: var(--r-sm);
  background: var(--industry-pastel);
}
.qp-peeps .card-body { font-size: .9375rem; }
.qp-peeps .card-cta { color: #fff; }
.qp-peeps .card-cta:hover { color: var(--thistle); }

/* ---- Quote and contact panels --------------------------------------------- */
/* One magnolia panel, two structures: the home page's quote form is a single
   form block (.qp-quote: heading and body on the left, form on the right),
   and /contact/ is a two-column section of two blocks (.qp-contact:
   .contact-details, then .contact-form). Shared values live in --panel-pad
   and --panel-gap so the two stay in sync. */
.qp-quote.block,
.sw-section.qp-contact {
  --panel-pad: clamp(28px, 5vw, 64px);
  --panel-gap: clamp(40px, 5vw, 72px);
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin: var(--section-pad) auto;
  padding: var(--panel-pad);
  border-radius: var(--r-xl);
  background: var(--magnolia);
}
/* base.css removes the top padding of a block that follows another section;
   this matches that selector's specificity so the quote panel keeps it. */
.sw-section > .block.block--form.qp-quote { padding-block-start: var(--panel-pad); }
/* /#quote lands with the panel's top edge clear of the viewport edge. */
#quote { scroll-margin-top: 24px; }
.qp-quote.block > * { inline-size: auto; max-inline-size: none; margin-inline: 0; }

/* Left column: the quote panel's heading and body, and the contact details. */
:is(.qp-quote, .qp-contact .contact-details, .qp-newsletter) .block-body { color: var(--body); }
:is(.qp-quote, .qp-contact .contact-details) .block-body a { font-weight: 600; }
.qp-contact .contact-details .block-body { margin-block-start: var(--space-s); }

/* Forms: the same grid and labels in both panels; no card behind them. */
:is(.qp-quote, .qp-contact, .qp-newsletter) .cms-form { max-inline-size: none; margin-block-start: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
:is(.qp-quote, .qp-contact, .qp-newsletter) .cms-form .field > span { color: var(--ink); font-weight: 500; font-size: .9375rem; }
.qp-quote .cms-form :is(.field--what_you_need, .field--name, .field--email, button) { grid-column: 1 / -1; }
.qp-contact .cms-form :is(.field--email, .field--message, button) { grid-column: 1 / -1; }
.qp-contact .contact-form .block-heading + .cms-form { margin-block-start: var(--space-m); }

/* Contact panel columns: stacked (details, then form) until 900px. */
.sw-section.qp-contact { grid-template-columns: minmax(0, 1fr); gap: var(--panel-gap); }
@media (min-width: 900px) {
  .qp-quote.block { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: var(--panel-gap); }
  .qp-quote .block-heading { grid-column: 1; grid-row: 1; }
  .qp-quote .block-body { grid-column: 1; grid-row: 2; }
  .qp-quote :is(.cms-form, .form-success, .form-error) { grid-column: 2; grid-row: 1 / span 2; }
  .qp-quote .cms-form .field--name { grid-column: auto; }
  .qp-quote .cms-form .field--email { grid-column: auto; }
  .sw-section.qp-contact { grid-template-columns: 5fr 7fr; column-gap: var(--panel-gap); }
}

/* ---- Closing heading and feature rows ------------------------------------ */
.qp-features.block { padding-block: var(--section-pad-close) var(--section-pad); }
.qp-features .block-body { font-size: 1.25rem; color: var(--body); }
.qp-features .grid { grid-template-columns: 1fr; gap: clamp(48px, 7vw, 96px); margin-block-start: clamp(48px, 6vw, 80px); }
.qp-features .card {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  text-align: start;
}
/* The visual: an image when one is set, a tinted panel until then. Tints run
   vanilla, uranian, wisteria, each fading to white. The images are
   transparent 4:3 artwork made to sit straight on the tint: no padding,
   frame, or shadow. */
.qp-features .card { --tint: var(--vanilla); }
.qp-features .card:nth-child(3n + 2) { --tint: var(--uranian); }
.qp-features .card:nth-child(3n + 3) { --tint: var(--wisteria); }
.qp-features .card-media,
.qp-features .card:not(:has(.card-media))::before {
  margin: 0 0 12px;
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--tint), #fff 85%);
}
.qp-features .card-media { padding: 0; overflow: hidden; }
.qp-features .card:not(:has(.card-media))::before { content: ""; aspect-ratio: 4 / 3; }
.qp-features .card-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 0; box-shadow: none; }
.qp-features .card-title { font-size: var(--h3-size); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.qp-features .card-body { font-size: 1.125rem; color: var(--body); max-inline-size: 32rem; }
.qp-features .card-cta { justify-self: start; margin-block-start: 12px; }
@media (min-width: 900px) {
  .qp-features .card {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: clamp(40px, 6vw, 96px);
  }
  .qp-features .card-media,
  .qp-features .card:not(:has(.card-media))::before { grid-column: 1; grid-row: 1 / -1; margin: 0; }
  .qp-features .card > :not(.card-media) { grid-column: 2; }
  .qp-features .card-title { grid-row: 2; }
  .qp-features .card-body { grid-row: 3; }
  .qp-features .card-cta { grid-row: 4; }
  /* Alternate: the visual moves right on every second row. */
  .qp-features .card:nth-child(even) .card-media,
  .qp-features .card:nth-child(even):not(:has(.card-media))::before { grid-column: 2; }
  .qp-features .card:nth-child(even) > :not(.card-media) { grid-column: 1; }
}

/* ---- Footer (Footer C: sunburst, Nick's design, 2026-11-27) --------------
   The footer region (Header & Footer, Footer) holds three sections:
   .qp-newsletter-band (the newsletter form block, #newsletter), .footer-main
   (brand, Visit us, and the "Get in touch" and "Explore" menus), and
   .footer-bar (copyright with the Privacy Policy link, and the Boom12
   credit). The engine's own lower footer is off in Site chrome, because its
   copyright line cannot hold a link; the classic legal line it prints
   instead is hidden here, as the bar repeats it. */
.site-footer {
  margin-block-start: 0;
  border: 0;
  background: var(--night);
  color: #C9BCDD;               /* Nick's footer text; 9.6:1 on --night */
}
.site-footer .footer-blocks { border: 0; padding-block: 0; }
.site-footer .footer-legal { display: none; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--vanilla); }
.site-footer :is(a, input, button):focus-visible { outline: 3px solid var(--vanilla); outline-offset: 2px; }

/* Newsletter band: the homepage hero's sunburst, full width, bottom corners
   rounded like the hero. Centred copy up to about 1040px. */
.footer-blocks > .sw-section.qp-newsletter-band {
  padding: 0;
  background-color: var(--night);
  background-image: radial-gradient(ellipse 70% 90% at 50% 120%, var(--glow) 0%, var(--grape) 24%, var(--night-mid) 48%, var(--night) 80%);
  border-radius: 0 0 var(--r-hero) var(--r-hero);
}
.footer-blocks .qp-newsletter-band > .qp-newsletter.block {
  display: block;
  inline-size: min(100% - (var(--gutter) * 2), 1040px);
  margin-inline: auto;
  padding: clamp(72px, 8vw, 112px) 0 clamp(80px, 8.5vw, 120px);
  border-radius: 0;
  background: none;
  color: #fff;
  text-align: center;
}
.qp-newsletter.block > * { inline-size: auto; max-inline-size: none; margin-inline: 0; }
.qp-newsletter .block-eyebrow {
  margin: 0 0 18px;
  color: var(--wisteria);
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.qp-newsletter .block-heading {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 1rem + 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.qp-newsletter .block-heading .qp-accent { color: var(--vanilla); }
.footer-blocks .qp-newsletter .block-body {
  max-inline-size: none;
  margin: 22px auto 0;
  color: #E4DAF3;
  font-size: 1.125rem;
  line-height: 1.6;
}
.qp-newsletter .block-body p { margin: 0; }
/* Two lines on desktop, breaking after "print order."; normal wrapping below. */
@media (min-width: 900px) { .qp-newsletter .block-body .qp-line { display: block; } }

/* The form: the newsletter form as it was (fields, consent, Turnstile,
   messages); only the layout and look change. Stacked below 900px; from
   900px First name, Last name, Email (a little wider), and Subscribe in one
   row, the consent box centred below. Tab order stays the form's own
   (fields, consent, button). */
.footer-blocks .qp-newsletter .cms-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-inline-size: 640px;
  margin: 40px auto 0;
  text-align: start;
}
.footer-blocks .qp-newsletter .cms-form > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footer-blocks .qp-newsletter .cms-form {
    grid-template-columns: 1fr 1fr 1.5fr auto;
    column-gap: 12px;
    row-gap: 16px;
    align-items: end;
    max-inline-size: none;
  }
  .footer-blocks .qp-newsletter .cms-form .field--first_name { grid-column: 1; grid-row: 1; }
  .footer-blocks .qp-newsletter .cms-form .field--last_name  { grid-column: 2; grid-row: 1; }
  .footer-blocks .qp-newsletter .cms-form .field--email      { grid-column: 3; grid-row: 1; }
  .footer-blocks .qp-newsletter .cms-form button[type="submit"] { grid-column: 4; grid-row: 1; }
  .footer-blocks .qp-newsletter .cms-form .field--consent    { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .footer-blocks .qp-newsletter .cms-form .cf-turnstile      { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
}
.footer-blocks .qp-newsletter .cms-form .field > span { color: var(--magnolia); font-size: .875rem; font-weight: 500; }
.footer-blocks .qp-newsletter .cms-form .field-required { color: var(--mauve); }
/* Pill inputs. The edge is white at 55%, over 3:1 on the band; Nick's 30%
   is about 2:1. */
.footer-blocks .qp-newsletter .cms-form input:not([type="checkbox"], [type="radio"], [type="file"]) {
  min-block-size: 52px;
  padding: 14px 20px;
  border: 1px solid rgb(255 255 255 / .55);
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .1);
  color: #fff;
  font-size: 1rem;
}
.footer-blocks .qp-newsletter .cms-form input:focus { border-color: #fff; }
.footer-blocks .qp-newsletter .cms-form .field--consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E4DAF3;
  font-size: .875rem;
}
.footer-blocks .qp-newsletter .cms-form .field--consent span { color: #E4DAF3; font-weight: 400; }
.footer-blocks .qp-newsletter .cms-form .field--consent input { flex: none; inline-size: 20px; block-size: 20px; margin: 0; accent-color: var(--vanilla); }
.footer-blocks .qp-newsletter .cms-form button[type="submit"] {
  justify-self: center;
  min-block-size: 52px;
  padding: 15px 28px;
  background: #fff;
  color: var(--grape-deep);
  font-weight: 700;
  white-space: nowrap;
}
.footer-blocks .qp-newsletter .cms-form button[type="submit"]:hover { background: var(--thistle); color: var(--grape-deep); }
@media (max-width: 599px) {
  .footer-blocks .qp-newsletter .cms-form button[type="submit"] { justify-self: stretch; }
}
.qp-newsletter :is(.form-success, .form-error) { margin: 32px auto 0; color: #fff; font-weight: 600; }
/* After a submit the page reloads at the top; site.js scrolls back here. */
#newsletter { scroll-margin-top: 24px; }

/* Lower footer: four columns from 1024px, two from 600px, one on a phone. */
.footer-blocks > .sw-section.footer-main {
  grid-template-columns: minmax(0, 1fr);
  gap: 48px 40px;
  padding-block: 88px 72px;
  font-size: 1rem;
  line-height: 1.7;
}
@media (min-width: 600px) { .footer-blocks > .sw-section.footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-blocks > .sw-section.footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-main .block-body { margin: 0; color: inherit; }
.footer-main .block-body p { margin: 0; }
.footer-main .block-body p + p { margin-block-start: 14px; }
/* Column headings: small capitals in wisteria (the menus' and Visit us). */
.footer-main :is(.menu-block-heading, .footer-heading) {
  margin: 0 0 12px;
  color: var(--wisteria);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer-main .footer-heading + p { margin-block-start: 0; }
.footer-main .menu-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-main .menu-block a { display: inline-flex; align-items: center; min-block-size: 27px; color: #fff; text-decoration: none; }
.footer-main .menu-block a:hover { color: var(--vanilla); }
/* Brand: the site's logo (the header's file), a third larger than before
   (36px to 48px), the line under it, then the profile links. */
.site-footer .footer-brand .logo-block img { block-size: 48px; inline-size: auto; }
.footer-brand .footer-tagline .block-body { max-inline-size: 16em; margin-block-start: 16px; }
/* Profile links (Branding, Identity): Instagram, Facebook, and LinkedIn as
   44px round outline icons. The block prints the names (no icon font), so
   each name is hidden visually and stays the link's name for screen
   readers; the icon is a mask over the link's colour. A row with no link in
   Identity is not printed, so its icon does not show. The glyphs are Font
   Awesome Free 6.5.2 brand icons (instagram, facebook-f, linkedin-in; CC BY
   4.0, credit kept in each file) saved as local files, so no kit, font, or
   outside script loads (2026-11-27; were line drawings from Nick's design). */
.footer-social .profile-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.footer-social .profile-item a {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid rgb(255 255 255 / .28);
  border-radius: 50%;
  color: #fff;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.footer-social .profile-item a::before {
  content: "";
  inline-size: 20px;
  block-size: 20px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.footer-social .profile-item--instagram a { --icon: url("/assets/img/icons/qp-social-instagram.svg"); }
.footer-social .profile-item--facebook a  { --icon: url("/assets/img/icons/qp-social-facebook.svg"); }
.footer-social .profile-item--linkedin a  { --icon: url("/assets/img/icons/qp-social-linkedin.svg"); }
.footer-social .profile-name {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Hover: white (2026-11-27; was --vanilla in Nick's design). */
.footer-social .profile-item a:hover { background: #fff; border-color: #fff; color: var(--night); }
@media (prefers-reduced-motion: reduce) { .footer-social .profile-item a { transition: none; } }

/* Bottom bar: a thin rule across the full width, copyright left, credit right. */
.footer-blocks > .sw-section.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  inline-size: auto;
  margin: 0;
  padding-block: 22px;
  padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  border-block-start: 1px solid rgb(255 255 255 / .12);
  font-size: .875rem;
}
.footer-bar .block-body { margin: 0; color: inherit; }
.footer-bar .block-body p { margin: 0; }

/* ---- Price tables (Services page) ----------------------------------------- */
/* Hand-written HTML tables inside rich-text blocks (.qp-service), each in a
   focusable, labelled region that scrolls sideways when the table is wider
   than the screen, so the page itself never does. Prices never wrap; the
   one-side and two-side prices stack in their cell with small labels. */
.qp-price-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  /* Right-edge fade while the table can scroll further (site.js sets
     .is-cut-end). The mask is always on and the fade width animates; the
     last stop sits just past the edge so nothing fades when it is 0. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade-end)), rgb(0 0 0 / .2) calc(100% + 1px));
          mask-image: linear-gradient(to right, #000 calc(100% - var(--fade-end)), rgb(0 0 0 / .2) calc(100% + 1px));
  transition: --fade-end .25s ease;
}
.qp-price-table.is-cut-end { --fade-end: 48px; }
/* Inside the box: a mask clips anything drawn outside it, focus ring included. */
.qp-price-table:focus-visible { outline: var(--focus-ring); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  .qp-price-table { transition: none; }
}
.qp-price-table table { inline-size: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.qp-price-table caption {
  padding: 16px 20px 12px;
  text-align: start;
  font-weight: 600;
  color: var(--ink);
}
.qp-price-table :is(th, td) {
  padding: 12px 20px;
  border-block-start: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.qp-price-table thead th { background: var(--magnolia); font-size: .875rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.qp-price-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.qp-price-table td { color: var(--body); }
.qp-price-table .qp-size { display: block; font-weight: 400; color: var(--body); }
.qp-price-table .qp-price { display: block; white-space: nowrap; color: var(--ink); }
.qp-price-table .qp-price + .qp-price { margin-block-start: 2px; }
.qp-price-table .qp-price small { font-size: .8125rem; color: var(--body); }
.qp-price-note { font-size: .9375rem; color: var(--body); }

/* Width: a service block that holds price tables uses the full content
   column (--wrap, from base.css's .block > *), not .prose's --measure; its
   intro paragraphs stay at --measure. Services page blocks only. */
.qp-service:has(.qp-price-table) > .block-body.prose { max-inline-size: none; }
.qp-service > .block-body > p { max-inline-size: var(--measure); }

/* The two-column price lists (Finishing, Graphic design &
   scanning): one shared split, the name column 40%, and the box capped at
   760px so a short list doesn't stretch across the page. A fixed layout
   makes the 40% exact, whatever each table's longest entry. The copy &
   print pair keeps its own widths. */
.qp-service:is(#finishing, #graphic-design) .qp-price-table { max-inline-size: 760px; }
.qp-service:is(#finishing, #graphic-design) .qp-price-table table { table-layout: fixed; }
.qp-service:is(#finishing, #graphic-design) .qp-price-table thead th:first-child { inline-size: 40%; }
/* With a fixed layout a name that cannot wrap spills into the price column
   on a phone (40% of 342px is about 137px). */
.qp-service:is(#finishing, #graphic-design) .qp-price-table :is(tbody th, td) { white-space: normal; overflow-wrap: anywhere; }

/* Canada Post mailing (#mailing): intro, two cards, the service list, the
   Plan a mailing button, then the trademark line. Blocks in one section,
   so the engine's 96px block rhythm is tightened between them. */
.block.qp-mailing-part { padding-block-end: 32px; }
.qp-mailing-cards .card { background: var(--mist); border-color: var(--line); }
.qp-mailing-cards .card-body p { margin: 0; }
.qp-mailing-cards .card-body p + p { margin-block-start: 8px; }
.qp-mailing-cards .qp-card-lead { color: var(--ink); font-weight: 600; }
/* An h3 inside a rich-text body takes the engine's h3 size, which this site
   sets as large as h2; sized here like the card titles above it. */
.qp-mailing-list h3 { font-size: var(--h4-size); font-weight: 600; letter-spacing: -0.01em; }
.block.qp-mailing-actions { padding-block-end: 24px; }
.qp-mailing-fineprint small { font-size: .8125rem; color: var(--body); }

/* Copy & print: black and white and colour side by side from 1100px, the
   per-sheet note under both; stacked below. */
.qp-price-pair { display: grid; gap: 24px; }
.qp-price-pair .qp-price-note { margin: 0; }
@media (min-width: 1100px) {
  .qp-price-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qp-price-pair .qp-price-note { grid-column: 1 / -1; }
}

/* The Request a quote button under a service's table or text. It is the
   next block in the same section, and the block above keeps its own bottom
   padding (base.css .block, var(--space-block), up to 96px); the negative
   margin takes that back so the gap is 24px. */
.block.qp-service-actions {
  padding-block-start: 24px;
  margin-block-start: calc(-1 * var(--space-block));
}

/* Icon tiles before the service headings, the same tile as the homepage
   Services cards; decorative (a ::before, no text). The heading becomes a
   row: tile, 16px, then the text, the tile centred on the first line. */
.qp-service#copy-and-print { --icon: url("/assets/img/icons/qp-icon-copy-print.svg"); }
.qp-service#variable-data  { --icon: url("/assets/img/icons/qp-icon-variable-data.svg"); }
.qp-service#mailing        { --icon: url("/assets/img/icons/qp-icon-mailing.svg"); }
.qp-service#graphic-design { --icon: url("/assets/img/icons/qp-icon-graphic-design.svg"); }
.qp-service:is(#copy-and-print, #variable-data, #mailing, #graphic-design) > .block-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-inline-size: none;  /* base.css's 22ch cap would count the tile and wrap "Graphic design & scanning" on desktop */
}
.qp-service:is(#copy-and-print, #variable-data, #mailing, #graphic-design) > .block-heading::before {
  content: "";
  flex: none;
  inline-size: 56px;
  block-size: 56px;
  margin-block-start: calc((1lh - 56px) / 2);
  border-radius: 16px;
  background: var(--mauve) var(--icon) center / 30px no-repeat;
}
/* A small phone: a smaller tile, so a two-line heading keeps its width. */
@media (max-width: 479px) {
  .qp-service:is(#copy-and-print, #variable-data, #mailing, #graphic-design) > .block-heading { gap: 12px; }
  .qp-service:is(#copy-and-print, #variable-data, #mailing, #graphic-design) > .block-heading::before {
    inline-size: 44px;
    block-size: 44px;
    margin-block-start: calc((1lh - 44px) / 2);
    border-radius: 12px;
    background-size: 24px;
  }
}

/* ---- FAQ (collection-list blocks with the class qp-faq) ------------------- */
/* Without site.js every question shows with its answer under it. site.js
   adds .is-accordion to the block and a button inside each question heading.
   The selector matches base.css's ".sw-section + .sw-section > .block:first-child"
   in specificity so each category keeps space above its heading. */
.sw-section > .block.block--collection-list.qp-faq { padding-block: 56px 0; }
.qp-faq .stack-list { gap: 0; margin-block-start: 20px; }
.qp-faq .list-row {
  display: block;
  padding-block: 20px;
  border-block-end: 1px solid var(--line);
}
.qp-faq .list-row:first-child { border-block-start: 1px solid var(--line); }
.qp-faq .list-title { margin: 0; font-size: var(--step-1); }
.qp-faq .list-field--answer { max-inline-size: 70ch; margin-block-start: 12px; color: var(--body); }
.qp-faq .list-field--answer > :first-child { margin-block-start: 0; }
.qp-faq .list-field--answer > :last-child { margin-block-end: 0; }
.qp-faq .list-field--answer :is(ul, ol) { padding-inline-start: 1.25em; }
.qp-faq .list-field--answer li + li { margin-block-start: 6px; }

/* Accordion (site.js) */
.qp-faq.is-accordion .list-row { padding-block: 0; }
.qp-faq .faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  inline-size: 100%;
  min-block-size: 44px;
  padding: 20px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.qp-faq .faq-toggle:hover { color: var(--grape-dark); }
.qp-faq .faq-toggle:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
/* A plus that turns into a minus. */
.qp-faq .faq-icon {
  position: relative;
  flex: none;
  inline-size: 28px;
  block-size: 28px;
  border: 1px solid var(--wisteria);
  border-radius: 50%;
}
.qp-faq .faq-icon::before,
.qp-faq .faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  inline-size: 12px;
  block-size: 1.5px;
  background: var(--grape-deep);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.qp-faq .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qp-faq .faq-toggle[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qp-faq.is-accordion .list-field--answer { margin-block-start: 0; padding-block-end: 24px; }
.qp-faq .list-field--answer.is-opening { animation: qp-faq-in .2s ease; }
@keyframes qp-faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .qp-faq .faq-icon::before,
  .qp-faq .faq-icon::after { transition: none; }
  .qp-faq .list-field--answer.is-opening { animation: none; }
}

/* ---- Blog posts (2026-11-24) ---------------------------------------------
   Branding sets h2 and h3 to the section-heading size (up to 2.75rem), which
   is right for page blocks and too big inside an article. This scale applies
   only inside a post body (.entry-body.prose, printed by single.php), so page
   blocks keep theirs. */
.entry-body.prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-block-start: var(--space-l);
}
.entry-body.prose h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  margin-block-start: var(--space-m);
}
.entry-body.prose :is(h2, h3) + * { margin-block-start: var(--space-xs); }

/* Stopgap until engine request #12: the hero image was stretched to the
   1280px content width. The wrapper keeps the same column as the post title
   (base.css `.block > *` centres every child of .entry-single.block, so a
   narrower wrapper sat ~40px right of the title). The cap goes on the image,
   the largest file the ladder has (1200px), left-aligned with the title. */
.entry-hero {
  max-inline-size: none;
}
.entry-hero img {
  max-inline-size: 1200px;
}

/* ---- Blog archive (/blog, /blog/page/N, /blog/category/<slug>) ----------- */
/* templates/archive.php prints section.archive straight into <main>, outside
   any .block, so it had no column and base.css's .archive-grid
   (auto-fit, 18rem) ran six across. Same column as .block content here.
   The cards are the engine's "Choose what cards show" cards (collection
   setting archive_display: image, title, excerpt, category, date), in the
   order media, title, body, terms, date; the grid areas below put the date
   and category on one line above the title. */
.archive {
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.archive-head h1 { margin: 0; }
.archive-intro { margin-block-start: 8px; font-size: 1.125rem; color: var(--body); }
.archive-grid.archive-grid--cards {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-block-start: 0;
}
@media (min-width: 600px) { .archive-grid.archive-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .archive-grid.archive-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Card: the homepage Services card look (mist, line border, site radius). */
.archive-grid--cards .card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "media media"
    "date  terms"
    "title title"
    "body  body";
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  column-gap: 0;
  row-gap: 10px;
  overflow: hidden;
  background: var(--mist);
  border-color: var(--line);
  transition: border-color var(--transition);
}
.archive-grid--cards .card:hover { border-color: var(--wisteria); }
.archive-grid--cards .card-media { grid-area: media; margin: -28px -28px 6px; }
.archive-grid--cards .card-media img { display: block; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.archive-grid--cards .card-date { grid-area: date; align-self: center; font-size: .875rem; color: var(--body); }
.archive-grid--cards .card-terms { grid-area: terms; align-self: center; font-size: .875rem; color: var(--body); }
.archive-grid--cards .card-terms li::before { content: "\00b7"; margin-inline: 8px; }
.archive-grid--cards .card-terms li + li::before { content: ","; margin-inline: 0 4px; }
.archive-grid--cards .card-terms a {
  position: relative;          /* above the card-wide link below */
  z-index: 1;
  color: var(--grape-dark);
  text-decoration: none;
}
.archive-grid--cards .card-terms a:hover { text-decoration: underline; }
.archive-grid--cards .card-title {
  grid-area: title;
  font-family: var(--font-heading);
  font-size: var(--h4-size);
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
/* The whole card is the post's link: the title's link covers the card. */
.archive-grid--cards .card-title a { color: inherit; text-decoration: none; }
.archive-grid--cards .card-title a::after { content: ""; position: absolute; inset: 0; }
.archive-grid--cards .card-title a:focus-visible { outline: none; text-decoration: none; }
.archive-grid--cards .card:has(.card-title a:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.archive-grid--cards .card:hover .card-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.archive-grid--cards .card-body {
  grid-area: body;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--body);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
/* Excerpts stop at 3 lines in every card (2026-11-27). The body sits in the
   card's 1fr row, and the grid stretched it to fill a card made taller by its
   row neighbour's longer title, so a 4th line showed under the ellipsis:
   line-clamp places the ellipsis but does not hide text the box still has
   room for. Pinned to the top of its row and capped at 3 lines; the card
   itself still stretches, so cards in a row stay the same height. */
.archive-grid.archive-grid--cards .card .card-body {
  align-self: start;
  max-block-size: calc(3 * 1.55em);
}
/* No category: the date takes the whole line. */
.archive-grid--cards .card:not(:has(.card-terms)) .card-date { grid-column: 1 / -1; }

/* Pagination: the secondary pill, centred under the grid. */
.archive .pager { justify-content: center; flex-wrap: wrap; gap: 16px; margin-block-start: 48px; }
.archive .pager-next { margin-inline-start: 0; }
.archive .pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  padding: 10px 22px;
  border: 2px solid var(--grape);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--grape-deep);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition);
}
.archive a.pager-link:hover { background: var(--magnolia); border-color: var(--grape); color: var(--grape-deep); }
.archive a.pager-link:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.archive .pager-link.is-disabled { background: var(--mist); border-color: var(--mist); color: var(--fineprint); }
.archive .pager-status { color: var(--body); font-size: .875rem; }
@media (prefers-reduced-motion: reduce) {
  .archive-grid--cards .card, .archive .pager-link { transition: none; }
}

/* ---- Industry pages (/industries/<slug>, 2026-11-26) ----------------------
   Built from Scott's Real estate design. Each page's hero section carries
   qp-ind-<slug>; the page takes that industry's pastel and deep pair (the
   same pairs as the homepage swatches) from it. Sections, top to bottom:
   hero (.qp-hero), journey (.qp-journey, .qp-stages, .qp-stage), kit
   (.qp-kit), featured band (.qp-featured, .qp-feature, .qp-related,
   .qp-touchup), how it works (.qp-steps), reviews, quote, and other
   industries (.qp-other-industries). */
body { --industry-pastel: var(--thistle); --industry-deep: var(--grape); }
body:has(.qp-ind-real-estate)          { --industry-pastel: var(--pistachio); --industry-deep: var(--fern); }
body:has(.qp-ind-restaurants-and-cafes) { --industry-pastel: var(--peach);    --industry-deep: var(--rust); }
body:has(.qp-ind-health-and-wellness)  { --industry-pastel: var(--seafoam);   --industry-deep: var(--spruce); }
body:has(.qp-ind-event-planners)       { --industry-pastel: var(--rose);      --industry-deep: var(--raspberry); }
body:has(.qp-ind-tourism)              { --industry-pastel: var(--sky);       --industry-deep: var(--harbour); }
body:has(.qp-ind-non-profits)          { --industry-pastel: var(--lavender);  --industry-deep: var(--indigo-2026); }
body:has(.qp-ind-home-services)        { --industry-pastel: var(--butter);    --industry-deep: var(--ochre); }
body:has(.qp-ind-arts-and-culture)     { --industry-pastel: var(--orchid);    --industry-deep: var(--plum); }

/* Hero with no illustration yet: the copy takes a wider measure so the H1
   sets in three or four lines instead of a tall narrow column. */
.qp-hero .block--hero:not(:has(.hero-media)) .block-heading { max-inline-size: 20ch; }
.qp-hero .block--hero:not(:has(.hero-media)) .block-body { max-inline-size: 40rem; }

/* Blocks that open a section after a band keep their top padding (base.css
   zeroes it after a section boundary; same specificity, later). */
.sw-section + .sw-section > :is(.qp-kit, .qp-steps).block { padding-block-start: var(--section-pad); }
#kit { scroll-margin-top: 24px; }

/* Journey: on the white page (2026-11-27, Scott's Real estate design; was a
   mist band), the intro, then four numbered stage cards, which keep their
   white fill and --line border. Spacing to his 96px above the heading and
   about 72px from the cards to the kit heading: the hero already leaves
   --section-pad-tight (72px) below it, so the band adds 24px on top; the
   band ends with 72px, and the kit after it drops its own top padding so
   the gap is not doubled. */
.sw-section.qp-journey { background: none; padding-block: calc(var(--section-pad) - var(--section-pad-tight)) var(--section-pad-tight); }
.sw-section.qp-journey + .sw-section > .qp-kit.block { padding-block-start: 0; }
.qp-journey .qp-journey-intro.block { padding-block: 0 40px; }
.qp-journey-intro .block-body { color: var(--body); font-size: 1.125rem; }
.sw-section.qp-journey > .sw-section.qp-stages {  /* outranks base.css's nested-section reset */
  --section-min: 15rem;
  --section-gap: 20px;
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  align-items: stretch;   /* equal-height cards, links along one line */
  counter-reset: qp-stage;
}
.sw-section.qp-stages .qp-stage.block {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  counter-increment: qp-stage;
}
.qp-stage .block-body { flex: 1; display: flex; flex-direction: column; margin-block-start: 0; color: var(--body); }
.qp-stage .block-body > * { margin: 0; }
/* The first paragraph is the stage's pill: its number, then its name. */
.qp-stage .block-body > p:first-child {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border-radius: var(--r-pill);
  background: var(--industry-pastel);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
}
.qp-stage .block-body > p:first-child::before {
  content: counter(qp-stage);
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  background: var(--industry-deep);
  color: #fff;
  font-size: .75rem;
}
.qp-stage .block-body > h3 { margin-block-start: 14px; font-size: var(--h4-size); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.qp-stage .block-body > h3 + p { margin-block-start: 8px; font-size: .9375rem; line-height: 1.55; }
/* Product links sit at the foot of the card as small pills. */
.qp-stage .block-body > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: auto;
  padding: 20px 0 0;
  list-style: none;
}
.qp-stage .block-body > ul > li + li { margin-block-start: 0; }
.qp-stage ul a {
  display: inline-flex;
  align-items: center;
  min-block-size: 36px;
  padding: 6px 14px;
  border: 1px solid var(--border-colour);
  border-radius: var(--r-pill);
  color: var(--grape-dark);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.qp-stage ul a:hover { border-color: var(--grape-dark); color: var(--ink); }

/* The kit: four product cards. Until a card has a picture, a tinted panel in
   the industry's pastel stands in for it at the same 4:3 shape, so adding
   images later changes nothing else. The badge sits on the panel or picture. */
.qp-kit .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.qp-kit .card { position: relative; }
.qp-kit .card::before,
.qp-kit .card-media { margin: -28px -28px 8px; }
.qp-kit .card:not(:has(.card-media))::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: radial-gradient(120% 100% at 100% 100%, color-mix(in srgb, var(--industry-deep) 30%, var(--industry-pastel)) 0%, var(--industry-pastel) 65%);
}
.qp-kit .card-media img { aspect-ratio: 4 / 3; }
/* One card per row on a phone: a shorter panel, so the four fit in fewer screens. */
@media (max-width: 599px) {
  .qp-kit .card:not(:has(.card-media))::before,
  .qp-kit .card-media img { aspect-ratio: 16 / 9; }
}
.qp-kit .card-badge {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--night);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: var(--caps-tracking);
}

/* Featured band: lavender, holding the white feature card, the related
   services, and the touch-up line. */
.sw-section.qp-featured { background: var(--lavender); padding-block: var(--section-pad); }
.qp-featured .block { padding-block: 0; }
/* The feature card. Its body is display: contents, so the eyebrow, heading,
   paragraphs, style list, button, and note are one column of the card's grid
   and the picture (.grid) is the other; the note moves under the button. */
.qp-feature.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: #fff;
}
.qp-feature.block > * { inline-size: auto; max-inline-size: none; margin-inline: 0; }
.qp-feature .block-body { display: contents; color: var(--body); }
.qp-feature .block-body > * { margin: 16px 0 0; max-inline-size: 36rem; }
.qp-feature .block-heading { margin-block-start: 12px; max-inline-size: 20ch; }
/* Real estate's picker only: its label paragraph and, without site.js, the
   style list as one line of text. Other feature cards keep plain paragraphs. */
.qp-feature--picker .block-body > p:nth-child(2) { margin-block-start: 24px; }
.qp-feature--picker .block-body > p:nth-child(2) strong { color: var(--ink); }
.qp-feature .block-cta { order: 1; justify-self: start; margin-block-start: 24px; }
/* The last paragraph is a note under the button, when there is more than
   one; a card with a single paragraph keeps it in place. */
.qp-feature .block-body > p:last-child:not(:first-child) { order: 2; margin-block-start: 12px; font-size: .875rem; }
.qp-feature > .grid { order: 3; margin-block-start: 32px; grid-template-columns: 1fr; }
/* Without site.js the styles read as one line of text, not as buttons. */
.qp-feature--picker .block-body > ul { padding: 0; list-style: none; color: var(--ink); }
.qp-feature--picker .block-body > ul li { display: inline; }
.qp-feature--picker .block-body > ul li + li::before { content: " · "; color: var(--fineprint); }
/* A numbered list in a feature card (Non-profits: send your list, we print,
   Canada Post delivers): each step a numbered row, title then one line. */
.qp-feature .block-body > ol { display: grid; gap: 14px; margin-block-start: 24px; padding: 0; list-style: none; counter-reset: qp-feat-step; }
.qp-feature .block-body > ol > li { position: relative; margin: 0; padding-inline-start: 44px; counter-increment: qp-feat-step; }
.qp-feature .block-body > ol > li::before {
  content: counter(qp-feat-step);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 50%;
  background: var(--industry-pastel);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
}
.qp-feature .block-body > ol strong { display: block; color: var(--ink); }
@media (min-width: 900px) {
  .qp-feature.block { grid-template-columns: 6fr 5fr; grid-template-rows: repeat(8, auto) 1fr; column-gap: clamp(40px, 5vw, 72px); }
  .qp-feature.block > :not(.grid),
  .qp-feature .block-body > * { grid-column: 1; }
  .qp-feature > .grid { grid-column: 2; grid-row: 1 / -1; margin-block-start: 0; align-self: center; }
  /* The copy sits in the middle of the card, level with the middle of the
     picture (2026-11-27). A 1fr track above and below the copy's rows shares
     the spare height equally; an empty ::before holds the first row, so the
     copy starts in row 2. Ten auto rows leave room for the longest card
     (Real estate's picker); unused ones are zero high. The picture still
     spans every row, and when the copy is the taller side the 1fr rows are
     zero, so nothing changes there. Text stays left-aligned. */
  .qp-feature.block { grid-template-rows: 1fr repeat(10, auto) 1fr; }
  .qp-feature.block::before { content: ""; grid-column: 1; grid-row: 1; }
}
/* The feature card's picture (media 27, a transparent WebP): shown whole,
   at its own shape, with no box behind it: no background, border, shadow, or
   padding, so the transparency reads against the white card. The card's title
   stays in the page for screen readers and the outline; the picture is what
   shows. On a phone it comes after the button and the note (order: 3 above),
   so it never pushes the button down. Replaced the 2026-11-26 placeholder
   cover and its per-style colours (site.js no longer sets data-style). */
.qp-feature .card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.qp-feature .card-media { margin: 0; }
.qp-feature .card-media img {
  display: block;
  inline-size: 100%;
  max-inline-size: 560px;
  block-size: auto;
  aspect-ratio: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0;
  background: none;
}
.qp-feature .card:has(.card-media) .card-title {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* The style picker (site.js): a fieldset of radio buttons drawn as pills. */
.qp-picker { margin: 16px 0 0; padding: 0; border: 0; min-inline-size: 0; }
.qp-picker legend { padding: 0; color: var(--ink); font-weight: 600; }
.qp-picker-hint { margin: 2px 0 0; color: var(--body); font-size: .9375rem; }
.qp-picker-options { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.qp-chip { position: relative; display: inline-flex; }
.qp-chip input { position: absolute; opacity: 0; inline-size: 100%; block-size: 100%; margin: 0; cursor: pointer; }
.qp-chip span {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  padding: 8px 16px;
  border: 1px solid var(--border-colour);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
}
.qp-chip:hover span { border-color: var(--grape-dark); }
.qp-chip input:checked + span { border-color: var(--night); background: var(--night); color: #fff; }
.qp-chip input:focus-visible + span { outline: var(--focus-ring); outline-offset: 2px; }
/* Related services: smaller cards under the feature card. */
.qp-featured .qp-related.block { padding-block-start: 32px; }
.qp-related .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.qp-related .card { padding: 24px; border-color: transparent; }
.qp-related .card-title { font-size: 1.125rem; }
.qp-related .card-body { font-size: .9375rem; }
.qp-related .card::before { inline-size: 44px; block-size: 44px; border-radius: 12px; background-size: 24px; margin-block-end: 6px; }
.qp-featured .qp-touchup.block { padding-block-start: 32px; }
.qp-touchup .block-body { margin-inline: auto; text-align: center; color: var(--ink); font-weight: 600; }

/* How it works: three numbered points, no card box. */
.qp-steps .grid { counter-reset: qp-step; gap: 32px; }
.qp-steps .card { padding: 0; border: 0; background: none; counter-increment: qp-step; }
.qp-steps .card::before {
  content: counter(qp-step);
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  margin-block-end: 6px;
  border-radius: 50%;
  background: var(--industry-pastel);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
}

/* Other industries: one menu (Header & Footer, Menus, "Industries") on every
   industry page. The engine marks the page being viewed with aria-current,
   and that item is hidden; site.js does the same in preview, where the
   address is /preview/page/... and the engine cannot match it. */
.qp-other-industries.block { padding-block: 0 var(--section-pad); }
.qp-other-industries .menu-block-heading {
  margin: 0 0 8px;
  color: var(--grape-dark);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: var(--caps-tracking);
  text-transform: uppercase;
}
.qp-other-industries .menu-list { display: flex; flex-wrap: wrap; gap: 0 28px; }
.qp-other-industries .menu-list a { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--grape-dark); font-weight: 600; }
.qp-other-industries .menu-list a:hover { color: var(--ink); }
.qp-other-industries li:has(> a[aria-current="page"]),
.qp-other-industries li.is-here { display: none; }


/* ---- Industry pages: revisions 2026-11-27 (Scott's Real estate design) ----
   Featured band in magnolia (#EEE8F6) with the eyebrow above the white card;
   reviews in a boxed panel (.qp-reviews--boxed, industry pages only). The
   quote section was a dark band here; it is now the light quote panel
   (.qp-quote--panel, see "Quote panel" below). */
.sw-section.qp-featured { background: var(--magnolia); }
/* The eyebrow sits on the band, 12px above the card: it leaves the card's
   flow (still first in the DOM, so it reads first), and the card's top
   margin makes room for one line of it. The selector matches base.css's
   ".sw-section + .sw-section > .block:first-child" (which zeroes the top
   padding) in specificity, so the card keeps its padding on every side. */
.sw-section.qp-featured > .block.qp-feature {
  --feature-eyebrow-lh: 1.4;
  position: relative;
  margin-block-start: calc(.875rem * var(--feature-eyebrow-lh) + 12px);
  padding: clamp(28px, 4vw, 52px);
}
/* grid-column and grid-row auto: from 900px the card is a grid, and an
   absolutely positioned item given a column would be placed against that
   column (the text's edge) instead of the card's edge. */
.sw-section.qp-featured > .qp-feature.block > .block-eyebrow {
  grid-column: auto;
  grid-row: auto;
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: calc(100% + 12px);
  margin: 0;
  line-height: var(--feature-eyebrow-lh);
  text-transform: uppercase;
}
.qp-feature .block-heading { margin-block-start: 0; }

/* Reviews: a panel inside the content width on the white page, not a band. */
.sw-section > .block.block--reviews.qp-reviews.qp-reviews--boxed {
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin: 24px auto var(--section-pad);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--mist);
}
.qp-reviews--boxed .reviews-source a:hover { background: #fff; }

/* The hidden Page field of the industry-quote form (site.js fills it with the
   page's name and path): display: none hides it from view and from screen
   readers, and the browser still sends its value. The form's panel styles
   are in "Quote panel" below (qp-quote--panel; the dark band they replaced,
   qp-quote--dark, was removed on 2026-11-27). */
.qp-quote .cms-form .field--page { display: none; }

/* ---- Quote panel (Nick's "Ending A: light quote panel", 2026-11-27) ------
   On /services, /industries, and the eight industry pages: the quote form
   block carries qp-quote--panel (it was qp-quote--dark, the dark band). It
   builds on the shared .qp-quote.block panel above (magnolia, 28px corners,
   in the page column, 5 : 7 from 900px), which the homepage also uses, and
   adds: an eyebrow, the contact rows with line icons, white inputs with a
   --glow edge (3.8:1 on white, 3.2:1 on the panel), dark labels, a grape
   button, and a grape focus ring (the site's mauve ring is too light on the
   panel). 112px to the footer. */
.sw-section > .block.block--form.qp-quote.qp-quote--panel {
  --panel-pad: 64px;
  --panel-gap: 64px;
  margin: var(--section-pad) auto 112px;
}
@media (max-width: 1023px) { .sw-section > .block.block--form.qp-quote.qp-quote--panel { --panel-pad: 40px; --panel-gap: 40px; } }
@media (max-width: 599px)  { .sw-section > .block.block--form.qp-quote.qp-quote--panel { --panel-pad: 24px; margin-block-end: 72px; } }
/* On the industry pages the Other industries row follows: a normal gap. */
.sw-section:has(+ .sw-section > .qp-other-industries.block) > .block.block--form.qp-quote.qp-quote--panel { margin-block-end: 56px; }
.sw-section:has(> .qp-quote--panel) + .sw-section > .qp-other-industries.block { padding-block-start: 0; }

.qp-quote--panel .block-eyebrow { margin: 0 0 14px; letter-spacing: .08em; text-transform: uppercase; }
.qp-quote--panel .block-heading { margin: 0; color: var(--ink); }
.qp-quote.qp-quote--panel .block-body { margin-block-start: 18px; color: var(--body); font-size: 1.125rem; line-height: 1.6; }
.qp-quote--panel .block-body p { margin: 0; }
.qp-quote--panel .qp-quote-contact { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 1rem; }
.qp-quote--panel .qp-quote-contact li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--body); }
.qp-quote--panel .qp-quote-contact li::before {
  content: "";
  flex: none;
  inline-size: 18px;
  block-size: 18px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.qp-quote--panel .qp-quote-contact--phone   { --icon: url("/assets/img/icons/qp-line-phone.svg"); color: var(--grape-dark); }
.qp-quote--panel .qp-quote-contact--email   { --icon: url("/assets/img/icons/qp-line-mail.svg"); color: var(--grape-dark); }
.qp-quote--panel .qp-quote-contact--address { --icon: url("/assets/img/icons/qp-line-pin.svg"); }
.qp-quote--panel .qp-quote-contact a { color: var(--grape-dark); font-weight: 600; text-decoration: none; }
.qp-quote--panel .qp-quote-contact a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 900px) {
  .qp-quote.qp-quote--panel { grid-template-rows: auto auto auto 1fr; }
  .qp-quote.qp-quote--panel .block-eyebrow { grid-column: 1; grid-row: 1; }
  .qp-quote.qp-quote--panel .block-heading { grid-column: 1; grid-row: 2; }
  .qp-quote.qp-quote--panel .block-body { grid-column: 1; grid-row: 3; }
  .qp-quote.qp-quote--panel :is(.cms-form, .form-success, .form-error) { grid-column: 2; grid-row: 1 / -1; align-self: start; }
}

/* The form: one column on a phone; from 600px Name, Email, Phone three
   across and Quantity, Needed by two across, on a six-track grid. */
.qp-quote--panel .cms-form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.qp-quote--panel .cms-form > * { grid-column: 1 / -1; }
@media (max-width: 899px) { .qp-quote.qp-quote--panel .cms-form { margin-block-start: 32px; } }
@media (min-width: 600px) {
  .qp-quote--panel .cms-form { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .qp-quote--panel .cms-form :is(.field--name, .field--email, .field--phone) { grid-column: span 2; }
  .qp-quote--panel .cms-form :is(.field--quantity, .field--needed_by) { grid-column: span 3; }
}
.qp-quote--panel .cms-form .field > span { color: var(--grape-deep); font-size: .875rem; font-weight: 600; }
.qp-quote--panel .cms-form .field-required { color: var(--grape); }
.qp-quote--panel .cms-form :is(input:not([type="checkbox"], [type="radio"], [type="file"]), textarea) {
  padding: 12px 14px;
  border: 1px solid var(--glow);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  font-size: .9375rem;
}
.qp-quote--panel .cms-form :is(input, textarea):focus { border-color: var(--grape); }
.qp-quote--panel .cms-form textarea { min-block-size: 96px; }
.qp-quote--panel .cms-form button[type="submit"] {
  justify-self: start;
  min-block-size: 50px;
  margin-block-start: 6px;
  padding: 15px 28px;
  background: var(--grape);
  color: #fff;
  font-weight: 700;
}
.qp-quote--panel .cms-form button[type="submit"]:hover { background: var(--grape-dark); color: #fff; }
.qp-quote--panel :is(input, textarea, button, a):focus-visible { outline: 3px solid var(--grape); outline-offset: 2px; }
.qp-quote--panel :is(.form-success, .form-error) { margin: 0; }

/* ---- Services page (/services, reworked 2026-11-27) ----------------------
   Scott's Services design with Nick's changes: no illustrations; each
   service is a two-column section (.qp-svc, the anchor id on the section):
   left .qp-svc-main (a collection-grid block with no items: eyebrow, H2,
   intro, the .qp-svc-note box, and the primary button), right .qp-svc-detail
   (Good for, then How it works). One column below 900px, in that order.
   Backgrounds alternate white and mist (.qp-svc--alt); mailing's comparison
   table is a full-width section of its own (.qp-svc-table). The older
   .qp-service, .qp-price-table, and .qp-mailing-* rules above no longer
   match anything on the site. */
.sw-section.qp-svc {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 56px;
  align-items: start;
  inline-size: auto;
  margin: 0;
  padding-block: var(--section-pad);
  padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  background: #fff;
  scroll-margin-top: 24px;
}
.sw-section.qp-svc--alt { background: var(--mist); }
@media (min-width: 900px) {
  .sw-section.qp-svc[data-sw-layout="two"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* The hero leaves --section-pad-tight below it; the first section adds the rest of 96px. */
.qp-hero + .sw-section.qp-svc { padding-block-start: calc(var(--section-pad) - var(--section-pad-tight)); }
/* Mailing's table continues the mailing section's band. */
.sw-section.qp-svc:has(+ .qp-svc-table) { padding-block-end: 40px; }
.sw-section.qp-svc-table { padding-block-start: 0; }

/* Left column. */
.qp-svc-main .block-eyebrow { margin: 0 0 12px; letter-spacing: .08em; text-transform: uppercase; }
.qp-svc-main .block-heading { margin: 0; font-size: clamp(1.875rem, 1rem + 2.2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.qp-svc-main .block-body { margin: 18px 0 0; max-inline-size: none; color: var(--body); font-size: 1.125rem; line-height: 1.65; }
.qp-svc-main .block-body p { margin: 0; }
.qp-svc-main .block-body p + p { margin-block-start: 24px; }
.qp-svc-main .qp-svc-note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.55;
}
/* The engine sizes a block's children to the column; the button keeps its own width. */
.sw-section.qp-svc .qp-svc-main > .block-cta { justify-self: start; inline-size: auto; margin-block-start: 28px; }
.qp-svc-main .grid:not(:has(*)) { display: none; }   /* the block's empty card grid */

/* Right column: Good for (ticks), then How it works (numbered, stacked). */
.qp-svc-detail .block-body { margin: 0; max-inline-size: none; }
.qp-svc-detail h3 { margin: 0 0 14px; font-family: var(--font-heading); font-size: 1.1875rem; font-weight: 600; }
.qp-svc-detail .block-body > * + h3 { margin-block-start: 32px; }
.qp-svc-detail .qp-ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.qp-svc-detail .qp-ticks li { display: flex; gap: 10px; margin: 0; line-height: 1.5; }
.qp-svc-detail .qp-ticks li::before {
  content: "";
  flex: none;
  inline-size: 18px;
  block-size: 18px;
  margin-block-start: 3px;
  background: var(--grape);
  -webkit-mask: url("/assets/img/icons/qp-tick.svg") center / contain no-repeat;
  mask: url("/assets/img/icons/qp-tick.svg") center / contain no-repeat;
}
.qp-svc-detail .qp-howto { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: qp-howto; }
.qp-svc-detail .qp-howto li {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--mist);
  color: var(--body);
  font-size: .875rem;
  line-height: 1.5;
  counter-increment: qp-howto;
}
.qp-svc--alt .qp-svc-detail .qp-howto li { background: #fff; }
.qp-svc-detail .qp-howto li::before { content: counter(qp-howto); display: block; color: var(--grape); font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.qp-svc-detail .qp-howto strong { display: block; margin-block: 6px 4px; color: var(--ink); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; }

/* Mailing's comparison table, full width. No minimum width (Scott's was
   460px): on a phone it fits and wraps, rather than scrolling in a box that a
   keyboard cannot reach. The section has its own side padding, so the block's
   own column width is reset. */
.sw-section.qp-svc-table > .block > * { inline-size: auto; max-inline-size: none; margin-inline: 0; }
.qp-svc-compare .block-body { margin: 0; max-inline-size: none; }
.qp-svc-compare h3 { margin: 0 0 14px; font-family: var(--font-heading); font-size: 1.1875rem; font-weight: 600; }
.qp-compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.qp-compare { inline-size: 100%; border-collapse: collapse; font-size: .9375rem; }
@media (max-width: 599px) {
  .qp-compare { table-layout: fixed; font-size: .875rem; }
  .qp-compare :is(th, td) { padding: 12px 8px; overflow-wrap: break-word; }
  .qp-compare thead :is(th, td):first-child { inline-size: 24%; }
  .qp-compare thead th { font-size: .8125rem; overflow-wrap: normal; }
}
.qp-compare thead tr { background: var(--mist); text-align: start; }
.qp-compare :is(th, td) { padding: 14px 16px; text-align: start; vertical-align: top; }
.qp-compare thead th { font-family: var(--font-heading); }
.qp-compare tbody tr { border-block-start: 1px solid var(--line); }
.qp-compare tbody th { font-weight: 600; }

/* Hero: no picture; the jump links are the secondary pills. */
.qp-hero--services .block-body { max-inline-size: 40em; }
.qp-hero--services .hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qp-hero--services .hero-inner > :not(.block-cta) { flex: 0 0 100%; }
.qp-hero--services .block-cta { margin-block-start: 22px; padding: 12px 18px; font-size: .9375rem; }

/* FAQ: Scott's narrower column. */
.sw-section.qp-svc-faq { inline-size: min(100% - (var(--gutter) * 2), 960px); margin-inline: auto; }
.sw-section.qp-svc-faq > .block.qp-faq { padding-block: var(--section-pad) 72px; }
.qp-svc-faq .qp-faq > * { inline-size: auto; margin-inline: 0; }
#faq { scroll-margin-top: 24px; }

/* Also at the shop: three plain cards (not links yet). */
.sw-section > .block.qp-also { padding-block: 0 72px; }
.qp-also .block-heading { font-size: 1.625rem; letter-spacing: -0.02em; }
.qp-also .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-block-start: 20px; }
.qp-also .card { padding: 22px; border-color: var(--line); border-radius: var(--r-md); gap: 4px; }
.qp-also .card-title { font-size: 1.125rem; }
.qp-also .card-body { font-size: .9375rem; line-height: 1.5; }

/* ---- Page heroes (About, Contact, FAQ, Privacy Policy, Industries; 2026-11-27)
   The same hero as /services (qp-hero on-dark, hero block, text only), with
   the section class qp-hero--page. The hero leaves --section-pad-tight (72px)
   below it, so each page's first section adds only enough to start its
   content 96px below the hero, as on /services. Scoped to this class, so
   /services, the homepage, and the industry pages do not change. */
.qp-hero--page + .sw-section[data-sw-layout="two"]:not(.qp-contact) { padding-block-start: calc(var(--section-pad) - var(--section-pad-tight)); }
.qp-hero--page + .sw-section > .block.block--collection-list.qp-faq { padding-block-start: calc(var(--section-pad) - var(--section-pad-tight)); }
.qp-hero--page + .sw-section:not(.qp-contact) > .block.block--rich-text:first-child { padding-block-start: calc(var(--section-pad) - var(--section-pad-tight)); }
/* A block with no heading keeps the gap meant to follow one (the gallery's
   and the card grid's 40px, the prose body's 16px); here it would push the
   content past 96px. (The contact panel keeps its own padding.) */
.qp-hero--page + .sw-section:not(.qp-contact) > .block:first-child > :first-child { margin-block-start: 0; }

/* ---- Blog heroes (archive and posts, 2026-11-27) --------------------------
   The /services hero for the blog, in site.css only: templates/archive.php
   and single.php are the engine's. The values are /services's: the
   --sunburst gradient on --night, --r-hero bottom corners, the hero block's
   top and bottom padding, the white H1, the thistle intro, and the eyebrow
   as .on-dark .block-eyebrow draws it (--mauve, 14px, uppercase, .08em).
   The space below the hero is 96px, as on the industry and page heroes. */

/* Archive: section.archive is full width again (it was the page column), and
   its header is the hero; the cards and the pager keep the page column. */
.archive { inline-size: auto; margin-inline: 0; padding-block: 0 var(--space-block); }
.archive > :not(.archive-head) { inline-size: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.archive-head {
  margin-block-end: var(--section-pad);
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 112px);
  padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  border-radius: 0 0 var(--r-hero) var(--r-hero);
  background-color: var(--night);
  background-image: var(--sunburst);
  color: #fff;
}
.archive-head h1 { margin: 0; max-inline-size: 14ch; color: #fff; }
.archive-head .archive-intro { max-inline-size: 34rem; margin-block-start: 20px; color: var(--thistle); font-size: 1.125rem; }
/* A category page: the engine's trail back to the blog is the eyebrow. */
.archive-head .archive-trail {
  margin: 0 0 12px;
  color: var(--mauve);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.archive-head .archive-trail a { color: inherit; text-decoration: none; }
.archive-head .archive-trail a:hover { color: #fff; text-decoration: underline; }
.archive-head :is(.archive-filter, .archive-terms) { color: var(--thistle); }

/* Single post: article.entry-single becomes a grid so a full-width ::before
   can sit behind the title rows. Tracks (2026-11-27): gutter, then three
   nested columns, centred: content (the page column, up to 1280px, as every
   other hero), wide (up to 1040px), and text (720px). The category, title,
   and date use the content column, so the post hero has the same width and
   left edge as the other heroes; the featured image uses wide; the body
   reads in the 720px text column. On a phone the sides are 0 and all three
   are full width with the normal gutters.
   Rows: the category (footer.entry-terms, printed after the body by the
   engine, placed first here as the eyebrow), the title and date (header),
   the featured image, then the body. */
.entry-single.block {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, 120px)
    [wide-start] minmax(0, 160px)
    [text-start] min(720px, 100% - (var(--gutter) * 2))
    [text-end] minmax(0, 160px)
    [wide-end] minmax(0, 120px)
    [content-end] minmax(var(--gutter), 1fr)
    [full-end];
  isolation: isolate;
  padding-block: 0 var(--space-block);
}
.entry-single.block > * { grid-column: text; inline-size: auto; max-inline-size: none; margin-inline: 0; }
.entry-single.block > :is(.entry-terms, header) { grid-column: content; }
.entry-single.block > .entry-hero { grid-column: wide; }
.entry-single.block > .entry-hero img { max-inline-size: none; }
.entry-single.block > .entry-body { max-inline-size: none; }
/* After the post, "Keep reading" (site.js) takes the space below it. */
.entry-single.block:has(+ .qp-keep-reading) { padding-block-end: 0; }
.entry-single.block::before {
  content: "";
  z-index: -1;
  grid-column: full;
  grid-row: 1 / 3;
  border-radius: 0 0 var(--r-hero) var(--r-hero);
  background-color: var(--night);
  background-image: var(--sunburst);
}
/* base.css gives the terms a top rule and each term a pill, for their place
   at the end of a post; as the eyebrow they have neither. */
.entry-single > .entry-terms { grid-row: 1; max-inline-size: none; margin: 0; padding-block-start: clamp(40px, 6vw, 80px); border: 0; }
.entry-single > header { grid-row: 2; padding-block-end: clamp(48px, 7vw, 112px); }
.entry-single:not(:has(> .entry-terms)) > header { padding-block-start: clamp(40px, 6vw, 80px); }
.entry-single > .entry-hero { grid-row: 3; }
.entry-single > .entry-body { grid-row: 4; }
.entry-single > header h1 { max-inline-size: 18ch; margin: 12px 0 0; color: #fff; }
.entry-single:not(:has(> .entry-terms)) > header h1 { margin-block-start: 0; }
.entry-single .entry-byline { margin-block-start: 20px; color: var(--thistle); font-size: 1.125rem; }
/* The category as the eyebrow: the word "Category" is kept for screen readers. */
.entry-single > .entry-terms .entry-termset { gap: 0 12px; }
.entry-single > .entry-terms .entry-termset-label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.entry-single > .entry-terms .entry-term {
  color: var(--mauve);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0;
  border: 0;
  border-radius: 2px;
}
.entry-single > .entry-terms .entry-term:hover { color: #fff; text-decoration: underline; }
/* The featured image, just below the hero at the content width. */
.entry-single > .entry-hero img { margin-block: 48px var(--space-m); }

/* ---- Keep reading (after a blog post, 2026-11-27) -------------------------
   site.js adds section.qp-keep-reading after article.entry-single: three
   other posts as the archive's own cards (.archive-grid--cards .card, so the
   card rules above apply), then a link to /blog. Stop-gap for engine request
   13. 96px above it; the usual 96px below, before the footer. */
.qp-keep-reading {
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: var(--section-pad);
}
.qp-keep-reading h2 { margin: 0 0 24px; font-size: clamp(1.75rem, 1rem + 2vw, 2.25rem); letter-spacing: -0.02em; }
.qp-keep-reading .archive-grid.archive-grid--cards { margin: 0; }
.qp-keep-reading-all { margin: 32px 0 0; }
.qp-keep-reading-all a { font-weight: 600; text-decoration: none; }
.qp-keep-reading-all a:hover { text-decoration: underline; }

/* ---- Industries parent page (/industries, 2026-11-27) ---------------------
   Nick's "Industries page" design. The hero is the page hero
   (.qp-hero--page) with the class qp-hero--industries; the sections below
   are .qp-ind-index (the eight industry cards, .qp-ind-cards), .qp-ind-more
   ("Don't see your business?", .qp-ind-more-intro and .qp-ind-svc), the
   boxed reviews, and the dark quote band. The cards are a typed-in
   collection-grid, like the industry pages' kit: the badge is the eyebrow,
   the title the industry page's H1, the body a list of its four products,
   and the "See the ... kit" link covers the whole card. Each card's pastel
   and deep shade are keyed on its link, as on the homepage swatches. */

/* Hero pills: one per industry, each with a dot in its pastel. */
.qp-hero--industries .hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qp-hero--industries .hero-inner > :not(.block-cta) { flex: 0 0 100%; }
.qp-hero--industries .block-cta {
  gap: 8px;
  min-block-size: 44px;
  margin-block-start: 22px;
  padding: 10px 16px;
  border-width: 1px;
  border-color: rgb(255 255 255 / .45);
  font-size: .875rem;
}
.qp-hero--industries .hero-inner > .block-cta ~ .block-cta { margin-block-start: 0; }
.qp-hero--industries .hero-inner { row-gap: 10px; }
.qp-hero--industries .block-cta::before { content: ""; flex: none; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--dot, var(--thistle)); }
.qp-hero--industries .block-cta[href$="/industries/real-estate"]          { --dot: var(--pistachio); }
.qp-hero--industries .block-cta[href$="/industries/restaurants-and-cafes"] { --dot: var(--peach); }
.qp-hero--industries .block-cta[href$="/industries/health-and-wellness"]   { --dot: var(--seafoam); }
.qp-hero--industries .block-cta[href$="/industries/event-planners"]        { --dot: var(--rose); }
.qp-hero--industries .block-cta[href$="/industries/tourism"]               { --dot: var(--sky); }
.qp-hero--industries .block-cta[href$="/industries/non-profits"]           { --dot: var(--lavender); }
.qp-hero--industries .block-cta[href$="/industries/home-services"]         { --dot: var(--butter); }
.qp-hero--industries .block-cta[href$="/industries/arts-and-culture"]      { --dot: var(--orchid); }
/* Phones (640px and below, 2026-11-27): the chips are one row that scrolls
   sideways instead of wrapping to six rows. The row runs to the screen edges
   (negative margin equal to the gutter, the same padding inside), so the last
   chip runs off the edge as a hint, and fades out on the right. The extra
   end padding (15%, the fade's width) lets the last chip scroll clear of the
   fade, and scroll-padding does the same for a chip brought into view by Tab.
   The space below is the page heroes' own; only the chip rows go. */
@media (max-width: 640px) {
  .qp-hero--industries .hero-inner > .hero-actions {   /* outranks .hero-inner > :not(.block-cta) */
    flex-wrap: nowrap;
    gap: 8px;
    flex: 0 0 calc(100% + var(--gutter) * 2);   /* the hero-inner flex rule would hold it to the column */
    margin-inline: calc(var(--gutter) * -1);
    margin-block: 28px -4px;   /* the 4px padding below is room for the focus ring; the spacing stays 32px above, 48px below */
    padding-inline: var(--gutter) calc(var(--gutter) + 15%);
    padding-block: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter) calc(var(--gutter) + 15%);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
    mask-image: linear-gradient(to right, #000 85%, transparent);
  }
  .qp-hero--industries .hero-actions::-webkit-scrollbar { display: none; }
  /* While a chip has keyboard focus the fade and the snapping go, so a focused
     chip is never half hidden under the fade or snapped back out of view. */
  .qp-hero--industries .hero-inner > .hero-actions:has(:focus-visible) { -webkit-mask-image: none; mask-image: none; scroll-snap-type: none; }
  .qp-hero--industries .hero-actions .block-cta {
    flex: none;
    min-block-size: 44px;
    padding: 8px 14px;
    font-size: .875rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

/* The cards: two across from 1000px, one below; 96px below the hero. */
.qp-hero--page + .sw-section.qp-ind-index > .block.qp-ind-cards { padding-block: calc(var(--section-pad) - var(--section-pad-tight)) 0; }
.qp-ind-cards > .block-heading {          /* the grid's h2, for the outline only */
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.qp-ind-cards .grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-block: 0; }   /* margin-inline stays the engine's centring */
@media (min-width: 1000px) {
  .qp-ind-cards .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qp-ind-cards .card-media { block-size: clamp(260px, 24vw, 340px); }
}
.qp-ind-cards .card {
  --pastel: var(--thistle);
  --deep: var(--grape-dark);
  position: relative;
  gap: 12px;
  padding: 28px 32px 32px;
  border-color: var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  --ease: cubic-bezier(.22, .61, .36, 1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.qp-ind-cards .card:has(a[href$="/industries/real-estate"])          { --pastel: var(--pistachio); --deep: var(--fern); }
.qp-ind-cards .card:has(a[href$="/industries/restaurants-and-cafes"]) { --pastel: var(--peach);     --deep: var(--rust); }
.qp-ind-cards .card:has(a[href$="/industries/health-and-wellness"])   { --pastel: var(--seafoam);   --deep: var(--spruce); }
.qp-ind-cards .card:has(a[href$="/industries/event-planners"])        { --pastel: var(--rose);      --deep: var(--raspberry); }
.qp-ind-cards .card:has(a[href$="/industries/tourism"])               { --pastel: var(--sky);       --deep: var(--harbour); }
.qp-ind-cards .card:has(a[href$="/industries/non-profits"])           { --pastel: var(--lavender);  --deep: var(--indigo-2026); }
.qp-ind-cards .card:has(a[href$="/industries/home-services"])         { --pastel: var(--butter);    --deep: var(--ochre); }
.qp-ind-cards .card:has(a[href$="/industries/arts-and-culture"])      { --pastel: var(--orchid);    --deep: var(--plum); }
/* The picture panel first (the engine prints the badge before it): the
   industry's hero image whole, on a light glow in the industry's own colours
   rising from the bottom centre, like the heroes (the "Industries page"
   artboard). These cards carry the pair as --pastel / --deep (--industry-*
   here would be body's thistle). overflow keeps the zoomed mockup inside the
   panel; the card's own overflow and radius round the top corners. */
.qp-ind-cards .card-media {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: clamp(220px, 44vw, 340px);   /* one card per row */
  margin: -28px -32px 16px;
  padding: 20px 28px 0;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--pastel) 22%, #fff);
  background-image: radial-gradient(ellipse 80% 90% at 50% 120%,
    color-mix(in srgb, var(--pastel) 85%, var(--deep)) 0%,
    var(--pastel) 30%,
    color-mix(in srgb, var(--pastel) 55%, #fff) 60%,
    color-mix(in srgb, var(--pastel) 22%, #fff) 90%);
}
.qp-ind-cards .card-media img {
  display: block;
  inline-size: auto;
  max-inline-size: 100%;
  block-size: 100%;
  max-block-size: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  transform: translateZ(0) scale(1);
  transform-origin: 50% 60%;
  transition: transform .7s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}
/* The eyebrow (the card's badge field): the industry name in its deep shade. */
.qp-ind-cards .card-badge {
  position: static;
  align-self: flex-start;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--deep);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.qp-ind-cards .card-title { margin: 0; font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em; }
.qp-ind-cards .card-body { margin: 4px 0 0; }
.qp-ind-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qp-ind-tags li { margin: 0; padding: 6px 12px; border-radius: var(--r-pill); background: var(--mist); color: var(--grape-deep); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.qp-ind-cards .card-cta { margin-block-start: auto; padding-block-start: 10px; }
/* The link covers the whole card. Hover, or keyboard focus on the link, lifts
   the card and zooms the mockup on one easing (transform and box-shadow only,
   so nothing reflows), and hover underlines the link. */
.qp-ind-cards .card-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.qp-ind-cards .card:is(:hover, :has(.card-cta:focus-visible)) { transform: translateY(-6px); box-shadow: 0 24px 48px rgb(28 11 51 / .14); }
.qp-ind-cards .card:is(:hover, :has(.card-cta:focus-visible)) .card-media img { transform: translateZ(0) scale(1.07); }
.qp-ind-cards .card:hover .card-cta { color: var(--grape-dark); text-decoration: underline; text-underline-offset: 4px; }
.qp-ind-cards .card-cta:focus-visible { outline: none; }
.qp-ind-cards .card:has(.card-cta:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
/* Touch screens: a tap must not leave a card lifted and zoomed. Keyboard
   focus keeps the effect. */
@media (hover: none) {
  .qp-ind-cards .card:hover:not(:has(.card-cta:focus-visible)) { transform: none; box-shadow: none; }
  .qp-ind-cards .card:hover:not(:has(.card-cta:focus-visible)) .card-media img { transform: translateZ(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .qp-ind-cards .card, .qp-ind-cards .card-media img { transition: none; }
  .qp-ind-cards .card:is(:hover, :has(.card-cta:focus-visible)),
  .qp-ind-cards .card:is(:hover, :has(.card-cta:focus-visible)) .card-media img { transform: none; }
}

/* Don't see your business? Heading and line on the left; four service
   cards, two by two, on the right (one column below 900px). */
.sw-section.qp-ind-more {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px 48px;
  align-items: center;
  padding-block: 72px 24px;
}
@media (min-width: 900px) { .sw-section.qp-ind-more[data-sw-layout="two"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qp-ind-more-intro .block-heading { margin: 0; font-size: clamp(1.875rem, 1rem + 2.2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.qp-ind-more-intro .block-body { max-inline-size: 28em; margin-block-start: 16px; color: var(--body); font-size: 1.125rem; }
.qp-ind-svc .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
@media (max-width: 479px) { .qp-ind-svc .grid { grid-template-columns: minmax(0, 1fr); } }
.qp-ind-svc .card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-content: start;
  padding: 22px;
  border-color: var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--transition);
}
.qp-ind-svc .card::before {
  content: "";
  grid-row: 1 / span 2;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 12px;
  background: var(--mauve) var(--icon) center / 24px no-repeat;
}
.qp-ind-svc .card:has(.card-cta[href$="/services#graphic-design"]) { --icon: url("/assets/img/icons/qp-icon-graphic-design.svg"); }
.qp-ind-svc .card:has(.card-cta[href$="/services#mailing"])        { --icon: url("/assets/img/icons/qp-icon-mailing.svg"); }
.qp-ind-svc .card:has(.card-cta[href$="/services#variable-data"])  { --icon: url("/assets/img/icons/qp-icon-variable-data.svg"); }
.qp-ind-svc .card:has(.card-cta[href$="/services#copy-and-print"]) { --icon: url("/assets/img/icons/qp-icon-copy-print.svg"); }
.qp-ind-svc .card-title { grid-column: 2; margin: 0; font-size: 1.0625rem; }
.qp-ind-svc .card-body { grid-column: 2; margin: 0; color: var(--body); font-size: .875rem; }
/* The link (the service's name, again) covers the card and is not shown. */
.qp-ind-svc .card-cta {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-block-size: 0;
  border-radius: inherit;
  color: transparent;
  font-size: 0;
}
.qp-ind-svc .card-cta::after { display: none; }
.qp-ind-svc .card:hover { border-color: var(--wisteria); }
.qp-ind-svc .card-cta:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }

/* ==========================================================================
   Products page draft (2026-11-27, /products-draft): Nick's "Products page:
   hero and closing sections" artboard. The hero is the shared page hero
   (qp-hero--page). Between it and the closing sections sits a placeholder for
   Scott's catalogue (.qp-catalogue-placeholder), which moves out when request
   21 settles how /products is served. Closing sections, in order: reason
   tiles (.qp-reasons), Shop by industry (.qp-shop-ind), the "No file yet?"
   band (.qp-nofile), and the light quote panel (#quote).
   ========================================================================== */

/* Catalogue placeholder: a dashed box that reads as "something goes here",
   in the page column, 96px below the hero, with the text centred in it.
   The selector outranks the page-hero spacing rule for a first rich-text block. */
.qp-hero--page + .sw-section.qp-catalogue-slot > .block.block--rich-text.qp-catalogue-placeholder:first-child {
  --box-top: calc(var(--section-pad) - var(--section-pad-tight));
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-block-size: calc(var(--box-top) + 320px + var(--section-pad-tight));
  padding-block: calc(var(--box-top) + 48px) calc(var(--section-pad-tight) + 48px);
  text-align: center;
}
.qp-catalogue-placeholder::before {
  content: "";
  position: absolute;
  inset-block: calc(var(--section-pad) - var(--section-pad-tight)) var(--section-pad-tight);
  inset-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  z-index: -1;
  border: 2px dashed var(--wisteria);
  border-radius: var(--r-xl);
  background: var(--mist);
}
.block.qp-catalogue-placeholder > :is(.block-heading, .block-body) { inline-size: auto; margin: 0; padding-inline: calc(var(--gutter) + 24px); }
.qp-catalogue-placeholder > .block-heading { font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); color: var(--grape-deep); }
.qp-catalogue-placeholder > .block-body { max-inline-size: 36rem; color: var(--body); }

/* a. Reason tiles on butter, seafoam, and sky. The h2 is for the outline only. */
.qp-reasons > .block-heading {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.qp-reasons .grid { gap: 20px; margin-block: 0; }
@media (min-width: 800px) { .qp-reasons .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qp-reasons .card {
  gap: 10px;
  padding: 32px;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--tile, var(--magnolia));
}
.qp-reasons .card:nth-child(1) { --tile: var(--butter); }
.qp-reasons .card:nth-child(2) { --tile: var(--seafoam); }
.qp-reasons .card:nth-child(3) { --tile: var(--sky); }
.qp-reasons .card-title { margin: 0; color: var(--night); font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem); letter-spacing: -0.01em; }
.qp-reasons .card-body { margin: 0; color: var(--night); }
.qp-reasons .card-body p { margin: 0; }

/* b. Shop by industry: the heading, line, and link on the left; eight tiles on
   the right (two across on phones, four from 700px). Each tile is its
   industry's light glow, the same as the /industries cards, with its name and
   "See the kit" in the deep shade. */
.qp-shop-ind { column-gap: 64px; }
/* The link sits at the column's start, its own width (not the column's). */
.qp-shop-ind > .block-cta { inline-size: max-content; margin-inline: calc((100% - var(--block-column)) / 2) auto; }
.qp-shop-ind > .block-cta::after { content: " \2192"; }
.qp-shop-ind > :is(.block-eyebrow, .block-heading, .block-body, .block-cta) { margin-block: 0; }
.qp-shop-ind > .block-heading { margin-block: 8px 12px; }
.qp-shop-ind > .block-cta { margin-block-start: 16px; }
.qp-shop-ind .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 32px 0; }
@media (min-width: 700px) { .qp-shop-ind .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  /* Two columns: the block itself becomes the page column, its children fill their cells. */
  .block.qp-shop-ind {
    display: grid;
    inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
    margin-inline: auto;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-rows: auto auto auto 1fr;
    align-content: center;
  }
  .block.qp-shop-ind > * { inline-size: auto; margin-inline: 0; }   /* outranks base .block > :is(.block-heading, …) */
  .qp-shop-ind > .block-cta { justify-self: start; inline-size: max-content; margin-inline: 0; }
  .qp-shop-ind > :not(.grid) { grid-column: 1; }
  .qp-shop-ind .grid { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-block: 0; }
}
.qp-shop-ind .card {
  --industry-pastel: var(--thistle);
  --industry-deep: var(--grape);
  --ease: cubic-bezier(.22, .61, .36, 1);
  position: relative;
  justify-content: space-between;
  gap: 18px;
  min-block-size: 128px;
  padding: 20px;
  border: 0;
  border-radius: var(--r-md);
  background-color: color-mix(in srgb, var(--industry-pastel) 22%, #fff);
  background-image: radial-gradient(ellipse 80% 90% at 50% 120%,
    color-mix(in srgb, var(--industry-pastel) 85%, var(--industry-deep)) 0%,
    var(--industry-pastel) 30%,
    color-mix(in srgb, var(--industry-pastel) 55%, #fff) 60%,
    color-mix(in srgb, var(--industry-pastel) 22%, #fff) 90%);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.qp-shop-ind .card:has(a[href$="/industries/real-estate"])          { --industry-pastel: var(--pistachio); --industry-deep: var(--fern); }
.qp-shop-ind .card:has(a[href$="/industries/restaurants-and-cafes"]) { --industry-pastel: var(--peach);     --industry-deep: var(--rust); }
.qp-shop-ind .card:has(a[href$="/industries/health-and-wellness"])   { --industry-pastel: var(--seafoam);   --industry-deep: var(--spruce); }
.qp-shop-ind .card:has(a[href$="/industries/event-planners"])        { --industry-pastel: var(--rose);      --industry-deep: var(--raspberry); }
.qp-shop-ind .card:has(a[href$="/industries/tourism"])               { --industry-pastel: var(--sky);       --industry-deep: var(--harbour); }
.qp-shop-ind .card:has(a[href$="/industries/non-profits"])           { --industry-pastel: var(--lavender);  --industry-deep: var(--indigo-2026); }
.qp-shop-ind .card:has(a[href$="/industries/home-services"])         { --industry-pastel: var(--butter);    --industry-deep: var(--ochre); }
.qp-shop-ind .card:has(a[href$="/industries/arts-and-culture"])      { --industry-pastel: var(--orchid);    --industry-deep: var(--plum); }
.qp-shop-ind .card-title { margin: 0; color: var(--industry-deep); font-size: 1.0625rem; line-height: 1.2; }
.qp-shop-ind .card-cta { color: var(--industry-deep); font-size: .875rem; font-weight: 700; text-decoration: none; }
.qp-shop-ind .card-cta::after { content: " \2192"; }
/* The link covers the tile; hover or keyboard focus lifts it, like the /industries cards. */
.qp-shop-ind .card-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.qp-shop-ind .card:is(:hover, :has(.card-cta:focus-visible)) { transform: translateY(-6px); box-shadow: 0 24px 48px rgb(28 11 51 / .14); }
.qp-shop-ind .card:hover .card-cta { text-decoration: underline; text-underline-offset: 4px; }
.qp-shop-ind .card-cta:focus-visible { outline: none; }
.qp-shop-ind .card:has(.card-cta:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
@media (hover: none) {
  .qp-shop-ind .card:hover:not(:has(.card-cta:focus-visible)) { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qp-shop-ind .card { transition: none; }
  .qp-shop-ind .card:is(:hover, :has(.card-cta:focus-visible)) { transform: none; }
}

/* c. "No file yet?": a magnolia band with the graphic design icon, the
   heading and line, and the button; one row from 900px. */
.qp-nofile .cta-band-inner {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--magnolia);
}
.qp-nofile .cta-band-inner::before {
  content: "";
  grid-row: 1 / span 2;
  align-self: start;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 16px;
  background: var(--mauve) url("/assets/img/icons/qp-icon-graphic-design.svg") center / 28px no-repeat;
}
.qp-nofile .block-heading { margin: 0; font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); }
.qp-nofile .block-body { margin: 0; color: var(--night); }
.qp-nofile .block-cta { grid-column: 1 / -1; justify-self: start; margin-block-start: 16px; }
@media (min-width: 900px) {
  .qp-nofile .cta-band-inner { grid-template-columns: auto minmax(0, 1fr) auto; padding: 40px 48px; }
  .qp-nofile .block-cta { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; }
}
@media (max-width: 599px) {
  .qp-nofile .cta-band-inner { padding: 28px 24px; column-gap: 16px; }
  .qp-nofile .cta-band-inner::before { inline-size: 48px; block-size: 48px; background-size: 24px; }
}

/* d. The quote panel after the band: the band keeps no bottom padding, so the
   panel's own top margin (96px) is the only gap. */
.sw-section.qp-nofile-row > .block.qp-nofile { padding-block-end: 0; }
/* e. Shop by industry after the quote panel (2026-11-30, the last section
   before the footer; the reason tiles were removed): the panel keeps the
   normal section gap below it instead of its 112px footer gap, and the
   industry row ends a section-pad above the footer at every width. */
.sw-section:has(+ .sw-section.qp-shop-ind-row) > .block.block--form.qp-quote.qp-quote--panel { margin-block-end: var(--section-pad); }
.sw-section.qp-shop-ind-row > .block.qp-shop-ind { padding-block-end: var(--section-pad); }

/* ==========================================================================
   Launch products (2026-11-30, temporary: request 21, "Launch version"):
   /products, quote only, from Nick's "Products page: launch version with
   filters" artboard. (The six /products/<slug> pages were dropped on
   2026-11-30: every card links to the quote form.) Remove this section with the launch-product
   collection when Scott's catalogue goes live (removal checklist in request 21).
   .qp-lp is the launch-product card (.qp-lp-all, the collection grid).
   ========================================================================== */

/* -- The card: the product's square mockup (2026-11-30), edge to edge in
   the card's rounded top, then the name, the line, and the link. A card with
   no image keeps a light glow panel in its Type's colours (the /industries
   card's radial gradient), the same size. Each card's Type comes from its
   link. */
.qp-lp .grid { gap: 12px; margin-block: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px)  { .qp-lp .grid { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .qp-lp .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qp-lp .card {
  --pastel: var(--thistle);
  --deep: var(--grape);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --pad: clamp(14px, 1.2vw + 8px, 20px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.qp-lp .card:has(a[href$="?product=Letterhead#quote"]),
.qp-lp .card:has(a[href$="?product=Envelopes#quote"]),
.qp-lp .card:has(a[href$="?product=Notepads#quote"]),
.qp-lp .card:has(a[href$="?product=Folded%20cards#quote"]),
.qp-lp .card:has(a[href$="?product=Stickers#quote"]),
.qp-lp .card:has(a[href$="?product=Business%20cards#quote"])        { --pastel: var(--thistle);   --deep: var(--grape); }
.qp-lp .card:has(a[href$="?product=Flyers#quote"]),
.qp-lp .card:has(a[href$="?product=Postcards#quote"]),
.qp-lp .card:has(a[href$="?product=Rack%20cards#quote"]),
.qp-lp .card:has(a[href$="?product=Brochures#quote"]),
.qp-lp .card:has(a[href$="?product=Booklets#quote"]),
.qp-lp .card:has(a[href$="?product=Letters#quote"]),
.qp-lp .card:has(a[href$="?product=Door%20hangers#quote"]),
.qp-lp .card:has(a[href$="?product=Calendars#quote"])        { --pastel: var(--sky);       --deep: var(--harbour); }
.qp-lp .card:has(a[href$="?product=Posters#quote"]),
.qp-lp .card:has(a[href$="?product=Large%20format%20posters#quote"]),
.qp-lp .card:has(a[href$="?product=Coroplast%20signs#quote"]),
.qp-lp .card:has(a[href$="?product=Foam%20core%20boards#quote"]),
.qp-lp .card:has(a[href$="?product=Pull-up%20banners#quote"]),
.qp-lp .card:has(a[href$="?product=Sandwich%20boards#quote"]) { --pastel: var(--pistachio); --deep: var(--fern); }
.qp-lp .card:has(a[href$="?product=Synthetic%20menus#quote"]),
.qp-lp .card:has(a[href$="?product=Lanyards%20and%20badges#quote"]) { --pastel: var(--peach); --deep: var(--rust); }
.qp-lp .card::before,
.qp-lp .card-media {
  order: -1;
  aspect-ratio: 1 / 1;
  margin: 0 0 calc(var(--pad) - 4px);
  overflow: hidden;
}
.qp-lp .card::before {
  background-color: color-mix(in srgb, var(--pastel) 22%, #fff);
  background-image: radial-gradient(ellipse 80% 90% at 50% 120%,
    color-mix(in srgb, var(--pastel) 85%, var(--deep)) 0%,
    var(--pastel) 30%,
    color-mix(in srgb, var(--pastel) 55%, #fff) 60%,
    color-mix(in srgb, var(--pastel) 22%, #fff) 90%);
}
.qp-lp .card::before { content: ""; }
.qp-lp .card:has(.card-media)::before { content: none; }
.qp-lp .card-media { background: var(--mist); }
.qp-lp .card-media img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;               /* square in a square: nothing is cropped */
  border-radius: 0;
  transform: translateZ(0) scale(1);
  transform-origin: 50% 60%;
  transition: transform .7s var(--ease);
  backface-visibility: hidden;
}
.qp-lp .card > :not(.card-media, .card-badge) { margin-inline: var(--pad); }
.qp-lp .card-title { margin-block: 0; font-size: clamp(1rem, .9rem + .4vw, 1.1875rem); line-height: 1.25; }
.qp-lp .card-body { margin: 0; color: var(--body); font-size: .875rem; line-height: 1.45; }
.qp-lp .card-body p { margin: 0; }
/* Same day: a butter pill on the panel's top left. */
.qp-lp .card-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  margin: 0;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--butter);
  color: var(--night);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}
/* The search words and terms are for the filters only; the link's field label too. */
.qp-lp :is(.card-field--search-words, .card-terms, .field-label) { display: none; }
.qp-lp .card-field--link, .qp-lp .card-cta { margin-block-start: auto; padding-block-start: 10px; }
.qp-lp :is(.card-field--link a, .card-cta) { color: var(--grape-dark); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.qp-lp :is(.card-field--link a, .card-cta)::after { content: " \2192"; }
/* The link covers the whole card. Hover, or keyboard focus on the link, lifts
   the card and zooms the picture, as on the /industries cards. */
.qp-lp :is(.card-field--link a, .card-cta)::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.qp-lp .card:is(:hover, :has(:is(.card-field--link a, .card-cta):focus-visible)) { transform: translateY(-6px); box-shadow: 0 24px 48px rgb(28 11 51 / .14); }
.qp-lp .card:is(:hover, :has(:is(.card-field--link a, .card-cta):focus-visible)) .card-media img { transform: translateZ(0) scale(1.07); }
.qp-lp .card:hover :is(.card-field--link a, .card-cta) { text-decoration: underline; text-underline-offset: 4px; }
.qp-lp :is(.card-field--link a, .card-cta):focus-visible { outline: none; }
.qp-lp .card:has(:is(.card-field--link a, .card-cta):focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
@media (hover: none) {
  .qp-lp .card:hover:not(:has(:is(.card-field--link a, .card-cta):focus-visible)) { transform: none; box-shadow: none; }
  .qp-lp .card:hover:not(:has(:is(.card-field--link a, .card-cta):focus-visible)) .card-media img { transform: translateZ(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .qp-lp .card, .qp-lp .card-media img { transition: none; }
  .qp-lp .card:is(:hover, :has(:is(.card-field--link a, .card-cta):focus-visible)),
  .qp-lp .card:is(:hover, :has(:is(.card-field--link a, .card-cta):focus-visible)) .card-media img { transform: none; }
}

/* -- /products: "All products", 96px under the hero, with the search beside
   the heading, the filter bar, the count and active filters, the grid, and
   the empty note.
   The search, filters, count, and empty note are added by site.js; without
   it the heading and all 22 cards show. */
.qp-hero--page + .sw-section.qp-catalogue-row > .block.qp-lp-all { padding-block-start: calc(var(--section-pad) - var(--section-pad-tight)); }
.qp-lp-all > .block-heading { margin-block: 0 24px; max-inline-size: none; }
.block.qp-lp-all > .qp-lp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-block-end: 24px;
}
.qp-lp-head > .block-heading { margin: 0; }
.qp-lp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 18rem;
  max-inline-size: 460px;
  min-block-size: 52px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--grape-deep) 25%, #fff);
  border-radius: var(--r-pill);
  background: #fff;
}
.qp-lp-search { color: var(--grape); }
.qp-lp-search:focus-within { outline: var(--focus-ring); outline-offset: 2px; }
.qp-lp-search svg { flex: none; }
.qp-lp-search input {
  flex: 1;
  min-inline-size: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--night);
  font: inherit;
  font-size: 1rem;
}
.qp-lp-search input:focus { outline: none; }
.qp-lp-search input::-webkit-search-cancel-button { cursor: pointer; }
/* Row 2 (Nick's updated artboard): the Type as underline tabs on a hairline,
   and one Industry dropdown on the right, a native select styled as a pill
   with the chosen industry's dot. On phones and tablets the tabs sit on the
   hairline and scroll sideways in one row (below 1024px); the dropdown goes
   under them. */
.block.qp-lp-all > .qp-lp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  border-block-end: 1px solid var(--line);
}
.qp-lp-tabs { display: flex; gap: 28px; }
.qp-lp-tab {
  flex: none;
  min-block-size: 44px;
  margin-block-end: -1px;
  padding: 10px 0 12px;
  border: 0;
  border-block-end: 3px solid transparent;
  background: none;
  color: var(--body);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.qp-lp-tab:hover { color: var(--night); }
.qp-lp-tab[aria-pressed="true"] { border-block-end-color: var(--grape); color: var(--night); }
.qp-lp-tab:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.qp-lp-ind {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 44px;
  margin-block-end: 10px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--grape-deep) 25%, #fff);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--grape-deep);
}
.qp-lp-ind:hover { border-color: var(--grape); }
.qp-lp-ind:focus-within { outline: var(--focus-ring); outline-offset: 2px; }
.qp-lp-ind select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
}
.qp-lp-ind select:focus { outline: none; }
.qp-lp-ind svg { flex: none; pointer-events: none; }
.qp-lp-dot { flex: none; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--dot, var(--line)); }
.qp-lp-dot[hidden] { display: none; }
.qp-lp-all [data-industry="real-estate"]           { --dot: var(--pistachio); }
.qp-lp-all [data-industry="restaurants-and-cafes"] { --dot: var(--peach); }
.qp-lp-all [data-industry="health-and-wellness"]   { --dot: var(--seafoam); }
.qp-lp-all [data-industry="event-planners"]        { --dot: var(--rose); }
.qp-lp-all [data-industry="tourism"]               { --dot: var(--sky); }
.qp-lp-all [data-industry="non-profits"]           { --dot: var(--lavender); }
.qp-lp-all [data-industry="home-services"]         { --dot: var(--butter); }
.qp-lp-all [data-industry="arts-and-culture"]      { --dot: var(--orchid); }
/* Under the bar: the count, a removable pill for each active filter, Clear all. */
.block.qp-lp-all > .qp-lp-count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-block-size: 36px; margin-block: 18px 20px; }
.qp-lp-count p { margin: 0; color: var(--body); font-size: .9375rem; }
.qp-lp-pills { display: contents; }
.qp-lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 36px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--grape-deep) 25%, #fff);
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--grape-deep);
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.qp-lp-pill:hover { border-color: var(--grape); }
.qp-lp-pill:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.qp-lp-x { font-size: 1.125rem; line-height: 1; }
.qp-lp-clear {
  min-block-size: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--grape-dark);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.qp-lp-clear[hidden] { display: none; }
.qp-lp-clear:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
@media (max-width: 1199px) { .qp-lp-tabs { gap: 20px; } }
@media (max-width: 1023px) {
  .block.qp-lp-all > .qp-lp-bar { display: block; border: 0; }
  .qp-lp-tabs {
    gap: 22px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border-block-end: 1px solid var(--line);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .qp-lp-tabs::-webkit-scrollbar { display: none; }
  .qp-lp-ind { margin-block: 16px 0; }
}
.qp-lp-all .card[hidden] { display: none; }
.block.qp-lp-all > .qp-lp-empty {
  margin-block-start: 20px;
  padding: 40px 24px;
  border: 1px dashed var(--wisteria);
  border-radius: var(--r-lg);
  text-align: center;
}
.qp-lp-empty[hidden] { display: none; }
.qp-lp-empty p { margin: 0 auto; max-inline-size: 36rem; color: var(--body); }
.qp-lp-empty p:first-child { margin-block-end: 8px; color: var(--night); font-family: var(--font-heading, inherit); font-size: 1.375rem; font-weight: 600; }
.qp-lp-empty a { font-weight: 600; }

/* -- Industry pages: the products row (2026-11-30, temporary with the launch
   collection; Nick's "Industry page: products section" artboard). After the
   Featured band: "<Industry> print kit" with the industry's dot, the H2 and a
   line, "See all <industry> products" on the right, then one row of four
   launch-product cards (.qp-lp cards, typed in so each shows that industry's
   mockup). Replaces the old kit (.qp-kit), and keeps its #kit anchor. */
/* base.css zeroes the top padding of the first block in a section that
   follows another (.sw-section + .sw-section > .block:first-child, 0,4,0),
   as it did for Services and Features; this outranks it for this row only,
   with the same section spacing as "How it works" below it. The bottom is
   the block's own. */
.sw-section + .sw-section.qp-kitrow-row > .block.qp-kitrow:first-child { padding-block-start: var(--section-pad); }
.block.qp-kitrow {
  display: grid;
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: end;
}
.block.qp-kitrow > * { grid-column: 1; inline-size: auto; max-inline-size: 40rem; margin-inline: 0; }
.qp-kitrow > .block-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--industry-deep);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.qp-kitrow > .block-eyebrow::before { content: ""; flex: none; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--industry-pastel); }
.qp-kitrow > .block-heading { margin: 0; }
.qp-kitrow > .block-body { margin: 14px 0 0; color: var(--body); font-size: 1.125rem; }
.qp-kitrow > .block-body p { margin: 0; }
.block.qp-kitrow > .block-cta { grid-column: 2; grid-row: 1 / span 3; align-self: end; max-inline-size: none; white-space: nowrap; }
.qp-kitrow > .block-cta::after { content: " \2192"; }
.block.qp-kitrow > .grid { grid-column: 1 / -1; max-inline-size: none; margin-block-start: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .block.qp-kitrow > .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .block.qp-kitrow { grid-template-columns: minmax(0, 1fr); }
  .block.qp-kitrow > .block-cta { grid-column: 1; grid-row: auto; justify-self: start; margin-block-start: 16px; white-space: normal; }
  .block.qp-kitrow > .grid { margin-block-start: 28px; }
}

/* Homepage "Popular products" (2026-11-30, temporary with the launch
   collection; Nick's "Homepage: Popular products" artboard): the same row as
   the industry pages (.qp-kitrow, four typed .qp-lp cards) with a grape
   eyebrow and no dot, and no line of copy. Scott's own Popular products block
   (.qp-products) is a separate, unconnected block that renders nothing. */
.qp-kitrow.qp-homepop > .block-eyebrow { color: var(--grape-dark); }
.qp-kitrow.qp-homepop > .block-eyebrow::before { content: none; }

/* -- /contact: the map section (2026-11-30). Its own section after the
   "Visit the shop" panel, the panel's width, holding the engine's Embed block
   (a Google Maps embed, no API key; the engine sandboxes it and loads it
   lazily). Sized the 24 Carrots way: base.css gives every block iframe 16:9,
   so one rule scoped to Google Maps makes it 440px tall (320px on phones) with
   the panel's 28px corners; a video embed keeps its 16:9. "Get directions" is
   in the panel above. */
.qp-contact .qp-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sw-section.qp-contact:has(+ .sw-section.qp-maprow) { margin-block-end: 24px; }
.sw-section.qp-maprow { inline-size: min(100% - (var(--gutter) * 2), var(--wrap)); margin: 0 auto var(--section-pad); }
.sw-section.qp-maprow > .block.qp-mapblock { padding: 0; }
.block.qp-mapblock > .embed-frame { inline-size: 100%; margin: 0; }
.block--embed iframe[src*="google.com/maps"] { display: block; aspect-ratio: auto; block-size: 440px; border-radius: var(--r-xl); }
@media (max-width: 699px) { .block--embed iframe[src*="google.com/maps"] { block-size: 320px; } }
}
