/* ZS core · v5 · Nov 25, 2026
   One shared set of basic pieces for every page. Brandon's picks are in DECISIONS.md.
   Loaded by one small embed at the top of each page; it only sets the look of the shared
   pieces, and each page's own CSS keeps its layout.
   Page families covered: city pages (city-*) and the three CMS templates built on them (service areas,
   services, long-tail: .city--tpl, svc-*, lt-*), service pages RV / Motorcycle / Paint correction
   (rv-* / mc-* / pc-*), the blog (.zsb), Areas, Get a quote (qf-*), Get ready and the legal pages,
   and Ceramic (cer-*) and Gallery (.zsg) with pieces only (Brandon's picks, DECISIONS.md).
   Rules: Kelp #12262B text, Garibaldi #E27318 only as an accent, pills over squares,
   no underlines, no divider lines. Never write a closing style tag in this file. */

:root{
  --zs-gar:#E27318; --zs-kelp:#12262B; --zs-ink2:#45575B; --zs-tint:#F1F4F4;
  --zs-ease:cubic-bezier(.22,1,.36,1);
  --zs-h1:clamp(50px,6.6vw,96px);      /* headline: 50 phone, 96 desktop */
  --zs-h2:clamp(40px,6.1vw,88px);      /* section heading: 40 phone, 88 desktop */
  --zs-h3:clamp(24px,1.95vw,28px);     /* card title: 24 phone, 28 desktop */
  --zs-body:clamp(17px,1.25vw,18px);   /* body: 17 phone, 18 desktop */
  --zs-r-panel:32px; --zs-r-card:24px; /* big panels and photos, cards */
  --zs-btn-h:58px; --zs-btn-sm:48px;
}

/* ---------- 1 · Header: Home's glass bar, nothing drawn under it ---------- */
html .zs:not(.is-menu-open):not(.is-menu-closing):not(:has(.cer--v1)) .zs-nav{
  background:rgba(255,255,255,.6);
  -webkit-backdrop-filter:blur(18px) saturate(1.3); backdrop-filter:blur(18px) saturate(1.3);
  box-shadow:none;
}
html .zs.is-scrolled:not(.is-menu-open):not(.is-menu-closing):not(:has(.cer--v1)) .zs-nav{ background:rgba(255,255,255,.88); box-shadow:none; }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html .zs:not(.is-menu-open):not(.is-menu-closing):not(:has(.cer--v1)) .zs-nav{ background:rgba(255,255,255,.96); }
}

/* The header stays at the top on every page. The embed that holds it must not box it in
   (Paint correction was the one page where it scrolled away with the page). */
html .zs .w-embed:has(> .zs-nav){ display:contents; }
html .zs .w-embed:has(> .zs-nav)::before,html .zs .w-embed:has(> .zs-nav)::after{ content:none; }

/* ---------- 2 · Burger: round at every size ---------- */
html .zs .zs-nav .zs-burger{ border-radius:50%; }

/* ---------- 3 · Buttons ----------
   Main: orange pill, Kelp arrow circle, 58 px, 17 px / 600, Kelp words.
   Second: quiet pill, no arrow. Small: the same look at 48 px. */
html .zs :is(.rv-btn,.mc-btn,.pc-btn,.city-btn,.cp-btn,.cer-btn){
  min-height:var(--zs-btn-h); border-radius:999px;
  font-family:var(--font-body,'DM Sans',sans-serif); font-weight:600; font-size:17px; line-height:1; letter-spacing:-.01em;
}
html .zs :is(.rv-btn--quote,.mc-btn--quote,.pc-btn--quote,.city-btn--book,.cp-btn--quote,.cer-btn--quote){ padding:0 8px 0 26px; }
html .zs :is(.rv-btn--quote,.mc-btn--quote,.pc-btn--quote,.city-btn--book,.cp-btn--quote,.cer-btn--quote):not(.is-white){ background:var(--zs-gar); color:var(--zs-kelp); }
html .zs :is(.rv-btn,.mc-btn,.pc-btn,.city-btn,.cp-btn,.cer-btn) > i{ width:42px; height:42px; border-radius:50%; flex:none; }
html .zs :is(.rv-btn--ghost,.mc-btn--ghost,.pc-btn--ghost,.cp-btn--ghost,.cer-btn--ghost){ padding:0 26px; }
html .zs .pc-btn--light{ padding:0 8px 0 26px; }
html .zs .city-btn--text{ padding:0 26px 0 8px; }
html .zs :is(.rv-pill,.mc-pill,.pc-pill,.city-pill){ min-height:var(--zs-btn-sm); border-radius:999px; font-weight:600; }
/* blog, Gallery, Get a quote, Get ready: the same main and second buttons */
html .zs :is(.zsb .go,.zsb .call,.zsb .more-btn,.zsg .btn-book,.zsg .btn-soft:not(.ba-more),.qf-btn),
html body #zs-prep-page .zs-prep-main .zs-policy-button{
  height:auto; min-height:var(--zs-btn-h); border-radius:999px; font-family:var(--font-body,'DM Sans',sans-serif); font-weight:600; font-size:17px; line-height:1;
}
html body #zs-prep-page .zs-prep-main .zs-policy-button--primary{ padding:0 8px 0 26px; }
html body #zs-prep-page .zs-prep-main .zs-policy-button:not(.zs-policy-button--primary){ padding:0 26px; }
html .zs :is(.zsb .go,.zsb .more-btn,.zsg .btn-book,.qf-btn){ padding:0 8px 0 26px; }
html .zs .zsb .call{ padding:0 26px 0 8px; }
html .zs .zsb .pill:not(.more-btn){ min-height:var(--zs-btn-sm); border-radius:999px; font-weight:600; }

/* ---------- 4 · Review badge: one pill, two skins ---------- */
html .zs :is(.zsh-pill,.cer-proof,.city-proof,.rv-proof,.mc-proof,.pc-proof,.cp-proof,.zsg .proof){
  display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 16px 0 12px; border-radius:999px; border:0;
  font:500 14px/1 var(--font-body,'DM Sans',sans-serif); color:var(--zs-kelp);
  background:var(--zs-tint); box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none;
}
html .zs :is(.zsh-pill,.cer-proof,.city-proof,.rv-proof,.mc-proof,.pc-proof,.cp-proof,.zsg .proof) b{ font-weight:700; font-size:15px; color:inherit; }
/* on a photo or a tinted hero: frosted white */
html .zs :is(.rv-proof:not(.rv-proof--light),.mc-proof:not(.mc-proof--light),.pc-proof:not(.pc-proof--light),.cer-proof,.zsg .proof,.zs-badge--photo){
  background:rgba(255,255,255,.82); color:var(--zs-kelp);
  -webkit-backdrop-filter:blur(18px) saturate(1.6); backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:0 10px 30px rgba(18,38,43,.16);
}
@media (min-width:768px){ html .zs :is(.zsh-pill,.cer-proof,.city-proof,.rv-proof,.mc-proof,.pc-proof,.cp-proof,.zsg .proof){ font-size:15px; } }

/* ---------- 5 · Type: one scale ---------- */
html .zs :is(.rv-h1,.mc-h1,.pc-h1,.city--v2 .city-h1,.city--tpl .city-h1){ font-size:var(--zs-h1); line-height:.93; letter-spacing:-.045em; }
/* A long word ("Motorcycle", "Oceanside.") must never run out of a narrow hero column on desktop.
   The hero text column is a size container there, and the headline is capped at 20% of its width.
   Browsers without container units keep the line above. */
@media (min-width:992px){ html .zs :is(.rv-hero__in,.mc-hero__in,.pc-hero__in,.city-v2__text){ container-type:inline-size; } }
html .zs :is(.rv-h1,.mc-h1,.pc-h1,.city--v2 .city-h1,.city--tpl .city-h1){ font-size:min(clamp(50px,6.6vw,96px),20cqi); }
html .zs :is(.rv-h2,.mc-h2,.pc-h2,.city-h2){ font-size:var(--zs-h2); line-height:.96; letter-spacing:-.03em; }
/* blog page, Areas, Get a quote, Ceramic, Gallery, Get ready and legal titles; blog POST titles keep their own size */
html .zs :is(.zsb .h1,.city-areas__h1,.qf-h1,.cer-h1,.zsg .hero h1),
html body .zs-prep-main #zs-prep-title{ font-size:var(--zs-h1); line-height:.93; letter-spacing:-.045em; }
/* legal pages: the title only (the legal design sets it from its own script, so this selector is a step stronger) */
html body#zs-policy-page.zl .long-form-content01_component > .w-richtext:first-child h1:first-child{ font-size:var(--zs-h1); line-height:.93; }
/* blog: only the real section headings ("Latest.", "Keep reading"); post titles and card headings keep their size */
html .zs :is(.zsb :is(.sec-h,.latest-h) .h2,.cer-h2,.zsg h2){ font-size:var(--zs-h2); line-height:.96; letter-spacing:-.03em; }
html .zs :is(.rv-card h3,.mc-card h3,.pc-card h3,.city-price h3,.city-fact h3){ font-size:var(--zs-h3); }
/* body copy: 17 / 18. Kelp on light grounds; white text on dark grounds keeps its color.
   Grey-green stays for captions and fine print only (notes, credits, small print). */
html .zs :is(.rv-sub,.mc-sub,.pc-sub,.rv-lead,.mc-lead,.pc-lead,
  .rv-q__a,.mc-q__a,.pc-q__a,.rv-q__a p,.mc-q__a p,.pc-q__a p,
  .rv-inc li,.mc-inc li,.pc-inc li,.rv-extras li,.mc-extras li,.pc-extras li,
  .rv-type figcaption,.mc-type figcaption,.rv-card__line,.mc-card__line,.pc-card__line,.pc-limit p,
  .city-lines,.city-area__lead,.city-hoods,.city-fact p,.city-price__d,.city-q__a,.city-q__a p,.city-corner,.city-pricenote,
  .lt-answer p,.lt-section p,.zsb .lead,.qf-lead){
  font-size:var(--zs-body); line-height:1.55;
}
html .zs .zsb .post-body p{ font-size:var(--zs-body); }
html .zs :is(.rv-sub,.mc-sub,.pc-sub):not(:is(.rv-where__box,.mc-where__box,.rv-close__box,.mc-close__box,.pc-close__box,.pc-keep) *){ color:var(--zs-kelp); }
html .zs :is(.rv-q__a,.mc-q__a,.pc-q__a,.rv-q__a p,.mc-q__a p,.pc-q__a p,
  .rv-card--perfect .rv-inc li,.mc-card--perfect .mc-inc li,.pc-card--perfect .pc-inc li,
  .city-lines,.city-hoods,.city-fact:not(.city-fact--help) p,.city-price:not(.city-price--dark) .city-price__d,.lt-section p,.zsb .lead,.qf-lead){ color:var(--zs-kelp); }

/* ---------- 6 · Corners: 32 big panels and photos, 24 cards ---------- */
html .zs :is(.rv-tape,.mc-gauge,.pc-panel,.pc-keep,.pc-what figure,.pc-keep figure div,
  .rv-close__box,.mc-close__box,.pc-close__box,.rv-type__img,.mc-type__img,.mc-hero__pic,
  .city-photo,.city-letter){ border-radius:var(--zs-r-panel); }
html .zs :is(.rv-card,.mc-card,.pc-card,.rv-review,.mc-review,.pc-review,.rv-review blockquote,.mc-review blockquote,.pc-review blockquote,
  .rv-where__list > li,.mc-where__list > li,.pc-where__list > li,.rv-extras > li,.mc-extras > li,.pc-extras > li,.pc-places > li,.pc-limit,.pc-result,
  .city-near,.city-where,.city-vs__card,.city-price,.city-pricenote,.city-fact,.city-fact__do,.city blockquote,.city-corner,.lt-answer,.zsb .card){ border-radius:var(--zs-r-card); }
html .zs :is(.zsb .ask,.zsb .news,.zsb .done){ border-radius:var(--zs-r-panel); }

/* ---------- 7 · Questions: Home's block ----------
   Tint cards with 22 px corners; the open one turns white with a soft shadow.
   The round sign is white when closed and Kelp when open. */
html .zs :is(.rv-q,.mc-q,.pc-q,.city-q,.cp-q){ border-radius:22px; background:var(--zs-tint); transition:background-color .3s var(--zs-ease), box-shadow .3s var(--zs-ease); }
html .zs :is(.rv-q,.mc-q,.pc-q,.city-q,.cp-q)[open]{ background:#fff; box-shadow:0 16px 40px rgba(18,38,43,.11); }
html .zs :is(.rv-q,.mc-q,.pc-q,.city-q,.cp-q) > summary{ min-height:68px; padding:14px 14px 14px 20px; font:600 18px/1.3 var(--font-body,'DM Sans',sans-serif); color:var(--zs-kelp); }
html .zs :is(.rv-q,.mc-q,.pc-q,.city-q,.cp-q) > summary > i{ width:40px; height:40px; border-radius:50%; background:#fff; color:var(--zs-kelp); flex:none; }
html .zs :is(.rv-q,.mc-q,.pc-q,.city-q,.cp-q)[open] > summary > i{ background:var(--zs-kelp); color:#fff; }
html .zs :is(.rv-q__a,.mc-q__a,.pc-q__a,.city-q__a,.cp-q__a){ padding:0 20px 22px; }
