/* ==========================================================================
   Matt Merry Roofing LTD — styles.css
   InveraWebDesigns
   Aesthetic: "Ridge Line" — industrial-editorial. Warm off-white paper base,
   charcoal ink, MMR red as structural accent. Saw-tooth roofline motif,
   numbered trade-catalogue indexing, blocky condensed display type.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand — from CLIENT_BRIEF.md */
  --brand-primary: #E8442C;
  --brand-deep: #C1331C;
  --brand-tint: rgba(232, 68, 44, 0.08);

  /* Surfaces */
  --paper: #F5F2ED;
  --paper-raised: #FFFFFF;
  --paper-sunk: #EBE6DE;

  /* Ink */
  --ink: #16181A;
  --ink-band: #1B1E21;
  --ink-band-2: #24282C;
  --grey-text: #5C6369;
  --grey-soft: #8A9096;

  /* On-dark text ramp (charcoal bands: hero, coverage, CTA, footer) */
  --on-dark: #FFFFFF;
  --on-dark-1: #E9E6E1;
  --on-dark-2: #DDE0E3;
  --on-dark-3: #C9CDD1;
  --on-dark-4: #B4B9BE;
  --on-dark-5: #A9AFB4;
  --on-dark-6: #8E959B;
  --on-dark-7: #7E858B;
  --brand-light: #FF7A66;   /* brand red lifted for legibility on charcoal */
  --ink-deep: #0A0A0A;

  /* Channel values for scrims over photography */
  --ink-rgb: 27, 30, 33;
  --hairline-light: rgba(255, 255, 255, 0.22);

  /* Third-party surfaces */
  --whatsapp: #25D366;
  --map-bg: #1D2733;

  /* Lines */
  --line: #DED8CE;
  --line-strong: #C8C1B5;
  --line-dark: #33383D;

  /* Review source colours — fixed utility colours, constant across all builds */
  --review-google: #4285F4;
  --review-facebook: #1877F2;
  --review-yell: #FFDD00;

  /* Type */
  --font-display: "Arial Black", "Arial Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Metrics */
  --nav-h: 70px;
  --topbar-h: 38px;
  --wrap: 1220px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(22, 24, 26, 0.06), 0 2px 8px rgba(22, 24, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(22, 24, 26, 0.07), 0 16px 40px rgba(22, 24, 26, 0.08);
  --shadow-lg: 0 8px 24px rgba(22, 24, 26, 0.10), 0 32px 70px rgba(22, 24, 26, 0.14);

  /* Motifs */
  --ridge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 L18 0 L36 14 Z' fill='%23E8442C'/%3E%3C/svg%3E");
  --ridge-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 L18 0 L36 14 Z' fill='%231B1E21'/%3E%3C/svg%3E");
  --ridge-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 L18 0 L36 14 Z' fill='%23F5F2ED'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Paper grain — subtle tactility so the off-white never reads as flat white.
   Sits *below* the header (z 900/910), deliberately. As a full-viewport fixed
   layer on top of everything it made the page's top edge a semi-transparent
   texture rather than a solid colour, and iOS Safari then could not extend a
   colour into the status bar — it fell back to showing a blurred sample of the
   page there, which read as a gap above the topbar. At 3.5% opacity the grain
   over the header was imperceptible anyway. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 800;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Safety net: an inline SVG with only a viewBox defaults to filling its
   container, which blows up icons inside flex parents. Anything that needs a
   different size overrides this with its own rule. */
svg {
  width: 1em;
  height: 1em;
  flex: none;
}

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand-primary); color: var(--on-dark); }

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

section[id] { scroll-margin-top: calc(var(--nav-h) + var(--topbar-h) + 16px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--brand-primary);
  color: var(--on-dark);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  /* max() keeps copy clear of the notch when the page is viewed in landscape
     (the viewport is viewport-fit=cover so the layout runs under the cutout) */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 118px);
}
.section--tight { padding-block: clamp(48px, 6vw, 78px); }
.section--sunk { background: var(--paper-sunk); }

.section--ink {
  background: var(--ink-band);
  color: var(--on-dark-1);
}
.section--ink h1,
.section--ink h2,
.section--ink h3 { color: var(--on-dark); }
.section--ink p { color: var(--on-dark-4); }

/* Saw-tooth roofline divider — the site's signature motif */
.ridge {
  height: 14px;
  background-image: var(--ridge);
  background-repeat: repeat-x;
  background-size: 36px 14px;
}
.ridge--down { transform: scaleY(-1); }
.ridge--ink { background-image: var(--ridge-ink); }
.ridge--paper { background-image: var(--ridge-paper); }

/* Section headings */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--brand-primary);
  flex: none;
}
.section--ink .eyebrow { color: var(--brand-light); }
.section--ink .eyebrow::before { background: var(--brand-light); }

.section-title {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  max-width: 20ch;
}
.section-title .accent { color: var(--brand-primary); }

.section-head { margin-bottom: clamp(34px, 5vw, 54px); }
.section-head__lead {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--grey-text);
  font-size: 1.06rem;
}
.section--ink .section-head__lead { color: var(--on-dark-4); }

.section-head--split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}
@media (max-width: 760px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color 0.22s ease, color 0.22s ease,
              border-color 0.22s ease, transform 0.22s ease,
              box-shadow 0.22s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--on-dark);
  box-shadow: 0 4px 0 var(--brand-deep);
}
.btn--primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--brand-deep);
}

.btn--ink {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ink:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--on-dark);
}
.btn--ghost:hover {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--ink);
}

.btn--light {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--ink);
}
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--brand-primary);
  padding-bottom: 4px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-more:hover { color: var(--brand-primary); gap: 15px; }
.link-more svg { width: 16px; height: 16px; }
.section--ink .link-more { color: var(--on-dark); }
.section--ink .link-more:hover { color: var(--brand-light); }

/* --------------------------------------------------------------------------
   5. Topbar + Navigation
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 910;
  background: var(--ink-band);
  color: var(--on-dark-3);
  font-size: 0.78rem;
  padding-top: max(0px, env(safe-area-inset-top));
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--topbar-h);
  padding-block: 7px;
}
.topbar__note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.topbar__note svg { width: 15px; height: 15px; color: var(--brand-primary); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-weight: 600;
  transition: color 0.2s ease;
}
.topbar__link:hover { color: var(--on-dark); }
.topbar__link svg { width: 15px; height: 15px; color: var(--brand-primary); }
@media (max-width: 720px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
}

.nav {
  position: sticky;
  top: calc(var(--topbar-h) + max(0px, env(safe-area-inset-top)));
  z-index: 900;
  /* Solid, deliberately. backdrop-filter on a sticky header makes iOS Safari
     promote it to its own compositing layer, and that layer samples and blurs
     the wrong region — painting a blurred ghost of the page above the header
     and stranding stale copies of its own content there. Opaque paper looks
     the same over this light page and composites correctly. */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
}
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__logo {
  height: 48px;
  width: auto;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding-block: 8px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s ease;
}
.nav__link:hover { color: var(--brand-primary); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-primary); }

.nav__cta { flex: none; }
.nav__cta .btn { padding: 12px 20px; font-size: 0.79rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: background-color 0.2s ease, transform 0.26s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.26s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--brand-primary);
    box-shadow: var(--shadow-lg);
    padding: 8px var(--gutter) 26px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s ease;
  }
  .nav__menu.is-open {
    max-height: calc(100vh - var(--nav-h) - var(--topbar-h) - 12px);
    max-height: calc(100dvh - var(--nav-h) - var(--topbar-h) - 12px);
    visibility: visible;
    overflow-y: auto;
  }
  .nav__link {
    padding: 16px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { border-left: 4px solid var(--brand-primary); padding-left: 14px; }
  .nav__menu .btn { margin-top: 20px; justify-content: center; }
}

.nav__menu .btn { display: none; }
@media (max-width: 1040px) {
  .nav__menu .btn { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink-band);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative;
  z-index: 1;
  min-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(44px, 5vw, 68px);
}
.hero__copy {
  max-width: 730px;
  width: 100%;
}
.hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--brand-primary);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  margin-bottom: 26px;
}
.hero__flag svg { width: 15px; height: 15px; }

/* Capped so the longest word ("LEICESTERSHIRE") still fits the copy column
   at every viewport width - Arial Black runs ~0.72em per character. */
.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  color: var(--on-dark);
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(var(--ink-rgb), 0.5);
}
.hero h1 .accent { color: var(--brand-primary); display: block; }

/* Brand-red rule alongside the descriptive block. One bar for both paragraphs
   keeps their left edges aligned. */
.hero__lede {
  border-left: 3px solid var(--brand-primary);
  padding-left: clamp(14px, 1.6vw, 20px);
  margin-bottom: 30px;
}
.hero__sub {
  color: var(--on-dark-4);
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  max-width: 46ch;
  margin-bottom: 12px;
}
.hero__near {
  color: var(--on-dark-6);
  font-size: 0.95rem;
  max-width: 50ch;
  margin-bottom: 0;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 38px);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-light);
}
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat b {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}
.hero__stat span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-6);
}

/* Full-bleed photographic backdrop spanning the whole hero */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Holds the ridge line and sky in frame at wide crops */
  object-position: center 36%;
}
/* Two stacked scrims: the horizontal pass keeps the copy column legible,
   the vertical pass seats the nav above and the stat row below. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(var(--ink-rgb), 0.70) 0%,
      rgba(var(--ink-rgb), 0.10) 30%,
      rgba(var(--ink-rgb), 0.18) 62%,
      rgba(var(--ink-rgb), 0.82) 100%),
    linear-gradient(90deg,
      rgba(var(--ink-rgb), 0.95) 0%,
      rgba(var(--ink-rgb), 0.90) 34%,
      rgba(var(--ink-rgb), 0.64) 56%,
      rgba(var(--ink-rgb), 0.34) 80%,
      rgba(var(--ink-rgb), 0.30) 100%);
}
.hero__badge {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 4vw, 52px);
  z-index: 2;
  background: var(--paper-raised);
  color: var(--ink);
  padding: 16px 20px;
  border-left: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.hero__badge .stars { color: var(--brand-primary); letter-spacing: 2px; font-size: 0.95rem; }
.hero__badge p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--grey-text);
  margin: 6px 0 0;
}
.hero__badge b { color: var(--ink); }

@media (max-width: 900px) {
  .hero__inner { min-height: min(78vh, 640px); }
  .hero__copy { max-width: none; }
  .hero__media img { object-position: center 32%; }
  /* Copy spans the full width here, so the scrim goes vertical instead */
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(var(--ink-rgb), 0.78) 0%,
      rgba(var(--ink-rgb), 0.84) 45%,
      rgba(var(--ink-rgb), 0.94) 100%);
  }
  .hero__badge {
    position: static;
    max-width: none;
    margin: clamp(28px, 5vw, 40px) 0 0;
  }
}

/* Compact page hero for interior pages */
.pagehero {
  position: relative;
  background: var(--ink-band);
  color: var(--on-dark);
  padding-block: clamp(52px, 7vw, 92px);
  overflow: hidden;
}
.pagehero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(232, 68, 44, 0.16), transparent 62%);
  transform: skewX(-14deg);
  pointer-events: none;
}
.pagehero__inner { position: relative; z-index: 1; max-width: 860px; }
.pagehero h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.8rem);
  color: var(--on-dark);
  margin-bottom: 20px;
}
.pagehero h1 .accent { color: var(--brand-primary); }
.pagehero p {
  color: var(--on-dark-4);
  font-size: 1.06rem;
  max-width: 66ch;
}
.pagehero .btn-row { margin-top: 30px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-6);
  margin-bottom: 22px;
}
.crumbs a { transition: color 0.2s ease; }
.crumbs a:hover { color: var(--brand-primary); }
.crumbs span[aria-current] { color: var(--brand-primary); }

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trustbar {
  background: var(--ink-band-2);
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-3);
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
}
.trustbar__item {
  background: var(--ink-band-2);
  padding: 22px clamp(14px, 2vw, 26px);
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.88rem;
  font-weight: 600;
}
.trustbar__item svg { width: 22px; height: 22px; color: var(--brand-primary); flex: none; }
@media (max-width: 860px) {
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .trustbar__inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8. Services — numbered trade-catalogue index
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  position: relative;
  background: var(--paper-raised);
  padding: 34px 30px 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { background: var(--paper-sunk); }

.svc-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
  margin-bottom: 18px;
}
.svc-card__icon {
  width: 40px;
  height: 40px;
  color: var(--ink);
  margin-bottom: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.svc-card:hover .svc-card__icon { color: var(--brand-primary); transform: translateY(-3px); }
.svc-card h3 {
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.svc-card__body {
  color: var(--grey-text);
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
}
/* Bottom meta rule. The card already carries an index and an icon, so a tick
   here was redundant weight - a hairline and a mono label read cleaner. */
.svc-card__price {
  display: block;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
}

/* Detailed service blocks (services.html) */
.svc-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(34px, 4.5vw, 52px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail__index {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.85;
  color: var(--line-strong);
  letter-spacing: -0.04em;
  transition: color 0.3s ease;
}
.svc-detail:hover .svc-detail__index { color: var(--brand-primary); }
.svc-detail h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 14px;
}
.svc-detail__body { max-width: 60ch; }
.svc-detail__body p { color: var(--grey-text); }
/* Scannable "what's included" points — these replaced the second
   paragraph and the keyword chips on each service block. */
.svc-detail__points {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.svc-detail__points li {
  position: relative;
  padding-left: 22px;
  color: var(--grey-text);
}
.svc-detail__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 2px;
  background: var(--brand-primary);
}
.svc-detail__points strong {
  color: var(--ink);
  font-weight: 650;
}
.svc-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--grey-text);
  background: var(--paper-sunk);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 100px;
}
.svc-detail__cta { margin-top: 22px; }
@media (max-width: 620px) {
  .svc-detail { grid-template-columns: 1fr; gap: 12px; }
}

/* Explore tiles — the Home page's routes out to About / Gallery /
   Where We Work / FAQs, in place of full teaser sections. */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
}
.explore-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 24px 24px;
  background: var(--ink-band-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background-color 0.26s ease, border-color 0.26s ease,
              transform 0.26s ease, box-shadow 0.26s ease;
}
.explore-card:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.explore-card__icon {
  width: 30px;
  height: 30px;
  color: var(--brand-primary);
  margin-bottom: 4px;
  transition: color 0.26s ease;
}
.explore-card:hover .explore-card__icon { color: var(--on-dark); }
.explore-card h3 {
  font-size: 1.06rem;
  color: var(--on-dark);
}
.explore-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--on-dark-4);
  flex: 1;
  transition: color 0.26s ease;
}
.explore-card:hover p { color: var(--on-dark-1); }
.explore-card__go {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  transition: gap 0.26s ease, border-color 0.26s ease;
}
.explore-card__go svg { width: 15px; height: 15px; }
.explore-card:hover .explore-card__go {
  gap: 14px;
  border-top-color: var(--hairline-light);
}

/* --------------------------------------------------------------------------
   9. Gallery — tabs, masonry, lightbox
   -------------------------------------------------------------------------- */
.gal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.gal-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--grey-text);
  background: transparent;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.gal-tab:hover { border-color: var(--ink); color: var(--ink); }
.gal-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}

.masonry {
  column-count: 3;
  column-gap: 14px;
}
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; } }

.gal-item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-sunk);
  box-shadow: var(--shadow-sm);
}
.gal-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.gal-item:hover img { transform: scale(1.045); }
.gal-item__veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(0deg, rgba(22, 24, 26, 0.86) 0%, rgba(22, 24, 26, 0.15) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.gal-item:hover .gal-item__veil,
.gal-item:focus-visible .gal-item__veil { opacity: 1; }
.gal-item__cap {
  color: var(--on-dark);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
}
.gal-item__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 5px;
}
.gal-item.is-hidden { display: none; }

/* Carousel shell — gallery.html only. The location pages keep the masonry
   grid, so nothing here touches .masonry / .masonry--inline. Smooth
   scrolling is applied in JS so it can be gated on prefers-reduced-motion. */
.gal-carousel__viewport { position: relative; }
.gal-track {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-track > .gal-item {
  flex: 0 0 86%;
  margin-bottom: 0;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}
.gal-track > .gal-item img {
  height: 100%;
  object-fit: cover;
}
@media (min-width: 640px) { .gal-track > .gal-item { flex-basis: 55%; } }
@media (min-width: 1024px) { .gal-track > .gal-item { flex-basis: 41%; } }

.gal-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.gal-carousel__arrow svg { width: 20px; height: 20px; }
.gal-carousel__arrow--prev { left: 8px; }
.gal-carousel__arrow--next { right: 8px; }
.gal-carousel__arrow:hover:not(:disabled) {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--on-dark);
}
.gal-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
@media (min-width: 900px) {
  .gal-carousel__arrow { width: 46px; height: 46px; margin-top: -23px; }
  .gal-carousel__arrow--prev { left: 12px; }
  .gal-carousel__arrow--next { right: 12px; }
}

.gal-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  margin-top: 14px;
}
/* author display:flex would otherwise beat the UA [hidden] rule */
.gal-dots[hidden] { display: none; }
.gal-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.gal-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -5px 0 0 -5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.gal-dot:hover::before { border-color: var(--ink); }
.gal-dot[aria-current="true"]::before {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: scale(1.3);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 17, 0.95);
  padding: clamp(16px, 4vw, 48px);
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  margin: 0;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox__cap {
  color: var(--on-dark-3);
  font-size: 0.9rem;
  margin-top: 18px;
  max-width: 70ch;
  margin-inline: auto;
}
.lightbox__count {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--brand-primary);
  margin-top: 10px;
}
.lightbox__btn {
  position: absolute;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--on-dark);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox__btn:hover { background: var(--brand-primary); transform: scale(1.06); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn--close { top: clamp(14px, 3vw, 30px); right: clamp(14px, 3vw, 30px); }
.lightbox__btn--prev { left: clamp(10px, 3vw, 34px); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: clamp(10px, 3vw, 34px); top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev:hover,
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.06); }
body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   10. Reviews — with platform source branding
   -------------------------------------------------------------------------- */
.rev-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: 22px 26px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-primary);
  margin-bottom: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.rev-summary__score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rev-summary__meta { display: flex; flex-direction: column; gap: 3px; }
.rev-summary__meta .stars { color: var(--brand-primary); letter-spacing: 3px; }
.rev-summary__meta span { font-size: 0.88rem; color: var(--grey-text); }

.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
  align-items: start;
}

.review-card {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  background: var(--paper-raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review-card[data-source="google"]   { border-top-color: var(--review-google); }
.review-card[data-source="facebook"] { border-top-color: var(--review-facebook); }
.review-card[data-source="yell"]     { border-top-color: var(--review-yell); }

.review-card[data-source="google"]   { background: linear-gradient(180deg, rgba(66, 133, 244, 0.06), transparent 45%), var(--paper-raised); }
.review-card[data-source="facebook"] { background: linear-gradient(180deg, rgba(24, 119, 242, 0.06), transparent 45%), var(--paper-raised); }
.review-card[data-source="yell"]     { background: linear-gradient(180deg, rgba(255, 221, 0, 0.14), transparent 45%), var(--paper-raised); }

.review-badge { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; }
.review-badge--yell {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--review-yell);
  color: var(--ink-deep);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: -0.01em;
  padding: 2px 8px;
  border-radius: 4px;
  width: auto;
  height: auto;
  line-height: 1.5;
}

.review-stars { color: var(--brand-primary); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 12px; }
.review-text {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 18px;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-name { font-weight: 700; font-size: 0.92rem; }
.review-source-label {
  color: var(--grey-text);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
/* Collapsible long reviews. The clamp is added by JS only once it has
   measured a genuine overflow, so with JS off every review renders in
   full — the text is never hidden from a crawler. */
.review-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.review-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.review-more:hover { color: var(--ink); }
.review-more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}
.review-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Home-page reviews marquee — one continuous row, looped by duplicating the
   set and translating the track exactly one set width. */
.rev-marquee {
  position: relative;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 40px);
}
/* Soften both edges so cards fade out rather than being sliced */
.rev-marquee::before,
.rev-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 8vw, 110px);
  z-index: 2;
  pointer-events: none;
}
.rev-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-sunk), transparent);
}
.rev-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper-sunk), transparent);
}

.rev-marquee__track {
  display: flex;
  width: max-content;
  animation: rev-marquee-scroll 56s linear infinite;
}
.rev-marquee__set {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}
/* Translating by half the track is exactly one set, so the loop is seamless */
@keyframes rev-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.rev-marquee .review-card {
  width: clamp(280px, 76vw, 350px);
  flex: none;
}

/* No visible control, so hover and keyboard focus are the only ways to stop it
   long enough to read a card. */
.rev-marquee:hover .rev-marquee__track,
.rev-marquee:focus-within .rev-marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  /* No auto-motion: fall back to a plain horizontally scrollable row, and drop
     the duplicate set so screen-reader and visual content stay in step. */
  .rev-marquee__track { animation: none; }
  .rev-marquee { overflow-x: auto; }
  .rev-marquee__set[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
/* Landscape source — a 4:5 slot would crop 40% of its width away */
.about-media--wide img { aspect-ratio: 4 / 3; }
.about-media__stamp {
  position: absolute;
  left: -18px;
  bottom: 30px;
  background: var(--brand-primary);
  color: var(--on-dark);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 190px;
}
.about-media__stamp b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.about-media__stamp span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .about-media__stamp { left: 14px; } }

/* Two columns once it has the full width to itself — the list lost its
   paired image, and eight items in one column runs very tall. */
.checklist { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 760px) {
  .checklist { grid-template-columns: 1fr 1fr; gap: 14px clamp(24px, 4vw, 52px); }
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}
.checklist svg {
  width: 21px;
  height: 21px;
  color: var(--brand-primary);
  flex: none;
  margin-top: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.value-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.value-card svg { width: 30px; height: 30px; color: var(--brand-primary); margin-bottom: 16px; }
.value-card h3 { font-size: 1.06rem; margin-bottom: 9px; }
.value-card p { font-size: 0.92rem; color: var(--grey-text); line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. Where we work — map & coverage
   -------------------------------------------------------------------------- */
#map {
  height: 480px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.leaflet-container { background: var(--map-bg); font-family: var(--font-body); }
/* Leaflet sizes its overlay pane with width/height ATTRIBUTES, which the
   global `svg { width: 1em }` safety net overrides — collapsing the pane to
   16px and hiding the coverage circle and the town dots drawn inside it. */
.leaflet-container svg { width: auto; height: auto; }
.leaflet-popup-content-wrapper {
  background: var(--ink-band-2);
  color: var(--on-dark-1);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.leaflet-popup-content-wrapper a.leaflet-popup-close-button { color: var(--on-dark-6); }
.leaflet-popup-tip { background: var(--ink-band-2); }
.leaflet-bar a {
  background: var(--ink-band-2);
  color: var(--on-dark-1);
  border-bottom-color: var(--line-dark);
}
.leaflet-bar a:hover { background: var(--brand-primary); color: var(--on-dark); }
.leaflet-control-attribution {
  background: rgba(27, 30, 33, 0.82);
  color: var(--on-dark-6);
}
.leaflet-control-attribution a { color: var(--on-dark-3); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.area-card {
  display: block;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-primary);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-left-width 0.26s ease;
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-width: 7px;
}
.area-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.area-card h3 svg { width: 17px; height: 17px; color: var(--brand-primary); flex: none; }
.area-card p { font-size: 0.9rem; color: var(--grey-text); line-height: 1.55; }
.area-card__dist {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.town-list li {
  font-size: 0.86rem;
  color: var(--grey-text);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 100px;
}
.section--ink .town-list li {
  background: var(--ink-band-2);
  border-color: var(--line-dark);
  color: var(--on-dark-4);
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq__item {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--brand-primary); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-primary); }
.faq__q::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
  transform: rotate(45deg);
  transition: transform 0.26s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a {
  padding: 0 22px 22px;
  color: var(--grey-text);
  font-size: 0.96rem;
  line-height: 1.66;
  max-width: 76ch;
}

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-methods { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}
.contact-card__icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand-tint);
  color: var(--brand-primary);
}
.contact-card__icon svg { width: 25px; height: 25px; }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-text);
  display: block;
  margin-bottom: 3px;
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  text-transform: none;
  display: block;
}
.contact-card__note { font-size: 0.85rem; color: var(--grey-text); margin-top: 3px; }

.info-panel {
  background: var(--ink-band);
  color: var(--on-dark-3);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}
.info-panel h3 { color: var(--on-dark); font-size: 1.3rem; margin-bottom: 20px; }
.info-panel dl { margin: 0; display: grid; gap: 16px; }
.info-panel dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 3px;
}
.info-panel dd { margin: 0; font-size: 0.95rem; color: var(--on-dark-2); }
.info-panel__divider { height: 1px; background: var(--line-dark); margin: 24px 0; }

.hours-list { display: grid; gap: 8px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}
.hours-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list b { color: var(--on-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--brand-primary);
  color: var(--on-dark);
  padding-block: clamp(52px, 7vw, 86px);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -40%;
  width: 46%;
  height: 180%;
  background: rgba(255, 255, 255, 0.07);
  transform: skewX(-16deg);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
}
.cta-band h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); color: var(--on-dark); max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; margin-top: 16px; }
@media (max-width: 820px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. Location pages
   -------------------------------------------------------------------------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }

.loc-body p { color: var(--grey-text); font-size: 1.04rem; }
.loc-body h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin: 38px 0 16px;
}
.loc-body h2:first-child { margin-top: 0; }

.loc-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.loc-services li {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.92rem;
  font-weight: 600;
}
.loc-services svg { width: 18px; height: 18px; color: var(--brand-primary); flex: none; }

.loc-aside {
  position: sticky;
  top: calc(var(--nav-h) + var(--topbar-h) + 20px);
  display: grid;
  gap: 16px;
}
@media (max-width: 900px) { .loc-aside { position: static; } }

.aside-card {
  background: var(--ink-band);
  color: var(--on-dark-3);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-md);
}
.aside-card h3 { color: var(--on-dark); font-size: 1.2rem; margin-bottom: 12px; }
.aside-card p { font-size: 0.92rem; color: var(--on-dark-5); margin-bottom: 20px; }
.aside-card .btn-row { flex-direction: column; }
.aside-card .btn { justify-content: center; }

.aside-card--light {
  background: var(--paper-raised);
  color: var(--ink);
  border: 1px solid var(--line);
}
.aside-card--light h3 { color: var(--ink); }
.aside-card--light p { color: var(--grey-text); }

.nearby-list { display: grid; gap: 9px; }
.nearby-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.nearby-list a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--on-dark);
}
.nearby-list svg { width: 15px; height: 15px; flex: none; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink-band);
  color: var(--on-dark-5);
  padding-top: clamp(48px, 6vw, 76px);
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(38px, 5vw, 56px);
}
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo {
  height: 70px;
  width: auto;
  background: var(--on-dark);
  padding: 6px 10px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.footer__blurb { max-width: 34ch; line-height: 1.62; }
.footer h4 {
  color: var(--on-dark);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer__list { display: grid; gap: 10px; }
.footer__list a { transition: color 0.2s ease, padding-left 0.2s ease; }
.footer__list a:hover { color: var(--brand-primary); padding-left: 5px; }

.footer__contact { display: grid; gap: 13px; }
.footer__contact a { display: flex; align-items: flex-start; gap: 11px; transition: color 0.2s ease; }
.footer__contact a:hover { color: var(--on-dark); }
.footer__contact svg { width: 17px; height: 17px; color: var(--brand-primary); flex: none; margin-top: 3px; }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.footer__social a:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--on-dark); }
.footer__social svg { width: 19px; height: 19px; }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  padding-bottom: max(22px, calc(22px + env(safe-area-inset-bottom)));
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--on-dark-7);
}
.footer__bottom a { color: var(--on-dark-5); transition: color 0.2s ease; }
.footer__bottom a:hover { color: var(--brand-primary); }

/* --------------------------------------------------------------------------
   18. Floating WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, calc(20px + env(safe-area-inset-bottom)));
  z-index: 950;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: var(--on-dark);
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.42);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 31px; height: 31px; }

/* --------------------------------------------------------------------------
   19. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Inline gallery strip used on location pages */
.masonry--inline { margin-top: 20px; }
