/* Self-hosted variable face — no Google Fonts request, one file. */
@font-face{font-family:'Libre Franklin';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/franklin-var.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Libre Franklin';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/franklin-var-ext.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

/* ================================================================
   EASTBOUND CLEANING SOLUTIONS — Direction B: "CHART"
   The Broads navigation chart. Stone paper, hairline teal rule work,
   margin ticks, plotted coverage, tabular listings. A precision
   instrument for a trade most people find hard to judge.
   ================================================================ */

:root {
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --paper-3: #e5e1d6;
  --ink: #0e2226;
  --ink-2: #3d5457;
  --ink-3: #6b7f81;

  --teal: #04bfbf;
  --teal-dk: #027c7c;
  --deep: #023a40;
  --deep-2: #012f34;
  --water: #d6eff0;

  --rule: rgba(2, 58, 64, 0.16);
  --rule-2: rgba(2, 58, 64, 0.09);
  --rule-strong: rgba(2, 58, 64, 0.3);
  --rule-dark: rgba(164, 240, 239, 0.2);

  --s1: 0.5rem;
  --s2: 0.875rem;
  --s3: 1.375rem;
  --s4: 2.25rem;
  --s5: 3.5rem;
  --s6: 5.5rem;
  --s7: 7.5rem;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1240px;

  /* One source of truth for the sticky header height — the map and the
     service-page sidebar both park below it. */
  --hdr-h: 82px;

  /* Width of the hero/page-head copy column. The scrim is derived from it, so
     the type always sits on solid paper whatever the photograph behind it. */
  --copy-w: 660px;
  --copy-edge: calc((100% - min(100%, var(--max))) / 2 + var(--pad) + var(--copy-w) + 1.5rem);

  --sans: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --lift: 0 14px 34px -20px rgba(2, 58, 64, 0.45), 0 2px 6px -3px rgba(2, 58, 64, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'tnum' 0;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal-dk); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--s2); top: -100px; z-index: 200;
  background: var(--deep); color: #fff; padding: 0.75rem 1.25rem; font-weight: 700;
  border-radius: 3px; transition: top 0.18s ease;
}
.skip:focus { top: var(--s2); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------ typography */
.sign { font-weight: 800; line-height: 1.02; letter-spacing: -0.028em; text-wrap: balance; }
.sign--xl { font-size: clamp(2.35rem, 5.6vw, 4.15rem); line-height: 0.98; }
.sign--lg { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.sign--md { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.022em; }
.sign em { font-style: normal; color: var(--teal-dk); }

.lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
p { max-width: 70ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; line-height: 1.55; }

/* The chart key: a small tick and tracked caps, the way a map labels a plate */
.key {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-dk);
}
.key::before { content: ''; width: 22px; height: 2px; background: currentColor; flex: none; }

/* ---------------------------------------------------------- ruled */
.rule { height: 1px; background: var(--rule); border: 0; }

/* ---------------------------------------------------------- plates */
.plate {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: var(--lift);
}
.plate--flat { box-shadow: none; background: var(--paper-2); }
.plate--deep { background: var(--deep); color: #eaf6f6; border-color: transparent; }
.plate--deep .muted, .plate--deep .small { color: #a7c8c9; }
.plate__in { padding: clamp(1.4rem, 3vw, 2.5rem); }

/* --------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 54px; padding: 0 1.5rem;
  font-weight: 700; font-size: 0.98rem; letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid transparent; border-radius: 4px; cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.3, 1), background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn .ico { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--deep); color: #fff; box-shadow: 0 10px 22px -14px rgba(2, 58, 64, 0.9); }
.btn--primary:hover { background: #034b53; transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #012326; }
.btn--teal:hover { background: #2ad3d3; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn--ghost:hover { border-color: var(--deep); background: rgba(2, 58, 64, 0.04); transform: translateY(-2px); }
.plate--deep .btn--ghost, .sec--deep .btn--ghost { color: #eaf6f6; border-color: var(--rule-dark); }
.plate--deep .btn--ghost:hover, .sec--deep .btn--ghost:hover { background: rgba(164, 240, 239, 0.1); border-color: var(--teal); }
.btn:active { transform: translateY(0); }
.btn--wide { width: 100%; }
.btn--lg { min-height: 60px; font-size: 1.04rem; padding: 0 1.9rem; }

/* ---------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(247, 245, 240, 0.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.hdr__bar { display: flex; align-items: center; gap: var(--s3); min-height: var(--hdr-h); }
/* The full supplied lockup, nothing beside it. Sized so the tracked
   "CLEANING SOLUTIONS" line — 10% of the artwork's height — still reads. */
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand img { height: 54px; width: auto; flex: none; }
@media (min-width: 620px) {
  :root { --hdr-h: 104px; }
  .brand img { height: 70px; }
}
.nav { display: none; margin-left: auto; align-items: center; gap: 0.15rem; }
@media (min-width: 1080px) { .nav { display: flex; } }
.nav a { text-decoration: none; white-space: nowrap; padding: 0.55rem 0.7rem; border-radius: 3px; font-weight: 600; font-size: 0.94rem; color: var(--ink-2); transition: color 0.15s ease, background-color 0.15s ease; }
.nav a:hover { color: var(--ink); background: rgba(2, 58, 64, 0.05); }
.nav a[aria-current='page'] { color: var(--teal-dk); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.hdr__cta { display: none; gap: 0.55rem; }
@media (min-width: 1080px) { .hdr__cta { display: flex; } }
.hdr .btn { white-space: nowrap; }
.hdr__cta .btn { min-height: 46px; font-size: 0.9rem; padding: 0 1.1rem; }

.burger {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 1px solid var(--rule); border-radius: 4px;
  min-height: 46px; padding: 0 0.95rem; cursor: pointer; font-weight: 700; font-size: 0.86rem;
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger__ic { width: 18px; height: 12px; position: relative; }
.burger__ic i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger__ic i:nth-child(1) { top: 0; }
.burger__ic i:nth-child(2) { top: 5px; }
.burger__ic i:nth-child(3) { top: 10px; }
.burger[aria-expanded='true'] .burger__ic i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__ic i:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__ic i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu { display: none; border-top: 1px solid var(--rule); padding-block: var(--s3) var(--s4); }
.menu.is-open { display: block; }
@media (min-width: 1080px) { .menu, .menu.is-open { display: none; } }
.menu a { display: block; text-decoration: none; padding: 0.8rem 0; border-bottom: 1px solid var(--rule-2); font-weight: 700; font-size: 1.08rem; }
.menu a[aria-current='page'] { color: var(--teal-dk); }
.menu__cta { display: grid; gap: 0.65rem; margin-top: var(--s3); }

/* ------------------------------------------------------------ hero */
/* A full-bleed scene behind the headline, with the paper ground washed across
   it so the type sits on near-solid paper rather than on a darkened image.
   Mobile stacks: the scene is a band, the copy sits on paper beneath it. */
.hero { position: relative; border-bottom: 1px solid var(--rule); background: var(--paper); overflow: hidden; }

.hero__media { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); }
@media (min-width: 560px) { .hero__media { aspect-ratio: 16 / 9; } }
.hero__media svg { width: 100%; height: 100%; display: block; }
.hero__scrim { position: absolute; left: 0; right: 0; top: 0; height: calc(100% / 11 * 16 / (16 / 11)); pointer-events: none; }

/* mobile: fade the band into the paper it sits on */
.hero__scrim {
  inset: 0;
  height: auto;
  background: linear-gradient(to bottom, rgba(247, 245, 240, 0) 46%, rgba(247, 245, 240, 0.55) 76%, var(--paper) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: var(--s3);
  padding-block: clamp(1.75rem, 5vw, 3rem) clamp(2rem, 5vw, 3.5rem);
}
/* the copy column is capped, the container stays on the page grid */
.hero__inner > * { max-width: var(--copy-w); }
.hero h1 { max-width: 15ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 0.7rem; }
@media (max-width: 620px) { .hero__acts { display: grid; gap: 0.65rem; } .hero__acts .btn { width: 100%; } }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.hero__fact { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.hero__fact .ico { width: 19px; height: 19px; color: var(--teal-dk); flex: none; }


/* desktop: the scene goes full-bleed behind the copy */
@media (min-width: 1000px) {
  :root { --copy-w: clamp(430px, 46vw, 660px); }
  .hero { display: grid; align-items: center; min-height: min(78svh, 720px); }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: 0; }
  .hero__scrim {
    z-index: 1;
    background:
      /* solid paper across the whole copy column, then a soft trailing edge */
      linear-gradient(to right,
        var(--paper) 0,
        var(--paper) var(--copy-edge),
        rgba(247, 245, 240, 0.55) calc(var(--copy-edge) + 110px),
        rgba(247, 245, 240, 0) calc(var(--copy-edge) + 240px)),
      linear-gradient(to bottom, rgba(247, 245, 240, 0.5) 0%, rgba(247, 245, 240, 0) 26%),
      linear-gradient(to top, rgba(247, 245, 240, 0.45) 0%, rgba(247, 245, 240, 0) 20%);
  }
  .hero__inner { padding-block: clamp(3rem, 7vw, 5rem); }
  /* keep the photo's subject in the clear half, right of the copy */
  .hero__media .ph--cover { object-position: 72% 50%; }
}


/* full-bleed wipe under the hero */
.strip { border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.strip__in { padding-block: clamp(2rem, 4vw, 3rem); display: grid; gap: var(--s3); }
@media (min-width: 900px) { .strip__in { grid-template-columns: 0.72fr 1.28fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; } }

/* ------------------------------------------------ before/after wipe */
.cmp { position: relative; margin: 0; }
.cmp__frame {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 16 / 9; background: var(--paper-3);
  border: 1px solid var(--rule); box-shadow: var(--lift);
  touch-action: pan-y;
}
.cmp__layer { position: absolute; inset: 0; }
.cmp__layer svg { width: 100%; height: 100%; }
.cmp__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(2, 58, 64, 0.35); z-index: 6; pointer-events: none; }
.cmp__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--deep);
  display: grid; grid-auto-flow: column; place-content: center; align-items: center;
  box-shadow: 0 6px 18px -5px rgba(2, 58, 64, 0.5), 0 0 0 1px var(--rule);
}
.cmp__grip .ico { width: 16px; height: 16px; stroke-width: 2.4; margin-inline: -3px; }
.cmp__grip .ico:first-child { transform: rotate(180deg); }
.cmp__input { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp__frame:has(.cmp__input:focus-visible) { outline: 3px solid var(--teal-dk); outline-offset: 3px; }
.cmp__tag {
  position: absolute; top: 0.85rem; z-index: 5; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 0.38rem 0.62rem; border-radius: 3px;
}
.cmp__tag--before { left: 0.85rem; background: rgba(255, 255, 255, 0.92); color: #4a4335; }
.cmp__tag--after { right: 0.85rem; background: var(--deep); color: #d9f4f4; }
.cmp__cap { margin-top: 0.75rem; font-size: 0.84rem; color: var(--ink-3); }

/* --------------------------------------------------------- sections */
.sec { padding-block: clamp(3rem, 7vw, var(--s7)); }
.sec--tight { padding-block: clamp(2.25rem, 5vw, var(--s6)); }
.sec--alt { background: var(--paper-2); border-block: 1px solid var(--rule); }
.sec--deep { background: var(--deep); color: #eaf6f6; }
.sec--deep .lead, .sec--deep p { color: #b7d5d6; }
.sec--deep .sign em { color: var(--teal); }
.sec--deep .rule { background: var(--rule-dark); }
.sec--deep .key { color: var(--teal); }
.sec__head { display: grid; gap: var(--s2); max-width: 62ch; margin-bottom: var(--s4); }
.sec__head--wide { max-width: 80ch; }
.sec__head p { color: var(--ink-2); }
.sec--deep .sec__head p { color: #b7d5d6; }

/* ------------------------------------------------- service index */
/* A chart index, not a card grid: ruled rows with tabular numbering. */
.idx { border-top: 1px solid var(--rule); }
.idx__row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: var(--s2) var(--s3);
  align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; transition: background-color 0.16s ease;
}
.idx__row:hover { background: rgba(2, 58, 64, 0.045); }
.idx__go { transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), color 0.16s ease; }
.idx__row:hover .idx__go { transform: translateX(5px); }
.idx__ic { width: 34px; height: 34px; color: var(--teal-dk); stroke-width: 1.4; }
.idx__t { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.idx__d { font-size: 0.92rem; color: var(--ink-2); max-width: 62ch; margin-top: 0.15rem; }
.idx__go { width: 20px; height: 20px; color: var(--ink-3); }
.idx__row:hover .idx__go { color: var(--teal-dk); }

/* ---------------------------------------------------- service detail */
.svc { display: grid; gap: var(--s5); }
.svc__row { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 900px) { .svc__row { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); } }
@media (min-width: 900px) { .svc__row:nth-child(even) .svc__art { order: -1; } }
.svc__body { display: grid; gap: var(--s2); }
.svc__body p { color: var(--ink-2); }
.svc__t { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.svc__tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dk); }

.ticks { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; align-items: start; font-size: 0.95rem; }
.ticks .ico { width: 19px; height: 19px; color: var(--teal-dk); margin-top: 3px; stroke-width: 2.2; }
.sec--deep .ticks .ico { color: var(--teal); }

/* ------------------------------------------------------- conditions */
.cond { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .cond { grid-template-columns: repeat(4, 1fr); } }
.cond__i { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .cond__i { padding: var(--s3) var(--s3) var(--s4) 0; border-bottom: 0; border-right: 1px solid var(--rule); } .cond__i:last-child { border-right: 0; padding-right: 0; } }
.sec--deep .cond, .sec--deep .cond__i { border-color: var(--rule-dark); }
.cond__t { font-weight: 800; font-size: 1rem; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.cond__i p { font-size: 0.94rem; color: var(--ink-2); }
.sec--deep .cond__i p { color: #b7d5d6; }

/* ---------------------------------------------------------- process */
.steps { display: grid; gap: 0; }
.step { display: grid; gap: var(--s1) var(--s3); padding-block: var(--s3); border-top: 1px solid var(--rule); }
@media (min-width: 820px) { .step { grid-template-columns: 78px 230px 1fr; align-items: baseline; } }
.svc-page__main .step { grid-template-columns: 78px 1fr; }
@media (min-width: 1100px) { .svc-page__main .step { grid-template-columns: 78px 200px 1fr; } }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step__n { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--teal-dk); white-space: nowrap; }
.step__t { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); font-size: 0.97rem; }
.sec--deep .step, .sec--deep .step:last-child { border-color: var(--rule-dark); }
.sec--deep .step p { color: #b7d5d6; }
.sec--deep .step__n { color: var(--teal); }

/* --------------------------------------------------------- promises */
.prom-list { display: grid; gap: 0; }
@media (min-width: 720px) { .prom-list { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); } }
.prom-list__i { display: grid; grid-template-columns: 42px 1fr; gap: var(--s2); padding-block: var(--s3); border-bottom: 1px solid var(--rule); }
.sec--deep .prom-list__i { border-color: var(--rule-dark); }
.prom-list__i .ico { width: 30px; height: 30px; color: var(--teal-dk); stroke-width: 1.4; }
.sec--deep .prom-list__i .ico { color: var(--teal); }
.prom-list__t { font-weight: 800; font-size: 1.04rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.prom-list__i p { font-size: 0.94rem; color: var(--ink-2); }
.sec--deep .prom-list__i p { color: #b7d5d6; }

/* ------------------------------------------------------------ areas */
.areas { display: grid; gap: var(--s4); }
@media (min-width: 980px) { .areas { grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; } }
.area-grp { border-top: 1px solid var(--rule); padding-block: var(--s3); }
.sec--deep .area-grp { border-color: var(--rule-dark); }
.area-grp__t { font-weight: 800; font-size: 1rem; letter-spacing: -0.015em; }
.area-grp__n { font-size: 0.86rem; color: var(--ink-3); margin-top: 0.15rem; }
.sec--deep .area-grp__n { color: #93babc; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.chip { display: inline-flex; align-items: center; padding: 0.36rem 0.7rem; border-radius: 3px; background: #fff; border: 1px solid var(--rule); font-size: 0.85rem; font-weight: 600; }
.chip--home { background: var(--deep); color: #eaf6f6; border-color: var(--deep); font-weight: 800; }
.sec--deep .chip { background: rgba(164, 240, 239, 0.08); border-color: var(--rule-dark); color: #eaf6f6; }
.sec--deep .chip--home { background: var(--teal); color: #012326; border-color: var(--teal); }

.mapwrap { position: relative; }
@media (min-width: 980px) { .areas .mapwrap { position: sticky; top: calc(var(--hdr-h) + 20px); } }
.mp { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--rule); background: #fff; }
.mp__dot { fill: var(--teal-dk); }
.is-home .mp__dot { fill: var(--deep); }
.mp__halo { fill: var(--teal); fill-opacity: 0.16; }
.mp__halo--2 { fill-opacity: 0.26; }
.mp__coast { stroke-dasharray: 1600; }
.mapwrap.is-in .mp__coast { animation: draw 1.6s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
@keyframes draw { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
.mapwrap.is-in .mp__pt { animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.25, 1) both; animation-delay: calc(0.5s + var(--i, 0) * 42ms); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mapwrap.is-in .mp__coast, .mapwrap.is-in .mp__pt { animation: none; } }

/* -------------------------------------------------------- testimony */
.revs { display: grid; gap: var(--s3); }
@media (min-width: 860px) { .revs { grid-template-columns: repeat(3, 1fr); } }
.rev { padding: var(--s3); }
.rev__stars { display: flex; gap: 3px; margin-bottom: var(--s2); }
.rev__stars i { width: 14px; height: 14px; background: var(--teal-dk); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rev__ph { padding: var(--s2) 0; border-block: 1px dashed var(--rule); color: var(--ink-3); font-size: 0.9rem; font-style: italic; }
.rev__meta { margin-top: var(--s2); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: var(--teal-dk); }

.ph-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(4, 191, 191, 0.12); color: #056c6c;
  border: 1px dashed rgba(2, 124, 124, 0.5);
  padding: 0.38rem 0.68rem; border-radius: 3px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}
.sec--deep .ph-note, .plate--deep .ph-note { background: rgba(164, 240, 239, 0.14); color: #9ff0ef; border-color: rgba(164, 240, 239, 0.45); }

/* -------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--rule); }
.faq__i { border-bottom: 1px solid var(--rule); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s3) 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--teal-dk); }
.faq__pm { position: relative; width: 18px; height: 18px; flex: none; }
.faq__pm::before, .faq__pm::after { content: ''; position: absolute; background: var(--teal-dk); transition: transform 0.2s ease, opacity 0.2s ease; }
.faq__pm::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq__pm::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq__i[open] .faq__pm::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding-bottom: var(--s3); color: var(--ink-2); }

/* ------------------------------------------------------------- form */
.quote { display: grid; gap: var(--s4); }
@media (min-width: 940px) { .quote { grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; } }
.field { display: grid; gap: 0.35rem; margin-bottom: var(--s2); }
.field > label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); }
.plate--deep .field > label { color: #a7c8c9; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 0.75rem 0.9rem;
  background: #fff; border: 1px solid var(--rule); border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.plate--deep .field input, .plate--deep .field textarea { background: rgba(255, 255, 255, 0.06); border-color: var(--rule-dark); color: #eaf6f6; }
.field textarea { min-height: 126px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.plate--deep .field input::placeholder, .plate--deep .field textarea::placeholder { color: #7fa5a7; }
.field input:hover, .field textarea:hover { border-color: var(--teal-dk); }
.field__hint { font-size: 0.8rem; color: var(--ink-3); }
.plate--deep .field__hint { color: #93babc; }
.field--split { display: grid; gap: var(--s2); }
@media (min-width: 620px) { .field--split { grid-template-columns: 1fr 1fr; } }
.checks { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.checks label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem; border-radius: 4px; background: #fff; border: 1px solid var(--rule); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.checks label:hover { border-color: var(--teal-dk); }
.plate--deep .checks label { background: rgba(255, 255, 255, 0.06); border-color: var(--rule-dark); }
.checks input { accent-color: var(--deep); width: 17px; height: 17px; }
.plate--deep .checks input { accent-color: var(--teal); }

/* -------------------------------------------------------- call band */
.band { background: var(--teal); color: #012326; border-block: 1px solid rgba(1, 35, 38, 0.18); }
.band__in { display: grid; gap: var(--s3); align-items: center; padding-block: clamp(2.25rem, 5vw, 4rem); }
@media (min-width: 900px) { .band__in { grid-template-columns: 1.3fr auto; } }
.band p { color: #03474c; max-width: 52ch; }
.band .btn--ghost { color: #012326; border-color: rgba(1, 35, 38, 0.35); }
.band .btn--ghost:hover { background: rgba(1, 35, 38, 0.08); border-color: #012326; }
.band__acts { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ----------------------------------------------------------- footer */
.ftr { background: var(--deep); color: #cfe6e7; padding-block: var(--s5) var(--s4); }
.ftr__grid { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .ftr__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.ftr__t { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: var(--teal); margin-bottom: var(--s2); }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.ftr__list a { text-decoration: none; font-size: 0.93rem; }
.ftr__list a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.ftr__towns { font-size: 0.89rem; color: #9fc0c2; line-height: 1.9; max-width: none; }
.ftr img { height: 60px; width: auto; margin-bottom: var(--s2); }
.ftr__btm { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); justify-content: space-between; align-items: center; font-size: 0.82rem; color: #93babc; }
.ftr__btm-items { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }

/* The build credit, right of the bottom bar. Held at 62% so it reads as a
   signature rather than a second brand in the client's own footer, and comes
   up to full on hover and keyboard focus. */
.ftr__by { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; opacity: 0.62; transition: opacity 0.18s ease; }
.ftr__by:hover, .ftr__by:focus-visible { opacity: 1; }
/* The global focus ring is --teal-dk, which is 1.6:1 on this band and barely
   visible. --teal is a fill colour everywhere else on the site, but a ring on
   the deep ground is exactly where it belongs. */
.ftr__by:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.ftr__by-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #93babc; white-space: nowrap; }
.ftr__by img { width: 80px; height: auto; }
@media (max-width: 620px) { .ftr__by { gap: 0.5rem; } .ftr__by img { width: 74px; } .ftr__by-label { letter-spacing: 0.1em; } }

/* --------------------------------------------------- sticky mobile */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); box-shadow: 0 -10px 26px -14px rgba(2, 58, 64, 0.55); }
@media (min-width: 1080px) { .callbar { display: none; } }
.callbar .btn { border-radius: 0; min-height: 58px; font-size: 0.92rem; }
body:has(.callbar) { padding-bottom: 59px; }

/* --------------------------------------------------------- reveal */
.rv.is-armed { opacity: 0; transform: translateY(16px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1); }
@media (prefers-reduced-motion: reduce) { .rv, .rv.is-armed { opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------------- page head */
.phead {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.phead__media { position: relative; aspect-ratio: 21 / 9; background: var(--paper-2); }
.phead__media svg { width: 100%; height: 100%; display: block; }
.phead__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(247, 245, 240, 0) 40%, rgba(247, 245, 240, 0.6) 74%, var(--paper) 100%);
}
/* the chart's neatline graduation, drawn along the top of every page head */
.phead__grad { position: absolute; left: 0; right: 0; top: 0; height: 11px; width: 100%; z-index: 3; }
.phead__grad line { stroke: var(--rule-strong); stroke-width: 1; }
.phead__in {
  position: relative; z-index: 2;
  display: grid; gap: var(--s3);
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
}
.phead__in > * { max-width: 68ch; }
@media (min-width: 1000px) {
  .phead { display: grid; align-items: center; min-height: min(42svh, 390px); }
  .phead__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: 0; }
  .phead__scrim {
    background:
      linear-gradient(to right,
        var(--paper) 0,
        var(--paper) var(--copy-edge),
        rgba(247, 245, 240, 0.55) calc(var(--copy-edge) + 100px),
        rgba(247, 245, 240, 0) calc(var(--copy-edge) + 220px)),
      linear-gradient(to bottom, rgba(247, 245, 240, 0.55) 0%, rgba(247, 245, 240, 0) 30%),
      linear-gradient(to top, rgba(247, 245, 240, 0.4) 0%, rgba(247, 245, 240, 0) 22%);
  }
  .phead__media .ph--cover { object-position: 72% 50%; }
  .phead__in { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
  .phead__in > * { max-width: min(60ch, var(--copy-w)); }
}
.crumb { font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 700; color: var(--teal-dk); }
.crumb a { text-decoration: none; color: var(--ink-3); }
.crumb a:hover { color: var(--teal-dk); }

/* chart labels */
.mp__key text, .mp__label { font-family: var(--sans); }

/* chart lettering — sized from the rendered scale, not the viewBox */
.mp__label { font-family: var(--sans); font-size: 19.5px; font-weight: 600; fill: var(--ink); letter-spacing: 0.004em; }
.is-home .mp__label { font-size: 26px; font-weight: 800; }
.mp__keytx { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-3); }
.mp__sound { font-family: var(--sans); font-size: 15px; font-weight: 500; fill: #4d8f92; }
.mp__rose { opacity: .9; }

/* --------------------------------------------------------- photographs */
/* Every photo slot renders an image element at this class; the drawn SVG
   fallback uses the same box, so swapping one for the other changes nothing
   else in the layout. */
.ph { display: block; width: 100%; height: auto; }
.ph--cover { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ the van */
/* Two overlapping plates, the way a job photo gets pinned to a board. */
.van { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) {
  .van { grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); }
}
.van__copy { display: grid; gap: var(--s2); }
.van__copy .lead { margin-bottom: 0.2rem; }
.van__copy p { color: var(--ink-2); }

.van__shots { position: relative; display: grid; gap: var(--s3); }
.van__shot { margin: 0; border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; background: var(--paper-3); box-shadow: var(--lift); }
.van__shot img { display: block; width: 100%; height: auto; }
@media (min-width: 700px) {
  .van__shots { display: block; padding-bottom: 16%; }
  /* pinned bottom-left: the right edge of the main shot carries the phone
     number on the van livery and must stay readable */
  .van__shot--offset {
    position: absolute; left: 0; bottom: 0;
    width: 50%;
    border-width: 3px; border-color: var(--paper);
    box-shadow: 0 18px 40px -22px rgba(2, 58, 64, 0.55), 0 0 0 1px var(--rule);
  }
}

/* ------------------------------------------------ stock image fallback */
/* A hotlinked photo keeps the drawing underneath. If the remote image never
   arrives, site.js reveals the fallback instead of leaving a broken box. */
.media { position: relative; width: 100%; height: 100%; }
.media > .ph--cover { width: 100%; height: 100%; }
.media__fb { position: absolute; inset: 0; }
.media__fb svg { width: 100%; height: 100%; }
.media.is-fallback > .ph { display: none; }

/* --------------------------------------------------------- the real map */
.map { position: relative; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; background: #fff; }
.map__canvas { width: 100%; height: var(--map-h, min(60svh, 520px)); background: var(--paper-2); }
.map__fb { position: absolute; inset: 0; background: #fff; }
.map__fb .mp { border: 0; border-radius: 0; height: 100%; width: 100%; object-fit: contain; }
.map.is-live .map__canvas { background: #fff; }

/* Leaflet, brought into the paper world */
.map .leaflet-container { font-family: var(--sans); background: #fff; }
.map .leaflet-control-zoom a {
  background: #fff; color: var(--deep); border-color: var(--rule);
  font-weight: 700; width: 34px; height: 34px; line-height: 32px;
}
.map .leaflet-control-zoom a:hover { background: var(--paper-2); color: var(--teal-dk); }
.map .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.86); color: var(--ink-3);
  font-size: 0.68rem; padding: 2px 7px;
}
.map .leaflet-control-attribution a { color: var(--teal-dk); }
.map .leaflet-popup-content-wrapper {
  border-radius: 4px; box-shadow: var(--lift); border: 1px solid var(--rule);
}
.map .leaflet-popup-content { font-size: 0.9rem; line-height: 1.5; margin: 0.75rem 0.9rem; }
.map .leaflet-popup-content a { color: var(--teal-dk); font-weight: 700; }

.mkr-wrap { display: grid; place-items: center; }
.mkr {
  display: block; width: 13px; height: 13px; border-radius: 50%;
  background: var(--teal-dk); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 1px 4px rgba(2, 58, 64, 0.4);
}
.mkr--home {
  width: 20px; height: 20px; background: var(--deep);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95), 0 0 0 11px rgba(4, 191, 191, 0.22), 0 2px 6px rgba(2, 58, 64, 0.4);
}
.mkr__label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 5px; white-space: nowrap;
  font-size: 0.72rem; font-weight: 700; color: var(--ink);
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff;
  pointer-events: none;
}
.mkr-wrap:has(.mkr--home) .mkr__label { font-size: 0.84rem; font-weight: 800; margin-top: 8px; }
@media (max-width: 700px) {
  /* labels collide at phone width — the popup carries the name instead */
  .mkr__label { display: none; }
  .mkr-wrap:has(.mkr--home) .mkr__label { display: block; }
}

/* ------------------------------------------------- services overview */
.svc-grid { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: var(--s4) clamp(1.75rem, 4vw, 3rem); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card { display: grid; gap: 0.7rem; align-content: start; }
.svc-card__media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2);
}
.svc-card__media .ph, .svc-card__media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card__media .media { height: 100%; }
.svc-card h2 { letter-spacing: -0.024em; }
.svc-card h2 a { text-decoration: none; }
.svc-card h2 a:hover { color: var(--teal-dk); }
.svc-card__tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal-dk); margin-top: 0.1rem; }
.svc-card p { font-size: 0.96rem; color: var(--ink-2); }
.svc-card .btn { justify-self: start; margin-top: 0.35rem; }
.ticks--tight { gap: 0.4rem; }
.ticks--tight li { font-size: 0.9rem; }

/* --------------------------------------------------- one service page */
.svc-page { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 980px) {
  .svc-page { grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 5vw, 4rem); }
  .svc-page__side { position: sticky; top: calc(var(--hdr-h) + 20px); }
}
.svc-page__main > .lead:first-child { margin-bottom: 0.9rem; }
.svc-page__main .cmp__frame { aspect-ratio: 16 / 9; }
