/* ==========================================================================
   Pipeline Mechanical Services — cartoon trade-shop style sheet
   Palette : ink navy, logo cyan, sunshine yellow, hot coral, cream paper
   Type    : Bungee (display) / Baloo 2 (headings) / Nunito (body)
   ========================================================================== */

/* ---------- tokens: light (default) ---------- */
:root {
  --ink:        #17293f;
  --ink-soft:   #4a627c;
  --stroke:     #17293f;
  --shadow:     #17293f;

  --cyan:       #12ade6;
  --cyan-deep:  #0a7fb3;
  --sky:        #d9f1fc;
  --sun:        #ffc531;
  --sun-deep:   #e0a200;
  --coral:      #ff6a45;
  --mint:       #3fc39a;

  --paper:      #fff7e9;
  --paper-2:    #ffeecf;
  --card:       #ffffff;
  --card-2:     #f4fbff;

  --dot:        rgba(23, 41, 63, .14);

  --stroke-w:   3px;
  --r-lg:       22px;
  --r-md:       16px;
  --r-sm:       10px;
  --pop:        7px 7px 0 var(--shadow);
  --pop-sm:     4px 4px 0 var(--shadow);
  --pop-lg:     10px 10px 0 var(--shadow);

  --measure:    62ch;
  --gutter:     clamp(1rem, 4vw, 2.5rem);
  --band:       clamp(3.5rem, 7vw, 6rem);

  --font-display: "Bungee", "Arial Black", "Impact", sans-serif;
  --font-head:    "Baloo 2", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body:    "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- tokens: dark (system preference, unless light is forced) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:      #f2f7fb;
    --ink-soft: #a9bed3;
    --stroke:   #070e18;
    --shadow:   #070e18;

    --cyan:     #35bdf0;
    --cyan-deep:#1b8fc4;
    --sky:      #17384c;
    --sun:      #ffc531;
    --sun-deep: #c98d00;
    --coral:    #ff7a58;
    --mint:     #45cca2;

    --paper:    #10202f;
    --paper-2:  #16293a;
    --card:     #1b3145;
    --card-2:   #1f3950;

    --dot:      rgba(255, 255, 255, .12);
  }
}

/* ---------- tokens: dark (explicit choice) ---------- */
:root[data-theme="dark"] {
  --ink:      #f2f7fb;
  --ink-soft: #a9bed3;
  --stroke:   #070e18;
  --shadow:   #070e18;

  --cyan:     #35bdf0;
  --cyan-deep:#1b8fc4;
  --sky:      #17384c;
  --sun:      #ffc531;
  --sun-deep: #c98d00;
  --coral:    #ff7a58;
  --mint:     #45cca2;

  --paper:    #10202f;
  --paper-2:  #16293a;
  --card:     #1b3145;
  --card-2:   #1f3950;

  --dot:      rgba(255, 255, 255, .12);
}

/* ==========================================================================
   base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; text-wrap: balance; margin: 0; font-weight: 800; }

p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--sun); color: #17293f; font-family: var(--font-head);
  font-weight: 800; padding: .75rem 1.25rem; z-index: 999; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: min(820px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.band { padding-block: var(--band); position: relative; }
.band-sky { background: var(--sky); }
.band-paper2 { background: var(--paper-2); }

/* ==========================================================================
   cartoon primitives
   ========================================================================== */
.toon {
  border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--pop);
  background: var(--card);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  background: var(--sun); color: #17293f;
  border: var(--stroke-w) solid var(--stroke);
  border-radius: 999px; padding: .3rem 1rem;
  box-shadow: var(--pop-sm);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
}

.section-head { position: relative; display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; margin-bottom: 2.5rem; }
.section-head p { max-width: var(--measure); color: var(--ink-soft); font-size: 1.05rem; }

/* squiggle underline used under headings */
.squiggle { display: block; width: 190px; max-width: 60%; height: 12px; color: var(--cyan); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem;
  text-decoration: none; cursor: pointer;
  padding: .8rem 1.5rem;
  border: var(--stroke-w) solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--pop-sm);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }
.btn-primary { background: var(--sun); color: #17293f; }
.btn-primary:hover { background: #ffd45f; color: #17293f; }
.btn-call { background: var(--coral); color: #fff; }
.btn-call:hover { background: #ff8163; color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--card-2); color: var(--ink); }
.btn-wa { background: var(--mint); color: #0c2b22; }
.btn-wa:hover { background: #5cd9b3; color: #0c2b22; }

/* sticker: small rotated badge */
.sticker {
  font-family: var(--font-head); font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .45rem 1rem; border-radius: 999px;
  border: var(--stroke-w) solid var(--stroke);
  box-shadow: var(--pop-sm);
  background: var(--card); color: var(--ink);
}
.sticker-hot { background: var(--coral); color: #fff; }

/* halftone dot texture */
.dots::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 2px, transparent 2px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* wavy divider */
.wave { display: block; width: 100%; height: clamp(28px, 4vw, 54px); }
.wave path { stroke: var(--stroke); stroke-width: 3; }

/* ==========================================================================
   Pip, the mascot — see assets/js/mascot.js
   A spot is an invisible anchor point; the script drops Pip into two of them
   at random on each page load.
   ========================================================================== */
.mascot-spot {
  position: absolute;
  top: 50%; right: 56px;
  width: 0; height: 0;
  z-index: 4;
  pointer-events: none;
}
/* stands on the footer's top edge, in the empty padding of the band above */
.mascot-spot.spot-footer { top: -56px; right: 9%; }

.mascot {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--mascot-size, 132px);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
  filter: drop-shadow(4px 5px 0 var(--shadow));
}

/* every moving part of a pose pivots in viewBox coordinates */
.pip-wheel, .pip-tighten, .pip-flame, .pip-needle, .pip-reach, .pip-hand-wave {
  transform-box: view-box;
}
.pip-wheel     { transform-origin: 131px 88px; }
.pip-tighten   { transform-origin: 97px 102px; }
.pip-flame     { transform-origin: 128px 110px; }
.pip-needle    { transform-origin: 128px 90px; }
.pip-reach     { transform-origin: 99px 102px; }
.pip-hand-wave { transform-origin: 99px 100px; }
.pip-ting      { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .mascot { animation: pip-bob 5.5s ease-in-out infinite; }
  @keyframes pip-bob {
    0%, 100% { transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)); }
    50%      { transform: translate(-50%, calc(-50% - 9px)) rotate(var(--tilt, 0deg)); }
  }

  /* tightening the valve: spanner pulls, wheel turns, spark pings */
  .pip-tighten { animation: pip-tighten 2.6s ease-in-out infinite; }
  @keyframes pip-tighten {
    0%, 45%, 100% { transform: rotate(0deg); }
    62%           { transform: rotate(-16deg); }
    76%           { transform: rotate(5deg); }
  }
  .pip-wheel { animation: pip-wheel 2.6s ease-in-out infinite; }
  @keyframes pip-wheel {
    0%, 55%, 100% { transform: rotate(0deg); }
    76%           { transform: rotate(-34deg); }
  }
  .pip-ting { animation: pip-ting 2.6s ease-in-out infinite; }
  @keyframes pip-ting {
    0%, 60%, 100% { opacity: 0; transform: scale(.7); }
    68%           { opacity: 1; transform: scale(1); }
    80%           { opacity: 0; transform: scale(1.15); }
  }

  /* the blowtorch flame */
  .pip-flame { animation: pip-flame .42s ease-in-out infinite alternate; }
  @keyframes pip-flame {
    from { transform: scale(.82) rotate(-4deg); }
    to   { transform: scale(1.12) rotate(5deg); }
  }

  /* the gauge needle */
  .pip-needle { animation: pip-needle 3.4s ease-in-out infinite; }
  @keyframes pip-needle {
    0%, 100% { transform: rotate(-52deg); }
    50%      { transform: rotate(48deg); }
  }

  /* the drip he is chasing */
  .pip-drop { animation: pip-drop 2.2s cubic-bezier(.5, 0, .9, .5) infinite; }
  @keyframes pip-drop {
    0%        { transform: translateY(0);    opacity: 0; }
    12%       { transform: translateY(2px);  opacity: 1; }
    70%       { transform: translateY(28px); opacity: 1; }
    82%, 100% { transform: translateY(34px); opacity: 0; }
  }
  .pip-reach { animation: pip-reach 2.2s ease-in-out infinite; }
  @keyframes pip-reach {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(-9deg); }
  }

  /* the wave */
  .pip-hand-wave { animation: pip-hand-wave 1.7s ease-in-out infinite; }
  @keyframes pip-hand-wave {
    0%, 100% { transform: rotate(-13deg); }
    50%      { transform: rotate(13deg); }
  }
}

@media (max-width: 900px) {
  .mascot { --mascot-size: 99px; }
  .mascot-spot { right: 44px; }
}

/* below this width there is no dead space left for him to stand in */
@media (max-width: 719px) {
  .mascot-spot:not(.spot-mobile) { display: none; }
  .mascot { --mascot-size: 84px; }
  .mascot-spot.spot-footer { top: -38px; right: 12%; }
}

/* ==========================================================================
   header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--stroke-w) solid var(--stroke);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.02rem; line-height: 1; text-transform: uppercase; }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  font-family: var(--font-head); font-weight: 800;
  background: var(--cyan); color: #07202e;
  border: var(--stroke-w) solid var(--stroke); border-radius: var(--r-sm);
  padding: .5rem .9rem; cursor: pointer; box-shadow: var(--pop-sm);
}

.nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav a {
  font-family: var(--font-head); font-weight: 700; font-size: .96rem;
  color: var(--ink); text-decoration: none;
  padding: .4rem .7rem; border-radius: 999px;
  border: 3px solid transparent;
}
.nav a:hover { background: var(--sky); border-color: var(--stroke); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--cyan); color: #07202e; border-color: var(--stroke); }

.header-phone { display: inline-flex; }

/* ==========================================================================
   hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.1rem + 4.6vw, 4.4rem);
  line-height: .96; text-transform: uppercase; margin: 0;
}
.hero h1 .hl { color: var(--cyan); }
.hero h1 .hl-2 { color: var(--coral); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); max-width: 48ch; color: var(--ink-soft); }
.hero-also {
  font-size: .97rem; max-width: 48ch; color: var(--ink-soft);
  border-left: 4px solid var(--cyan); padding-left: .9rem;
}
.hero-also a { color: var(--cyan-deep); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stickers { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .3rem; }
.hero-stickers .sticker:nth-child(1) { background: var(--sun); color: #17293f; transform: rotate(-2deg); }
.hero-stickers .sticker:nth-child(2) { background: var(--cyan); color: #07202e; transform: rotate(1.5deg); }
.hero-stickers .sticker:nth-child(3) { background: var(--mint); color: #0c2b22; transform: rotate(-1deg); }

.hero-art { position: relative; }
.hero-frame {
  border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--pop-lg);
  overflow: hidden;
  transform: rotate(1.6deg);
  background: var(--card);
}
.hero-frame img { width: 100%; height: clamp(260px, 38vw, 430px); object-fit: cover; }
.hero-badge {
  position: absolute; z-index: 3;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; line-height: 1.05;
  border: var(--stroke-w) solid var(--stroke);
  box-shadow: var(--pop-sm);
}
.hero-badge-round {
  right: -10px; top: -22px;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--sun); color: #17293f;
  transform: rotate(-8deg);
  font-size: .92rem; padding: .4rem;
}
.hero-badge-round strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.hero-badge-flag {
  left: -14px; bottom: -18px;
  background: var(--coral); color: #fff;
  border-radius: var(--r-sm);
  padding: .6rem 1rem; transform: rotate(-2.5deg);
  font-size: .95rem;
}

/* ==========================================================================
   trust strip
   ========================================================================== */
.trust { border-block: var(--stroke-w) solid var(--stroke); background: var(--cyan); }
.trust-list {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: center;
  list-style: none; margin: 0; padding: .9rem 0;
  font-family: var(--font-head); font-weight: 800; color: #07202e;
  text-transform: uppercase; letter-spacing: .06em; font-size: .92rem;
}
.trust-list li { display: inline-flex; align-items: center; gap: .5rem; }
.trust-list svg { width: 20px; height: 20px; flex: none; }

/* ==========================================================================
   trade cards
   ========================================================================== */
.trades {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
.trade {
  display: flex; flex-direction: column;
  background: var(--card);
  border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--pop);
  overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .14s ease, box-shadow .14s ease;
}
.trade:hover { transform: translate(-3px, -4px) rotate(-.5deg); box-shadow: var(--pop-lg); color: var(--ink); }
.trade-media { position: relative; border-bottom: var(--stroke-w) solid var(--stroke); background: var(--sky); }
.trade-media img { width: 100%; height: 168px; object-fit: cover; }
.trade-media svg { width: 100%; height: 168px; display: block; }
.trade-icon {
  position: absolute; right: 12px; bottom: -22px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--sun); color: #17293f;
  border: var(--stroke-w) solid var(--stroke);
  box-shadow: var(--pop-sm);
  display: grid; place-items: center;
}
.trade-icon svg { width: 28px; height: 28px; }
.trade-body { padding: 1.5rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.trade-body h3 { font-size: 1.3rem; }
.trade-body p { color: var(--ink-soft); font-size: .97rem; }
.trade-more {
  margin-top: auto; padding-top: .6rem;
  font-family: var(--font-head); font-weight: 800; color: var(--cyan-deep);
  display: inline-flex; align-items: center; gap: .4rem;
}
.trade:hover .trade-more { color: var(--coral); }

/* the three headline services, and the gas/electrics pair */
.trades-core { grid-template-columns: repeat(auto-fit, minmax(296px, 1fr)); }
.trades-pair { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.trades-core .trade-media img { height: 200px; }
.trades-pair .trade-media img { height: 210px; }

/* status tag on a card: is this covered by the 24-hour service or not */
.tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 800;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  border: 2.5px solid var(--stroke); border-radius: 999px;
  padding: .18rem .7rem; margin-bottom: .1rem;
}
.tag-emergency { background: var(--coral); color: #fff; }
.tag-appt { background: var(--sky); color: var(--ink); }

/* "anything else, just ask" panel */
.other-trades {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.4rem 2rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}
.other-trades > div { flex: 1 1 22rem; }
.other-trades h2 {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  margin-bottom: .5rem;
}
.other-trades p { color: var(--ink-soft); max-width: 58ch; }

/* ==========================================================================
   emergency band
   ========================================================================== */
.emergency {
  position: relative; overflow: hidden;
  background: var(--coral); color: #fff;
  border-block: var(--stroke-w) solid var(--stroke);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.emergency-inner {
  position: relative; z-index: 2;
  display: grid; gap: 1.6rem;
  grid-template-columns: 1.2fr auto; align-items: center;
}
.emergency h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 1rem + 3vw, 3rem); text-transform: uppercase; }
.emergency p { max-width: 50ch; font-size: 1.05rem; margin-top: .7rem; }
.emergency .emergency-scope {
  background: rgba(255, 255, 255, .16);
  border: 2.5px solid #17293f;
  border-radius: var(--r-sm);
  padding: .7rem .9rem;
  font-size: .97rem;
  margin-top: 1rem;
}
.emergency-actions { display: flex; flex-direction: column; gap: .7rem; }
.phone-plate {
  display: inline-flex; flex-direction: column; align-items: center; gap: .1rem;
  background: #fff; color: #17293f;
  border: var(--stroke-w) solid var(--stroke); border-radius: var(--r-md);
  box-shadow: var(--pop); padding: .9rem 1.6rem; text-decoration: none;
  transform: rotate(-1.2deg);
}
.phone-plate span { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }
.phone-plate strong { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem); letter-spacing: 0; }
.phone-plate:hover { color: #17293f; transform: rotate(-1.2deg) translate(-2px, -2px); }

/* ==========================================================================
   feature rows (image + copy)
   ========================================================================== */
.feature { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); grid-template-columns: 1fr 1fr; align-items: center; }
.feature + .feature { margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.feature-copy h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
.feature-copy p { color: var(--ink-soft); max-width: var(--measure); }
.feature-media {
  border: var(--stroke-w) solid var(--stroke); border-radius: var(--r-lg);
  box-shadow: var(--pop); overflow: hidden; background: var(--card);
}
.feature-media img { width: 100%; height: clamp(230px, 30vw, 340px); object-fit: cover; }
.feature-flip .feature-media { order: -1; }
@media (min-width: 861px) { .feature-flip .feature-media { order: 0; } .feature-flip .feature-copy { order: 2; } }

/* tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; align-items: start; }
.ticks svg { width: 26px; height: 26px; margin-top: .18rem; color: var(--mint); }

/* ==========================================================================
   "why us" pillars
   ========================================================================== */
.pillars { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar {
  background: var(--card); border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg); box-shadow: var(--pop);
  padding: 1.6rem 1.35rem; display: flex; flex-direction: column; gap: .7rem;
}
.pillar-icon {
  width: 62px; height: 62px; border-radius: 50%;
  border: var(--stroke-w) solid var(--stroke); box-shadow: var(--pop-sm);
  display: grid; place-items: center; margin-bottom: .3rem;
}
.pillar:nth-child(1) .pillar-icon { background: var(--cyan); color: #07202e; }
.pillar:nth-child(2) .pillar-icon { background: var(--sun); color: #17293f; }
.pillar:nth-child(3) .pillar-icon { background: var(--mint); color: #0c2b22; }
.pillar-icon svg { width: 32px; height: 32px; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { color: var(--ink-soft); font-size: .98rem; }

/* ==========================================================================
   speech bubbles (reviews)
   ========================================================================== */
.bubbles { display: grid; gap: 2.2rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bubble { position: relative; }
.bubble-box {
  background: var(--card); border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg); box-shadow: var(--pop);
  padding: 1.4rem 1.35rem; font-size: 1rem;
}
.bubble-box::after,
.bubble-box::before {
  content: ""; position: absolute; left: 38px; width: 0; height: 0;
}
.bubble-box::before {
  bottom: -22px;
  border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-top: 22px solid var(--stroke);
}
.bubble-box::after {
  bottom: -15px; left: 43px;
  border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 16px solid var(--card);
}
.bubble-who { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; padding-left: .3rem; }
.bubble-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 3px solid var(--stroke); display: grid; place-items: center;
  font-family: var(--font-display); font-size: .95rem; color: #17293f;
}
.bubble:nth-child(1) .bubble-avatar { background: var(--sun); }
.bubble:nth-child(2) .bubble-avatar { background: var(--cyan); }
.bubble:nth-child(3) .bubble-avatar { background: var(--mint); }
.bubble-who b { font-family: var(--font-head); display: block; line-height: 1.2; }
.bubble-who span { font-size: .85rem; color: var(--ink-soft); }
.stars { color: var(--sun-deep); letter-spacing: .1em; font-size: 1.05rem; }

/* ==========================================================================
   service detail sections (services page)
   ========================================================================== */
.svc { scroll-margin-top: 7rem; }
.svc + .svc { margin-top: clamp(3rem, 6vw, 5rem); }
.svc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.svc-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2.2vw, 2.4rem); text-transform: uppercase; }
.svc-num {
  font-family: var(--font-display); font-size: 1rem;
  background: var(--ink); color: var(--paper);
  border: var(--stroke-w) solid var(--stroke); border-radius: 999px;
  padding: .25rem 1rem;
}
.svc-layout { display: grid; gap: 1.8rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
.svc-photo { border: var(--stroke-w) solid var(--stroke); border-radius: var(--r-lg); box-shadow: var(--pop); overflow: hidden; background: var(--card); }
.svc-photo img { width: 100%; height: clamp(220px, 26vw, 300px); object-fit: cover; }
.svc-photo svg { width: 100%; height: clamp(220px, 26vw, 300px); display: block; }
.svc-cards { display: grid; gap: 1.1rem; }
.svc-card {
  background: var(--card); border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-md); box-shadow: var(--pop-sm);
  padding: 1.15rem 1.2rem;
}
.svc-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.svc-card p { color: var(--ink-soft); font-size: .98rem; }

/* jump chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0 0 2.6rem; padding: 0; }
.chips a {
  display: inline-block; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  background: var(--card); color: var(--ink);
  border: 3px solid var(--stroke); border-radius: 999px;
  padding: .35rem .95rem; box-shadow: var(--pop-sm);
  transition: transform .12s ease, background-color .12s ease;
}
.chips a:hover { background: var(--sun); color: #17293f; transform: translate(-2px, -2px); }

/* ==========================================================================
   forms
   ========================================================================== */
.form-card {
  background: var(--card); border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg); box-shadow: var(--pop-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; font-family: var(--font-body); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--card-2);
  border: 3px solid var(--stroke); border-radius: var(--r-sm);
  padding: .7rem .85rem; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: .8; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form-note { font-size: .88rem; color: var(--ink-soft); max-width: 44ch; }

/* ==========================================================================
   contact details
   ========================================================================== */
.contact-grid { display: grid; gap: 1.8rem; grid-template-columns: 1.15fr .85fr; align-items: start; }
.info-card {
  background: var(--paper-2); border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-lg); box-shadow: var(--pop);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.info-row { display: grid; grid-template-columns: 46px 1fr; gap: .9rem; align-items: start; }
.info-row .ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cyan); color: #07202e;
  border: 3px solid var(--stroke); display: grid; place-items: center;
}
.info-row .ico svg { width: 24px; height: 24px; }
.info-row b { font-family: var(--font-head); display: block; font-size: 1rem; }
.info-row a, .info-row span { font-size: 1rem; word-break: break-word; }
.hours-open {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  background: var(--mint); color: #0c2b22;
  border: 3px solid var(--stroke); border-radius: 999px; padding: .25rem .9rem;
}

/* ==========================================================================
   footer
   ========================================================================== */
.site-footer {
  /* not clipped: Pip stands on the top edge — see .spot-footer */
  position: relative;
  background: #17293f; color: #eef5fb;
  border-top: var(--stroke-w) solid var(--stroke);
  padding-block: clamp(2.6rem, 5vw, 4rem) 1.5rem;
}
.footer-grid { position: relative; z-index: 2; display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr 1fr; }
.site-footer h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: .7rem; color: #fff; }
.site-footer a { color: #bfe6f7; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .97rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer-brand img { width: 52px; background: #fff; border-radius: 12px; padding: 4px; border: 3px solid #0b1725; }
.footer-brand span { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; color: #fff; line-height: 1.1; }
.footer-blurb { color: #b9cbdd; font-size: .97rem; max-width: 38ch; }
.footer-bottom {
  position: relative; z-index: 2;
  margin-top: 2.2rem; padding-top: 1.2rem;
  border-top: 2px dashed rgba(255,255,255,.25);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: #a9bed3;
}

/* ==========================================================================
   page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.4rem, 4vw, 3.6rem); border-bottom: var(--stroke-w) solid var(--stroke); background: var(--sky); }
.page-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem); text-transform: uppercase; }
.page-hero p { max-width: var(--measure); color: var(--ink-soft); font-size: 1.07rem; }

/* small print card */
.notice {
  background: var(--paper-2); border: var(--stroke-w) solid var(--stroke);
  border-radius: var(--r-md); box-shadow: var(--pop-sm);
  padding: 1.2rem 1.3rem;
}
.notice h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.notice p { color: var(--ink-soft); }

/* prose blocks */
.prose { display: grid; gap: 1.1rem; max-width: var(--measure); }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); margin-top: 1rem; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .nav a { font-size: .9rem; padding: .35rem .55rem; }
  .brand-sub { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .nav {
    order: 4; width: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .8rem 0 1rem;
    border-top: 3px dashed var(--stroke); margin-top: .6rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .55rem .8rem; font-size: 1rem; }
  .header-phone { order: 2; }
  .hero-grid, .emergency-inner, .feature, .contact-grid, .svc-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .hero-frame { transform: rotate(1deg); }
  .emergency-actions { align-items: flex-start; }
  .svc-photo img, .svc-photo svg { height: 230px; }
}

@media (max-width: 600px) {
  /* brand and menu on the first row, the call button full width beneath */
  .header-inner { flex-wrap: wrap; gap: .55rem; }
  .brand img { width: 40px; }
  .brand-name { font-size: .95rem; }
  .nav-toggle { order: 2; }
  .header-phone {
    order: 5; width: 100%; justify-content: center;
    font-size: 1.05rem; padding: .6rem 1rem;
  }
  .nav { order: 6; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero-badge-round { width: 92px; height: 92px; right: -4px; top: -16px; font-size: .78rem; }
  .hero-badge-round strong { font-size: 1.2rem; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   motion
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 4.5s ease-in-out infinite; }
  @keyframes bob {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50%      { transform: translateY(-8px) rotate(-6deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .nav-toggle, .emergency-actions { display: none; }
  body { background: #fff; color: #000; }
}
