@charset "UTF-8";

/* ==========================================================================
   Newark Plumbing Co — design system
   --------------------------------------------------------------------------
   Palette: deep teal-slate + copper.
   Every foreground/background pair used for text has been checked against
   WCAG 2.1 AA (4.5:1 normal, 3:1 large). Ratios noted inline where the
   choice is not obvious — do not swap a colour without rechecking.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand ---------------------------------------------------------------- */
  --primary:        #0e3a43;   /* white on this = 12.3:1 */
  --primary-dark:   #082a31;
  --primary-mid:    #15525e;
  --primary-light:  #e6f0f2;
  --primary-tint:   #f4f9fa;

  /* Copper accent.
     --accent      : solid fills carrying white text (5.3:1)
     --accent-bright: decorative only, never behind text
     --accent-text : copper as text on a light ground (6.0:1)          */
  --accent:         #a85409;
  --accent-bright:  #c2610f;
  --accent-text:    #9c4d0a;
  --accent-dark:    #844107;
  --accent-tint:    #fdf3ea;

  /* Neutrals -------------------------------------------------------------- */
  --ink:            #14262b;   /* body text, 14.9:1 on white */
  --ink-soft:       #2c4148;
  --muted:          #4a5f66;   /* 6.7:1 on white — safe for small text */
  --line:           #dde5e7;
  --line-soft:      #eef3f4;
  --bg:             #ffffff;
  --bg-alt:         #f6f9fa;
  --bg-deep:        #0b2a30;

  --white:          #ffffff;
  --danger:         #a3251b;
  --success:        #1f6b45;

  /* Typography ------------------------------------------------------------ */
  --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.125rem;
  --fs-3xl:  2.625rem;
  --fs-4xl:  3.25rem;

  --lh-tight: 1.15;
  --lh-head:  1.25;
  --lh-body:  1.7;

  /* Space ----------------------------------------------------------------- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 6.5rem;

  /* Structure ------------------------------------------------------------- */
  --container: 1200px;
  --container-narrow: 760px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 42, 48, 0.06), 0 1px 3px rgba(11, 42, 48, 0.08);
  --shadow:    0 2px 6px rgba(11, 42, 48, 0.07), 0 6px 16px rgba(11, 42, 48, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 42, 48, 0.12), 0 2px 8px rgba(11, 42, 48, 0.06);

  --header-h: 76px;
  --dock-h: 62px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Offset for the sticky header when jumping to an #anchor. */
  scroll-padding-top: calc(var(--header-h) + var(--sp-5));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: var(--lh-head);
  color: var(--primary-dark);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, var(--fs-4xl)); line-height: var(--lh-tight); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, var(--fs-2xl)); }
h3 { font-size: clamp(1.25rem, 1.12rem + 0.6vw, var(--fs-lg)); }
h4 { font-size: var(--fs-md); }

p  { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-mid); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-text); }

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

strong, b { font-weight: 700; color: var(--primary-dark); }

/* Dark-ground contexts must not inherit the dark <strong> colour — that
   renders near-black text on near-black background. Any new dark section
   class belongs in this list. */
.site-footer strong, .site-footer b,
.cta-band strong, .cta-band b,
.page-head strong, .page-head b,
.hero strong, .hero b,
.section--deep strong, .section--deep b,
.side-card--cta strong, .side-card--cta b,
.mobile-dock strong, .top-bar strong { color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

table { border-collapse: collapse; width: 100%; }

button { font: inherit; cursor: pointer; }

/* Universal focus treatment. Visible, high contrast, never removed. */
:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: var(--sp-4); z-index: 999;
  background: var(--accent); color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-8); }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--primary-tint); }
.section--deep { background: var(--bg-deep); color: #d5e4e7; }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--form { background: var(--bg-alt); }

.section-head { margin-bottom: var(--sp-6); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
/* :not(.eyebrow) matters. A bare `.section-head p` is specificity 0-1-1 and
   would outrank the 0-1-0 `.eyebrow` rule below, silently repainting every
   eyebrow in muted grey. Same guard on .cta-band and .expect__head. */
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-md); margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--sp-2);
}
.eyebrow--light { color: #f0b782; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* --------------------------------------------------------------------------
   4. Buttons
   Minimum target 44x44 everywhere — enforced by min-height, not padding luck.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-head);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease),
              transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); box-shadow: var(--shadow); }

.btn--accent { background: var(--accent); color: var(--white); box-shadow: var(--shadow); }
.btn--accent:hover { background: var(--accent-dark); color: var(--white); box-shadow: var(--shadow-lg); }

.btn--ghost { background: var(--white); color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { background: var(--primary-tint); color: var(--primary-dark); border-color: var(--primary-mid); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }

.btn--lg { min-height: 52px; padding: var(--sp-4) var(--sp-6); font-size: var(--fs-md); }
.btn--xl { min-height: 64px; padding: var(--sp-4) var(--sp-6); font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }

.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn__stack small { font-size: var(--fs-xs); font-weight: 600; opacity: 0.85; }
.btn__stack strong { font-size: var(--fs-lg); color: inherit; }

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--primary-dark);
  color: #cfe0e3;
  font-size: var(--fs-sm);
  /* The 1.7 body line-height is far too airy for a 42px strip. */
  line-height: 1.35;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 42px;
  padding-block: var(--sp-2);
}
.top-bar__msg { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.top-bar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ac08a; flex-shrink: 0;
}
.top-bar__actions { margin: 0; flex-shrink: 0; }

/* Below ~430px there is not room for both at full size. The message
   steps down rather than the phone number breaking apart. */
@media (max-width: 430px) {
  .top-bar { font-size: var(--fs-xs); }
  .top-bar__msg { line-height: 1.3; }
}
.top-bar__phone {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  /* A phone number broken across lines is unreadable and looks broken.
     The message beside it wraps instead. */
  white-space: nowrap;
}
.top-bar__phone:hover { color: #f0b782; text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 44px;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-head);
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
.brand__sub {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav { display: none; }
.site-nav__list { display: flex; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.site-nav__list li { margin: 0; }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}
.site-nav__link:hover { color: var(--primary); background: var(--primary-tint); }
.site-nav__link.is-active { color: var(--primary); }
.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: var(--sp-3); right: var(--sp-3); bottom: 6px;
  height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
}

.site-header__cta { display: none; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  /* flex-shrink:0 is load-bearing. As a flex item in .site-header__inner
     this button will otherwise compress below its declared width when the
     brand needs room, dropping the tap target to ~24px wide. */
  flex-shrink: 0;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: var(--primary-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.menu-toggle__bar {
  display: block; height: 2px; width: 100%;
  background: var(--primary-dark); border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 42, 49, 0.55);
  backdrop-filter: blur(2px);
}
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(370px, 88vw);
  background: var(--white);
  padding: var(--sp-5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.22s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line);
}
.mobile-menu__title {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: var(--fs-xs); color: var(--muted);
}
.mobile-menu__close {
  width: 44px; height: 44px; font-size: 1.8rem; line-height: 1;
  background: var(--primary-tint); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--primary-dark);
}
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu__link {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-head); font-size: var(--fs-md); font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.mobile-menu__link.is-active { color: var(--accent-text); }

.mobile-menu__services ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__services li { margin-bottom: var(--sp-1); }
.mobile-menu__services a {
  display: flex; align-items: center; min-height: 44px;
  font-size: var(--fs-sm); color: var(--muted); text-decoration: none;
}
.mobile-menu__services a:hover { color: var(--primary); }
.mobile-menu__label {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  margin-bottom: var(--sp-2);
}
.mobile-menu__foot { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.mobile-menu__hours {
  text-align: center; font-size: var(--fs-sm); color: var(--muted);
  margin: var(--sp-3) 0 0;
}

/* --------------------------------------------------------------------------
   8. Mobile dock
   -------------------------------------------------------------------------- */
.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(11, 42, 48, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-dock__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: var(--dock-h);
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  color: var(--primary-dark); text-decoration: none;
  border-right: 1px solid var(--line-soft);
}
.mobile-dock__item:last-child { border-right: 0; }
.mobile-dock__item--call { background: var(--accent); color: var(--white); }
.mobile-dock__item--call:hover { background: var(--accent-dark); color: var(--white); }
.mobile-dock__icon { font-size: 1.15rem; line-height: 1; }

/* --------------------------------------------------------------------------
   9. Page head / hero
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  color: #dbe9ec;
  padding-block: var(--sp-7) var(--sp-8);
}
.page-head h1 { color: var(--white); margin-bottom: var(--sp-4); }
.page-lede {
  font-size: var(--fs-md);
  color: #c3d9dd;
  max-width: 68ch;
  margin-bottom: 0;
}
.page-head-actions {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-5);
}

/* Hours line sitting under the single phone CTA on service and area pages.
   The site is phone-first: one prominent call button, then the commitment
   that makes calling worthwhile, rather than a competing secondary action. */
.page-head-note {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: #a8c8ce;
  margin-bottom: 0;
}

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-mid) 100%);
  color: #dbe9ec;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: var(--sp-7);
  padding-block: var(--sp-8) var(--sp-9);
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--white); }
.hero__sub {
  font-size: var(--fs-md);
  color: #c3d9dd;
  max-width: 60ch;
  margin-bottom: var(--sp-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  /* Aspect ratio reserved up front — the image can load whenever it likes
     without moving anything below it. */
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.hero__points li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--fs-sm); color: #c3d9dd; margin: 0;
}
.hero__points li::before {
  content: "✓"; color: #6fd3a0; font-weight: 700; flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { margin-bottom: var(--sp-4); font-size: var(--fs-sm); }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,0.4); }
.breadcrumbs a { color: #a8c8ce; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #dbe9ec; }

/* Breadcrumbs on a light ground (used by pages without a dark head). */
.page-body .breadcrumbs a { color: var(--primary-mid); }
.page-body .breadcrumbs li + li::before { color: var(--muted); }
.page-body .breadcrumbs [aria-current="page"] { color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Two column layout
   -------------------------------------------------------------------------- */
.layout-two-col { padding-block: var(--sp-8); }
.two-col { display: grid; gap: var(--sp-7); }
.two-col__main { min-width: 0; }
.two-col__side { display: grid; gap: var(--sp-5); align-content: start; min-width: 0; }

/* --------------------------------------------------------------------------
   12. Article typography
   -------------------------------------------------------------------------- */
.article-body { font-size: var(--fs-base); }
.article-body > h2 {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 2px solid var(--line-soft);
}
.article-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body > h3 { margin-top: var(--sp-6); }
.article-body p { max-width: 72ch; }
.article-body ul, .article-body ol { max-width: 70ch; margin-bottom: var(--sp-5); }
.article-body li { margin-bottom: var(--sp-2); }
.article-body li::marker { color: var(--accent-text); font-weight: 700; }

.article-body blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 4px solid var(--accent-bright);
  background: var(--accent-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--fs-md);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-figure { margin: var(--sp-6) 0; }
.article-figure img { border-radius: var(--radius-lg); width: 100%; }
.article-figure figcaption {
  font-size: var(--fs-sm); color: var(--muted);
  margin-top: var(--sp-3); font-style: italic;
}

.post-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  font-size: var(--fs-sm); color: #a8c8ce; margin-bottom: var(--sp-4);
}

/* Callout used inside article bodies for local code/permit notes. */
.callout {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  background: var(--primary-tint);
  border: 1px solid var(--primary-light);
  border-left: 4px solid var(--primary-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout h2, .callout h3, .callout h4 { margin-top: 0; color: var(--primary-dark); }
.callout h2 { font-size: var(--fs-lg); padding-top: 0; border-top: 0; }
.callout--warn { background: var(--accent-tint); border-color: #f0d3b6; border-left-color: var(--accent-bright); }

/* Data tables inside articles scroll on their own rather than
   forcing the page body to scroll horizontally. */
.table-wrap { overflow-x: auto; margin: var(--sp-5) 0; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 480px; font-size: var(--fs-sm); }
.table-wrap th, .table-wrap td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.table-wrap th {
  font-family: var(--font-head); font-weight: 700;
  background: var(--primary-tint); color: var(--primary-dark);
  white-space: nowrap;
}
.table-wrap tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.card__link {
  margin-top: auto;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--accent-text); text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px;
}
.card__link:hover { gap: var(--sp-3); color: var(--accent-dark); }

.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--primary-tint);
  border-radius: var(--radius);
  margin-bottom: var(--sp-4);
  color: var(--primary);
  flex-shrink: 0;
}
.card__icon svg { width: 24px; height: 24px; }

/* Numbered process steps */
.step-card { position: relative; padding-top: var(--sp-6); }
.step-card__num {
  position: absolute; top: 0; left: var(--sp-5);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--white);
  font-family: var(--font-head); font-weight: 800;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   14. What to Expect
   -------------------------------------------------------------------------- */
.expect {
  margin: var(--sp-7) 0;
  padding: var(--sp-6);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.expect__head { margin-bottom: var(--sp-5); }
.expect__head h2 { margin-bottom: var(--sp-2); }
.expect__head p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.expect__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.expect__step { display: flex; gap: var(--sp-4); margin: 0; }
.expect__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--primary); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-md);
  border-radius: 50%;
}
.expect__step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.expect__step p { color: var(--muted); margin-bottom: 0; font-size: var(--fs-sm); }
.expect__warranty {
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { margin: var(--sp-7) 0; }
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { margin: 0; font-size: inherit; }
.faq-trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  width: 100%; min-height: 56px;
  padding: var(--sp-4) var(--sp-5);
  background: var(--white); border: 0; text-align: left;
  font-family: var(--font-head); font-size: var(--fs-md); font-weight: 600;
  color: var(--primary-dark);
  transition: background-color 0.15s var(--ease);
}
.faq-trigger:hover { background: var(--primary-tint); }
.faq-trigger[aria-expanded="true"] { background: var(--primary-tint); }

.faq-icon {
  position: relative; flex-shrink: 0;
  width: 20px; height: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.faq-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-icon::after  { top: 0; left: 9px; width: 2px; height: 20px; }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a { padding: 0 var(--sp-5) var(--sp-5); background: var(--primary-tint); }
.faq-a > :first-child { margin-top: 0; padding-top: var(--sp-1); }
.faq-a p { color: var(--ink-soft); max-width: 72ch; }
.faq-a ul, .faq-a ol { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   16. Sidebar cards
   -------------------------------------------------------------------------- */
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.side-card__title {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line-soft);
}
.side-card__foot { margin-top: var(--sp-4); font-size: var(--fs-sm); }

.side-card--cta {
  background: linear-gradient(165deg, var(--primary-dark), var(--primary-mid));
  border-color: var(--primary-dark);
  color: #cfe0e3;
  text-align: center;
}
.side-card__eyebrow {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: #f0b782; margin-bottom: var(--sp-2);
}
.side-card__phone { margin-bottom: var(--sp-1); }
.side-card__phone a {
  font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800;
  color: var(--white); text-decoration: none;
  display: inline-block; min-height: 44px;
}
.side-card__phone a:hover { color: #f0b782; }
.side-card__hours { font-size: var(--fs-sm); color: #a8c8ce; margin-bottom: var(--sp-4); }
.side-card--cta .btn { margin-bottom: var(--sp-2); }
.side-card--cta .btn:last-child { margin-bottom: 0; }

.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.side-nav li:last-child { border-bottom: 0; }
.side-nav__link {
  display: flex; align-items: center; min-height: 46px;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  padding-left: var(--sp-3);
  border-left: 3px solid transparent;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.side-nav__link:hover { color: var(--primary); border-left-color: var(--primary-light); background: var(--primary-tint); }
.side-nav__link.is-active {
  color: var(--accent-text); border-left-color: var(--accent-bright);
  background: var(--accent-tint); font-weight: 700;
}

.area-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.area-pills li { margin: 0; }
.area-pills a, .area-pills--zip li {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: var(--sp-1) var(--sp-3);
  background: var(--primary-tint);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.area-pills a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.area-pills--zip li { font-variant-numeric: tabular-nums; color: var(--muted); }

.side-posts { list-style: none; margin: 0; padding: 0; }
.side-posts li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.side-posts li:last-child { border-bottom: 0; }
.side-posts a {
  display: flex; flex-direction: column; gap: 2px;
  padding-block: var(--sp-3); min-height: 44px;
  text-decoration: none;
}
.side-posts__title { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); line-height: 1.4; }
.side-posts a:hover .side-posts__title { color: var(--accent-text); }
.side-posts__date { font-size: var(--fs-xs); color: var(--muted); }

.side-card--note { background: var(--accent-tint); border-color: #f0d3b6; }
.side-card--note p { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   17. Trust badges
   -------------------------------------------------------------------------- */
.trust-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.trust-badge {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); margin: 0;
}
.trust-badge__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--success); color: var(--white);
  border-radius: 50%; font-size: 0.7rem; font-weight: 700;
}

.trust-strip { display: flex; flex-wrap: wrap; gap: var(--sp-5); justify-content: center; }
.trust-strip .trust-badge { font-size: var(--fs-base); }

/* --------------------------------------------------------------------------
   18. Facts panel (area pages)
   -------------------------------------------------------------------------- */
.facts-panel {
  background: var(--primary-tint);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.facts-panel__title { font-size: var(--fs-md); margin-bottom: var(--sp-4); }
.facts-grid { margin: 0; display: grid; gap: 0; }
.facts-grid__row {
  display: grid;
  gap: var(--sp-1);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--primary-light);
}
.facts-grid__row:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-grid dt {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--primary-dark);
}
.facts-grid dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(150deg, var(--bg-deep) 0%, var(--primary) 100%);
  color: #cfe0e3;
  padding-block: var(--sp-8);
}
.cta-band__inner { display: grid; gap: var(--sp-6); align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-3); }
.cta-band p:not(.eyebrow) { color: #c3d9dd; max-width: 56ch; }
.cta-band__points { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
.cta-band__points li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--fs-sm); color: #c3d9dd; margin: 0;
}
.cta-band__points li::before { content: "✓"; color: #6fd3a0; font-weight: 700; flex-shrink: 0; }
.cta-band__action { display: grid; gap: var(--sp-3); }
.cta-band__hours {
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #c3d9dd;
  margin-bottom: 0;
}
.cta-band__gbp { text-align: center; font-size: var(--fs-sm); color: #a8c8ce; }

/* --------------------------------------------------------------------------
   20. Forms
   -------------------------------------------------------------------------- */
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: var(--sp-2); }

.field label {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--primary-dark);
}
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5f66' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  background-size: 18px;
  padding-right: var(--sp-8);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c3d2d5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 3px rgba(21, 82, 94, 0.14);
  outline: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(163, 37, 27, 0.12);
}

.field-hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.field-err { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; margin: 0; }

/* Honeypot. Removed from the accessibility tree and out of tab order —
   a human never encounters it, a naive bot fills it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-foot { margin-top: var(--sp-5); }
.form-consent {
  font-size: var(--fs-xs); color: var(--muted);
  margin: var(--sp-3) 0 0; text-align: center; line-height: 1.5;
}
.form-alt { font-size: var(--fs-sm); text-align: center; margin: var(--sp-3) 0 0; }
.form-alt a { font-weight: 700; color: var(--accent-text); }

.form-status {
  margin: var(--sp-4) 0 0;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 600;
}
.form-status--error { background: #fdeceb; color: var(--danger); border: 1px solid #f3c9c5; }
.form-status--ok { background: #e9f5ef; color: var(--success); border: 1px solid #bfe3d1; }

/* --------------------------------------------------------------------------
   21. Related blocks
   -------------------------------------------------------------------------- */
.related-block {
  margin-top: var(--sp-7); padding-top: var(--sp-6);
  border-top: 2px solid var(--line-soft);
}
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.related-list li { margin: 0; }
.related-list a {
  display: grid; gap: var(--sp-1);
  padding: var(--sp-4);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.related-list a:hover { background: var(--primary-tint); border-color: var(--primary-light); }
.related-list strong { font-family: var(--font-head); color: var(--primary-dark); }
.related-list span { font-size: var(--fs-sm); color: var(--muted); }
.related-list--compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.related-list--compact a { padding: var(--sp-3) var(--sp-4); min-height: 44px; align-content: center; }
.related-foot { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   21a. Call strip
   Sits where the lead form used to. Phone-first site: this slot converts
   to a dial action rather than a written one.
   -------------------------------------------------------------------------- */
.call-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-8);
  text-align: center;
}
.call-strip h2 { margin-bottom: var(--sp-3); }
.call-strip p { color: var(--muted); max-width: 56ch; margin-inline: auto; }
.call-strip .btn { margin-top: var(--sp-5); }
.call-strip__hours {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   21b. Map embed
   Height is reserved by the wrapper so the iframe cannot shift layout
   when it finishes loading.
   -------------------------------------------------------------------------- */
.map-embed {
  position: relative;
  margin: var(--sp-5) 0;
  min-height: 420px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   22. Pricing
   -------------------------------------------------------------------------- */
.price-table { margin: var(--sp-6) 0; }
.price-row {
  display: grid; gap: var(--sp-2);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-family: var(--font-head); font-weight: 700; color: var(--primary-dark); }
.price-row__range {
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-lg);
  color: var(--accent-text); font-variant-numeric: tabular-nums;
}
.price-row__note { font-size: var(--fs-sm); color: var(--muted); }

.price-disclaimer {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  background: var(--accent-tint);
  border: 1px solid #f0d3b6;
  border-left: 4px solid var(--accent-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.price-disclaimer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-deep);
  color: #a8c8ce;
  padding-block: var(--sp-8) var(--sp-5);
  font-size: var(--fs-sm);
  /* Clear the mobile dock so the last links are never trapped under it. */
  margin-bottom: var(--dock-h);
}
.footer-grid { display: grid; gap: var(--sp-6); }
.brand--footer { margin-bottom: var(--sp-4); }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__sub { color: #7fa5ac; }
.footer-blurb { color: #8fb3ba; max-width: 42ch; margin-bottom: var(--sp-5); }

.footer-head {
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--white); margin-bottom: var(--sp-4);
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin: 0; }
.footer-list a {
  display: flex; align-items: center; min-height: 44px;
  color: #a8c8ce; text-decoration: none;
}
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-more { margin-top: var(--sp-3); }
.footer-more a { color: #f0b782; font-weight: 600; }

.footer-nap { margin-bottom: var(--sp-4); }
.footer-nap__name { font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: var(--sp-1); }
.footer-nap__line { margin-bottom: var(--sp-1); }
.footer-phone {
  font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 800;
  color: var(--white); text-decoration: none;
  display: inline-block; min-height: 44px;
}
.footer-phone:hover { color: #f0b782; }
.footer-nap__hours { color: #8fb3ba; margin: 0; }

.footer-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.footer-social li { margin: 0; }
.footer-social a { color: #f0b782; min-height: 44px; display: inline-flex; align-items: center; }

.site-footer .trust-badges { margin-top: var(--sp-5); }
.site-footer .trust-badge { color: #a8c8ce; }

.footer-bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid; gap: var(--sp-3);
}
.footer-copy { margin: 0; color: #7fa5ac; font-size: var(--fs-xs); }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer-legal li { margin: 0; }
.footer-legal a { color: #7fa5ac; font-size: var(--fs-xs); min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   24. Scroll reveal
   The no-JS state is VISIBLE. JS adds .reveal-ready to <html>, which is what
   arms the hidden state — so if JS fails, content still renders.
   -------------------------------------------------------------------------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   25. Responsive — 768px
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --fs-base: 1.09375rem; }

  .section { padding-block: var(--sp-9); }
  .layout-two-col { padding-block: var(--sp-9); }
  .page-head { padding-block: var(--sp-8) var(--sp-9); }

  .hero__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .cta-band__inner { grid-template-columns: 1.4fr 0.85fr; }

  .facts-grid__row { grid-template-columns: 200px 1fr; gap: var(--sp-4); align-items: baseline; }

  .price-row { grid-template-columns: 1.6fr auto; align-items: baseline; }
  .price-row__note { grid-column: 1 / -1; }

  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-col--brand { grid-row: span 2; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }

  .expect__steps { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }

  /* The dock is mobile-only. */
  .mobile-dock { display: none; }
  .site-footer { margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   26. Responsive — 1024px
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-header__cta { display: block; }
  .menu-toggle { display: none; }

  .two-col { grid-template-columns: minmax(0, 1fr) 330px; gap: var(--sp-8); }
  .two-col__side { position: sticky; top: calc(var(--header-h) + var(--sp-4)); }

  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
  .footer-col--brand { grid-row: auto; }
}

@media (min-width: 1200px) {
  .expect { padding: var(--sp-7); }
}

/* --------------------------------------------------------------------------
   27. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
  .card:hover { transform: none; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   28. Forced colours (Windows high contrast)
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .faq-icon::before, .faq-icon::after { background: CanvasText; }
  .trust-badge__icon { border: 1px solid CanvasText; }
}

/* --------------------------------------------------------------------------
   29. Print
   -------------------------------------------------------------------------- */
@media print {
  .top-bar, .site-header, .mobile-menu, .mobile-dock,
  .cta-band, .section--form, .skip-link, .side-card--cta { display: none !important; }

  body { font-size: 11pt; color: #000; background: #fff; }
  .page-head { background: none !important; color: #000; padding-block: 0 1rem; }
  .page-head h1, .page-lede { color: #000; }
  .two-col { display: block; }
  .container { max-width: none; padding: 0; }

  /* Print the destination of every meaningful link. */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  a[href^="tel:"]::after { content: ""; }

  .faq-a { display: block !important; }
  .article-body > h2 { break-after: avoid; }
  .card, .side-card { break-inside: avoid; border: 1px solid #999; }
}

/* --------------------------------------------------------------------------
   30. Technical diagrams
   Original SVG explainers sitting inside article bodies. They carry their own
   background and padding, so they need less chrome than a photo figure.
   -------------------------------------------------------------------------- */
.article-figure--diagram img {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  width: 100%;
  height: auto;
}
.article-figure--diagram figcaption {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   31. "In short" summary
   The extractable conclusion on long service and area pages. Visually
   distinct so a scanning reader finds it, semantically an <aside> because
   it summarises rather than adds.
   -------------------------------------------------------------------------- */
.in-short {
  margin: var(--sp-7) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--primary-tint);
  border: 1px solid var(--primary-light);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.in-short h2 {
  font-size: var(--fs-md);
  margin: 0 0 var(--sp-3);
  padding: 0;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.in-short p { margin: 0; font-size: var(--fs-md); line-height: 1.65; max-width: 70ch; }

/* Separator in the page-head meta line */
.page-head-note__sep { margin-inline: var(--sp-2); opacity: 0.5; }

/* --------------------------------------------------------------------------
   32. Cost estimator
   -------------------------------------------------------------------------- */
.calc {
  margin: var(--sp-7) 0;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.calc__grid { display: grid; gap: var(--sp-4); }
.calc__field { display: grid; gap: var(--sp-2); }
.calc__field label {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--primary-dark);
}
.calc__out {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  background: var(--primary-tint);
  border-radius: var(--radius);
  text-align: center;
}
.calc__label {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--sp-2);
}
.calc__range {
  font-family: var(--font-head); font-size: var(--fs-2xl); font-weight: 800;
  color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.calc__note { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-3); }
.calc__options { display: grid; gap: var(--sp-2); }
.calc__check {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-3);
  border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 44px; cursor: pointer;
}
.calc__check:hover { background: var(--primary-tint); border-color: var(--primary-light); }
.calc__check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; }
.calc__check span { font-size: var(--fs-sm); }

@media (min-width: 768px) {
  .calc__grid { grid-template-columns: 1fr 1fr; }
  .calc__field--full { grid-column: 1 / -1; }
}

/* Price tables — converted from styled divs so answer engines can read them. */
.price-table .price-cell {
  font-family: var(--font-head); font-weight: 800;
  color: var(--accent-text); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-table .price-note { color: var(--muted); font-size: var(--fs-sm); }
.price-table th[scope="row"] { font-weight: 700; color: var(--primary-dark); }
.table-wrap .price-table { min-width: 620px; }
