/* ==========================================================================
   JPS Surfacing

   The visual language is taken from the logo mark itself, which is a square
   tile with a single large rounded corner, top right, holding a carriageway
   sweeping past a run of block paving. Three devices come out of that and
   repeat through the page:

     .brand-corner  the single rounded top-right corner, scaled to the element
     .lane          a dashed carriageway line, used as a rule and divider
     .paving        the running-bond block texture from the left of the mark

   Type and colour follow jpssurfacing.com: Montserrat, light-weight uppercase
   display against bold small caps, charcoal greys, safety orange accent.
   Every text/background pair is verified against WCAG AA.
   ========================================================================== */

:root {
  --deep: #101415;
  --ink: #14181a;
  --surface: #1b2023;
  --surface-2: #232a2e;
  --line: #22292d;
  --line-2: #262e32;

  --cream: #efecdc;

  /* jpssurfacing.com is monochrome: charcoal greys, one khaki, and a 90deg
     gradient it runs across full-width rows. All three are lifted verbatim. */
  --grad: linear-gradient(90deg, #1e2124 0%, #3c3e42 100%);   /* the site's own row gradient */
  --grad-lift: linear-gradient(90deg, #262a2e 0%, #454a4f 100%);
  --grad-khaki: linear-gradient(90deg, #a9a385 0%, #c3bda4 100%);
  --grad-khaki-hover: linear-gradient(90deg, #b5af90 0%, #d0cab2 100%);

  --accent: #a9a385;          /* the site's khaki: 7.03:1 on ink, 6.47:1 on the cards */
  --accent-deep: #6b6647;     /* the same hue dropped for the white band, 5.81:1 */
  --body: #9aa3a8;
  --muted: #8f979c;
  --bright: #b8c0c4;

  --paper: #ffffff;
  --paper-ink: #14181a;
  --paper-body: #4a5054;
  --paper-label: #5f676b;
  --paper-line: #e2e5e6;
  --paper-tint: #f4f6f6;

  --font: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* The mark's corner, scaled the way the logo scales it: roughly a third of
     the tile. One corner only, top right, never a pill. */
  --r: 0 12px 0 0;
  --r-md: 0 22px 0 0;
  --r-lg: 0 40px 0 0;

  --wrap: 1440px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shell-h: 132px;
}

/* ---------- Brand devices ---------- */

/* The carriageway line from the mark, as a rule. */
.lane {
  height: 3px; border: 0; margin: 0;
  background: repeating-linear-gradient(to right,
    var(--accent) 0 30px, transparent 30px 52px);
}
.lane--faint {
  background: repeating-linear-gradient(to right,
    rgba(255,255,255,.22) 0 30px, transparent 30px 52px);
}
.lane--ink {
  background: repeating-linear-gradient(to right,
    rgba(20,24,26,.22) 0 30px, transparent 30px 52px);
}

/* The block paving from the left of the mark: running bond, two offset rows. */
.paving {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 13px;
}
.paving--ink {
  background-image:
    linear-gradient(to right, rgba(20,24,26,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,24,26,.09) 1px, transparent 1px);
  background-size: 26px 13px;
}

/* The mark used as a watermark behind a heading. */
.watermark { position: relative; overflow: hidden; }
.watermark > * { position: relative; }
.watermark::before {
  content: ""; position: absolute; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: #fff; }
section[id] { scroll-margin-top: 100px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Shared ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 8vw, 118px); }
.band--surface { background: var(--surface); border-top: 1px solid var(--line); }

.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;
}

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}

.display {
  font-size: clamp(34px, 5.3vw, 76px);
  font-weight: 300; line-height: .98; letter-spacing: -.02em;
  text-transform: uppercase; color: #fff;
}
.display strong { font-weight: 600; }

.h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 300; line-height: 1.04; letter-spacing: -.015em;
  text-transform: uppercase; color: #fff;
}
.lede { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn svg { flex-shrink: 0; transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { background: var(--grad-khaki); color: #14181a; }
.btn--accent:hover { background: var(--grad-khaki-hover); color: #14181a; }
.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
/* WhatsApp keeps its own green so the channel is recognised at a glance. */
.btn--wa { background: transparent; color: #7fd6a4; border-color: rgba(127,214,164,.42); }
.btn--wa:hover { background: #25d366; border-color: #25d366; color: #0b2417; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; color: var(--cream); }
.btn--sm { min-height: 46px; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0 3px 0 0; }
.cta-band :focus-visible { outline-color: var(--accent-deep); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--accent); color: #14181a;
  padding: 12px 20px; border-radius: var(--r);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Shell: transparent over the hero, solid once scrolled ---------- */
.shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.shell.is-stuck { background: var(--grad); border-bottom-color: var(--line); }

.utility {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bright);
  border-bottom: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  max-height: 60px; opacity: 1;
  transition: max-height .32s var(--ease), opacity .22s ease, border-color .3s var(--ease);
}
.shell.is-stuck .utility { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; flex-wrap: wrap; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 26px; }
.utility .accent { color: var(--accent); font-weight: 600; }
.utility a { color: var(--bright); }
.utility a:hover { color: #fff; }
@media (max-width: 900px) { .utility { display: none; } }

.header-inner { display: flex; align-items: center; gap: 26px; min-height: 92px; }
.brand img { height: 64px; width: auto; }
@media (max-width: 1099px) { .brand img { height: 54px; } }
@media (max-width: 620px) { .brand img { height: 44px; } }

.nav { display: none; margin-left: 12px; }
@media (min-width: 1100px) { .nav { display: flex; align-items: stretch; gap: 8px; } }
.nav-item { position: relative; display: flex; align-items: center; }
.nav > .nav-item > a, .nav > .nav-item > .mega-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding-inline: 14px;
  position: relative;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #e4e9ea;
}
/* A short lane line marks the active item, echoing the road in the mark. */
.nav > .nav-item > a::after, .nav > .nav-item > .mega-toggle::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px;
  background: repeating-linear-gradient(to right, var(--accent) 0 10px, transparent 10px 17px);
  opacity: 0; transform: translateY(3px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav > .nav-item > a:hover::after,
.nav > .nav-item > .mega-toggle:hover::after,
.nav > .nav-item > .mega-toggle[aria-expanded="true"]::after { opacity: 1; transform: none; }
.nav > .nav-item > a:hover,
.nav > .nav-item > .mega-toggle:hover,
.nav > .nav-item > .mega-toggle[aria-expanded="true"] { color: #fff; }
.mega-toggle svg { transition: transform .25s var(--ease); }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* The office number is the single most-used route on a contractor site, so it
   is a labelled block here and nowhere else in the chrome. */
.header-tel { display: none; align-items: center; gap: 12px; color: #fff; }
@media (min-width: 760px) { .header-tel { display: inline-flex; } }
.header-tel .ic {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r); color: var(--accent);
  transition: border-color .22s ease, background-color .22s ease;
}
.header-tel:hover .ic { border-color: var(--accent); background: rgba(169,163,133,.12); }
.header-tel .k { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bright); }
.header-tel .n { display: block; margin-top: 2px; font-size: 19px; font-weight: 600; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.header-tel:hover .n { color: var(--accent); }

.header-actions .btn { display: none; }
@media (min-width: 520px) { .header-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); color: #fff;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 1100px) { .nav-toggle { display: none; } }

/* ---------- Mega menu ---------- */
/* One column, generous rows, no descriptions. The nav is for choosing a
   service, not for reading about it. */
.mega {
  position: absolute; top: 100%; left: -14px;
  width: min(430px, calc(100vw - 2 * var(--gutter)));
  padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 5;
}
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  background: rgba(18,22,24,.99);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: 0 28px 64px rgba(0,0,0,.55);
  overflow: hidden;
}
.mega-head { padding: 18px 24px 14px; }
.mega-head .k { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.mega-head .rule { margin-top: 12px; height: 1px; border: 0; background: var(--line-2); }

.mega-list { padding: 4px 12px 12px; }
.mega-item {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 12px;
  border-radius: var(--r);
  transition: background-color .18s ease;
}
.mega-item:hover { background: var(--surface-2); }
.mega-item .t {
  flex: 1;
  font-size: 15px; font-weight: 500; line-height: 1.3;
  letter-spacing: .01em; color: #eef1f2;
}
.mega-item:hover .t { color: #fff; }
.mega-item .go { flex-shrink: 0; color: #4d575d; transition: color .18s ease, transform .18s var(--ease); }
.mega-item:hover .go { color: var(--accent); transform: translateX(3px); }

.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px 18px;
  border-top: 1px solid var(--line-2); background: var(--ink);
}
.mega-foot p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.mega-foot .btn { flex-shrink: 0; }

.mobile-nav { display: none; background: rgba(16,20,21,.99); border-top: 1px solid var(--line); max-height: calc(100vh - var(--shell-h)); overflow-y: auto; }
.mobile-nav[data-open="true"] { display: block; }
@media (min-width: 1100px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { padding: 8px var(--gutter) 22px; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 54px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.mobile-nav .sub a { padding-left: 16px; font-weight: 500; color: var(--body); text-transform: none; letter-spacing: .02em; font-size: 14px; }
.mobile-nav li:last-child a { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--deep); }
.hero-frame { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,18,19,.9) 0%, rgba(14,18,19,.4) 180px, rgba(14,18,19,0) 330px),
    linear-gradient(to right, rgba(15,19,20,.94) 0%, rgba(15,19,20,.78) 44%, rgba(15,19,20,.28) 100%),
    linear-gradient(to top, rgba(15,19,20,.96) 0%, rgba(15,19,20,0) 52%);
}
.hero-inner {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(500px, 74vh, 720px);
  padding-block: calc(var(--shell-h) + clamp(48px, 7vw, 104px)) clamp(34px, 4vw, 50px);
}
.hero .display { max-width: 1060px; }
.hero-sub { margin-top: 22px; max-width: 560px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; color: #ccd4d8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 900px) { .hero-inner { padding-top: 168px; } }

/* Accreditations: each scheme says what it actually is, on a card that reacts
   the way the rest of the page does. The mark keeps a white plate because the
   artwork needs one; everything around it belongs to the dark hero. */
.hero-accred { margin-top: clamp(28px, 3.6vw, 42px); }
.hero-accred .k {
  display: block; margin-bottom: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bright);
}
.hero-accred ul { display: grid; gap: 10px; max-width: 980px; }
@media (min-width: 700px) { .hero-accred ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Below that, one card at a time with the next one peeking, so it reads as
   something to swipe rather than a list that got cut off. */
@media (max-width: 699px) {
  .hero-accred ul {
    grid-auto-flow: column; grid-auto-columns: 100%;
    gap: 0;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hero-accred ul::-webkit-scrollbar { display: none; }
  .acc { scroll-snap-align: start; min-height: 84px; }
}
.hero-accred .dots { display: none; gap: 8px; margin-top: 14px; }
@media (max-width: 699px) { .hero-accred .dots { display: flex; } }
.hero-accred .dots button {
  width: 44px; height: 30px; padding: 0;
  display: grid; align-items: center;
}
.hero-accred .dots button::before {
  content: ""; display: block; width: 100%; height: 3px;
  background: rgba(255,255,255,.26);
  transition: background-color .25s ease;
}
.hero-accred .dots button[aria-current="true"]::before { background: var(--accent); }

.acc {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px;
  background: rgba(20, 25, 27, .72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.acc:hover { background: rgba(24, 29, 31, .9); border-color: rgba(169,163,133,.55); transform: translateY(-3px); }
/* A lane line runs in along the bottom edge, the same device as the cards below. */
.acc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: repeating-linear-gradient(to right, var(--accent) 0 14px, transparent 14px 24px);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.acc:hover::after { transform: scaleX(1); }

.acc-plate {
  display: grid; place-items: center; flex-shrink: 0;
  width: 86px; height: 52px; padding: 7px 10px;
  background: #fff; border-radius: var(--r);
  transition: transform .3s var(--ease);
}
.acc:hover .acc-plate { transform: scale(1.05); }
.acc-plate img { max-width: 100%; max-height: 34px; width: auto; height: auto; }
.acc-plate.is-square img { max-height: 42px; }

.acc-name {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.acc-what { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--bright); }


/* ---------- What we do ---------- */
/* Six cells on a three-column grid: the five services, then a card that catches
   anyone who is not sure which one they need. */
.rail { background: var(--grad); border-top: 1px solid var(--line); }
.rail .wrap { padding-block: clamp(38px, 4.4vw, 62px) clamp(42px, 5vw, 70px); }
.rail-head { display: grid; gap: 14px 48px; margin-bottom: 26px; }
@media (min-width: 900px) { .rail-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px 56px; align-items: end; } }
.rail-head .k {
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #bdb79a;
  margin-bottom: 14px;
}
.rail-head .d { font-size: 15px; line-height: 1.7; color: var(--bright); }
.rail-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .rail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.rail-item {
  position: relative; display: grid; align-content: start; gap: 12px;
  grid-template-rows: auto 1fr auto;
  height: 100%; padding: 22px 24px 24px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
  overflow: hidden;
  transition: background-color .26s ease, border-color .26s ease, transform .26s var(--ease);
}
.rail-item::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 13px;
  opacity: 0; transition: opacity .32s var(--ease);
}
.rail-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: repeating-linear-gradient(to right, var(--accent) 0 16px, transparent 16px 27px);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.rail-item:hover { background: var(--surface-2); border-color: #39434a; transform: translateY(-3px); }
.rail-item:hover::before { opacity: 1; }
.rail-item:hover::after { transform: scaleX(1); }
.rail-item > * { position: relative; }


.rail-item .go {
  display: grid; place-items: center; justify-self: end; width: 34px; height: 34px;
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--muted);
  transition: color .26s ease, background-color .26s ease, border-color .26s ease;
}
.rail-item:hover .go { color: #14181a; background: var(--accent); border-color: var(--accent); }
.rail-item .t {
  font-size: 17px; font-weight: 500; line-height: 1.28;
  text-transform: uppercase; letter-spacing: .005em; color: #fff;
}
.rail-item .d { font-size: 14px; line-height: 1.6; color: var(--body); }
/* The catch-all cell, so the grid closes on an action rather than a gap. */
.rail-ask {
  display: grid; align-content: center; gap: 14px; justify-items: start;
  padding: 26px 28px;
  border: 1px solid rgba(169,163,133,.36); border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(169,163,133,.16), rgba(169,163,133,.04) 64%), var(--grad-lift);
}
.rail-ask h3 { font-size: 17px; font-weight: 500; line-height: 1.28; text-transform: uppercase; color: #fff; }
.rail-ask p { font-size: 14px; line-height: 1.6; color: var(--bright); }

/* ---------- Section head ---------- */
.sec-head { display: grid; gap: 20px 48px; margin-bottom: 34px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; } }
.sec-head .lede { justify-self: start; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; color: var(--body);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filter:hover { border-color: #3c464c; color: #fff; }
.filter .n { font-size: 10px; font-weight: 700; color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--grad-khaki); border-color: #a9a385; color: #14181a; }
.filter[aria-pressed="true"] .n { color: rgba(20,24,26,.65); }

/* ---------- Work grid ---------- */
/* Nine jobs on screen at once beats one large frame and nine thumbnails: it
   shows the range in a glance, and every card is a route into a service. */
.work-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.job {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .24s ease, transform .24s var(--ease);
}
.job:hover { border-color: #3c464c; transform: translateY(-3px); }
.job[hidden] { display: none; }
.job-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.job-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.job:hover .job-shot img { transform: scale(1.04); }
.job-tag {
  position: absolute; left: 0; bottom: 0;
  padding: 8px 14px;
  background: var(--accent); color: #14181a;
  border-radius: 0 8px 0 0;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.job-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 18px; }
.job-body .t { font-size: 14.5px; font-weight: 500; line-height: 1.4; color: #fff; }
.job-body .t a { color: #fff; }
.job:hover .job-body .t a { color: var(--accent); }
.job-body .s { display: block; margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.job-body .go {
  display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px;
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--muted);
  transition: color .24s ease, background-color .24s ease, border-color .24s ease;
}
.job:hover .job-body .go { background: var(--accent); border-color: var(--accent); color: #14181a; }

.work-more { display: none; margin-top: 16px; width: 100%; }
@media (max-width: 699px) { .work-more.is-needed { display: inline-flex; } }
.job[data-clipped="true"] { display: none; }

.work-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  margin-top: 24px; padding: 24px 26px;
  border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface);
}
.work-cta p { font-size: 15px; line-height: 1.6; color: var(--bright); max-width: 54ch; }

/* ---------- Services ---------- */
/* The tab list stays; the panel beside it now carries the photograph, the
   description, what the service actually covers, and both ways to act on it. */
.services-layout { display: grid; gap: 34px; align-items: start; }
@media (min-width: 1000px) { .services-layout { grid-template-columns: 348px minmax(0, 1fr); gap: 44px; } }

.svc-list { border-top: 1px solid var(--surface-2); }
.svc-row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 16px;
  width: 100%; text-align: left;
  padding: 20px 14px; border-bottom: 1px solid var(--surface-2);
  transition: background-color .25s ease, padding-left .25s ease;
}
.svc-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.svc-row:hover { background: rgba(255,255,255,.04); padding-left: 22px; }
.svc-name { font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.3; color: var(--body); }
.svc-mark { justify-self: end; color: var(--muted); transition: transform .3s var(--ease), color .25s ease; }
.svc-row[aria-expanded="true"] { background: rgba(169,163,133,.1); padding-left: 22px; }
.svc-row[aria-expanded="true"]::before { transform: scaleY(1); }
.svc-row[aria-expanded="true"] .svc-row[aria-expanded="true"] .svc-name { font-weight: 500; color: #fff; }
.svc-row[aria-expanded="true"] .svc-mark { color: var(--accent); transform: translateX(3px); }

/* Swapping service: the copy fades down and back, the photograph crossfades
   behind it, so the panel reads as one piece changing rather than a flicker.
   On a phone, where the panel relocates under the row you tapped, it plays the
   same movement as an entrance. */
.svc-body, .svc-shot img {
  transition: opacity .2s ease, transform .38s var(--ease);
}
.svc-detail.is-swapping .svc-body { opacity: 0; transform: translateY(12px); }
.svc-detail.is-swapping .svc-shot img { opacity: 0; transform: scale(1.04); }
.svc-detail.is-entering { animation: svc-enter .42s var(--ease) both; }
@keyframes svc-enter {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

/* The photograph sits alongside the copy rather than as a letterbox strip
   above it, so it gets a portrait crop with the subject still in frame. */
.svc-detail {
  display: grid; grid-template-columns: 1fr;
  background: var(--ink); border: 1px solid var(--surface-2); border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 760px) { .svc-detail { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); } }

.svc-shot { position: relative; overflow: hidden; min-height: 220px; }
.svc-detail img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 759px) { .svc-detail img { height: clamp(200px, 46vw, 300px); } }
/* The lane line marks the join between picture and copy. */
.svc-shot::after {
  content: ""; position: absolute; background: var(--accent);
}
@media (min-width: 760px) {
  .svc-shot::after {
    top: 0; bottom: 0; right: 0; width: 3px;
    background: repeating-linear-gradient(to bottom, var(--accent) 0 18px, transparent 18px 30px);
  }
}
@media (max-width: 759px) {
  .svc-shot::after {
    left: 0; right: 0; bottom: 0; height: 3px;
    background: repeating-linear-gradient(to right, var(--accent) 0 18px, transparent 18px 30px);
  }
}

.svc-body { padding: 26px 28px 30px; }
@media (min-width: 760px) { .svc-body { padding: 30px 32px 34px; } }
.svc-kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.svc-title { margin-top: 11px; font-size: clamp(21px, 2.1vw, 28px); font-weight: 400; line-height: 1.12; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.svc-copy { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--body); }

.svc-inc { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--surface-2); }
.svc-inc h4 { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.svc-inc ul { display: grid; gap: 11px 26px; grid-template-columns: 1fr; }
@media (min-width: 560px) and (max-width: 759px), (min-width: 1180px) { .svc-inc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-inc li {
  display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 11px;
  font-size: 14.5px; line-height: 1.5; color: var(--bright);
}
.svc-inc li svg { margin-top: 3px; color: var(--accent); }

.svc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Proof ---------- */
.quotes { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { display: flex; flex-direction: column; padding: 30px 32px 32px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.quote .mark { font-size: 44px; line-height: 1; font-weight: 300; color: var(--accent); }
.quote blockquote { margin: 10px 0 0; font-size: 15px; line-height: 1.75; color: var(--bright); flex-grow: 1; }
.quote figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--surface-2); }
.quote .who { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.quote .role { margin-top: 4px; font-size: 13px; color: var(--muted); }

.clients-head { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.clients { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 620px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.clients li {
  display: flex; align-items: center; justify-content: center;
  height: 128px; padding: 18px 26px;
  background: #fff; border-radius: var(--r-md);
}
.clients img { max-height: 78px; max-width: 100%; width: auto; height: auto; }
.clients .is-tall img { max-height: 98px; height: auto; }

/* ---------- Quote band ---------- */
.cta-band { background: var(--paper); color: var(--paper-ink); padding-block: clamp(52px, 7vw, 100px); }
.cta-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; } }
.cta-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
.cta-title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 300; line-height: 1.03; letter-spacing: -.02em; text-transform: uppercase; color: var(--paper-ink); }
.cta-copy { margin-top: 18px; max-width: 44ch; font-size: 16px; line-height: 1.7; color: var(--paper-body); }

.steps { margin-top: 30px; border-top: 1px solid var(--paper-line); }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--paper-line); }
.steps .n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent-deep); }
.steps .t { display: block; font-size: 15px; font-weight: 600; color: var(--paper-ink); }
.steps .d { display: block; margin-top: 3px; font-size: 14px; line-height: 1.6; color: var(--paper-body); }

.routes-head { margin-top: 34px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-label); }
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.direct a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border: 1px solid rgba(20,24,26,.3); border-radius: var(--r);
  font-size: 13px; font-weight: 600; color: var(--paper-ink);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.direct a:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }

.quote-card { background: var(--paper-tint); border: 1px solid var(--paper-line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); }
.quote-card h3 { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--paper-ink); }

/* Two ways in: a written quote, or just a call back. */
.form-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 18px; padding: 5px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r-md);
}
.form-tabs button {
  min-height: 44px; padding: 0 12px;
  border-radius: var(--r);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper-label);
  transition: background-color .2s ease, color .2s ease;
}
.form-tabs button:hover { color: var(--paper-ink); }
.form-tabs button[aria-selected="true"] { background: var(--paper-ink); color: #fff; }
.form-panel[hidden] { display: none; }

/* Photo upload: a description beats a photo, a photo beats both. */
.file-field { margin-top: 20px; }
.file-field > span.k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-label); }
.file-field .drop {
  display: flex; align-items: center; gap: 12px;
  margin-top: 7px; padding: 14px 16px;
  background: var(--paper-tint); border: 1px dashed var(--paper-line); border-radius: var(--r);
  cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.file-field .drop:hover { border-color: var(--paper-ink); background: #fff; }
.file-field .drop svg { flex-shrink: 0; color: var(--accent-deep); }
.file-field .drop b { display: block; font-size: 14px; font-weight: 600; color: var(--paper-ink); }
.file-field .drop small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--paper-body); }
.file-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { margin-top: 9px; display: grid; gap: 5px; }
.file-list li { font-size: 13px; color: var(--paper-body); }
.file-list li { position: relative; padding-left: 18px; }
.file-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; background: var(--accent-deep); }
.quote-card .hint { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--paper-body); }
.field { display: grid; gap: 7px; margin-top: 20px; align-content: start; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-label); }
.field label .opt { font-weight: 500; letter-spacing: .02em; text-transform: none; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px;
  background: var(--paper-tint); border: 1px solid var(--paper-line); border-radius: var(--r);
  color: var(--paper-ink); font-size: 15px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--paper-ink); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314181a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { min-height: 104px; resize: vertical; }
.field-row { display: grid; gap: 16px; align-items: start; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.err { display: none; font-size: 13px; color: #96301f; font-weight: 500; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #96301f; }
.field.is-invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--paper-body); }
.consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent-deep); }
.consent label { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.55; color: var(--paper-body); }
.consent a { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 2px; }
.quote-card .btn { margin-top: 24px; width: 100%; }
.form-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--paper-label); }
.sent { display: none; }
.sent[data-on="true"] { display: block; }
.sent p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--paper-body); }
.sent a { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 2px; }
.sent:focus { outline: none; }

/* ---------- Footer ---------- */
/* The mark carries the sign-off: a large, quiet watermark on the right, the
   full lockup on the left, and the lane line separating the two halves. */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--deep); border-top: 1px solid var(--line);
  padding-block: clamp(52px, 6vw, 78px) 34px;
}
.site-footer::before {
  content: ""; position: absolute; pointer-events: none;
  right: clamp(-90px, -4vw, -20px); top: 50%; transform: translateY(-50%);
  width: clamp(260px, 30vw, 460px); aspect-ratio: 1;
  background: url("../images/mark.png") no-repeat center / contain;
  opacity: .045;
}
.site-footer .wrap { position: relative; }

.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px 36px; } }
.footer-brand img { height: 62px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: 14px; line-height: 1.7; color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--bright);
  transition: border-color .22s ease, color .22s ease, background-color .22s ease;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); background: rgba(169,163,133,.08); }

.footer-col h2 { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--cream); }
.footer-col .strong { display: block; font-size: 17px; font-weight: 600; color: #fff; }
.footer-col .strong:hover { color: var(--accent); }
.footer-col .wa { display: inline-flex; align-items: center; gap: 8px; }
.footer-col .wa svg { color: #7fd6a4; flex-shrink: 0; }

/* Every location page, as the live footer links them. These links carry
   internal equity to the whole location cluster, so they stay sitewide. */
.footer-areas { margin-top: clamp(40px, 5vw, 56px); padding-top: 30px; border-top: 1px solid #1e2528; }
.footer-areas-h { margin-bottom: 18px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.footer-areas-grid { display: grid; gap: 26px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .footer-areas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-areas h3 { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bright); }
.footer-areas ul { display: grid; gap: 8px; }
.footer-areas a { font-size: 13px; line-height: 1.45; color: var(--muted); }
.footer-areas a:hover { color: var(--cream); }

/* Accreditation detail, moved down here now the hero carries the marks. */
.footer-accred { margin-top: clamp(40px, 5vw, 58px); padding-top: 34px; }
.footer-accred .lane { margin-bottom: 30px; }
.footer-accred-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-accred-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fa { display: flex; align-items: center; gap: 16px; }
.fa .plate {
  display: grid; place-items: center; flex-shrink: 0;
  width: 106px; height: 62px; padding: 8px 12px;
  background: #fff; border-radius: var(--r);
}
.fa .plate img { max-height: 42px; width: auto; height: auto; }
.fa .plate.is-square img { max-height: 52px; height: auto; }
.fa .n { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.fa .d { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid #1e2528;
  font-size: 12px; color: var(--muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a { font-size: 12px; color: var(--muted); }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- Sticky action bar, small screens ---------- */
/* On a phone the three routes people actually use are one tap away at all
   times: call, WhatsApp, or the quote form. */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: rgba(16,20,21,.98);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 759px) { .action-bar { display: grid; } body { padding-bottom: 68px; } }
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 66px; padding: 8px 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bright);
  border-right: 1px solid var(--line);
}
.action-bar a:last-child { border-right: 0; }
.action-bar a svg { color: var(--accent); }
.action-bar .wa svg { color: #7fd6a4; }
.action-bar .quote { background: var(--grad-khaki); color: #14181a; }
.action-bar .quote svg { color: #14181a; }

/* ---------- Contact routes ---------- */
.routes { display: grid; gap: 12px; margin-top: 26px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.route {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--paper-line); border-radius: var(--r-md);
  background: #fff;
  transition: border-color .22s ease, background-color .22s ease, transform .22s var(--ease);
}
.route:hover { border-color: var(--paper-ink); transform: translateY(-2px); }
.route .ic {
  display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r); background: var(--paper-tint); color: var(--accent-deep);
}
.route.is-wa .ic { background: #e7f9ee; color: #0f7a3d; }
.route .k { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-label); }
.route .v { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--paper-ink); word-break: break-word; }
.route .d { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--paper-body); }


/* ---------- Legal documents ---------- */
.doc { padding-block: calc(var(--shell-h) + clamp(48px, 6vw, 88px)) clamp(56px, 7vw, 96px); }
.doc-inner { max-width: 74ch; }
.doc h1 {
  margin-top: 6px;
  font-size: clamp(30px, 4.2vw, 54px); font-weight: 300; line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase; color: #fff;
}
.doc .updated { margin-top: 14px; font-size: 13px; color: var(--muted); }
.doc h2 {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-2);
  font-size: clamp(18px, 1.9vw, 23px); font-weight: 500; line-height: 1.2;
  letter-spacing: .01em; text-transform: uppercase; color: #fff;
}
.doc h3 { margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--bright); }
.doc p { margin-top: 16px; font-size: 15.5px; line-height: 1.8; color: var(--body); }
.doc ul, .doc ol { margin-top: 16px; display: grid; gap: 11px; }
.doc li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.75; color: var(--body); }
.doc li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 2px; background: var(--accent); }
.doc strong { color: var(--bright); font-weight: 600; }
.doc a { color: var(--accent); border-bottom: 1px solid rgba(169,163,133,.4); }
.doc a:hover { border-bottom-color: var(--accent); }
.doc table { width: 100%; margin-top: 20px; border-collapse: collapse; border: 1px solid var(--line-2); }
.doc caption { text-align: left; padding-bottom: 12px; font-size: 13px; color: var(--muted); }
.doc th, .doc td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.65; }
.doc th { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.doc td { color: var(--body); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.doc-back svg { transition: transform .22s var(--ease); }
.doc-back:hover svg { transform: translateX(-4px); }

/* ---------- Areas we cover: the towns in words, above the page links ---------- */
.footer-areas-lede { max-width: 72ch; margin-bottom: 22px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- Enquiry form: sending and failure ---------- */
/* Off-screen field that people never see and bots tend to fill in. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-alert { margin-top: 16px; padding: 14px 16px; border: 1px solid #d8b3aa; border-radius: var(--r); background: #fbf1ee; color: #6b2e22; font-size: 14px; line-height: 1.6; }
.form-alert a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cta-copy + .cta-copy { margin-top: 14px; }
/* Contact page: says which tool the enquiry details were carried over from. */
.contact-handoff { margin-bottom: 14px; padding: 12px 16px; border: 1px solid var(--paper-line); border-radius: var(--r); background: var(--paper-tint); color: var(--paper-body); font-size: 14px; line-height: 1.6; }
.contact-handoff strong { color: var(--paper-ink); font-weight: 600; }

/* ---------- Cookie consent ---------- */
/* The choice sits above the phone action bar, which consent.js measures. */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--surface-2); border-top: 1px solid var(--line-2);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, .42);
}
.cc[hidden] { display: none !important; }
.cc-inner {
  display: grid; gap: 16px; align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter);
}
@media (min-width: 880px) { .cc-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; } }
.cc-h {
  margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.cc-b { max-width: 78ch; font-size: 14px; line-height: 1.65; color: var(--body); }
.cc-b a { color: var(--bright); text-decoration: underline; text-underline-offset: 2px; }
.cc-b a:hover { color: #fff; }
/* Both choices are buttons of the same size: rejecting is exactly as easy. */
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { flex: 1 1 auto; }
@media (min-width: 880px) { .cc-actions .btn { flex: 0 0 auto; } }

/* The footer control that reopens the choice, styled as its neighbouring links. */
.cc-link {
  font-size: 12px; color: var(--muted); font-family: inherit;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.cc-link:hover { color: var(--cream); }
