/* Cleveland Snow Removal Pros — base stylesheet
   Single static stylesheet, no build step, no external font/JS dependency.

   Palette: deep lake-storm indigo with a cold red accent, assigned before the
   build and checked against every other stylesheet in the portfolio so no two
   sites share a family. The reasoning is recorded outside the web root — this
   file is served publicly, so it carries none of that.

   Contrast, computed rather than eyeballed (WCAG AA needs 4.5:1):
     white on --ember-deep (#a8323f) ........ 6.58:1
     white on --midtone (#465166) ............... 7.99:1
     --midtone (#465166) on --field ............ 7.45:1
     --ember-deep on --field (section labels) .. 6.14:1
     nav link (#e0e6ef) on --night ............ 11.36:1
     brand mark (#ef8fa0) on --night .......... 6.18:1
     footer text (#b0b9c8) on #12172a ........ 8.99:1
     --copy-c on --field .................... 16.60:1
     --quiet on --field ..................... 5.74:1
   The bright --ember (#d1495b) is a display color only: white on it is
   4.36:1, which is why every button that carries white text uses --ember-deep.
*/

:root {
  --night: #1f2a44;
  /* RGB channels of --night, for the hero photo scrim. */
  --veil: 31, 42, 68;
  --midtone: #465166;
  --ember-deep: #a8323f;
  --ember: #d1495b;
  --field: #f6f7f9;
  --blank: #ffffff;
  --copy-c: #14181f;
  --quiet: #5a6270;
  --outline-c: #d8dde6;
  --arc-c: 5px;
  --measure: 1140px;
  /* The fixed CTA bar's real height, not a round number: 7+10 padding top and
     bottom plus a 0.90rem line (23px), +2px slack. Above 768px the link grows to
     0.95rem and the bar to 60px. body's padding-bottom tracks both. */
  --batten-h: 59px;
}

/* The bar is taller above the mobile breakpoint (larger type, roomier buttons). */
@media (min-width: 768px) { :root { --batten-h: 60px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--copy-c);
  background: var(--field);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--midtone); text-decoration: none; }
a:hover { text-decoration: underline; }
.armature { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }

/* Header */
header.mast {
  background: var(--night);
  color: var(--blank);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.mast .course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--measure);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}
header.mast .escutcheon {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blank);
}
/* The brand mark sits on --night. --ember-deep against --night computes to 2.4:1,
   below the 3:1 large-text floor, so the mark uses a lighter tint of the
   same hue (6.43:1) rather than the accent variable. */
header.mast .escutcheon span { color: #ef8fa0; }
header.mast nav { display: flex; gap: 16px; flex-wrap: wrap; }
header.mast nav a { color: #e0e6ef; font-size: 0.95rem; }
header.mast nav a:hover { color: var(--blank); }
header.mast .voice-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: var(--ember-deep);
  color: var(--blank);
  padding: 9px 16px;
  border-radius: var(--arc-c);
  font-weight: 700;
}
header.mast .voice-link:hover { background: #83262f; text-decoration: none; }

/* Hero */
.marquee-block {
  background: linear-gradient(135deg, var(--night), var(--midtone));
  color: var(--blank);
  padding: 56px 20px 48px;
}
.marquee-block .armature { display: flex; flex-direction: column; gap: 18px; }
.marquee-block .lead-in {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  width: fit-content;
}
.marquee-block h1 { font-size: 2.2rem; margin: 0; max-width: 760px; }
.marquee-block p.summary-line { font-size: 1.1rem; color: #e2e6ee; max-width: 600px; margin: 0; }
.marquee-block .picks { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.action {
  display: inline-block;
  padding: 13px 22px;
  border-radius: var(--arc-c);
  font-weight: 700;
  font-size: 1rem;
}
.action.emphatic { background: var(--ember-deep); color: var(--blank); }
.action.emphatic:hover { background: #83262f; text-decoration: none; }
.action.plain-btn { background: rgba(255,255,255,0.08); color: var(--blank); border: 1px solid rgba(255,255,255,0.35); }
.action.plain-btn:hover { background: rgba(255,255,255,0.16); text-decoration: none; }
.marquee-block .codicil { font-size: 0.9rem; color: #c5ccd9; max-width: 640px; }

/* The referral disclosure is a legal requirement (16 CFR 461.3 and the FTC's
   .com Disclosures prominence factors), not decoration, so it does not rely on
   the hero photo being dark behind it. Its own scrim keeps it conspicuous at
   every viewport width and against any part of the background image. */
.marquee-block .declaration {
  font-size: 0.9rem;
  color: #ffffff;
  max-width: 680px;
  background: rgba(var(--veil), 0.82);
  border-left: 3px solid var(--ember-deep);
  padding: 12px 16px;
  border-radius: 6px;
  margin: 18px 0 10px;
}
.marquee-block .declaration strong { color: #ffffff; }

/* Hero with a full-bleed background photo (homepage only) — layers a
   left-to-right dark gradient over the image so the H1/lead text stays
   readable.

   Stops are darker than the default ramp. Measured at 1440px: the H1 runs
   to x=1100 and the lead to x=940 of 1440, i.e. 76% and 65% across — and this
   site's hero photo has a white van sitting right under that range. On the
   default 0.90/0.72/0.28/0.05 ramp the lead computed to about 2.5:1 against
   white text, well under WCAG AA. At 0.93/0.88/0.72/0.35 the lead lands near
   7:1 and the H1 near 5:1, and the right quarter of the frame is still open
   enough to read as a photograph. Check this again if the hero is ever
   replaced with a darker image — the ramp can go back. */
.marquee-block.framed-shot {
  background-image:
    linear-gradient(90deg, rgba(var(--veil), 0.93) 0%, rgba(var(--veil), 0.88) 45%, rgba(var(--veil), 0.72) 70%, rgba(var(--veil), 0.35) 100%),
    url('/images/hero-csrp-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 56px 20px;
}
@media (max-width: 820px) {
  .marquee-block.framed-shot {
    background-image:
      linear-gradient(180deg, rgba(var(--veil), 0.88) 0%, rgba(var(--veil), 0.8) 55%, rgba(var(--veil), 0.65) 100%),
      url('/images/hero-csrp-photo-mobile.jpg');
    min-height: 460px;
  }
}

/* Sections */
section { padding: 48px 20px; }
section.alt-band { background: var(--blank); border-top: 1px solid var(--outline-c); border-bottom: 1px solid var(--outline-c); }
.part-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--ember-deep);
  font-weight: 700;
  margin-bottom: 6px;
}
h2 { font-size: 1.65rem; margin: 0 0 20px; color: var(--night); }
h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--night); }

/* A heading promoted from <h3> to <h2> so the outline has no skipped level.
   Identical metrics to h3 — semantics changed, rendering did not. */
h2.lv2 { font-size: 1.15rem; margin: 0 0 8px; color: var(--night); }

/* Grid cards */
.mosaic { display: grid; gap: 18px; }
.mosaic.tri { grid-template-columns: repeat(3, 1fr); }
.mosaic.dyad { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
  .mosaic.tri, .mosaic.dyad { grid-template-columns: 1fr; }
  .marquee-block h1 { font-size: 1.7rem; }
  header.mast .course { justify-content: center; text-align: center; }
}

/* 821-1060px: brand + a full nav + the phone number no longer fit on one line
   now that the call button shows real digits. Rather than shrink the number,
   give the nav its own centered row — brand left, phone right, nav beneath —
   instead of letting the call button orphan itself under the brand. */
@media (min-width: 821px) and (max-width: 1060px) {
  header.mast nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    margin-top: 2px;
  }
}
.note-card {
  background: var(--blank);
  border: 1px solid var(--outline-c);
  border-radius: var(--arc-c);
  padding: 20px;
}

.note-card p { color: var(--quiet); margin: 6px 0 0; font-size: 0.95rem; }

/* Trust strip */

/* FAQ — native <details>/<summary> accordion, no JS needed */

/* How It Works */

@media (max-width: 820px) { }
@media (max-width: 540px) { }

/* Testimonials shell — honest placeholder until real reviews exist */

/* Sticky CTA bar — visible at EVERY width (calls are the priority conversion) */
.fixedbar {
  display: flex;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--night);
  padding: 7px 14px calc(7px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  /* Fallback for chrome baked into blog pages before the .fixedbar-inner
     wrapper existed: those have the two <a> as direct children. No-op once the
     wrapper is present (single child, already full width). */
  gap: 10px;
  justify-content: center;
}
/* Constrain to the site's content width rather than two full-bleed halves. */
.fixedbar-inner {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
}
.fixedbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-align: center;
  padding: 10px 10px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.90rem;
}
.fixedbar .earpiece { flex: none; }
/* Mobile: keep both buttons, but weight the call button ~60/40 over the form. */
.undock-call { flex: 3; background: var(--ember-deep); color: var(--blank); }
.pinned-ask { flex: 2; background: rgba(255,255,255,0.1); color: var(--blank); border: 1px solid rgba(255,255,255,0.35); }
.undock-call:hover { background: #83262f; text-decoration: none; }
.pinned-ask:hover { background: rgba(255,255,255,0.18); text-decoration: none; }
/* Narrow phones: the digits must survive, the qualifier is what gives way. */
.fixedbar .footnote-cta { display: none; }
@media (min-width: 520px) {
  .fixedbar .footnote-cta { display: inline; }
}
/* Above the mobile breakpoint: content-width buttons, centered. */
@media (min-width: 768px) {
  .fixedbar-inner { justify-content: center; }
  .fixedbar a { flex: 0 0 auto; padding: 10px 22px; font-size: 0.95rem; }
}
/* Keep content — including the footer's last row — clear of the fixed bar. */
body { padding-bottom: var(--batten-h); }
/* Area links */
.catchment { display: flex; flex-wrap: wrap; gap: 10px; }
.catchment a {
  background: var(--blank);
  border: 1px solid var(--outline-c);
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--night);
  font-size: 0.92rem;
}
.catchment a:hover { border-color: var(--ember-deep); text-decoration: none; }

/* CTA band */
.tailpiece {
  background: var(--night);
  color: var(--blank);
  text-align: center;
  padding: 44px 20px;
}
.tailpiece h2 { color: var(--blank); }
.tailpiece p { color: #e0e6ef; margin-bottom: 18px; }

/* Contact form */
form.tell-us { display: grid; gap: 12px; max-width: 480px; }
form.tell-us label { font-size: 0.88rem; font-weight: 600; color: var(--night); display: block; margin-bottom: 4px; }
form.tell-us input, form.tell-us select, form.tell-us textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--outline-c);
  border-radius: 5px;
  font-size: 0.95rem;
  font-family: inherit;
}
form.tell-us .proviso { font-size: 0.78rem; color: var(--quiet); }
form.tell-us .aux-note { position: absolute; left: -9999px; top: -9999px; }
form.tell-us button[disabled] { opacity: 0.6; cursor: not-allowed; }
.acknowledgement { margin-top: 12px; padding: 11px 14px; border-radius: 5px; font-size: 0.9rem; display: none; }
.acknowledgement.visible { display: block; }
.acknowledgement.success { background: #fbe9eb; color: #2b3242; }
.acknowledgement.error { background: #fdecea; color: #b3261e; }

/* Breadcrumb */

/* Footer */
footer.mast {
  background: #12172a;
  color: #b0b9c8;
  padding: 40px 20px 24px;
  font-size: 0.9rem;
}
footer.mast .armature { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer.mast h2 { color: var(--blank); font-size: 0.95rem; margin: 0 0 10px; }
footer.mast ul { list-style: none; padding: 0; margin: 0; }
footer.mast li { margin-bottom: 6px; }
footer.mast a { color: #b0b9c8; }
footer.mast .plinth {
  max-width: var(--measure);
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 720px) {
  footer.mast .armature { grid-template-columns: 1fr 1fr; }
}

/* Brand logo (added 2026-08-11) */

header.mast .escutcheon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.sigil {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

/* Founder note (replaces empty testimonial placeholder) — added 2026-08-11 */

/* --- Work photos ------------------------------------------------------ */
/* Inline documentary shots dropped between two content sections partway down a
   service page. Deliberately NOT a gallery grid and NOT a CSS background: one
   photo per page, off-rhythm, no captions.

   The base rule caps width so an unclassed figure can never render full-bleed
   across the page — that failure looks completely correct in the markup, so the
   block has to ship before any page references the class. No .portrait / .wide
   / .pair modifiers here: every master on this site is landscape 1200x800, and
   an unused modifier is how "add the class" becomes the easy fix for an image
   that should have been regenerated. */
.site-shot {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 34px 20px;
}
.site-shot img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--arc-c);
  border: 1px solid var(--outline-c);
}

/* --- Homepage work strip ---------------------------------------------- */
/* TEN small thumbnails low on the homepage - one for each of the ten service
   pages. Deliberately NOT links and NOT lightboxed: they are scroll-depth
   reassurance, not a gallery. Full-size versions live on the matching pages.

   Column counts are worked for ten so the rows come out even at every
   breakpoint: 5x2 on desktop, 2x5 at 900px and 2x5 at 520px. A ragged
   trailing row is the visible tell that nobody redid the arithmetic. */
.photo-row .chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-row img {
  display: block;
  width: 100%;
  /* height:auto is required - the img height="320" attribute is a
     presentational hint that would otherwise make the box 320px tall and
     cause aspect-ratio to be ignored entirely. */
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--outline-c);
  background: var(--blank);
}
@media (max-width: 900px) { .photo-row .chips { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .photo-row .chips { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* --- Who-signs-off note ------------------------------------------------ */
/* A one-line jurisdiction statement, set apart from body copy because on a
   site spanning this many separate city ordinances it is the fact most often
   wrong elsewhere and most often load-bearing. Prose, not a definition list:
   the answer is a sentence, and dozens of pages carrying identical field
   labels would read as a generated table. */

/* --- Wide tables ------------------------------------------------------- */
/* A table whose minimum content width exceeds
   the viewport slides the WHOLE document sideways at 375px unless it gets its
   own scroll context. The table's own overflow:hidden (used for radius
   clipping) does not create one. Only the permit-comparison page has a table,
   and it has five columns. */
.wide-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--outline-c);
  border-radius: var(--arc-c);
  background: var(--blank);
}

/* --- Snow-trade blocks — specific to a seasonal-contract trade. ------------
   .figure-band replaces the .proofs strip under the hero: four figures rather
   than four claims, because on a seasonal-contract page the numbers ARE the
   argument. .tariff and .ask-list exist so this site does not repeat the
   .queried <details> shape every other trade uses (§12 — vary structure,
   not only class names). */
.figure-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--outline-c);
  border-top: 1px solid var(--outline-c);
  border-bottom: 1px solid var(--outline-c);
}
.figure-band > div {
  background: var(--blank);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.figure-band .headline-num {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--night);
  letter-spacing: -0.01em;
}
.figure-band .gloss { font-size: 0.86rem; color: var(--quiet); line-height: 1.4; }

.tariff { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 0.95rem; }
.tariff caption {
  caption-side: top;
  text-align: left;
  font-size: 0.85rem;
  color: var(--quiet);
  padding-bottom: 8px;
}
.tariff th, .tariff td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--outline-c);
  vertical-align: top;
}
.tariff thead th {
  background: var(--night);
  color: var(--blank);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tariff tbody tr:nth-child(even) td { background: rgba(0, 0, 0, 0.018); }
.tariff td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

.walkthrough { counter-reset: step; list-style: none; margin: 4px 0 16px; padding: 0; }
.walkthrough li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 44px;
  margin: 0;
}
.walkthrough li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--night);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ask-list { margin: 4px 0 0; }
.ask-list dt {
  font-weight: 650;
  color: var(--night);
  margin: 18px 0 5px;
  font-size: 1.02rem;
}
.ask-list dt:first-child { margin-top: 0; }
.ask-list dd { margin: 0; padding: 0 0 4px 0; color: var(--copy-c); }

@media (max-width: 560px) {
  .figure-band .headline-num { font-size: 1.25rem; }
  .tariff th, .tariff td { padding: 9px 10px; }
}

/* --- Snow-zone lookup (services/snowbelt-gradient.html only).
   Which side of the lake-effect belt an address sits on decides how many
   times a season it gets cleared, so the page answers that for a community
   rather than describing it. No storage, no network — a lookup only. */
.lookup-card {
  background: var(--blank);
  border: 1px solid var(--outline-c);
  border-radius: var(--arc-c);
  padding: 20px;
  margin: 10px 0 4px;
}
.lookup-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.lookup-fields label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--midtone);
  margin-bottom: 5px;
}
.lookup-fields input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--outline-c);
  border-radius: var(--arc-c);
  font-size: 1rem;
  font-family: inherit;
  color: var(--copy-c);
  background: var(--field);
}
.lookup-fields input:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
  background: var(--blank);
}
.lookup-result {
  margin-top: 18px;
  border-top: 1px solid var(--outline-c);
  padding-top: 16px;
}
.result-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.result-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--night);
  font-variant-numeric: tabular-nums;
}
.result-label { font-size: 0.92rem; color: var(--quiet); }
.result-note-line { font-size: 0.9rem; color: var(--midtone); margin: 6px 0 0; }

/* --- Statute block quote (ohio/snow-removal-sales-tax.html).
   ORC 5739.01(B)(3)(t)'s definition of "snow removal service" is quoted
   verbatim, because the whole page turns on the phrase "by any mechanized
   means" and a paraphrase would lose it. */
.code-quote {
  margin: 8px 0 18px;
  padding: 18px 20px;
  background: var(--blank);
  border-left: 4px solid var(--ember);
  border-radius: 0 var(--arc-c) var(--arc-c) 0;
}
.code-quote p { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.6; }
.code-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--quiet);
  letter-spacing: 0.02em;
}

/* --- Reviews partial (inc/partials/reviews.php).
   Ships gated OFF via site.php show_reviews=false, but the partial ALSO renders
   when $IS_PREVIEW is true — so without these rules the block appears unstyled
   on the preview URL, and if the switch is ever flipped. Styled now so that
   flipping it is safe. */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.testimonial {
  background: var(--blank);
  border: 1px solid var(--outline-c);
  border-radius: var(--arc-c);
  padding: 18px 20px;
}
.testimonial p { margin: 0 0 12px; font-size: 0.96rem; }
.rating {
  color: var(--ember);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.named-by {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--quiet);
  font-style: normal;
}
