/* WPI site engine — HOME SERVICES family "Crew Pro" skin (recipe registry
   skinKey: 'crew-pro', the family's MULTI-PAGE template). SAME CLASS CONTRACT
   as the classic auto sheet (app.js and the flat pages render it unchanged —
   one engine, N skins), authored for the ESTABLISHED contractor: the HVAC /
   electrical / landscaping company with trucks, a crew and a phone that gets
   answered. Deep steel blue + one red, heavy uppercase display, square-cut
   chrome. Four moves make it a different template from 'fresh-cut' (daylight,
   quote-first, one page) and from the plumbing dispatch look (ink + hi-vis
   amber, emergency-first):
     - the topbar is a STICKY CALL BAR: dark steel, the merchant's phone as a
       red button that stays in reach on every page and every viewport;
     - the home page is a PITCH — a tall steel hero with the quote panel and the
       trust strip as a ruled credentials row — and every section is its OWN
       PAGE (Services / Reviews / Our Work / Service Area / About), each
       rendered inside the same shell with a page-header title;
     - the Services page is a wall of BIG PICTOGRAM TILES (a 104px steel chip
       with a white pictogram, uppercase title, short blurb, red hover rule);
     - the Reviews page is a TESTIMONIAL WALL — alternating steel and white
       quote cards — and the Contact page is an hours + service-area board.
   Nothing here invents a claim: "since 20xx", coverage and credentials come
   only from the merchant's own copy, hours and trust claims.

   LAYOUT LEVER: a non-default skin stamps `<html data-skin="crew-pro">` on
   every page (provisioner skin-hook). Rules that RESTRUCTURE the shared DOM —
   the call bar rule, the tall hero, the ruled trust row, the pictogram grid,
   the testimonial wall, the page-header titles, the contact board — are scoped
   `html[data-skin="crew-pro"]` so they are inert anywhere this skin is not
   worn. Presentation-only rules (tokens, type, buttons, forms, money-path
   pages) stay unscoped so book/pay/checkout/faq/gallery keep the look with no
   per-page work.

   CALL-FIRST NOTE: the engine's tap-to-call hero/dock injection
   (callFirstActiveFor) is gated to the PLUMBING family today, so it does not
   fire here even though this skin wears the 'urgency' hero. The call bar is
   therefore built from the topbar's own phone button (data-bind-href="tel",
   present on every page); the .btn--call rules below are kept so the sheet is
   ready the day the gate widens. */

/* Display face: the engine bundles ONE self-hosted variable woff2 (Archivo),
   served same-origin so the strict 'self' CSP allows it. Heavy weights and
   uppercase headings — the sturdy-industrial voice with no extra request. */
@font-face{
  font-family:'Archivo';
  src:url('archivo.woff2') format('woff2');
  font-weight:500 900;
  font-style:normal;
  font-display:swap;
}

:root{
  /* ---- Brand (runtime-injected + WCAG-clamped by app.js; never hardcode) ----
     Defaults = the registry tokens for 'crew-pro': deep steel blue (9.5:1 on
     white) + a true red (6.5:1 on white, 6.0:1 on the lightest alt surface),
     so both render verbatim instead of being darkened by the clamp. */
  --brand:#0C4A6E;           /* steel blue — primary fill, links, focus ring, pictogram chips */
  --brand-fg:#ffffff;
  --accent:#B91C1C;          /* red — the CALL button, rules, markers */
  --accent-fg:#ffffff;
  --accent-on-dark:#FCA5A5;  /* accent tint for text/eyebrow on the dark hero */

  /* ---- Neutrals (cool steel structural palette; all >=4.5:1 where used) ---- */
  --ink:#0B1A26;             /* headings, the call bar, the dark review cards */
  --body:#33424F;            /* body text (9.7:1 on the alt surface) */
  --muted:#55636F;           /* secondary; 5.8:1 on --bg-alt */
  --line:#DDE5EC;            /* hairlines */
  --line-strong:#C3CFDA;     /* heavier dividers / input borders */
  --bg:#ffffff;
  --bg-alt:#F5F8FB;          /* alt sections — luminance >= app.js LIGHTEST_SURFACE (#f5f7fa),
                                so a boundary brand stays AA as link text here */
  --bg-sunken:#E9EEF4;       /* deeper wells (decorative only, never a text surface) */

  /* ---- Foundation scales ---- */
  --display:'Archivo', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale — large: the home hero is a landing page, the section pages
     each open with an h1 */
  --fs-eyebrow:.8rem;
  --fs-sm:.9rem;
  --fs-base:1.02rem;
  --fs-lg:1.14rem;
  --fs-h3:1.3rem;
  --fs-h2:clamp(1.9rem,3.6vw,2.7rem);
  --fs-h1:clamp(2.6rem,6vw,4.5rem);

  /* Spacing scale (4 / 8 px rhythm) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px;

  /* Derived brand ramp (tenant colour flows through via color-mix) */
  --brand-strong:color-mix(in srgb, var(--brand) 84%, #000);   /* hover fill */
  --brand-wash:color-mix(in srgb, var(--brand) 7%, #fff);       /* faint tint */
  --brand-chip:color-mix(in srgb, var(--brand) 13%, #fff);      /* icon chip */
  --brand-ring:color-mix(in srgb, var(--brand) 40%, transparent);
  /* Focus ring: solid --brand, AA-clamped by the runtime, so it clears the 3:1
     non-text floor (WCAG 1.4.11) on white; dark surfaces flip it to white. */
  --focus-ring:var(--brand);

  /* Dark palette, personalized by tenant --brand (token names match the auto
     sheet so app.js's hero-scrim vars are unchanged). */
  --navy-900:#06111A;
  --navy-800:#0A1826;
  --navy-700:color-mix(in srgb, var(--brand) 34%, #0B1E2E);

  /* Elevation — firm, tool-like shadows */
  --sh-sm:0 1px 2px rgba(6,17,26,.06), 0 1px 4px rgba(6,17,26,.07);
  --sh-md:0 4px 10px rgba(6,17,26,.07), 0 14px 30px rgba(6,17,26,.11);
  --sh-lg:0 12px 26px rgba(6,17,26,.12), 0 34px 70px rgba(6,17,26,.20);
  --shadow:var(--sh-md);     /* back-compat alias for the original token */
  /* The CALL button carries a red glow so it reads as the one thing to do. */
  --sh-accent:0 10px 24px color-mix(in srgb,var(--accent) 38%,transparent);

  /* Radii — square-cut chrome: tool cases, not pills */
  --radius:10px;
  --r-sm:6px;
  --r-pill:999px;

  --maxw:1200px;
  font-synthesis:none;
}

*{box-sizing:border-box}
/* The hidden attribute must always win: section/panel toggles rely on it. */
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;color:var(--body);background:var(--bg);
  font-family:var(--sans);font-size:var(--fs-base);
  line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
h1,h2,h3{font-family:var(--display);color:var(--ink);line-height:1.04;margin:0 0 .4em;letter-spacing:-.02em;font-weight:900}
p{margin:0 0 1em}
a{color:var(--brand);text-decoration:none}
.muted{color:var(--muted)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* Visible keyboard focus everywhere. var(--brand) is WCAG-clamped to >=4.5:1 on
   white by app.js, so this ring clears the 3:1 non-text floor (WCAG 1.4.11). */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:2px;border-radius:6px;
}
/* On the dark call bar, hero, footer, dock and the steel review cards a blue
   ring would vanish: the ring goes white there (>=9:1 on every dark surface). */
.topbar :focus-visible,.hero :focus-visible,.footer :focus-visible,.paybar :focus-visible{outline-color:#fff}

/* ---------------- Buttons (square-cut, uppercase; >=48px tall everywhere) ---------------- */
.btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  min-height:48px;
  font-family:var(--display);font-weight:800;font-size:.95rem;letter-spacing:.04em;text-transform:uppercase;
  border:2px solid transparent;border-radius:var(--r-sm);padding:.7em 1.5em;
  cursor:pointer;line-height:1;white-space:nowrap;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn--lg{min-height:58px;padding:.9em 1.9em;font-size:1.05rem}
.btn--block{width:100%}
.btn--primary{background:var(--brand);color:var(--brand-fg);box-shadow:0 8px 20px color-mix(in srgb,var(--brand) 26%,transparent)}
.btn--primary:hover{background:var(--brand-strong);transform:translateY(-2px);box-shadow:0 14px 30px color-mix(in srgb,var(--brand) 34%,transparent)}
.btn--accent{background:var(--accent);color:var(--accent-fg);box-shadow:var(--sh-accent)}
.btn--accent:hover{background:color-mix(in srgb,var(--accent) 86%,#000);transform:translateY(-2px);box-shadow:0 16px 36px color-mix(in srgb,var(--accent) 48%,transparent)}
.btn--ghost{background:#fff;border-color:var(--line-strong);color:var(--ink)}
.btn--ghost:hover{border-color:color-mix(in srgb,var(--brand) 50%,var(--line-strong));background:var(--brand-wash);transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.99)}
.btn--phone{font-variant-numeric:tabular-nums}
/* The engine-injected phone-first CALL button (hero + dock), when the gate
   widens to this family: a stacked eyebrow + number, the number the big line. */
.btn--call .btn__call-lab{display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.05;text-align:left;text-transform:none}
.btn--call .btn__call-lab small{font-size:.66rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.btn--call .btn__call-num{font-size:1.2rem;letter-spacing:.005em;font-variant-numeric:tabular-nums}
html[data-skin="crew-pro"] .hero .btn--call{min-height:76px;padding:.8em 1.6em;width:100%;max-width:520px;justify-content:flex-start}
html[data-skin="crew-pro"] .hero__cta .btn--call{flex:1 0 100%}
html[data-skin="crew-pro"] .hero .btn--call .btn__call-num{font-size:clamp(1.5rem,4vw,2rem)}

/* ---------------- Topbar == STICKY CALL BAR ----------------
   Dark steel, a red rule along the top, the merchant's phone as a red button
   that stays in reach on every page and every width (the auto sheet hides the
   phone on phones in favour of the dock alone; here it stays at the top AND
   the bottom). Brand and nav go white (13:1+). */
.topbar{position:sticky;top:0;z-index:40;background:var(--ink);border-bottom:0}
html[data-skin="crew-pro"] .topbar::before{content:"";display:block;height:5px;background:var(--accent)}
.topbar__inner{display:flex;align-items:center;gap:20px;min-height:74px;padding:10px 0}
/* The brand is the ONLY thing in the call bar allowed to give: it shrinks
   (flex 0 1, min-width 0) and its name WRAPS to a second line rather than
   truncating — a business name is never cut off. It used to be nowrap +
   ellipsis, which read "WREN HOLLOW LANDSCAPI…" on a 1366px laptop while the
   nav labels broke mid-label; nav labels are nowrap now and the nav never
   shrinks (the ≤1400px block tightens it so six links still fit one row). */
.brand{display:flex;align-items:center;gap:12px;font-family:var(--display);font-weight:900;color:#fff;min-width:0;flex:0 1 auto}
.brand__badge{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:var(--brand);color:var(--brand-fg);font-size:.95rem;font-weight:900;letter-spacing:.01em;flex:none;box-shadow:inset 0 0 0 2px color-mix(in srgb,#fff 18%,transparent)}
.brand__logo{height:44px;max-height:44px;width:auto;max-width:190px;object-fit:contain;display:block}
.brand__name{font-size:1.14rem;line-height:1.05;letter-spacing:-.01em;text-transform:uppercase}
.nav{display:flex;gap:2px;margin-left:auto;flex:none}
.nav a{position:relative;display:inline-flex;align-items:center;min-height:44px;color:#d6e1ea;font-weight:800;font-size:.88rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;padding:0 13px;border-radius:var(--r-sm);transition:color .15s ease, background .15s ease}
.nav a::after{content:"";position:absolute;left:13px;right:13px;bottom:8px;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.nav a:hover{color:#fff}
.nav a:hover::after{transform:scaleX(1)}
.topbar .btn--cart{background:transparent;color:#fff;border-color:color-mix(in srgb,#fff 40%,transparent)}
/* The phone link IS the call bar's action: red, 48px+, tabular digits. */
.topbar .btn--phone{margin-left:8px;background:var(--accent);color:var(--accent-fg);border-color:transparent;font-weight:900;font-size:1.02rem;letter-spacing:.01em;text-transform:none;padding:.6em 1.3em;box-shadow:var(--sh-accent)}
.topbar .btn--phone:hover{background:color-mix(in srgb,var(--accent) 86%,#000);border-color:transparent;transform:translateY(-2px)}

/* ---------------- Hero (the home-page PITCH: tall steel, a red slash) ----------------
   On this multi-page template the home page keeps only the hero and the trust
   strip, so the hero is sized like a landing page (a viewport-relative
   minimum) and carries the quote panel; the section pages have no hero. */
.hero{
  position:relative;overflow:hidden;color:#e6edf4;
  padding:84px 0 96px;
  background:
    radial-gradient(900px 560px at 88% -10%, color-mix(in srgb,var(--brand) 46%,transparent), transparent 60%),
    radial-gradient(700px 480px at 6% 112%, color-mix(in srgb,var(--brand) 30%,transparent), transparent 62%),
    linear-gradient(156deg, var(--navy-900) 0%, var(--navy-800) 46%, var(--navy-700) 100%);
}
html[data-skin="crew-pro"] .hero{min-height:min(74vh,720px);display:flex;align-items:center}
/* the red slash: one diagonal band across the field, faded at the ends */
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(112deg, transparent 0 57%, color-mix(in srgb,var(--accent) 72%,transparent) 57% 59.5%, transparent 59.5%);
  mask-image:linear-gradient(180deg,transparent 4%,#000 40%,#000 70%,transparent 100%);
}
/* a fine steel grid, faded, so the field reads as a job site not a void */
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(120% 100% at 20% 0%,#000 30%,transparent 100%)}
/* Merchant hero background image (optional): app.js sets --hero-image + adds
   this class and the AA-clamped scrim vars. The photo sits at the BOTTOM of the
   stack under a brand-tinted steel scrim whose darkness the merchant controls;
   white hero copy keeps >=4.5:1 over ANY image even at the lightest setting. */
.hero--has-image{
  background:
    radial-gradient(940px 540px at 88% -8%, color-mix(in srgb,var(--brand) 30%,transparent), transparent 58%),
    linear-gradient(156deg, color-mix(in srgb,var(--navy-900) var(--hero-ov-top,90%),transparent) 0%, color-mix(in srgb,var(--navy-800) var(--hero-ov-mid,82%),transparent) 52%, color-mix(in srgb,var(--navy-900) var(--hero-ov-bot,87%),transparent) 100%),
    var(--hero-image) center / cover no-repeat,
    var(--navy-900);
}
.hero--has-image::after{opacity:.2}
.hero--has-image .eyebrow{color:#f1f5fc}
.hero__inner{display:grid;grid-template-columns:1.3fr .95fr;gap:52px;align-items:center;position:relative;z-index:1;width:100%}
.hero__inner:has(> .hero__copy:only-child){grid-template-columns:1fr;max-width:900px}
/* The eyebrow (the merchant's city/state): a red-marked service-area line. */
.eyebrow{display:inline-flex;align-items:center;gap:12px;text-transform:uppercase;letter-spacing:.16em;font-size:var(--fs-eyebrow);font-weight:900;font-family:var(--display);color:var(--accent-on-dark);margin:0 0 20px}
.eyebrow::before{content:"";width:34px;height:4px;background:var(--accent)}
.hero h1{color:#fff;font-size:var(--fs-h1);font-weight:900;line-height:.96;text-transform:uppercase;letter-spacing:-.03em;margin:0 0 .22em}
.lede{font-size:clamp(1.1rem,1.7vw,1.35rem);color:#c3d0dc;margin:0 0 30px;max-width:40ch;line-height:1.5;font-weight:500}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
/* On the dark hero the primary (Book) is a white slab and Pay is the red;
   the engine-demoted ghosts are outlined white. */
.hero .btn--primary{background:#fff;color:var(--brand);box-shadow:none}
.hero .btn--primary:hover{background:#e8eef4}
.hero .btn--ghost{background:transparent;color:#fff;border-color:color-mix(in srgb,#fff 55%,transparent)}
.hero .btn--ghost:hover{background:color-mix(in srgb,#fff 12%,transparent);border-color:#fff}
.hero__trust{margin-top:26px;display:flex;align-items:center;gap:12px 22px;color:#c6d2de;font-size:1rem;font-weight:600;flex-wrap:wrap}
.stars{color:#ffc24b;letter-spacing:2px}

/* Hero quote card — the "request a quote / request service" panel, red-capped. */
.hero__card{background:#fff;color:var(--ink);border-radius:var(--radius);padding:28px;box-shadow:var(--sh-lg);position:relative;overflow:hidden}
.hero__card::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:var(--accent)}
.hero__card h2{margin:4px 0 .15em;font-size:1.36rem;font-weight:900;text-transform:uppercase;letter-spacing:-.01em}
/* The lead form's own submit is the steel primary, NOT the inverted hero slab. */
.hero .hero__card .btn--primary{background:var(--brand);color:var(--brand-fg);box-shadow:0 8px 20px color-mix(in srgb,var(--brand) 26%,transparent)}
.hero .hero__card .btn--primary:hover{background:var(--brand-strong)}
.qform{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.qfield{display:flex;flex-direction:column;gap:6px}
.qfield label{font-size:.84rem;font-weight:800;color:var(--ink)}
/* "(required)" marker — normal-weight annotation; AT gets required-ness from the
   input's `required` attribute, so the marker is aria-hidden in the markup. */
.req{font-weight:400;color:var(--ink)}
.qform input,.qform select{width:100%;box-sizing:border-box;padding:.85em 1em;min-height:48px;border:2px solid var(--line-strong);border-radius:var(--r-sm);font-size:1.02rem;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.qform input:focus,.qform select:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.qform__note{font-size:.82rem;color:var(--muted);margin:.8em 0 0}
.qfield--hp{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Keyboard skip link — hidden off-screen until focused, then slides in. */
.skip-link{position:fixed;top:0;left:0;z-index:1000;background:var(--accent);color:#fff;padding:10px 16px;border-bottom-right-radius:8px;font-weight:900;transform:translateY(-120%);transition:transform .15s ease}
.skip-link:focus{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.skip-link{transition:none}}

/* ---------------- Trust strip == RULED CREDENTIALS ROW ----------------
   Under the pitch: the merchant's own claims as a white row of cells divided
   by rules, each with a red check, closed by a steel bar. Reads like the
   stats row under a landing-page hero. */
.trustbar{background:#fff;border-bottom:5px solid var(--brand)}
.trustbar__inner{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 40px;padding:20px 0}
.trustbar__item{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-weight:800;font-size:.95rem;letter-spacing:.01em;color:var(--ink)}
.trustbar__item svg{width:22px;height:22px;color:var(--accent);flex:none}
html[data-skin="crew-pro"] .trustbar__inner{gap:0;padding:0}
html[data-skin="crew-pro"] .trustbar__item{padding:22px 32px;border-left:1px solid var(--line-strong)}
html[data-skin="crew-pro"] .trustbar__item:first-child{border-left:0}

/* ---------------- Sections & the section-page header ----------------
   On a section page the moved block's title is promoted to the page h1
   (multipage.ts). Inside <main> the title becomes a page header: bigger, a
   long red rule beneath, and the block gets landing-page top padding. */
.section{padding:84px 0}
.section--alt{background:var(--bg-alt)}
.section__title{font-size:var(--fs-h2);font-weight:900;text-transform:uppercase;letter-spacing:-.02em;position:relative;padding-top:22px}
/* red marker rule above each section title */
.section__title::before{content:"";position:absolute;top:0;left:0;width:64px;height:6px;background:var(--accent)}
.section__sub{color:var(--muted);margin:.5em 0 36px;font-size:var(--fs-lg);max-width:60ch;line-height:1.55}
html[data-skin="crew-pro"] main > .section{padding-top:64px}
html[data-skin="crew-pro"] main .section__title{font-size:clamp(2.2rem,4.8vw,3.4rem);padding-top:0;padding-bottom:18px;margin-bottom:.5em;border-bottom:4px solid var(--accent)}
html[data-skin="crew-pro"] main .section__title::before{content:none}

/* ---------------- Grids / cards ---------------- */
.grid{display:grid;gap:22px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:2px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--sh-sm);position:relative;overflow:hidden;transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease}
.card:hover{transform:translateY(-4px);box-shadow:var(--sh-md);border-color:var(--brand)}
.card__icon{width:64px;height:64px;border-radius:12px;display:grid;place-items:center;background:var(--brand);color:#fff;margin-bottom:18px}
.card__icon svg{width:32px;height:32px}
.card h3{font-size:var(--fs-h3);font-weight:900;margin-bottom:.3em;text-transform:uppercase;letter-spacing:-.01em}
.card p{margin:0;color:var(--body)}
.card--media{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card__media{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg-alt)}
.card--media .card__body{padding:22px 24px 24px;flex:1}

/* ---- SERVICES PAGE: big pictogram tiles ----
   Scoped to the services grid only (#servicesGrid) so the catalog and review
   grids — which share .grid--3 — keep their own grammar. Centred, a 104px
   steel chip with a white pictogram, uppercase title, a red rule that lights
   on hover: readable from across the room, tappable with a glove on. */
html[data-skin="crew-pro"] #servicesGrid{gap:22px}
html[data-skin="crew-pro"] #servicesGrid .card{text-align:center;padding:40px 26px 34px;border-bottom:6px solid var(--brand)}
html[data-skin="crew-pro"] #servicesGrid .card:hover{border-bottom-color:var(--accent)}
html[data-skin="crew-pro"] #servicesGrid .card__icon{width:104px;height:104px;border-radius:26px;margin:0 auto 22px;box-shadow:0 10px 24px color-mix(in srgb,var(--brand) 30%,transparent)}
html[data-skin="crew-pro"] #servicesGrid .card__icon svg{width:52px;height:52px}
html[data-skin="crew-pro"] #servicesGrid .card h3{font-size:1.35rem}
html[data-skin="crew-pro"] #servicesGrid .card p{font-size:1.02rem}
/* A tile with a service photo keeps the photo-card grammar, left-aligned. */
html[data-skin="crew-pro"] #servicesGrid .card--media{text-align:left;padding:0}

/* ---------------- REVIEWS PAGE: testimonial wall ----------------
   Card-level only: REVIEWS_RAIL_CSS (appended after this sheet) owns the grid's
   display, so nothing here sets `display` on #reviewsGrid. Cards alternate
   steel (white copy, 17:1) and white, each with a big red opening quote. */
.reviews__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:36px;flex-wrap:wrap}
.card.review{display:flex;flex-direction:column}
.review .review__stars{color:#b45309;letter-spacing:2px;margin-bottom:10px;font-size:1.05rem} /* >=4.5:1 on white */
.review p{font-size:1.04rem;color:var(--body)}
.review__name{font-weight:800;font-family:var(--display);color:var(--ink);margin-top:16px}
/* Live Google Reviews: attribution label + author row (avatar + name/link). */
.review-attrib{grid-column:1/-1;margin:0 0 4px;font-size:.9rem;font-weight:700}
.review__author{display:flex;align-items:center;gap:10px;margin-top:16px}
.review__author .review__name{margin-top:0}
a.review__name{text-decoration:none}
a.review__name:hover,a.review__name:focus-visible{text-decoration:underline}
.review__avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.empty-state{grid-column:1/-1;padding:20px 0}
html[data-skin="crew-pro"] .card.review{padding:36px 28px 28px;border-width:2px}
html[data-skin="crew-pro"] .card.review::before{content:"\201C";position:absolute;top:2px;right:18px;font-family:var(--display);font-size:5rem;line-height:1;font-weight:900;color:var(--accent);opacity:.9;pointer-events:none}
html[data-skin="crew-pro"] .card.review:nth-child(odd){background:var(--ink);border-color:var(--ink);color:#fff}
html[data-skin="crew-pro"] .card.review:nth-child(odd) p,html[data-skin="crew-pro"] .card.review:nth-child(odd) .review__name,html[data-skin="crew-pro"] .card.review:nth-child(odd) a.review__name{color:#fff}
html[data-skin="crew-pro"] .card.review:nth-child(odd) .review__stars{color:#ffc24b}
html[data-skin="crew-pro"] .card.review:nth-child(odd) :focus-visible{outline-color:#fff}
html[data-skin="crew-pro"] .card.review:nth-child(odd)::before{color:var(--accent-on-dark)}
html[data-skin="crew-pro"] .review p{font-size:1.1rem;line-height:1.6;font-weight:500}

/* ---------------- Gallery (job photos; designed EMPTY state) ----------------
   A new contractor rarely has job photos. Placeholder tiles are steel panels
   with a diagonal hatch and the caption on a red label — a site board, not a
   gap. A tile carrying a photo (:has) reverts to caption-over-scrim. */
.tile{aspect-ratio:4/3;border-radius:var(--radius);background:var(--bg-sunken);border:2px solid var(--line);position:relative;overflow:hidden;display:flex;align-items:flex-end;color:var(--ink);box-shadow:none}
.tile:nth-child(2n){background:var(--bg-alt)}
.tile:nth-child(3n){background:var(--bg-sunken)}
.tile__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.tile:hover .tile__img{transform:scale(1.04)}
.tile span{position:relative;margin:14px;padding:8px 12px;font-family:var(--display);font-weight:800;font-size:.84rem;text-transform:uppercase;letter-spacing:.06em;background:var(--accent);color:var(--accent-fg);border-radius:4px;width:auto;max-width:100%}
html[data-skin="crew-pro"] .tile::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 14px,color-mix(in srgb,var(--brand) 9%,transparent) 14px 15px)}
html[data-skin="crew-pro"] .tile:has(.tile__img)::before{content:none}
html[data-skin="crew-pro"] .tile:has(.tile__img){border-color:transparent;background:var(--navy-900)}
html[data-skin="crew-pro"] .tile:has(.tile__img) span{margin:0;padding:26px 14px 13px;width:100%;max-width:none;border-radius:0;background:linear-gradient(transparent,rgba(6,17,26,.72) 38%);color:#fff;text-transform:none;letter-spacing:0;font-weight:600;font-size:.9rem}

/* ---------------- Products catalog (parts / filters, if the company sells any) ---------------- */
.catalog__section{grid-column:1/-1;margin:20px 0 4px;font-family:var(--display);font-size:1.28rem;font-weight:900;text-transform:uppercase;letter-spacing:-.01em;color:var(--ink);border-bottom:2px solid var(--line);padding-bottom:12px}
.catalog__section:first-child{margin-top:0}
.card--product{position:relative;padding:0;overflow:hidden;display:flex;flex-direction:column}
.product__media{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg-alt)}
.product__media--ph{display:grid;place-items:center;background:var(--brand-wash);color:var(--brand)}
.product__media--ph svg{width:46px;height:46px;opacity:.6}
.product__body{display:flex;flex-direction:column;gap:6px;padding:22px 24px 24px;flex:1}
.card--product .product__name{font-size:1.1rem;font-weight:800;font-family:var(--display);margin:0}
.product__desc{margin:0;font-size:.92rem;color:var(--body)}
.product__price{margin-top:auto;padding-top:12px;color:var(--ink);font-weight:900;font-size:1.16rem;font-variant-numeric:tabular-nums}
.card--out{filter:saturate(.4)}
.product__badge{position:absolute;top:14px;left:14px;background:var(--ink);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.42em .85em;border-radius:var(--r-pill);box-shadow:var(--sh-sm)}

/* ---------------- Cart ---------------- */
.btn--add{margin-top:16px;align-self:flex-start}
.cart__count{display:inline-grid;place-items:center;min-width:1.5em;padding:.05em .45em;border-radius:var(--r-pill);background:var(--accent);color:var(--accent-fg);font-size:.78rem;font-weight:900;font-variant-numeric:tabular-nums}
dialog.cartdrawer{margin:0 0 0 auto;width:min(440px,100%);max-width:440px;height:100dvh;max-height:100dvh;border-radius:0;animation:slidein .2s ease;overflow-y:auto;background:var(--bg)}
@keyframes slidein{from{transform:translateX(28px);opacity:.4}to{transform:none;opacity:1}}
.cartdrawer__inner{display:flex;flex-direction:column;min-height:100%}
.cartdrawer__inner > div{display:flex;flex-direction:column;flex:1}
.cartitem{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.cartitem__info{flex:1;min-width:0}
.cartitem__name{font-weight:800;color:var(--ink)}
.cartitem__price{font-size:.88rem;color:var(--muted)}
.cartitem__qty{display:flex;align-items:center;gap:8px}
.qtybtn{width:40px;height:40px;border-radius:50%;border:2px solid var(--line-strong);background:#fff;color:var(--ink);font-size:1.05rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:border-color .15s,background .15s}
.qtybtn:hover{background:var(--bg-alt);border-color:var(--brand)}
.cartitem__count{min-width:2ch;text-align:center;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
/* Standalone control (not inline text): keep the >=24px-tall hit target (WCAG 2.5.8). */
.cartitem__remove{display:inline-flex;align-items:center;min-height:24px;border:0;background:none;color:var(--muted);cursor:pointer;font-size:.85rem;font-weight:600;text-decoration:underline;text-underline-offset:2px;padding:.3em .2em}
.cartitem__remove:hover{color:var(--ink)}
.cart__subtotal{display:flex;justify-content:space-between;align-items:baseline;font-weight:900;color:var(--ink);font-size:1.12rem;padding:18px 0 4px}
.cart__note{font-size:.82rem;color:var(--muted);margin:.4em 0 16px}
.cart__error{color:#b3362e;font-size:.9rem;margin:0 0 10px}
.cart__actions{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:16px}

/* ---------------- CONTACT PAGE == HOURS + SERVICE-AREA BOARD ----------------
   The family copy titles this section "Service Area". The left column becomes
   a white board with a steel header bar: phone first and biggest (red), then
   address, then the hours table set large with heavy right-hand values. The
   map is a light coverage panel with a dashed service radius. */
.contact__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.contact__line{display:flex;gap:14px;align-items:center;font-size:var(--fs-lg);margin:.6em 0}
.contact__line a{font-weight:800}
.ico{width:44px;height:44px;border-radius:10px;display:inline-grid;place-items:center;background:var(--brand);color:#fff;flex:none}
.ico svg{width:21px;height:21px}
.hours__title{margin-top:30px;font-size:1.4rem;font-weight:900;text-transform:uppercase;letter-spacing:-.01em}
.hours{border-collapse:collapse;width:100%;max-width:460px;font-size:1.04rem}
.hours td{padding:.72em 0;border-bottom:1px solid var(--line-strong)}
.hours td:last-child{text-align:right;color:var(--ink);font-weight:900;font-size:1.06rem;font-variant-numeric:tabular-nums}
/* The live open-now pill (app.js, when structured hours exist). */
.hours__open{display:inline-flex;align-items:center;gap:8px;margin:.3em 0 .6em;padding:8px 14px;border-radius:var(--r-sm);background:var(--bg-alt);color:var(--ink);font-weight:800}
.holidays{margin-top:24px;max-width:460px}
.holidays__title{margin:0 0 8px;font-size:1.05rem;font-weight:900}
.holidays__list{list-style:none;margin:0;padding:0}
.holiday{padding:.45em 0;border-bottom:1px solid var(--line);font-size:.98rem}
.holiday__when{font-weight:800;color:var(--ink)}
.holiday__label{color:var(--muted)}
.contact__cta{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
html[data-skin="crew-pro"] .contact__grid > div:first-child{background:#fff;border:2px solid var(--line);border-top:10px solid var(--brand);border-radius:var(--radius);padding:32px;box-shadow:var(--sh-sm)}
html[data-skin="crew-pro"] .contact__line a[href^="tel:"]{font-size:1.4rem;color:var(--accent);font-variant-numeric:tabular-nums}
/* The contact card is a grid item: without min-width:0 its min-content — the
   e-mail address, one unbreakable bold word — set the column and pushed the
   whole page ~90px wider than a phone (the hours table ran off the edge). Let
   the column shrink and break the address instead. */
html[data-skin="crew-pro"] .contact__grid > div{min-width:0}
html[data-skin="crew-pro"] .contact__line > a,html[data-skin="crew-pro"] .contact__line > span:not(.ico){min-width:0;overflow-wrap:anywhere}
html[data-skin="crew-pro"] .hours td:first-child{font-weight:700;color:var(--ink)}
/* Coverage map panel: a light steel "service area" card with a dashed radius,
   so the map slot reads as coverage even before a live embed loads. */
.map{position:relative;min-height:400px;border-radius:var(--radius);overflow:hidden;border:2px solid var(--line-strong);background:
    radial-gradient(110% 110% at 50% 40%, #fff, var(--bg-sunken) 70%);
  box-shadow:var(--sh-sm)}
.map::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.7;background-image:linear-gradient(color-mix(in srgb,var(--brand) 10%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--brand) 10%,transparent) 1px,transparent 1px);background-size:36px 36px;mask-image:radial-gradient(120% 120% at 50% 40%,#000 30%,transparent 100%)}
.map::after{content:"";position:absolute;left:50%;top:46%;width:230px;height:230px;transform:translate(-50%,-50%);border-radius:50%;border:2px dashed color-mix(in srgb,var(--brand) 60%,transparent);background:radial-gradient(circle,color-mix(in srgb,var(--brand) 12%,transparent),transparent 72%);pointer-events:none}
/* A real embedded map iframe sits ON TOP of the decorative panel and wins. */
.map iframe{position:relative;z-index:1;width:100%;height:100%;border:0;min-height:400px}

/* ---------------- Footer ---------------- */
.footer{background:var(--navy-900);color:#b7c6d3;padding:44px 0}
.footer__inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.92rem;align-items:center}
.footer__powered{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.6em}
.footer__powered strong{color:#fff}
/* Wholesale Payments credit mark (official white-text lockup on the dark footer). */
.wpi-credit{height:18px;width:auto;display:inline-block;vertical-align:middle}
.footer__links{display:inline-flex;flex-wrap:wrap;gap:.6em;font-size:.86rem}
.footer__links a:not(:last-child)::after{content:"·";margin-left:.6em;color:#7e91a4;text-decoration:none}
.footer a{color:#cfdae4;text-decoration:underline;text-underline-offset:2px}
.footer a:hover{color:#fff}

/* ---------------- Sticky mobile dock (Book / Pay, or the CALL action when injected) ----------------
   Ink with a red top rule; buttons full-width and >=52px — thumb-reach at the
   bottom, the complement to the call bar at the top. */
.paybar{position:fixed;bottom:0;left:0;right:0;z-index:45;display:none;gap:10px;padding:11px 14px;background:var(--ink);border-top:4px solid var(--accent);box-shadow:0 -10px 28px rgba(6,17,26,.4)}
.paybar .btn{flex:1;min-height:52px}
/* On the dark bar a primary/book button needs a light face to stay legible. */
.paybar .btn--primary{background:#fff;color:var(--brand);box-shadow:none}
.paybar .btn--primary:hover{background:#e8eef4}
.paybar .btn--call{flex:1.4}

/* ---------------- Dialog / modal ---------------- */
dialog.modal{border:0;border-radius:12px;padding:0;max-width:460px;width:calc(100% - 40px);box-shadow:var(--sh-lg);animation:pop .18s ease;background:var(--bg)}
dialog.modal:not([open]){display:none}
dialog.modal::backdrop{background:rgba(6,17,26,.6);backdrop-filter:blur(2px)}
.modal__inner{position:relative;padding:30px;border-radius:inherit}
@keyframes pop{from{transform:translateY(10px) scale(.98);opacity:.5}to{transform:none;opacity:1}}
/* >=24x24 CSS-px hit target (WCAG 2.5.8): a centered 40px box, not a bare glyph. */
.modal__x{position:absolute;right:8px;top:8px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:none;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--muted)}
.modal__x:hover{color:var(--ink)}
.modal h3{margin-top:0}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field label{font-size:.85rem;font-weight:800;color:var(--ink)}
.field input,.field select,.field textarea{padding:.85em .95em;min-height:48px;border:2px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;font-family:inherit;color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.secured{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--muted);margin-top:16px;justify-content:center}
.success{text-align:center;padding:12px 0}
.success__check{width:64px;height:64px;border-radius:50%;background:#15803d;color:#fff;display:grid;place-items:center;font-size:2rem;margin:0 auto 18px;box-shadow:0 8px 20px rgba(21,128,61,.28)}
.redirect-note{font-size:.8rem;word-break:break-all;text-align:center;margin-top:10px}

/* ---------------- Draft-preview banner ---------------- */
.draftbar{background:var(--accent);color:#fff;text-align:center;font-size:.85rem;font-weight:700;padding:10px 14px;position:relative;z-index:50}

/* ---------------- Responsive (down to 320px, 16px gutters) ---------------- */
/* Laptop widths (≤1400px, e.g. 1366): six nav links + the phone button + a
   two-word business name share ~1150px. Tighten the nav and the call button so
   no label wraps and a normal-length DBA stays on one line. */
@media (max-width:1400px){
  .topbar__inner{gap:16px}
  .brand__name{font-size:1.06rem}
  .nav a{font-size:.8rem;letter-spacing:.04em;padding:0 10px}
  .nav a::after{left:10px;right:10px}
  .topbar .btn--phone{font-size:.96rem;padding:.55em 1.1em}
}
@media (max-width:980px){
  .hero__inner{gap:40px}
  .contact__grid{gap:32px}
}
@media (max-width:880px){
  .hero{padding:56px 0 72px}
  html[data-skin="crew-pro"] .hero{min-height:0}
  .hero__inner{grid-template-columns:1fr;gap:36px}
  /* Pitch first: the headline and CTAs stay on top; the request form follows. */
  .hero__card{order:0}
  .grid--3{grid-template-columns:1fr 1fr}
  .grid--4{grid-template-columns:1fr 1fr}
  .contact__grid{grid-template-columns:1fr}
  .nav{display:none}
  .btn--cart{margin-left:auto}
  /* With the nav gone the phone button keeps the right edge of the call bar. */
  .topbar .btn--phone{margin-left:auto}
  .section{padding:64px 0}
  html[data-skin="crew-pro"] .trustbar__inner{gap:8px 0;padding:8px 0}
  html[data-skin="crew-pro"] .trustbar__item{padding:10px 18px}
  html[data-skin="crew-pro"] .hero .btn--call{max-width:none}
}
@media (max-width:560px){
  .wrap{padding:0 16px}
  .grid--3,.grid--4{grid-template-columns:1fr}
  .paybar{display:flex}
  /* The call bar KEEPS its phone button on phones: the number stays one tap
     away at the top AND the bottom. The brand name used to truncate with an
     ellipsis here ("WREN HOLLOW L…"); it now wraps to a second line at a
     smaller size, so the whole business name is always readable. */
  .topbar .btn--phone{display:inline-flex;margin-left:auto;padding:.6em 1.05em;font-size:.98rem;flex:none}
  .topbar__inner{gap:12px}
  .brand{flex:1 1 auto}
  .brand__badge{display:none}
  .brand__name{font-size:.98rem;line-height:1.1}
  /* Money-path pages (book / checkout / pay): "Back to {DBA}" can be wider than
     a phone, so the row may wrap and the button gives up nowrap. */
  .checkout-page .topbar__inner{flex-wrap:wrap;height:auto;min-height:74px;padding:10px 0;row-gap:6px}
  .topbar__back{white-space:normal;text-align:center;line-height:1.15;font-size:.8rem;padding:.6em .9em;flex:0 1 auto;min-width:0;max-width:100%}
  body{padding-bottom:88px}
  html[data-skin="crew-pro"] .trustbar__inner{flex-direction:column;align-items:center;gap:0;padding:14px 0}
  html[data-skin="crew-pro"] .trustbar__item{border-left:0;padding:8px 0}
  .hero__cta .btn{width:100%}
  html[data-skin="crew-pro"] .contact__grid > div:first-child{padding:22px}
  html[data-skin="crew-pro"] main .section__title{font-size:clamp(1.8rem,8vw,2.4rem)}
  .map{min-height:300px}
  .map iframe{min-height:300px}
}
@media (max-width:380px){
  /* very small phones: never let content or buttons overflow the 320px floor */
  .wrap{padding:0 16px}
  .hero__card{padding:22px}
  .card{padding:22px}
  html[data-skin="crew-pro"] #servicesGrid .card{padding:30px 20px 26px}
  .topbar__inner{gap:10px}
  .topbar .btn--phone{font-size:.92rem;padding:.6em .85em}
}

/* ---------------- Securely-charging overlay (checkout / pay / book) ----------------
   Shown while a card is on the wire: a fixed, click-blocking scrim + a centered
   card with a branded spinner. The page JS just toggles the [hidden] attribute;
   role=status + aria-live announces it. CSP-safe (class-based, no inline styles). */
.charge-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:color-mix(in srgb,var(--ink) 58%,transparent);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:co-fade .2s ease}
.charge-overlay__card{background:#fff;border-radius:var(--radius);padding:34px 30px;max-width:340px;width:100%;text-align:center;box-shadow:var(--sh-lg)}
.charge-overlay__spinner{width:48px;height:48px;margin:0 auto 18px;border-radius:50%;border:3px solid var(--bg-sunken);border-top-color:var(--brand);animation:co-spin .8s linear infinite}
.charge-overlay__title{margin:0 0 6px;font-family:var(--display);font-weight:900;font-size:1.08rem;color:var(--ink)}
.charge-overlay__note{margin:0;font-size:.9rem;color:var(--muted);line-height:1.5}
.charge-overlay__lock{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:.78rem;font-weight:600;color:var(--muted)}
.charge-overlay__lock svg{width:13px;height:13px}
@keyframes co-spin{to{transform:rotate(360deg)}}
@keyframes co-fade{from{opacity:0}to{opacity:1}}

/* ---------------- Reduced motion (WCAG 2.3.3) ---------------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  dialog.modal,dialog.cartdrawer{animation:none}
  .btn:hover,.card:hover{transform:none}
  .tile:hover .tile__img{transform:none}
  .nav a::after{transition:none}
  /* The spinner stops; the static brand-topped ring + the aria-live title still
     signal that the charge is in progress. */
  .charge-overlay,.charge-overlay__spinner{animation:none}
}

/* ---------------- Kanopy Token.js card step (checkout.html) ---------------- */
.cardstep{display:flex;flex-direction:column;gap:14px}
.cardstep__row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cardstep .qfield > div{min-height:48px;border:2px solid var(--line-strong);border-radius:var(--r-sm);padding:.4em .55em;background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.cardstep .qfield > div:focus-within{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring)}

/* ---------------- Pay-invoice page ---------------- */
.invoice__summary{font-weight:900;color:var(--ink);font-size:1.12rem;margin:0 0 .4em}

/* ---------------- Checkout-style pages (checkout/pay/book) ---------------- */
.checkout-page{background:var(--bg-alt)}
.checkout{padding:48px 0 88px}
.checkout__wrap{max-width:640px}
.checkout__panel{background:#fff;border:2px solid var(--line);border-top:6px solid var(--accent);border-radius:var(--radius);padding:30px;margin-bottom:22px;box-shadow:var(--sh-sm)}
.checkout__panel h2{font-size:var(--fs-h3);font-weight:900;margin-bottom:.65em;text-transform:uppercase;letter-spacing:-.01em}
.summary__row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.summary__name{font-weight:800;color:var(--ink)}
.summary__qty{font-size:.88rem;color:var(--muted)}
.summary__line{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:800;color:var(--ink)}
.checkout .qfield{margin-bottom:16px}
.checkout .qfield input,.checkout .qfield select,.checkout .qfield textarea{width:100%;box-sizing:border-box;padding:.85em 1em;min-height:48px;border:2px solid var(--line-strong);border-radius:var(--r-sm);font-size:1.02rem;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.checkout .qfield input:focus,.checkout .qfield select:focus,.checkout .qfield textarea:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
/* Delivery-address fieldset (shippingAddress flag) — visually a labelled group. */
.qfieldset{border:0;margin:0 0 16px;padding:0;min-width:0}
.qfieldset legend{padding:0;margin-bottom:10px;font-family:var(--display);font-weight:800;font-size:.95rem;color:var(--ink)}
/* Estimated tax + subtotal rows in the order summary. */
.summary__subtotal,.summary__tax{color:var(--muted);font-size:.92rem}
.summary__subtotal span:last-child,.summary__tax span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
/* The money pages' "back" link sits on the dark call bar: outlined white. */
.topbar__back{margin-left:auto;background:transparent;color:#fff;border-color:color-mix(in srgb,#fff 45%,transparent)}
.topbar__back:hover{background:color-mix(in srgb,#fff 12%,transparent);border-color:#fff;color:#fff}

/* ---------------- Transactional step indicator (checkout/book/pay) ---------------- */
.steps{display:flex;gap:10px;list-style:none;margin:0 0 28px;padding:0;counter-reset:step}
.step{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:13px 15px;border-radius:8px;background:#fff;border:2px solid var(--line);box-shadow:var(--sh-sm);font-family:var(--display);font-weight:800;font-size:.85rem;color:var(--muted);counter-increment:step;transition:background .15s ease, border-color .15s ease, color .15s ease}
.step__n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg-alt);border:2px solid var(--line-strong);color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums;transition:background .15s ease, border-color .15s ease, color .15s ease}
.step__n::before{content:counter(step)}
.step__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.steps .step--pay{display:none}
.checkout__wrap:has(#cardStep) .steps .step--pay{display:flex}
.steps .step--1{color:var(--ink);background:var(--brand-wash);border-color:color-mix(in srgb,var(--brand) 38%,var(--line))}
.steps .step--1 .step__n{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--1,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--1,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--pay{color:var(--ink);background:#fff;border-color:var(--line)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--1 .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--1 .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--pay .step__n{background:#15803d;border-color:transparent;color:#fff}
.checkout__wrap:has(#cardStep:not([hidden])) .step--pay,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--done{color:var(--ink);background:var(--brand-wash);border-color:color-mix(in srgb,var(--brand) 38%,var(--line))}
.checkout__wrap:has(#cardStep:not([hidden])) .step--pay .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--done .step__n{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}
@media (max-width:560px){.step__label{display:none}.step{justify-content:center;padding:11px}}

/* ---------------- Secure-payment trust treatment ---------------- */
.secured svg{width:16px;height:16px;flex:none;color:var(--ink)}
.cardstep .secured{margin-top:8px}

/* ---------------- Inline validation (only after the field is touched) ---------------- */
.checkout .qfield input:user-invalid,
.checkout .qfield textarea:user-invalid,
.checkout .qfield select:user-invalid{border-color:#b3362e}

/* ---------------- Distinct looks (2026-10-01): Crew Pro's own shape ----------------
   Crew Pro wears the video hero, the ctabar nav, a diagonal hero edge and
   the stats / carousel / contact band / footer columns variants (recipes.ts
   HOME_SERVICES_SKINS['crew-pro']). The signature: a mowing video behind a
   giant tap to call, a RED CALL BAR on every page, big number stats. Until
   the video is seeded the frame shows the hero photo.

   ONE BAR ON TOP. The ctabar IS the red call bar, sticky. The topbar used to
   be the sticky call bar (a red rule on top, the red phone button); with the
   red bar above it the topbar scrolls away and drops its rule and its phone
   button (the number lives in the red bar). On a phone the call dock is the
   one bar at the bottom. Every rule needs the ctabar stamp, so a crew with
   no phone and no action keeps the old sticky call bar. */
html[data-skin="crew-pro"] .ctabar{position:sticky;top:0;z-index:41;background:var(--accent);color:var(--accent-fg);font-family:var(--display)}
html[data-skin="crew-pro"] .ctabar__inner{min-height:52px;gap:8px 24px}
html[data-skin="crew-pro"] .ctabar__phone{gap:10px;text-decoration:none;font-size:1.18rem;font-weight:900;letter-spacing:.01em}
html[data-skin="crew-pro"] .ctabar__phone::before{content:"Call the crew";font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;opacity:.9}
html[data-skin="crew-pro"] .ctabar__phone:hover{text-decoration:underline}
html[data-skin="crew-pro"] .ctabar__action{text-transform:uppercase;letter-spacing:.08em;font-weight:900;text-decoration-thickness:2px}
html[data-skin="crew-pro"][data-nav="ctabar"] .topbar{position:relative;top:auto}
html[data-skin="crew-pro"][data-nav="ctabar"] .topbar::before{content:none}
html[data-skin="crew-pro"][data-nav="ctabar"] .topbar .btn--phone{display:none}
/* The topbar row's own padding (10px 0) used to cancel the .wrap gutter, so
   the badge sat on the screen edge; with the bar above it, it gets it back. */
html[data-skin="crew-pro"][data-nav="ctabar"] .topbar__inner{padding-left:24px;padding-right:24px}

/* The video frame: the whole first screen under the red bar and the topbar
   (the sheet's own landing height, min(74vh,720px), would cut it short). */
html[data-skin="crew-pro"] .hero[data-hero="video"]{min-height:calc(100vh - 126px);min-height:calc(100svh - 126px)}
html[data-skin="crew-pro"] .hero[data-hero="video"] h1{font-size:clamp(2.8rem,7vw,5.4rem)}
/* The giant tap to call, centered under the name. The engine's label
   promises "24/7" for every urgency merchant; the look must not promise
   hours the crew did not state, so that line is dropped and a plain "Tap to
   call" is drawn in its place (the Rapid Dispatch precedent). */
html[data-skin="crew-pro"] .hero[data-hero="video"] .btn--call{max-width:560px;min-height:88px;justify-content:center}
html[data-skin="crew-pro"] .hero[data-hero="video"] .btn--call .btn__call-lab{align-items:center;text-align:center}
html[data-skin="crew-pro"] .hero .btn--call .btn__call-lab small{display:none}
html[data-skin="crew-pro"] .hero .btn--call .btn__call-lab::before{content:"Tap to call";font-size:.72rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
html[data-skin="crew-pro"] .hero[data-hero="video"] .btn--call .btn__call-num{font-size:clamp(1.8rem,4.6vw,2.6rem)}
/* The red slash belongs to the split hero's empty right side; over a full
   frame of video it cuts through the name, so the video frame drops it. */
html[data-skin="crew-pro"] .hero[data-hero="video"]::before{content:none}

/* Big number stats: the crew's own figure in the call red, display size. */
html[data-skin="crew-pro"] .trustbar[data-variant="stats"] .trustbar__item{align-items:center;text-align:center}
html[data-skin="crew-pro"] .trustbar[data-variant="stats"] .trustbar__figure{color:var(--accent);font-size:clamp(2.4rem,5vw,3.4rem);font-weight:900}

/* Contact band: the steel band holds the white service area board. The base
   band turns the band's text to --brand-fg; inside the white board it reads
   in ink again, the number in the call red, the Book button solid. */
html[data-skin="crew-pro"] #contact[data-variant="band"] .contact__grid>div:first-child{color:var(--ink)}
html[data-skin="crew-pro"] #contact[data-variant="band"] .contact__grid>div:first-child .contact__line a[href^="tel:"]{color:var(--accent)}
html[data-skin="crew-pro"] #contact[data-variant="band"] .contact__grid>div:first-child .btn--primary{background:var(--brand);color:var(--brand-fg);border-color:var(--brand)}
html[data-skin="crew-pro"] #contact[data-variant="band"] .contact__grid>div:first-child .btn--ghost{background:#fff;color:var(--ink);border-color:var(--line-strong)}

/* Footer columns on the steel footer: the name in white, titles in the red
   tint that passes on the steel. */
html[data-skin="crew-pro"] .footer__col-name{color:#fff;text-transform:uppercase}
html[data-skin="crew-pro"] .footer__col-title{color:var(--accent-on-dark)}
/* A long email address wraps inside its column (it used to run under the
   Policies column on a desktop). */
html[data-skin="crew-pro"] .footer__col{min-width:0}
html[data-skin="crew-pro"] .footer__col-line a{max-width:100%;overflow-wrap:anywhere}

@media (max-width:880px){
  html[data-skin="crew-pro"] .hero[data-hero="video"]{min-height:0}
}
@media (max-width:560px){
  /* The red bar on a phone is ONE row: the number, centered. Its action is
     the dock's own button at the bottom of the screen, so it is not drawn
     twice. Only beside a number: a bar with no number keeps its action. */
  html[data-skin="crew-pro"] .ctabar__inner{justify-content:center}
  html[data-skin="crew-pro"] .ctabar__phone{margin-right:0}
  html[data-skin="crew-pro"] .ctabar__phone~.ctabar__action{display:none}
  html[data-skin="crew-pro"][data-nav="ctabar"] .topbar__inner{padding-left:16px;padding-right:16px}
}

/* ---- pricing page (provisioner modules/pages.ts) ---- */
.pkgs{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.pkg{position:relative;display:flex;flex-direction:column;gap:12px;padding:var(--mc-pad,24px);background:var(--mc-bg,var(--bg-alt));border:var(--mc-border,1px solid var(--line));border-radius:var(--mc-radius,var(--radius));box-shadow:var(--mc-shadow,none);color:var(--body)}
.pkg--featured{border:var(--mc-feat-border,2px solid var(--brand));box-shadow:var(--mc-feat-shadow,var(--mc-shadow,none))}
.pkg__flag{margin:0;align-self:flex-start;padding:3px 10px;border-radius:var(--mc-chip-r,999px);background:var(--ink);color:var(--bg);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pkg__name{margin:0;font-family:var(--mc-hf,var(--display));font-weight:var(--mc-hw,700);text-transform:var(--mc-hc,none);letter-spacing:var(--mc-hls,0);font-size:1.25rem;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.pkg__price{margin:0;color:var(--ink)}
.pkg__amount{font-family:var(--mc-hf,var(--display));font-size:2.1rem;font-weight:var(--mc-hw,700);line-height:1.1;letter-spacing:var(--mc-hls,0)}
.pkg__unit,.pkg__ask{font-weight:600}
.pkg__feats{margin:0;padding:var(--mc-feats-pad,0 0 0 1.2em);list-style:var(--mc-feats-list,disc);display:flex;flex-direction:column;gap:6px;line-height:1.5}
.pkg__note{margin:0;font-size:.95rem;line-height:1.5}
.pkg .modpage__ask{margin-top:auto;align-self:flex-start}
@media (max-width:560px){.pkg .modpage__ask{align-self:stretch;text-align:center}}

/* ---- service area page (provisioner modules/pages.ts) ---- */
.area__check{display:grid;gap:10px;max-width:480px;margin:20px 0 28px}
.area__check label{font-weight:600;color:var(--ink)}
.area__row{display:flex;gap:10px;flex-wrap:wrap}
.area__row input{flex:1;min-width:180px;min-height:44px;padding:10px 14px;border:var(--mc-input-border,1px solid var(--line));border-radius:var(--mc-input-r,var(--radius,8px));font:inherit;color:var(--ink);background:var(--bg)}
.area__result{margin:0;min-height:1.4em;font-weight:600;color:var(--ink)}
.area__help{font-weight:600}
.area__h{margin:24px 0 10px;font-family:var(--mc-hf,var(--display));font-weight:var(--mc-hw,700);text-transform:var(--mc-hc,none);letter-spacing:var(--mc-hls,0);font-size:1.1rem;color:var(--ink)}
.area__towns{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.area__towns li{padding:6px 14px;border:var(--mc-chip-border,1px solid var(--line));border-radius:var(--mc-chip-r,999px);background:var(--mc-chip-bg,var(--bg-alt));color:var(--body)}
.area__zips{margin:0;line-height:1.7;overflow-wrap:anywhere}
.area__note{margin:0 0 8px}

/* ---------------------------- FAQ: dedicated page (native accordion) -------- */
.faq .wrap--narrow{max-width:760px}
.faq__list{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.faq__item{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-alt);overflow:hidden}
.faq__q{cursor:pointer;list-style:none;padding:18px 44px 18px 20px;position:relative;font-weight:600;color:var(--ink);line-height:1.4;overflow-wrap:anywhere}
.faq__q::-webkit-details-marker{display:none}
.faq__q::after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;border-right:2px solid var(--body);border-bottom:2px solid var(--body);transform:translateY(-70%) rotate(45deg);transition:transform .15s ease}
.faq__item[open] .faq__q::after{transform:translateY(-30%) rotate(-135deg)}
.faq__q:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.faq__a{padding:0 20px 18px;color:var(--body);line-height:1.6;overflow-wrap:anywhere}

/* ---- photos on the quote form (provisioner modules/global.ts) ---- */
.qphotos{display:grid;gap:6px;margin:0}
.qphotos label{font-weight:600}
.qphotos input[type=file]{font:inherit;color:inherit;max-width:100%}
.qphotos__hint,.qphotos__list{margin:0;font-size:.85rem}
.qphotos__list{padding-left:1.1em;overflow-wrap:anywhere}
.qphotos__status{margin:0;font-size:.9rem;font-weight:600}

/* ---- site modules, this look's own grammar (provisioner modules/looks.ts) ---- */
html[data-skin="crew-pro"]{--mc-bg:#fff;--mc-border:2px solid var(--line);--mc-shadow:var(--sh-sm);--mc-hw:900;--mc-hc:uppercase;--mc-hls:-.02em;--mc-feat-border:3px solid var(--brand);--mc-input-r:8px;--mc-input-border:2px solid var(--line);--mc-photo-r:8px;--mc-ban-bg:var(--brand);--mc-ban-fg:var(--brand-fg,#fff);--mc-ban-size:.84rem;--mc-ban-weight:800;--mc-ban-ls:.08em;--mc-ban-case:uppercase;--mc-btn-r:8px;--mc-blurb-rule:6px solid var(--brand);--mc-blurb-pad:4px 0 4px 20px}

/* About / story (Phase 2) — appended only when the merchant wrote one. */
.about{max-width:760px}
.about__text{margin-top:6px;font-size:var(--fs-lg);color:var(--body);line-height:1.75}
.about__text p{margin:0 0 1em}
.about__text p:last-child{margin-bottom:0}

/* Hero video (Phase 2) — appended only for a video hero. */
.hero--has-video{background:var(--navy-900)}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;border:0;pointer-events:none}
.hero--has-video::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:auto;height:auto;z-index:1;pointer-events:none;background:radial-gradient(900px 520px at 88% -10%, color-mix(in srgb,var(--accent) 26%,transparent), transparent 58%),linear-gradient(158deg, color-mix(in srgb,var(--navy-900) var(--hero-ov-top,90%),transparent) 0%, color-mix(in srgb,var(--navy-800) var(--hero-ov-mid,82%),transparent) 52%, color-mix(in srgb,var(--navy-900) var(--hero-ov-bot,87%),transparent) 100%)}
.hero--has-video .hero__inner{z-index:2}
.hero--has-video::before{z-index:1;opacity:.22}
.hero--has-video .eyebrow{color:#f3f6fc}
@media (prefers-reduced-motion: reduce){.hero__video{display:none}}
/* Pause / play: the carousel's quiet glyph on a smoked 32px disc (::before)
   inside a 44px target, the disc 16px in from the corner. The disc is dark
   enough (48% black) that the near-white glyph clears 3:1 even over a white
   photo; the blur keeps it from reading as a hole in the picture. */
.hero__motion{position:absolute;right:10px;bottom:10px;z-index:2;width:44px;height:44px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:rgba(255,255,255,.92);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s ease}
.hero__motion::before{content:"";position:absolute;inset:6px;border-radius:50%;background:rgba(0,0,0,.48);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background-color .2s ease}
.hero__motion svg{position:relative;width:16px;height:16px}
.hero__motion:hover{color:#fff}
.hero__motion:hover::before{background:rgba(0,0,0,.62)}
.hero__motion:focus{outline:none}
.hero__motion:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:50%}
@media (prefers-reduced-motion:reduce){.hero__motion,.hero__motion::before{transition:none}}

/* ---- footer email-list signup (Wave 4.1) ---- */
.footer__signup{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid rgba(128,128,128,.28)}
.footer-signup__title{margin:0 0 10px;font-weight:700;font-size:1.05rem}
.footer-signup__row{display:flex;gap:10px;flex-wrap:wrap;max-width:460px}
.footer-signup__row input{flex:1;min-width:200px;padding:10px 12px;border:1px solid rgba(128,128,128,.4);border-radius:var(--radius,8px);font:inherit;color:inherit;background:rgba(128,128,128,.08)}
/* Full strength, smaller only: at 75% opacity the note fell under 4.5:1 on
   the darker footers (2.7:1 on chambers, 4.44 on bistro-noir; the 2026-10-07
   accessibility scan). */
.footer-signup__note{margin:8px 0 0;font-size:.8rem}
.footer-signup__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---- multi-page home teasers (Wave 4) ---- */
.teaser{padding-top:64px;padding-bottom:64px}
.teaser .section__sub{margin-bottom:28px}
.teaser__more{margin:28px 0 0;text-align:right}
.teaser__more .btn{min-height:44px}
.teaser__quotes{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
.teaser__quote{margin:0;padding:24px;border:1px solid rgba(128,128,128,.28);border-radius:var(--radius,8px);background:rgba(128,128,128,.06)}
.teaser__quote-text{margin:0 0 12px;font-size:1.05rem;line-height:1.6}
.teaser__quote-meta{margin:0;font-size:.9rem;opacity:.8}
/* .stars is the template's own star colour (styles.css / every skin sheet); the fold adds no colour. */
.teaser__stars{white-space:nowrap}
.teaser__quote-meta cite{font-style:normal;font-weight:600}
.teaser__excerpt{margin:0;max-width:62ch;line-height:1.7}
.teaser__band{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center}
.teaser__details .section__title{margin-bottom:12px}
.teaser__line{margin:4px 0;line-height:1.6}
.teaser__line a{display:inline-flex;align-items:center;min-height:44px}
.teaser__actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.teaser__actions .btn{min-height:44px}
@media (max-width:720px){
  .teaser__quotes{grid-template-columns:1fr}
  .teaser__band{grid-template-columns:1fr;gap:20px}
  .teaser__more{text-align:left}
}
@media (prefers-reduced-motion:reduce){.teaser .tile__img,.teaser .card{transition:none}}

/* ---- motion: section carousels (skin lever — provisioner motion.ts) ---- */
.carousel{position:relative;container-type:inline-size;--slide:82%;--carousel-gap:16px;--fade:40px}
.carousel--gallery{--slide:82%}
.carousel--featured{--slide:64%}
.carousel--reviews{--slide:86%}
@media (min-width:600px){.carousel--gallery{--slide:44%}.carousel--featured{--slide:38%}}
@media (min-width:720px){.carousel{--fade:32px}.carousel--reviews{--slide:46%}}
@media (min-width:960px){.carousel--gallery{--slide:30%}.carousel--featured{--slide:29%}}
@media (min-width:1100px){.carousel--reviews{--slide:31.5%}}
@media (min-width:1200px){.carousel--featured{--slide:22.6%}}
/* THE TRACK. Selected through the three grid ids as well (:is() takes its
   most specific argument) so it outranks each sheet's own id-scoped grid
   rules — boutique's masonry columns, the dark bistro's dense grid, the listing portfolio's
   spans — which style the STATIC grid and would otherwise fold the row. */
[data-motion="carousel"] :is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track{display:flex;flex-wrap:nowrap;align-items:stretch;gap:var(--carousel-gap,16px);grid-template-columns:none;column-count:auto;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 0 8px;margin:0;max-width:none}
[data-motion="carousel"] :is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track::-webkit-scrollbar{display:none}
[data-motion="carousel"] :is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track>*{flex:0 0 var(--slide,82%);min-width:0;max-width:none;margin:0;grid-column:auto;grid-row:auto;scroll-snap-align:start}
[data-motion="carousel"] .carousel__track.is-dragging{scroll-snap-type:none;scroll-behavior:auto}
[data-motion="carousel"] .carousel__track[data-carousel="on"]{cursor:grab}
[data-motion="carousel"] .carousel__track:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
/* Equal heights: the wrapper stretches with the row, the card fills it. */
.carousel--reviews .carousel__slide>*,.carousel--featured .carousel__slide>*{height:100%;box-sizing:border-box}
/* The stage: the box the edge fade masks. It never clips the bleed: the
   mask is the only thing that ends the strip. */
.carousel__stage{position:relative;--fade-l:0px;--fade-r:0px}
.carousel__stage[data-fade="end"]{--fade-r:var(--fade)}
.carousel__stage[data-fade="start"]{--fade-l:var(--fade)}
.carousel__stage[data-fade="both"]{--fade-l:var(--fade);--fade-r:var(--fade)}
.carousel__stage[data-fade]{-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent)}
/* A phone: the strip runs to the screen's edges, the first slide still on
   the heading's line. 50cqw is half the carousel's own width. */
@media (max-width:720px){
  .carousel__stage{margin-inline:calc(50cqw - 50vw)}
  [data-motion="carousel"] .carousel__stage>:is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track{padding-inline:calc(50vw - 50cqw);scroll-padding-inline:calc(50vw - 50cqw)}
  .carousel{--fade:24px}
}
/* The row under the strip: the rail, then the two buttons. Its height never
   changes on hover or state, so nothing below it moves. */
.carousel__controls{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:10px}
.carousel__controls[hidden]{display:none}
.carousel__progress{position:relative;flex:1 1 auto;height:3px;border-radius:2px;overflow:hidden;background:var(--line,rgba(0,0,0,.12));background:color-mix(in srgb,var(--ink) 14%,transparent);margin-inline:2px 8px}
.carousel__thumb{position:absolute;top:0;bottom:0;left:0;width:calc(var(--carousel-thumb,1) * 100%);border-radius:inherit;background:var(--focus-ring,var(--ink));transform:translateX(calc(var(--carousel-pos,0) * (100% / var(--carousel-thumb,1) - 100%)))}
.carousel__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* The buttons: a 44px target around a 40px ring (::before) with a chevron. */
.carousel__btn{position:relative;flex:0 0 auto;width:44px;height:44px;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:var(--carousel-btn-radius,50%);background:transparent;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
.carousel__btn[hidden]{display:none}
.carousel__btn::before{content:"";position:absolute;inset:2px;border-radius:inherit;background:transparent;box-shadow:inset 0 0 0 1px var(--muted);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 26%,transparent);transition:background-color .2s ease,box-shadow .2s ease}
.carousel__btn svg{position:relative;width:18px;height:18px}
.carousel__btn[aria-disabled="false"]:hover::before{background:color-mix(in srgb,var(--ink) 8%,transparent);box-shadow:inset 0 0 0 1px var(--ink)}
/* aria-disabled, not disabled: the button keeps focus at the end of the row.
   The ring and chevron fade, not the button, so a focus ring on a disabled
   arrow stays at full strength. */
.carousel__btn[aria-disabled="true"]{cursor:default}
.carousel__btn[aria-disabled="true"]::before,.carousel__btn[aria-disabled="true"] svg{opacity:.35}
/* Phones and touch screens swipe: the buttons leave the row (out of flow,
   so the rail takes the whole width) but stay in the tab order, and a
   keyboard-focused one comes back where it belongs. */
@media (max-width:720px),(hover:none){.carousel__btn:not(:focus-visible){position:absolute;right:0;opacity:0;clip-path:inset(50%);pointer-events:none}}
/* REVIEWS (2026-10-22; owner: "i dont like that bar on the bottom ... just
   show the reviews with no bar"). The reviews strip carries no progress rail,
   and from a desktop width it is no strip at all: every review shows, in
   rows, the last row's cards widening to fill it. Nothing then overflows, so
   app.js hides the arrows and takes the strip out of the tab order by itself
   (it measures, and re-measures on resize). A phone keeps the swipeable row
   with the next card peeking in. A slow automatic slide was the other option
   and is ruled out: nothing on a merchant site moves on its own without a
   pause button (owner, 2026-10-07). */
.carousel--reviews .carousel__progress{display:none}
@media (min-width:1100px){
  [data-motion="carousel"] .carousel--reviews :is(#reviewsGrid,.grid).carousel__track{flex-wrap:wrap;overflow-x:visible;scroll-snap-type:none}
  [data-motion="carousel"] .carousel--reviews :is(#reviewsGrid,.grid).carousel__track>*{flex:1 1 var(--slide,31.5%)}
}
/* Focus: keyboard only, a 2px ring hugging the visible mark. Every sheet's
   own button:focus-visible rule also rounds the box to a few px, which
   would square the ring; the radius is restated here. */
.carousel__btn:focus{outline:none}
.carousel__btn:focus-visible{outline:2px solid var(--focus-ring,var(--ink));outline-offset:0;border-radius:var(--carousel-btn-radius,50%)}
@media (prefers-reduced-motion:reduce){
  [data-motion="carousel"] .carousel__track{scroll-behavior:auto;transition:none}
  .carousel__btn::before{transition:none}
}

/* ---- lead form: in the Contact section (skin lever, provisioner lead-form.ts) ---- */
#contact .contact__grid:has(> .hero__card--contact){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#contact .hero__card--contact{order:0;align-self:start;justify-self:stretch;width:auto;max-width:none;margin:0}
#contact .hero__card--contact ~ .map{grid-column:1/-1}
#contact .hero__card--contact #quoteForm{scroll-margin-top:180px}
/* From a desktop width the map sits UNDER the address it shows, beside the
   form (2026-10-22). It used to span the full width under the form, a big
   box with nothing next to it (owner: "then it's just like a random map"). */
@media (min-width:881px){
  #contact .contact__grid:has(> .hero__card--contact){grid-template-rows:auto 1fr;align-items:start}
  #contact .contact__grid:has(> .hero__card--contact)>div:first-child{grid-column:1;grid-row:1}
  #contact .contact__grid>.hero__card--contact{grid-column:2;grid-row:1 / span 2}
  #contact .hero__card--contact ~ .map{grid-column:1;grid-row:2;align-self:stretch;min-height:300px}
  #contact .hero__card--contact ~ .map iframe{height:100%;min-height:300px}
}
@media (max-width:880px){
  #contact .contact__grid:has(> .hero__card--contact){grid-template-columns:1fr}
}

html[data-skin="crew-pro"] #contact .hero__card--contact .btn--primary{background:var(--brand);color:var(--brand-fg)}
html[data-skin="crew-pro"] #contact .hero__card--contact .btn--primary:hover{background:var(--brand-strong)}

/* ---- hero layout: video (skin lever, provisioner hero-layout.ts) ---- */
.hero[data-hero="video"]{min-height:calc(100vh - var(--hero-video-offset,74px));min-height:calc(100svh - var(--hero-video-offset,74px));display:flex;align-items:center}
.hero[data-hero="video"]>.hero__inner{width:100%}
.hero[data-hero="video"] .hero__inner{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;row-gap:clamp(32px,5vw,48px)}
.hero[data-hero="video"] .hero__copy{display:flex;flex-direction:column;align-items:center;width:100%;max-width:860px}
.hero[data-hero="video"] .lede{margin-left:auto;margin-right:auto}
.hero[data-hero="video"] :is(.hero__cta,.hero__trust){justify-content:center}
.hero[data-hero="video"] .vmm{width:100%;max-width:720px;margin-left:auto;margin-right:auto;text-align:left}
.hero[data-hero="video"] .hero__card{width:100%;max-width:720px;justify-self:center;margin:0;text-align:left}
@media (min-width:720px){
  .hero[data-hero="video"] .hero__card .qform{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;align-items:end}
  .hero[data-hero="video"] .hero__card .qform>:is(#quoteTurnstile,button){grid-column:1/-1}
}

/* ---- nav style: ctabar (skin lever, provisioner nav-style.ts) ---- */
.ctabar{background:var(--brand);color:var(--brand-fg);font-size:.9rem;font-weight:600}
.ctabar__inner{display:flex;align-items:center;justify-content:flex-end;gap:8px 20px;flex-wrap:wrap;min-height:44px}
.ctabar a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:3px}
.ctabar__phone{margin-right:auto;font-variant-numeric:tabular-nums}
.ctabar__action{font-weight:800}
.ctabar a:focus-visible{outline:2px solid var(--brand-fg);outline-offset:2px}
@media (max-width:560px){.ctabar__inner{justify-content:space-between}}

/* ---- section variant: trust stats (skin lever, provisioner variants.ts) ---- */
.trustbar[data-variant="stats"] .trustbar__inner{align-items:stretch}
.trustbar[data-variant="stats"] .trustbar__item{flex-direction:column;align-items:flex-start;gap:6px;text-align:left}
.trustbar[data-variant="stats"] .trustbar__figure{font-family:var(--display);font-size:clamp(2rem,4vw,2.8rem);font-weight:800;line-height:1;color:var(--ink)}
.trustbar[data-variant="stats"] .trustbar__figure+svg{display:none}
.trustbar[data-variant="stats"] .trustbar__item>svg{width:36px;height:36px}

/* ---- section variant: contact band (skin lever, provisioner variants.ts) ---- */
:is(#contact,#teaser-contact)[data-variant="band"]{background:var(--brand);color:var(--brand-fg)}
:is(#contact,#teaser-contact)[data-variant="band"] :is(h2,h3,p,td,th,a:not(.btn),.ico,.section__title,.hours__title,.holidays__title,.holiday__when,.holiday__label,.teaser__line){color:inherit}
:is(#contact,#teaser-contact)[data-variant="band"] .btn--primary{background:var(--brand-fg);color:var(--brand);border-color:var(--brand-fg)}
:is(#contact,#teaser-contact)[data-variant="band"] .btn--ghost{color:var(--brand-fg);border-color:currentColor;background:transparent}
:is(#contact,#teaser-contact)[data-variant="band"] .hero__card :is(h2,h3,p,a,label){color:var(--ink)}
#contact[data-variant="band"] .contact__grid{grid-template-columns:minmax(0,1fr)}
@media (min-width:881px){
  #contact[data-variant="band"] .contact__grid>div:first-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:40px;grid-auto-flow:row dense;align-items:start}
  #contact[data-variant="band"] .contact__grid>div:first-child>.section__title{grid-column:1/-1}
  #contact[data-variant="band"] .contact__grid>div:first-child>.contact__line{grid-column:1}
  #contact[data-variant="band"] .contact__grid>div:first-child>:is(.hours__title,.hours){grid-column:2}
  #contact[data-variant="band"] .contact__grid>div:first-child>:is(.holidays,.contact__cta){grid-column:3}
  #contact[data-variant="band"] .contact__grid:has(>.hero__card--contact){grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:32px}
  #contact[data-variant="band"] .contact__grid:has(>.hero__card--contact)>div:first-child{grid-column:1/-1;grid-row:1}
  #contact[data-variant="band"] .contact__grid>.hero__card--contact{grid-column:1;grid-row:2}
  #contact[data-variant="band"] .hero__card--contact~.map{grid-column:2;grid-row:2;align-self:stretch}
}

/* ---- section variant: footer columns (skin lever, provisioner variants.ts) ---- */
.footer__cols{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:24px 40px;padding-bottom:28px;margin-bottom:24px;border-bottom:1px solid rgba(128,128,128,.28)}
.footer__col p{margin:0 0 6px}
.footer__col-name{font-family:var(--display);font-weight:800;font-size:1.15rem}
.footer__col-title{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}
.footer__col-line a,.footer__col-links a{display:inline-flex;align-items:center;min-height:44px}
.footer__col-links{list-style:none;margin:0;padding:0}
.footer:has(>.footer__cols) .footer__links{display:none}
@media (max-width:720px){.footer__cols{grid-template-columns:minmax(0,1fr)}}

/* ---- section variant: the lead form card in a banded Contact keeps the brand submit (provisioner lead-form.ts) ---- */
#contact .hero__card.hero__card--contact .btn--primary{background:var(--brand);color:var(--brand-fg);border-color:var(--brand)}
#contact .hero__card.hero__card--contact .btn--primary:hover{background:var(--brand-strong);color:var(--brand-fg);border-color:var(--brand-strong)}

/* ---- chrome: diagonal hero edge (skin lever, provisioner chrome.ts) ---- */
.hero[data-edge]{--hero-edge:clamp(28px,5vw,64px)}
.hero[data-edge]:not([data-hero="stacked"])>.hero__inner{padding-bottom:var(--hero-edge)}
.hero[data-edge] .hero__motion{bottom:calc(10px + var(--hero-edge))}
.hero[data-edge="diagonal"]{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--hero-edge)),0 100%)}

/* ---- mobile layer (provisioner mobile.ts) ---- */
.navtoggle{display:none}
@media (max-width:880px){
  :root{--m-gutter:clamp(16px,5vw,24px)}
  .wrap{padding-left:max(var(--m-gutter),env(safe-area-inset-left))!important;padding-right:max(var(--m-gutter),env(safe-area-inset-right))!important}
  .topbar__inner>.brand{margin-right:auto;min-width:0}
  .topbar__inner>.btn--cart{margin-left:0}
  .navtoggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin:0 -8px 0 2px;padding:0;border:0;border-radius:var(--r-sm,8px);background:transparent;color:var(--navtoggle-ink,currentColor);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .navtoggle.navtoggle--off{display:none}
  .navtoggle:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
  .navtoggle__bars,.navtoggle__bars::before,.navtoggle__bars::after{display:block;width:22px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s ease,background-color .2s ease}
  .navtoggle__bars{position:relative}
  .navtoggle__bars::before,.navtoggle__bars::after{content:"";position:absolute;left:0}
  .navtoggle__bars::before{top:-7px}
  .navtoggle__bars::after{top:7px}
  .navtoggle[aria-expanded="true"] .navtoggle__bars{background:transparent}
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before{transform:translateY(7px) rotate(45deg)}
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after{transform:translateY(-7px) rotate(-45deg)}
  .topbar.is-menu-open:not(.is-menu-probe){background:var(--navmenu-bg);-webkit-backdrop-filter:none;backdrop-filter:none}
  .topbar.is-menu-open .topbar__inner{position:static}
  .topbar.is-menu-open .nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px;position:absolute;left:0;right:0;top:100%;z-index:1;margin:0;padding:8px max(var(--m-gutter),env(safe-area-inset-left)) 16px;background:var(--navmenu-bg,var(--bg,#fff));border-bottom:1px solid var(--line,rgba(0,0,0,.12));box-shadow:0 24px 32px -24px rgba(0,0,0,.45);max-height:calc(100dvh - 100%);overflow-y:auto;overscroll-behavior:contain}
  .topbar.is-menu-open .nav a{display:flex;align-items:center;min-height:48px;margin:0;font-size:1.05rem;white-space:normal}
  .hero__inner>.hero__card{order:0}
  .grid>*,.contact__grid>*,.hero__inner>*,.footer__inner>*{min-width:0}
  .contact__line,.contact a,.footer a,.footer p{overflow-wrap:anywhere}
  .reviews-dots__dot{position:relative}
  .reviews-dots__dot::after{content:"";position:absolute;inset:-14px -6px}
  .footer__links a{display:inline-block;padding:11px 0}
}
@media (max-width:560px){
  .topbar .brand__name{white-space:normal;text-overflow:clip;letter-spacing:normal;overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:min(1rem,4.3vw);line-height:1.15;max-width:none}
  .topbar__inner{column-gap:10px}
  .topbar__inner>.btn--cart{flex:none;min-height:44px;padding-left:12px;padding-right:12px;letter-spacing:normal}
  .ctabar__inner{flex-wrap:nowrap;justify-content:center}
  .ctabar__phone{white-space:nowrap;margin-left:0;margin-right:0}
  .ctabar__phone~.ctabar__action{display:none}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:start;text-align:left}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>.card__icon{grid-row:1 / span 9;width:48px;height:48px;margin:0;display:grid;place-items:center}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>.card__icon svg{width:26px;height:26px}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>:is(h3,p){grid-column:2;margin-left:0;margin-right:0}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>h3{margin-top:0}
  :is(#services,#teaser-services)[data-variant="icons"] :is(#servicesGrid,.grid){gap:8px}
  :is(#services,#teaser-services)[data-variant="icons"] :is(#servicesGrid,.grid)>.card{padding-top:14px;padding-bottom:14px}
  .trustbar[data-variant="stats"] .trustbar__inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-direction:row;align-items:start}
  .trustbar:not([data-variant="stats"]) .trustbar__inner{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .trustbar:not([data-variant="stats"]) .trustbar__inner::-webkit-scrollbar{display:none}
  .trustbar__inner:focus-visible{outline:3px solid var(--focus-ring,var(--ink));outline-offset:2px}
  .trustbar:not([data-variant="stats"]) .trustbar__item{flex:none;scroll-snap-align:start;white-space:nowrap}
}
@media (max-width:400px){.topbar__inner>.btn--phone{display:none}}
@media (prefers-reduced-motion:reduce){.navtoggle__bars,.navtoggle__bars::before,.navtoggle__bars::after{transition:none}}

/* ---- mobile layer (design pass, provisioner design-pass.ts) ---- */
html{scroll-padding-top:calc(var(--topbar-h,76px) + 12px)}
html body .hero:not(.hero--has-image):not(.hero--has-video):not(:has(.hero__media.is-painted)){min-height:0!important;padding-top:clamp(64px,8vw,104px)!important;padding-bottom:clamp(48px,6vw,80px)!important}
html body .hero:not(.hero--has-image):not(.hero--has-video):not(:has(.hero__media.is-painted)) :is(.hero__inner,.hero__copy){min-height:0!important}
.hero:not(.hero--has-image):not(.hero--has-video) .hero__media:empty:not(.is-painted){display:none}
#contact .contact__grid>:only-child{grid-column:1/-1;max-width:46rem}
.product__media--ph{aspect-ratio:auto;height:8px;min-height:0;background:var(--brand,currentColor);opacity:.9}
.product__media--ph svg{display:none}
@keyframes wpi-reveal{to{visibility:visible}}
body:has(#topbar .brand__name:empty):not(.is-filled){visibility:hidden;animation:wpi-reveal 0s 4s forwards}
@media (scripting:none){body:has(#topbar .brand__name:empty):not(.is-filled){visibility:visible;animation:none}}
@media (min-width:881px){.topbar .nav a{white-space:nowrap}.topbar .nav{flex-wrap:nowrap;flex-shrink:0}.topbar .brand{min-width:0}.topbar .brand__name{overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
@media (max-width:880px){html[data-nav] .topbar .brand__name{font-size:min(1rem,4.3vw);line-height:1.15}}
a[href^="mailto:"]{overflow-wrap:anywhere}
@media (max-width:560px){.topbar:not(#topbar):has(.topbar__back) .topbar__inner{height:auto;min-height:64px;padding-top:8px;padding-bottom:8px}.topbar:not(#topbar) .topbar__back{white-space:normal;min-width:0;flex:0 1 auto;height:auto;min-height:44px;padding-top:6px;padding-bottom:6px;font-size:.9rem;text-align:center;line-height:1.25}.topbar:not(#topbar):has(.topbar__back) .brand{flex:0 0 auto}.topbar:not(#topbar):has(.topbar__back) .brand__name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
:has(>.card--product>img.product__media)>.card--product>.product__media--ph{aspect-ratio:4/3;height:auto;opacity:1;background:color-mix(in srgb,var(--brand,currentColor) 9%,var(--bg-alt,transparent))}
.pdp__media:has(>.pdp__ph:only-child){display:none}
.pdp:has(>.pdp__media>.pdp__ph:only-child)>.pdp__info{max-width:46rem}
h1,h2,h3,.section__title{text-wrap:balance}
p,li,.card p{text-wrap:pretty}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* ---------- DEMO "see what you can edit" overlay (demo merchants only) ---------- */
.demo-toggle__fab {
  position: fixed;
  right: 16px;
  bottom: 60px;
  z-index: 10000;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #5b21b6;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.demo-toggle__fab:hover,
.demo-toggle__fab:focus-visible {
  background: #4c1d95;
}
.demo-toggle__fab:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 3px;
}
.demo-toggle__fab[aria-expanded="true"] {
  display: none;
}
@media (max-width: 560px) {
  .demo-toggle__fab {
    bottom: 124px;
  }
}
.demo-toggle__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 48px;
  z-index: 10001;
  width: min(400px, 100vw);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #111827;
  border-left: 1px solid #e5e7eb;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  font-family: inherit;
  text-align: left;
}
.demo-toggle__panel[hidden] {
  display: none;
}
.demo-toggle__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px 10px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.demo-toggle__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.demo-toggle__close {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.demo-toggle__close:hover,
.demo-toggle__close:focus-visible {
  background: #f3f4f6;
}
.demo-toggle__tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}
.demo-toggle__tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #4b5563;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.demo-toggle__tab[aria-selected="true"] {
  color: #5b21b6;
  border-bottom-color: #5b21b6;
}
.demo-toggle__tab:focus-visible,
.demo-toggle__close:focus-visible,
.demo-toggle__item:focus-visible,
.demo-toggle__switch:focus-visible {
  outline: 3px solid #5b21b6;
  outline-offset: -3px;
}
.demo-toggle__body {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}
.demo-toggle__body[hidden] {
  display: none;
}
.demo-toggle__intro {
  margin: 10px 0 6px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
}
.demo-toggle__group {
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.demo-toggle__item {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 2px 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
a.demo-toggle__item {
  text-decoration: none;
  color: inherit;
  display: block;
}
.demo-toggle__jump {
  color: var(--brand, #0b5fff);
}
.demo-toggle__item:hover,
.demo-toggle__item:focus-visible {
  background: #f5f3ff;
  border-color: #c4b5fd;
}
.demo-toggle__label {
  font-weight: 700;
  font-size: 14px;
}
.demo-toggle__meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}
.demo-toggle__absent {
  color: #6b7280;
  font-style: italic;
}
/* A Features row whose section is on another page: the control IS the link
 * (44px target like the switch it replaces), read as a link, not a status. */
a.demo-toggle__feature-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand, #0b5fff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.demo-toggle__feature-jump:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 2px;
  border-radius: 6px;
}
.demo-toggle__feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.demo-toggle__chip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
}
.demo-toggle__chip--pro {
  background: #ede9fe;
  color: #4c1d95;
}
.demo-toggle__chip--addon {
  background: #d1fae5;
  color: #065f46;
}
.demo-toggle__desc,
.demo-toggle__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
}
.demo-toggle__note {
  color: #4c1d95;
  font-weight: 600;
}
.demo-toggle__status {
  grid-column: 1 / -1;
}
.demo-toggle__switch {
  position: relative;
  flex: none;
  width: 52px;
  min-width: 44px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #6b7280;
  cursor: pointer;
}
.demo-toggle__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.15s ease;
}
.demo-toggle__switch[aria-checked="true"] {
  background: #5b21b6;
}
.demo-toggle__switch[aria-checked="true"]::after {
  transform: translateX(22px);
}
.demo-toggle__foot {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #4b5563;
}
.demo-hl {
  outline: 3px solid #7c3aed !important;
  outline-offset: 4px;
}
.demo-hl::before {
  content: attr(data-demo-label);
  display: inline-block;
  margin: 0 8px 4px 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: #5b21b6;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: none;
  vertical-align: middle;
}
/* ---------- inspect mode: hover or focus the page while the panel is open (demo-inspect.ts) ---------- */
.demo-hl[data-demo-inspect]::before {
  content: none;
}
.demo-inspect-tip {
  position: fixed;
  z-index: 10002;
  left: 16px;
  bottom: 60px;
  max-width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: #5b21b6;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.demo-inspect-tip[hidden] {
  display: none;
}
.demo-inspect-tip--no {
  background: #1f2937;
}
.demo-inspect-tip__line {
  display: block;
}
.demo-inspect-tip--no .demo-inspect-tip__line + .demo-inspect-tip__line {
  margin-top: 2px;
  font-weight: 500;
}
.demo-inspect-tip[data-demo-tip-place="above"] {
  top: 16px;
  bottom: auto;
}
@supports (anchor-name: --demo-inspect) {
  .demo-inspect-anchor {
    anchor-name: --demo-inspect;
  }
  .demo-inspect-tip {
    position-anchor: --demo-inspect;
    top: calc(anchor(bottom) + 8px);
    bottom: auto;
    left: max(8px, anchor(left));
  }
  .demo-inspect-tip[data-demo-tip-align="end"] {
    left: auto;
    right: max(8px, anchor(right));
  }
  .demo-inspect-tip[data-demo-tip-place="above"] {
    top: auto;
    bottom: calc(anchor(top) + 8px);
  }
  .demo-inspect-tip[data-demo-tip-place="inside"] {
    top: calc(anchor(top) + 8px);
  }
  .demo-inspect-tip[data-demo-tip-place="pinned"] {
    top: auto;
    bottom: 60px;
  }
}
.demo-toggle__item.demo-inspect-picked {
  background: #f5f3ff;
  border-color: #7c3aed;
}
.demo-off-note {
  display: block;
  margin: 8px 0;
  padding: 8px 12px;
  border: 2px dashed #6b7280;
  border-radius: 8px;
  background: #f9fafb;
  color: #374151;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
[data-demo-off] {
  display: none !important;
}
html[data-demo-cart-off] .btn--add,
html[data-demo-cart-off] .pdp__qty {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .demo-toggle__switch::after {
    transition: none;
  }
}

/* ---------- DEMO site ribbon (demo merchants only; migration 0049) ---------- */
.demo-ribbon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}
body {
  padding-bottom: 48px;
}
.draftbar {
  display: none;
}
/* A demo basket's disabled Checkout control (see DEMO BASKET below) has to
   READ disabled. The template sheet has no disabled button state (no live page
   renders one) and adding it there would change every real merchant's
   styles.css, so it rides in this demo-only fold. Opacity + cursor only. */
.cart__actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
