/* HTC howtocompany.xyz: from Kevin design pack (Geist / Instrument Serif) */
:root {
  --ink: #1c1b1a;
  --ink-2: #3d3a37;
  --ink-3: #55524e;
  --mute: #77736e;
  --line: #e7e5e2;
  --line-soft: #eeece9;
  --nav-line: #f0eeeb;
  --bg: #fff;
  --bg-soft: #f6f5f4;
  --bg-chrome: #fafaf9;
  --dot: #e2dfdb;
  --blue: #2459d4;
  --blue-ink: #1f4fc4;
  --blue-hover: #1a44a8;
  --blue-tint: #eef3fd;
  --blue-tint-h: #e3ebfc;
  --green: #23704a;
  --green-hover: #185436;
  --green-tint: #e9f2ec;
  --green-tint-h: #dde9e1;
  --max: 1200px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-btn: 10px;
  --font: Geist, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
.page-community a { color: var(--green); }
.page-community a:hover { color: var(--green-hover); }
.wrap {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nav-line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-logo img { height: 26px; width: auto; }
.nav .nav-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.nav .nav-logo:hover { color: var(--ink); }
.nav-word { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { border-bottom-color: var(--ink); }

/* Type */
.eyebrow {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
}
.eyebrow-sm {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mute);
}
.pill-word {
  display: inline-block;
  border: clamp(3px, .5vw, 5px) solid var(--ink);
  border-radius: 999px;
  padding: 0 .32em .06em;
  line-height: 1.08;
}
.h1 {
  margin: 0;
  font-size: clamp(42px, 7.4vw, 86px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.h1-map { font-size: clamp(42px, 7vw, 80px); }
.lede {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.08;
}
.h2-band { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; }
.h2-contact { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.04em; line-height: 1.05; }
.h2-mod { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.035em; line-height: 1.1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.btn-blue { background: var(--blue); color: #fff !important; }
.btn-blue:hover { background: var(--blue-hover); color: #fff !important; }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: var(--green-hover); color: #fff !important; }
.btn-outline {
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: #fff !important; }

/* Chips / badges */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
}
.chip-nav {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
}
.chip-nav:hover { background: var(--ink); color: #fff !important; }

/* Hero */
.hero {
  padding: 88px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.hero .h1 { max-width: 980px; }
.hero-wide .h1 { max-width: 1000px; }
.hero .lede { max-width: 560px; }
.hero-wide .lede { max-width: 640px; }
.hero-map .lede { max-width: 660px; }
/* Home hero: smaller headline so the subline and next section show above the fold (21 Oct 2026) */
.hero-home .h1 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; }

/* Path cards (Home) */
.paths {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 18px;
  box-sizing: border-box;
}
.path-card {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--ink) !important;
  min-height: 340px;
}
.path-card:hover { color: var(--ink) !important; }
.path-blue { background: var(--blue-tint); }
.path-blue:hover { background: var(--blue-tint-h); }
.path-green { background: var(--green-tint); }
.path-green:hover { background: var(--green-tint-h); }
.path-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.path-label { font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.path-blue .path-label { color: var(--blue-ink); }
.path-green .path-label { color: var(--green); }
.path-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none;
}
.path-blue .path-arrow { background: var(--blue); }
.path-green .path-arrow { background: var(--green); }
.path-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 440px;
  text-wrap: balance;
}
.path-body { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 440px; }
.path-cta { margin-top: auto; font-size: 15px; font-weight: 500; }
.path-blue .path-cta { color: var(--blue-ink); }
.path-green .path-cta { color: var(--green); }

/* About strip (Home) */
.about-strip {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 110px 24px 0;
  box-sizing: border-box;
}
.about-strip-inner {
  border-top: 2px solid var(--ink);
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
}
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-copy p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 500;
  text-wrap: pretty;
}
.fact-row {
  display: grid;
  grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
}
.fact-row .k { color: var(--mute); }
.fact-row .v { font-weight: 500; }

/* Needs grid */
.section {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 110px 24px 0;
  box-sizing: border-box;
}
.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}
.need {
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.need-blue { background: var(--blue-tint); }
.need-green { background: var(--green-tint); }
.need-q {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: pretty;
}
.need-a { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mid-cta {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.mid-cta strong { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; display: block; }
.mid-cta span.sub { font-size: 15px; color: var(--ink-3); }

/* Procurement / funder band */
.band {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.band-blue { background: var(--blue-ink); }
.band-green { background: var(--green); }
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 40px;
}
.band .eyebrow-sm { opacity: .85; color: #fff; }
.band .h2-band { color: #fff; }
.band p { margin: 0; font-size: 16px; line-height: 1.5; opacity: .92; max-width: 440px; }
.band-fact {
  display: grid;
  grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: 15px;
  line-height: 1.4;
}
.band-fact .k { opacity: .8; }
.band-fact .v { font-weight: 500; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  background: rgba(255,255,255,.22);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.step {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.band-blue .step { background: var(--blue-ink); }
.band-green .step { background: var(--green); }
.step-n { font-family: var(--mono); font-size: 12px; opacity: .8; }
.step-t { font-size: 17px; font-weight: 600; }
.step-d { font-size: 14px; line-height: 1.45; opacity: .9; }

/* Evidence */
.evidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px;
  align-items: center;
}
.evidence-copy { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.evidence-copy p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.browser {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(28,27,26,.3);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-chrome);
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.browser-shot {
  aspect-ratio: 16/10;
  background: #f6f5f3;
  overflow: hidden;
}
.browser-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Contact convert */
.convert {
  margin-top: 120px;
  background: var(--bg-soft);
  scroll-margin-top: 60px;
}
.convert-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: start;
}
.convert-copy { display: flex; flex-direction: column; gap: 18px; max-width: 460px; }
.convert-copy p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.promises { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.promise { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.promise .tick { font-weight: 600; }
.page-councils .promise .tick { color: var(--blue); }
.page-community .promise .tick { color: var(--green); }
.form-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 50px -30px rgba(28,27,26,.25);
}
.form-card h3, .form-card h2.form-h {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}
.form-stack input,
.form-stack textarea,
.form-stack select {
  border: 1px solid #dcd9d5;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 15px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.form-stack textarea { min-height: 100px; resize: vertical; }
.form-stack .hp { position: absolute; left: -9999px; }
.form-done { display: none; flex-direction: column; gap: 10px; }
.form-done.is-shown { display: flex; }
.form-stack.is-hidden { display: none; }
.done-icon {
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.page-councils .done-icon { background: var(--blue); }
.page-community .done-icon { background: var(--green); }
.form-done strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.form-done span { font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* MapClick */
.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
}
.tl-y { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.tl-t { font-weight: 500; }
.tl-arrow { color: #b8b4ae; }
.mod-chips {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}
.mod-list {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 96px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 96px;
  box-sizing: border-box;
}
.mod-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 36px;
  align-items: center;
  scroll-margin-top: 90px;
}
.mod-copy { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.mod-copy p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.swords-cta {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.swords-cta strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: block; }
.swords-cta span { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.buyer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 18px;
}
.buyer-link {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink) !important;
}
.buyer-link:hover { color: var(--ink) !important; }
.buyer-blue { background: var(--blue-tint); }
.buyer-blue:hover { background: var(--blue-tint-h); }
.buyer-green { background: var(--green-tint); }
.buyer-green:hover { background: var(--green-tint-h); }
.buyer-link .path-arrow { flex: none; }
.buyer-link .path-label { font-size: 12px; }
.buyer-title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }

/* Simple pages (contact / privacy / about) */
.simple {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 0;
}
.simple .h1 { font-size: clamp(36px, 5vw, 56px); }
.simple p, .simple li { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.simple h2 { font-size: 22px; margin: 32px 0 12px; letter-spacing: -0.02em; }

/* Footer */
.footer {
  max-width: var(--max);
  width: 100%;
  margin: auto auto 0;
  padding: 96px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-sizing: border-box;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 32px; width: auto; align-self: flex-start; }
.footer-tag { font-family: var(--serif); font-size: 20px; color: var(--ink-2); }
.footer-links { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--ink); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--mute);
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}
.footer-base a { color: var(--mute); }

@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .section, .about-strip { padding-top: 72px; }
  .convert { margin-top: 72px; }
  .convert-inner { padding: 56px 24px; }
  .mod-list { gap: 56px; padding-top: 56px; }
  .path-card { min-height: 0; }
}

/* Call UX: closed → open → done */
.js-call-form[hidden],
.js-call-closed[hidden],
.js-call-done[hidden],
.js-call-mid-idle[hidden],
.js-call-mid-done[hidden] { display: none !important; }
.js-call-done.is-shown { display: flex !important; }

/* Ink accent (Systems Observation): neutral, distinct from blue/green/MapClick red */
.btn-ink { background: var(--ink); color: #fff !important; }
.btn-ink:hover { background: #000; color: #fff !important; }
.path-ink { background: var(--bg-soft); }
.path-ink:hover { background: var(--line-soft); }
.path-ink .path-label, .path-ink .path-cta { color: var(--ink); }
.path-ink .path-arrow { background: var(--ink); }
.need-ink { background: var(--bg-soft); }
.band-ink { background: var(--ink); }
.page-systems .promise .tick { color: var(--ink); }
.page-systems .done-icon { background: var(--ink); }
.so-copy { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.so-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.so-list-h { margin: 8px 0 0; font-size: 17px; font-weight: 600; }
.so-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.so-grid .need { min-height: 0; }
.so-grid .need-q { font-size: 18px; }
.so-statement { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.18; margin: 0; max-width: 900px; text-wrap: balance; }
.band .so-statement { color: #fff; }
.so-example { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; color: var(--ink) !important; background: #fff; }
.so-example:hover { border-color: var(--ink); }
.so-example img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.so-example-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.so-example-t { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.so-example-s { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.so-example-cta { font-size: 15px; font-weight: 500; }

/* Commercial and industry accent: Liverpool red (colour system v2, 18 Oct 2026) */
:root { --red: #C8102E; --red-hover: #9E0B23; --red-tint: #FDECEE; --red-tint-h: #F9DDE1; }
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-hover); color: #fff !important; }
.need-red { background: var(--red-tint); }
.band-red { background: var(--red); }
.band-red .step { background: var(--red); }
.page-commercial .promise .tick { color: var(--red); }
.page-commercial .done-icon { background: var(--red); }
.page-commercial .eyebrow-accent { color: var(--red); }
.path-red { background: var(--red-tint); }
.path-red:hover { background: var(--red-tint-h); }
.path-red .path-label, .path-red .path-cta { color: var(--red); }
.path-red .path-arrow { background: var(--red); }

/* Services hub cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.svc-card { border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 34px); display: flex; flex-direction: column; gap: 18px; color: var(--ink) !important; background: var(--bg-soft); border-top: 6px solid var(--ink); min-height: 280px; box-sizing: border-box; }
.svc-card:hover { background: var(--line-soft); color: var(--ink) !important; }
.svc-card.svc-teal { border-top-color: var(--teal); background: var(--teal-tint); }
.svc-card.svc-teal:hover { background: var(--teal-tint-h); }
.svc-card.svc-yel { border-top-color: var(--yel); background: var(--yel-tint); }
.svc-card.svc-yel:hover { background: var(--yel-tint-h); }
.svc-card.svc-mag { border-top-color: var(--mag); background: var(--mag-tint); }
.svc-card.svc-mag:hover { background: var(--mag-tint-h); }
.svc-label { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.svc-teal .svc-label, .svc-teal .path-cta { color: var(--teal); }
.svc-mag .svc-label, .svc-mag .path-cta { color: var(--mag); }
.svc-yel .svc-label, .svc-yel .path-cta { color: var(--ink); }
.svc-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.18; text-wrap: balance; }
.svc-card .path-cta { margin-top: auto; font-size: 15px; font-weight: 500; }
.aud-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Stages row */
.so-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin: 0; padding: 0; list-style: none; }
.so-stages li { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.so-stages .step-n { opacity: 1; color: var(--mute); }
.so-stages .step-t { font-size: 18px; }
.so-stages .step-d { font-size: 15px; color: var(--ink-2); opacity: 1; }

/* ===== Colour system v2 (18 Oct 2026): doors RGB, services CMY, filled title pills ===== */
:root {
  --teal: #007385; --teal-hover: #005A68; --teal-tint: #E5F3F5; --teal-tint-h: #D3EBEE;
  --yel: #F2B705; --yel-hover: #E0A800; --yel-tint: #FFF6D6; --yel-tint-h: #FDECB0;
  --mag: #B0137E; --mag-hover: #82105A; --mag-tint: #FBE9F4; --mag-tint-h: #F6D8EA;
}
/* Filled title pills: ink by default (Home, Services), page colour per page. Border matches fill. */
.pill-word { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-councils .pill-word { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-community .pill-word { background: var(--green); border-color: var(--green); color: #fff; }
.page-commercial .pill-word { background: var(--red); border-color: var(--red); color: #fff; }
.page-mapclick .pill-word { background: var(--teal); border-color: var(--teal); color: #fff; }
.page-so .pill-word { background: var(--yel); border-color: var(--yel); color: var(--ink); }
.page-ai .pill-word { background: var(--mag); border-color: var(--mag); color: #fff; }
/* Yellow: fill only, near-black text on it */
.btn-yel { background: var(--yel); color: var(--ink) !important; }
.btn-yel:hover { background: var(--yel-hover); color: var(--ink) !important; }
.need-yel { background: var(--yel-tint); }
.band-yel { background: var(--yel); color: var(--ink); }
.band-yel .so-statement, .band.band-yel .h2-band, .band.band-yel p, .band.band-yel .eyebrow-sm { color: var(--ink); }
.path-yel { background: var(--yel-tint); }
.path-yel:hover { background: var(--yel-tint-h); }
.path-yel .path-label, .path-yel .path-cta { color: var(--ink); }
.path-yel .path-arrow { background: var(--yel); color: var(--ink); }
.page-so .promise .tick { color: var(--ink); }
.page-so .done-icon { background: var(--yel); color: var(--ink); }
/* Magenta */
.btn-mag { background: var(--mag); color: #fff !important; }
.btn-mag:hover { background: var(--mag-hover); color: #fff !important; }
.need-mag { background: var(--mag-tint); }
.band-mag { background: var(--mag); }
.page-ai .eyebrow { color: var(--mag); }
.page-ai .promise .tick { color: var(--mag); }
.page-ai .done-icon { background: var(--mag); }
.page-ai .note-link, .page-ai .so-copy a { color: var(--mag); }
.path-mag { background: var(--mag-tint); }
.path-mag:hover { background: var(--mag-tint-h); }
.path-mag .path-label, .path-mag .path-cta { color: var(--mag); }
.path-mag .path-arrow { background: var(--mag); }

/* ===== Nav v2 (18 Oct 2026): two groups (Who it's for / Services) + Field notes, About, Contact ===== */
.nav-links { gap: 6px 22px; }
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 2px solid transparent; color: var(--ink); }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-dd[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.nav-dd > summary.is-active { border-bottom-color: var(--ink); }
.nav-dd > summary:focus-visible, .nav-links a:focus-visible, .nav-burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.nav-dd-panel { position: absolute; top: calc(100% + 10px); left: -14px; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 18px 40px -20px rgba(28,27,26,.35); display: flex; flex-direction: column; gap: 2px; z-index: 20; }
.nav-dd-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px !important; border-radius: 9px; border-bottom: 0 !important; white-space: nowrap; }
.nav-dd-panel a:hover { background: var(--bg-soft); }
.nav-dd-panel a.is-active { background: var(--bg-soft); }
.nav-dd-panel .nav-all { color: var(--ink-3); font-weight: 400; }
.nav-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--c, var(--ink)); }
.nav-burger { display: none; align-items: center; gap: 8px; font: 500 14px/1 var(--font); color: var(--ink); background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.nav-burger-i, .nav-burger-i::before, .nav-burger-i::after { display: block; width: 14px; height: 1.6px; background: currentColor; position: relative; }
.nav-burger-i::before, .nav-burger-i::after { content: ""; position: absolute; left: 0; }
.nav-burger-i::before { top: -4.5px; } .nav-burger-i::after { top: 4.5px; }
.nav.is-open .nav-burger-i { background: transparent; }
.nav.is-open .nav-burger-i::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-burger-i::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .nav-js .nav-burger { display: inline-flex; }
  .nav-js .nav-links { display: none; }
  .nav-js.is-open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 6px 0 10px; font-size: 16px; }
  .nav-js.is-open .nav-links > a, .nav-js.is-open .nav-dd > summary { padding: 13px 2px; border-bottom: 1px solid var(--line-soft); width: 100%; box-sizing: border-box; justify-content: space-between; }
  .nav-js.is-open .nav-links > a.is-active { border-bottom-color: var(--line-soft); font-weight: 600; }
  .nav-js.is-open .nav-dd > summary.is-active { border-bottom-color: var(--line-soft); }
  .nav-js.is-open .nav-dd-panel { position: static; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; background: transparent; }
  .nav-js.is-open .nav-dd-panel a { padding: 11px 8px !important; }
  .nav { max-height: 100vh; overflow-y: auto; }
}

/* Home v2 groups */
.home-group { max-width: var(--max); width: 100%; margin: 0 auto; padding: 72px 24px 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 22px; }
.home-group-head { display: flex; flex-direction: column; gap: 8px; }
.home-group .h2 { margin: 0; }
.paths-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.paths-3 .path-card { min-height: 300px; gap: 18px; }
.paths-3 .path-title { font-size: clamp(22px, 2.3vw, 28px); }
.paths-3 .path-label { font-size: 14px; }
.path-teal { background: var(--teal-tint); }
.path-teal:hover { background: var(--teal-tint-h); }
.path-teal .path-label, .path-teal .path-cta { color: var(--teal); }
.path-teal .path-arrow { background: var(--teal); }
.home-cta { max-width: var(--max); width: 100%; margin: 0 auto; padding: 72px 24px 0; box-sizing: border-box; }
@media (max-width: 640px) { .home-group, .home-cta { padding-top: 56px; } .paths-3 .path-card { min-height: 0; } }

/* ===== SO eyebrow: same structure as other pages, near-black (18 Oct 2026) ===== */
.page-so .eyebrow { color: var(--ink); }

/* ===== Nav colour (18 Oct 2026): page colours on dropdown items, current item pill, tri-dot cues ===== */
.nav-dd-panel a[href="/public-sector/"] { --c: var(--blue); --ct: var(--blue-tint); --cx: var(--blue); }
.nav-dd-panel a[href="/community/"] { --c: var(--green); --ct: var(--green-tint); --cx: var(--green); }
.nav-dd-panel a[href="/commercial/"] { --c: var(--red); --ct: var(--red-tint); --cx: var(--red); }
.nav-dd-panel a[href="/mapclick/"] { --c: var(--teal); --ct: var(--teal-tint); --cx: var(--teal); }
.nav-dd-panel a[href="/systems-observation/"] { --c: var(--yel); --ct: var(--yel-tint); --cx: var(--ink); }
.nav-dd-panel a[href="/ai-and-automation/"] { --c: var(--mag); --ct: var(--mag-tint); --cx: var(--mag); }
.nav-dd-panel a[style], .nav-dd-panel a { position: relative; }
.nav-dd-panel a:hover, .nav-dd-panel a:focus-visible { background: var(--ct, var(--bg-soft)); color: var(--cx, var(--ink)); }
.nav-dd-panel a.is-active { background: var(--ct, var(--bg-soft)); color: var(--cx, var(--ink)); font-weight: 600; box-shadow: inset 3px 0 0 var(--c, var(--ink)); }
.nav-dd-panel a[href="/systems-observation/"]:hover, .nav-dd-panel a[href="/systems-observation/"].is-active { background: var(--yel-tint-h); }
.nav-dot { background: var(--c, var(--ink)); }
/* Tri-dot cue on the group labels: RGB doors, CMY services */
.nav-dd > summary::before { content: ""; width: 20px; height: 6px; flex: none; order: -1;
  background: radial-gradient(circle 3px at 3px 3px, var(--d1) 98%, transparent) , radial-gradient(circle 3px at 10px 3px, var(--d2) 98%, transparent), radial-gradient(circle 3px at 17px 3px, var(--d3) 98%, transparent); }
.nav-dd:has(a[href="/public-sector/"]) { --d1: var(--blue); --d2: var(--green); --d3: var(--red); }
.nav-dd:has(a[href="/mapclick/"]) { --d1: var(--teal); --d2: var(--yel); --d3: var(--mag); }
/* Colour bar on the open panel */
.nav-dd-panel { overflow: hidden; }
.nav-dd-panel::before { content: ""; display: block; height: 4px; margin: -8px -8px 6px; background: linear-gradient(90deg, var(--d1) 0 33.33%, var(--d2) 33.33% 66.66%, var(--d3) 66.66%); }
/* Current section: group label underlined in the current page colour */
.nav-dd:has(a.is-active[href="/public-sector/"]) > summary.is-active { border-bottom-color: var(--blue); }
.nav-dd:has(a.is-active[href="/community/"]) > summary.is-active { border-bottom-color: var(--green); }
.nav-dd:has(a.is-active[href="/commercial/"]) > summary.is-active { border-bottom-color: var(--red); }
.nav-dd:has(a.is-active[href="/mapclick/"]) > summary.is-active { border-bottom-color: var(--teal); }
.nav-dd:has(a.is-active[href="/systems-observation/"]) > summary.is-active { border-bottom-color: var(--yel); }
.nav-dd:has(a.is-active[href="/ai-and-automation/"]) > summary.is-active { border-bottom-color: var(--mag); }
@media (max-width: 820px) {
  .nav-js.is-open .nav-dd-panel::before { margin: 0 0 6px; border-radius: 2px; }
  .nav-js.is-open .nav-dd > summary { justify-content: flex-start; }
  .nav-js.is-open .nav-dd > summary::after { margin-left: auto; }
  .nav-js.is-open .nav-dd[open] > summary { border-bottom-color: transparent !important; }
}

/* ===== Brand lockup (18 Oct 2026): logo + wordmark + italic subhead ===== */
.nav .nav-logo { gap: 12px; }
.nav-lockup { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.nav-lockup .nav-word { line-height: 1.1; }
.nav-sub { font-size: 12px; font-style: italic; font-weight: 400; color: var(--ink-3); letter-spacing: 0; white-space: nowrap; margin-top: 2px; }
@media (max-width: 420px) {
  .nav .nav-logo { gap: 8px; }
  .nav-logo img { height: 22px; }
  .nav-word { font-size: 14px; }
  .nav-sub { font-size: 11px; }
}

/* ===== About + Contact (18 Oct 2026): proof strip, trio, team, routing ===== */
.proof { max-width: var(--max); margin: 56px auto 0; padding: 0 24px; box-sizing: border-box; width: 100%; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-list li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 22px 0; }
.proof-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.proof-k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); text-transform: uppercase; }
.proof-v { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.proof-v a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.proof-v a:hover { text-decoration-thickness: 2px; }
.proof-s { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 760px) {
  .proof-list { grid-template-columns: 1fr 1fr; }
  .proof-list li, .proof-list li + li { padding: 18px 12px 18px 0; border-left: 0; }
  .proof-list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .proof-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.ab-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.ab-head .h2 { margin: 0; }
.ab-head p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ab-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.ab-copy { display: flex; flex-direction: column; gap: 16px; }
.ab-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.ab-copy .src { font-size: 14px; color: var(--ink-3); }
.facts { border-top: 1px solid var(--line); }
.facts .fact-row { padding: 14px 0; }
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.trio li { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.trio li + li { border-left: 1px solid var(--line); }
.trio .k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.trio .v { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.trio .d { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 760px) { .trio li + li { border-left: 0; border-top: 1px solid var(--line); } }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 40px; }
.how-list li { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid rgba(255,255,255,.35); padding-top: 16px; }
.how-list strong { font-size: 19px; letter-spacing: -0.01em; color: #fff; }
.how-list span { font-size: 15px; line-height: 1.5; opacity: .9; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.team-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.team-av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 30px; letter-spacing: -0.02em; }
.team-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-body { display: flex; flex-direction: column; gap: 8px; }
.team-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.team-role { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--mute); }
.team-body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.team-body a { font-size: 15px; font-weight: 500; }
@media (max-width: 480px) { .team-card { grid-template-columns: 1fr; } .team-av { width: 72px; height: 72px; font-size: 24px; } }
.mods { display: flex; flex-wrap: wrap; gap: 8px; }
.mods .chip { background: #fff; }
/* Contact routing */
.route { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.route legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 12px; }
.route-group { display: flex; flex-direction: column; gap: 8px; }
.route-gk { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); margin-top: 6px; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .route-grid { grid-template-columns: 1fr; } }
.route-opt { position: relative; display: block; cursor: pointer; }
.route-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.route-opt span { display: flex; align-items: center; gap: 10px; min-height: 48px; box-sizing: border-box; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.25; background: #fff; transition: border-color .15s, background-color .15s; }
.route-opt span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--c); }
.route-opt:hover span { border-color: var(--c); }
.route-opt input:checked + span { border-color: var(--c); background: var(--ct); box-shadow: inset 0 0 0 1px var(--c); }
.route-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.r-blue { --c: var(--blue); --ct: var(--blue-tint); } .r-green { --c: var(--green); --ct: var(--green-tint); } .r-red { --c: var(--red); --ct: var(--red-tint); }
.r-teal { --c: var(--teal); --ct: var(--teal-tint); } .r-yel { --c: var(--yel); --ct: var(--yel-tint); } .r-mag { --c: var(--mag); --ct: var(--mag-tint); }
.r-ink { --c: var(--ink); --ct: var(--bg-soft); }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.steps-list li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius-md); background: var(--bg-soft); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--mute); }
.steps-list strong { font-size: 18px; letter-spacing: -0.01em; }
.steps-list span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { display: flex; flex-direction: column; gap: 28px; }
.page-about .hero .chips, .page-contact .hero .chips { justify-content: center; }
.evidence-copy .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evidence-copy .trio li { padding: 16px 14px; }
.evidence-copy .trio li + li { border-left: 1px solid var(--line); border-top: 0; }
.evidence-copy .trio .k { font-size: 11px; }
.evidence-copy .trio .v { font-size: 18px; }
@media (max-width: 420px) { .evidence-copy .trio { grid-template-columns: 1fr; } .evidence-copy .trio li + li { border-left: 0; border-top: 1px solid var(--line); } }
.how-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 1000px) { .how-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how-list { grid-template-columns: 1fr; } }
.band .ab-head { gap: 14px; }
.band .ab-head .h2-band { margin: 0; }
.contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
.contact-grid .form-card { max-width: none; border: 1px solid var(--line); box-shadow: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Social links (18 Oct 2026) ===== */
.footer-social { display: flex; gap: 16px; margin-top: 14px; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); text-decoration: none; min-height: 32px; }
.footer-social a:hover { color: var(--ink); }
.footer-social a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer-social svg { flex: none; }
.soc-inline { display: inline-flex; gap: 16px; }

/* ===== About & contact merge (18 Oct 2026) ===== */
.trio-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio-3 li { padding: 16px 14px; }
.trio-3 li + li { border-left: 1px solid var(--line); border-top: 0; }
.trio-3 .k { font-size: 11px; }
.trio-3 .v { font-size: 18px; }
.trio-3 .v a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 420px) { .trio-3 { grid-template-columns: 1fr; } .trio-3 li + li { border-left: 0; border-top: 1px solid var(--line); } }
.ac-contact { scroll-margin-top: 72px; }
.ac-form { border: 1px solid var(--line); box-shadow: none; }

/* Footer without tagline (2026-10-18) */
.footer-brand .footer-social { margin-top: 2px; }
.footer-base { flex-wrap: wrap; }

/* Systems Observation: custom AI tools band (2026-10-18) */
.so-ai { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.so-ai .so-statement { margin: 0; }
.so-ai-link { color: #141414; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.so-ai-link:hover { text-decoration-thickness: 2px; }
.band.band-yel.so-ai p.so-statement { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.22; font-weight: 600; max-width: 860px; }
