/* ============================================================
   Provetrades — design system  ·  "Proof Layers"
   Vetted trades, managed properly.
   ============================================================ */

:root {
  /* ---- Brand ---- */
  --ink-900:   #0A1830;
  --ink:       #0E2038;
  --ink-2:     #16304F;
  --ink-3:     #23425F;

  --proof:      #0FA968;
  --proof-dk:   #0B8452;
  --proof-ink:  #0A7A4C;   /* AA text-green */
  --proof-bright:#15C77D;
  --proof-soft: #E7F7F0;
  --proof-line: #C4E9D6;

  --teal:  #0E9E97;
  --blue:  #2F6FED;  --blue-soft: #E7EFFF;
  --gold:  #F5A623;
  --danger:#E23D50;  --danger-soft: #FBE6E9;
  --amber: #E8912B;  --amber-soft: #FBEFDD;  --amber-ink: #8A5410;

  --data-1: #12B981;
  --data-2: #2F6FED;
  --data-3: #0E9E97;

  /* ---- Neutrals ---- */
  --bg:        #F4F6FB;
  --surface:   #FFFFFF;
  --surface-2: #EEF2F8;
  --surface-3: #E4EAF2;
  --map-land:  #EAF0F7;
  --map-water: #BFD4E8;
  --map-grid:  rgba(14,32,56,.06);
  --text:      #16233A;
  --muted:     #566579;
  --muted-2:   #7A889F;

  /* ---- Lines (alpha hairlines) ---- */
  --line:        rgba(14,32,56,.09);
  --line-2:      rgba(14,32,56,.14);
  --line-strong: rgba(14,32,56,.18);
  --line-row:    rgba(14,32,56,.06);

  /* ---- Gradients / glass ---- */
  --grad-proof: linear-gradient(180deg,#15C77D 0%,#0FA968 55%,#0B8452 100%);
  --grad-ink:   linear-gradient(155deg,#1B3556 0%,#0A1830 100%);
  --glass:      rgba(255,255,255,.72);
  --glass-line: rgba(255,255,255,.60);
  --hairline-top: inset 0 1px 0 rgba(255,255,255,.70);

  /* ---- Radius ---- */
  --r-xs: 6px; --r-sm: 8px; --r-md: 10px; --r: 12px;
  --r-card: 16px; --r-lg: 14px; --r-xl: 24px; --r-full: 999px;

  /* ---- Elevation ladder (navy-tinted) ---- */
  --e0: 0 1px 2px rgba(10,22,42,.05);
  --e1: 0 1px 2px rgba(10,22,42,.04), 0 2px 6px -1px rgba(10,22,42,.06);
  --e2: 0 2px 4px -1px rgba(10,22,42,.05), 0 6px 14px -3px rgba(10,22,42,.08);
  --e3: 0 4px 8px -2px rgba(10,22,42,.06), 0 14px 28px -8px rgba(10,22,42,.11);
  --e4: 0 8px 16px -4px rgba(10,22,42,.07), 0 28px 56px -14px rgba(10,22,42,.16);
  --e5: 0 16px 32px -8px rgba(10,22,42,.10), 0 48px 88px -24px rgba(10,22,42,.22);
  --glow-proof: 0 6px 18px -4px rgba(15,169,104,.34);
  --ring: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--proof) 48%, transparent);
  --ring-soft: inset 0 1px 2px rgba(10,22,42,.05), 0 0 0 3px rgba(15,169,104,.18);
  --inset-rest: inset 0 1px 2px rgba(10,22,42,.05);

  /* ---- Type ---- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --fw-normal: 400; --fw-medium: 500; --fw-semi: 560; --fw-bold: 680; --fw-display: 720;

  --text-xs: .75rem; --text-sm: .8125rem; --text-base: .9375rem; --text-md: 1.0625rem;
  --text-lg: 1.1875rem; --text-xl: 1.5rem; --text-2xl: 1.875rem; --text-3xl: 2.375rem;
  --text-4xl: clamp(2.4rem, 4.8vw, 3.75rem);

  --lh-display: 1.04; --lh-heading: 1.14; --lh-snug: 1.28; --lh-body: 1.6;
  --track-display: -.03em; --track-h2: -.02em; --track-h3: -.012em;
  --track-body: 0; --track-caps: .08em; --track-num: -.024em;

  /* ---- Spacing (8pt) ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --pad-card: 24px; --pad-card-lg: 32px; --gap: 24px;

  --section-y: clamp(72px, 9vw, 120px);
  --section-y-sm: clamp(48px, 6vw, 72px);
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1200px; --maxw-narrow: 820px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.3,.5,1);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1, "ss03" 1;
}

h1,h2,h3,h4 { font-family: var(--display); margin: 0 0 .4em; color: var(--ink); font-weight: var(--fw-bold); }
h1 { font-size: var(--text-4xl); font-weight: var(--fw-display); letter-spacing: var(--track-display); line-height: var(--lh-display); }
h2 { font-size: clamp(1.7rem, 3vw, 2.375rem); letter-spacing: var(--track-h2); line-height: var(--lh-heading); }
h3 { font-size: 1.25rem; letter-spacing: var(--track-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--text-md); line-height: var(--lh-snug); }
p  { margin: 0 0 1rem; }
a  { color: var(--proof-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: color-mix(in srgb, var(--proof) 24%, transparent); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }
.center { text-align: center; }

/* tabular numerals — the "instrument" tell */
.tnum, .stat-strip .n {
  font-variant-numeric: tabular-nums slashed-zero;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  display: inline-flex; align-items: center; gap: .5em;
  padding: .78em 1.4em; border-radius: var(--r-full);
  font: inherit; font-weight: var(--fw-semi); font-size: .95rem;
  border: 1px solid transparent; background: var(--bg); color: #fff;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(10,22,42,.16);
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-2) var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), var(--e3); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(0,0,0,.20); }
.btn-proof { --bg: var(--proof); background: var(--grad-proof); box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 1px 2px rgba(11,132,82,.35); }
.btn-proof:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.20), var(--glow-proof); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line-strong); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-danger { --bg: var(--danger); background: var(--danger); }
.btn-sm { padding: .5em 1em; font-size: var(--text-sm); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .72em; border-radius: var(--r-full);
  font-size: .74rem; font-weight: var(--fw-semi); letter-spacing: .02em;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.badge svg { width: 13px; height: 13px; }
.badge-proof  { background: var(--proof-soft); color: var(--proof-ink); border-color: var(--proof-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.badge-blue   { background: var(--blue-soft);  color: var(--blue);     border-color: #C9DCFF; }
.badge-amber  { background: var(--amber-soft); color: var(--amber-ink);border-color: #F2D9B0; }
.badge-danger { background: var(--danger-soft);color: var(--danger);   border-color: #F4C4CB; }
.badge-gold   { background: #FDF3DE; color: #9A6712; border-color: #F3DEB0; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted-2); }
.dot-proof { background: var(--proof); } .dot-amber { background: var(--amber); }
.dot-blue { background: var(--blue); } .dot-danger { background: var(--danger); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--e1), var(--hairline-top);
}
.card-pad { padding: var(--pad-card); }
.card-hover, .card.card-hover { transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--e3), var(--hairline-top); border-color: var(--line-strong); }

/* ---------- Forms ---------- */
label.field { display: block; margin-bottom: var(--s-4); }
label.field > span { display: block; font-weight: var(--fw-semi); font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
label.field > span .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: .72em .9em; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--inset-rest);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--proof); box-shadow: var(--ring-soft); }
.textarea { min-height: 110px; resize: vertical; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; }
.checkline input { margin-top: 4px; accent-color: var(--proof); }

/* ---------- Public nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--glass-line);
}
.site-nav .container { display: flex; align-items: center; gap: 28px; height: 70px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: var(--fw-medium); font-size: .95rem; }
.nav-links a:hover { color: var(--proof-ink); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: var(--fw-display); font-size: 1.25rem; color: var(--ink); letter-spacing: -.024em; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 30px; height: 30px; }
.logo b { color: var(--proof-dk); font-weight: var(--fw-display); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(15,169,104,.20), transparent 60%),
    radial-gradient(760px 480px at 8% 6%, rgba(47,111,237,.12), transparent 55%),
    radial-gradient(600px 400px at 60% 100%, rgba(14,158,151,.10), transparent 60%),
    var(--bg);
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E"); }
.hero .container { position: relative; padding-block: clamp(80px,10vw,128px) clamp(72px,8vw,112px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-12); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semi); font-size: .78rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--proof-ink); background: var(--proof-soft); border: 1px solid var(--proof-line); padding: .42em .9em; border-radius: var(--r-full); margin-bottom: var(--s-5); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.lead { font-size: 1.12rem; color: var(--muted); }

.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: var(--s-8); }
.trust-item { display: flex; align-items: center; gap: 9px; font-weight: var(--fw-semi); font-size: .92rem; color: var(--ink-2); }
.trust-item svg { width: 20px; height: 20px; color: var(--proof); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-sm { padding: var(--section-y-sm) 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-ink { background: var(--grad-ink); color: #cfe0f0; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto var(--s-12); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--gap); }
.feature { padding: var(--pad-card); }
.feature .ic { width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center; background: var(--proof-soft); color: var(--proof-dk); margin-bottom: var(--s-4); border: 1px solid var(--proof-line); box-shadow: var(--hairline-top); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

.step { text-align: left; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-ink); color: #fff; font-family: var(--display); font-weight: var(--fw-display); display: grid; place-items: center; margin-bottom: 14px; box-shadow: var(--e2); }

.cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cat { display: inline-flex; align-items: center; gap: 9px; padding: .7em 1.1em; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-full); font-weight: var(--fw-semi); font-size: .92rem; color: var(--ink-2); box-shadow: var(--e1), var(--hairline-top); transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.cat:hover { transform: translateY(-2px); border-color: var(--proof-line); box-shadow: var(--e2), var(--hairline-top); }
.cat svg { width: 18px; height: 18px; color: var(--proof-dk); }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 30px; text-align: center; }
.stat-strip .n { font-family: var(--display); font-weight: var(--fw-display); font-size: var(--text-3xl); color: #fff; letter-spacing: var(--track-num); }
.stat-strip .l { color: #9fb6cf; font-size: .9rem; }

.quote { padding: var(--pad-card); }
.quote p { font-size: 1.02rem; color: var(--ink-2); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #9fb2c9; padding: 56px 0 32px; }
.site-footer a { color: #cfe0f0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-ink); border-radius: var(--r-xl); padding: var(--pad-card-lg) var(--s-12); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--e4); }
.cta-band::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(21,199,125,.32), transparent 70%); right: -120px; bottom: -160px; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #b9cbe0; margin: 0; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: grid; gap: 10px; }
.toast { background: var(--ink-900); color: #fff; padding: 14px 18px; border-radius: var(--r); box-shadow: var(--e4); font-size: .92rem; display: flex; gap: 10px; align-items: center; animation: toastIn .25s var(--ease-out); max-width: 360px; border: 1px solid rgba(255,255,255,.08); }
.toast .ic { color: var(--proof-bright); display: grid; place-items: center; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Utility ---------- */
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.hide { display: none !important; }
.pill-note { background: var(--blue-soft); color: #234b9e; border: 1px solid #C9DCFF; padding: 10px 14px; border-radius: var(--r); font-size: .86rem; }
.stat-n { font-family: var(--display); font-weight: var(--fw-display); font-size: 2rem; color: var(--ink); letter-spacing: var(--track-num); line-height: 1.1; }

/* ---------- Coverage map (shared: website + portal) ---------- */
.svgmap { position: relative; width: 100%; height: 100%; min-height: 320px; border-radius: var(--r-lg); overflow: hidden; background: var(--map-land); border: 1px solid var(--line); box-shadow: var(--e1), var(--hairline-top); }
.svgmap-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mg-grid line { stroke: var(--map-grid); stroke-width: 1; }
.mg-cov { fill: none; stroke: var(--proof); stroke-width: 2; stroke-dasharray: 6 6; opacity: .55; }
.mg-cov2 { opacity: .28; stroke-dasharray: 2 7; stroke-width: 1.5; }
.mg-thames-w { fill: none; stroke: var(--map-water); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.mg-thames { fill: none; stroke: var(--map-water); stroke-width: 13; stroke-linecap: round; }
.mg-links line { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 3 6; opacity: .5; }
.mg-centre { fill: var(--proof); opacity: .5; }
.pinlayer { position: absolute; inset: 0; }
.pinlayer > * { position: absolute; transform: translate(-50%, -50%); }

.pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: inherit; font-weight: var(--fw-bold); font-size: .72rem; color: #fff; border: 3px solid var(--surface); box-shadow: var(--e2); cursor: pointer; padding: 0; transition: transform var(--dur-1) var(--ease); }
.pin:hover { transform: translate(-50%,-50%) scale(1.14); z-index: 6; }
.pin-active, .pin-approved { background: var(--proof); }
.pin-vetting, .pin-applied { background: var(--amber); }
.pin-suspended { background: var(--danger); }
.pin-pub { width: 18px; height: 18px; background: var(--proof); }
.pin.on-job::after, .pin-pub.on-job::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--proof); opacity: .7; animation: mgpulse 1.8s ease-out infinite; }
@keyframes mgpulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.netdot { width: 9px; height: 9px; border-radius: 50%; background: var(--proof); pointer-events: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--proof) 16%, transparent); }

.jobdot { width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 2px solid var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 26%, transparent); cursor: pointer; padding: 0; }
.jobdot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue); animation: mgpulse 2s ease-out infinite; }

.mg-legend { position: absolute; left: 14px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 12px; background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--r-full); padding: 7px 14px; font-size: .78rem; font-weight: var(--fw-semi); color: var(--muted); box-shadow: var(--e1); }
.mg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mg-legend .lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mg-legend .lg-live { background: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb,var(--blue) 26%,transparent); }

.map-pop { position: absolute; transform: translate(-50%, calc(-100% - 16px)); width: 236px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e4); padding: 14px 16px; z-index: 10; opacity: 0; transition: opacity var(--dur-1) var(--ease); }
.map-pop.open { opacity: 1; }
.map-pop.flip-down { transform: translate(-50%, 16px); }
.map-pop::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.map-pop.flip-down::after { bottom: auto; top: -7px; transform: translateX(-50%) rotate(225deg); }
.map-pop .pp-name { font-weight: var(--fw-bold); font-family: var(--display); font-size: 1rem; margin-bottom: 2px; color: var(--ink); }
.map-pop .pp-meta { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.map-pop .pp-row { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; font-size: .84rem; }
.map-pop .pp-row .k { color: var(--muted); }

/* layer toggles */
.svgmap.hide-contractors .pin { display: none; }
.svgmap.hide-jobs .jobdot, .svgmap.hide-jobs .mg-links { display: none; }
.svgmap.hide-coverage .mg-cov, .svgmap.hide-coverage .mg-cov-fill, .svgmap.hide-coverage .mg-centre { display: none; }

/* ---------- Focus ---------- */
:where(a, button, .btn, .seg button, .input, .select, .textarea, [tabindex]):focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: var(--r-sm);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
}

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