/* ==========================================================================
   TechnoWise Company Limited — website stylesheet
   Visual motif: colour-coded optic fibre strands (the TIA-598 strand colours
   used to identify fibres in a cable), drawn as artwork on headings and banners.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #0C2742;
  --navy-deep: #081C31;
  --paper: #F6F8FA;
  --white: #FFFFFF;
  --tint: #E8EFF6;
  --ink: #13212F;
  --muted: #47586A;
  --line: #CFDAE5;

  /* Fibre strand colours, tuned for text and marks on light surfaces */
  --blue: #1768CF;          /* darkened from #1A73E0 on 3 Dec 2026 so link text passes WCAG AA (4.5:1) on light surfaces */
  --amber: #FFBE00;
  --orange: #D4690B;
  --teal: #0F9488;
  --green: #1E9B3C;
  --yellow: #E6A800;
  --slate: #5D6F82;

  /* Brighter strand colours for dark surfaces */
  --s-blue: #3D9BFF;
  --s-orange: #F59A3C;
  --s-aqua: #33C6D8;
  --s-green: #3DDC5A;
  --s-yellow: #FFBE00;
  --s-white: #DCE6F0;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 4px;
  --radius: 10px;
  --header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1875rem;          /* 19px — generous reading size */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--s-yellow); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1.1em; max-width: 68ch; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.05rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); }
h4 { font-size: 1.25rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--s-yellow); color: var(--ink); padding: 0.6rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 54px; padding: 0.8rem 1.6rem;
  font: 600 1.0625rem/1.2 var(--sans);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #155CB5; }
.btn--light { background: var(--amber); color: var(--ink); }
.btn--light:hover { background: #FFCD3A; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand img { height: 66px; width: auto; display: block; }
@media (max-width: 560px) { .brand img { height: 52px; } }
.footer-logo { background: #FFFFFF; border-radius: var(--radius); padding: 10px 16px; }
.footer-logo img { height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.82rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; margin-top: 3px; }

.nav ul { display: flex; align-items: center; gap: 0.35rem; list-style: none; }
.nav a {
  display: block; padding: 0.55rem 0.9rem; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: 1.0625rem; text-decoration: none;
}
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.nav .nav__cta a { background: var(--navy); color: var(--white); padding-inline: 1.25rem; margin-left: 0.5rem; }
.nav .nav__cta a:hover { background: var(--blue); }
.nav .nav__cta a[aria-current="page"] { box-shadow: none; border-radius: 999px; background: var(--blue); color: var(--white); }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  background: none; border: 2px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; font: 600 1rem var(--sans); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { width: 20px; height: 14px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars span { top: 6px; } .nav-toggle__bars::after { bottom: 0; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; box-shadow: 0 18px 30px -18px rgba(12,39,66,.35); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem var(--gutter) 1.25rem; gap: 0.15rem; }
  .nav a { font-size: 1.2rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blue); }
  .nav .nav__cta a { margin: 0.5rem 0 0; text-align: center; border-radius: 999px; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(90,166,245,.22), transparent 60%),
    var(--navy);
  color: var(--white);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(15rem, 27vw, 21rem);
}
.hero h1 { max-width: 27ch; margin: 0 auto 0.45em; text-wrap: balance; }
/* Opening title line above the main headline (added 3 Dec 2026). */
.hero__kicker { display: block; font-family: var(--sans); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: 0.01em; color: var(--amber); margin-bottom: 0.55em; }
/* Phones: size the headline so its longest word ("Operationalisation") fits the screen. */
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.9rem, 9.2vw, 2.6rem); }
  .hero__kicker { font-size: clamp(1.2rem, 5.4vw, 1.35rem); }
}
.hero__lead { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.55; max-width: 46ch; margin: 0 auto 2rem; color: #D7E3EF; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero__place { margin: 2.2rem auto 0; font-size: 1rem; color: #A9BED3; max-width: none; }
.hero__art { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(13rem, 26vw, 20rem); z-index: -1; pointer-events: none; }
.hero__art svg { width: 100%; height: 100%; }

/* fibre strands */
.strand { fill: none; stroke-width: 3; stroke-linecap: round; opacity: .9; vector-effect: non-scaling-stroke; }
.pulse  { fill: none; stroke: #FFFFFF; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke;
          stroke-dasharray: 70 2600; stroke-dashoffset: 2670; filter: url(#glow); opacity: .95;
          animation: pulse-run 7s cubic-bezier(.45,.05,.35,1) infinite; }
.node   { fill: var(--navy); stroke-width: 3; vector-effect: non-scaling-stroke; }
@keyframes pulse-run { 0% { stroke-dashoffset: 2670; opacity: 0; } 8% { opacity: .95; } 70% { opacity: .95; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------- Inner page banner ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white);
  padding: clamp(3.75rem, 7vw, 5.75rem) 0 clamp(6.5rem, 11vw, 8.5rem);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); margin-bottom: 0.3em; }
.page-hero p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: #D7E3EF; max-width: 52ch; margin: 0; }
.page-hero__art { position: absolute; inset: auto 0 0 0; height: clamp(6rem, 12vw, 9rem); z-index: -1; opacity: .9; pointer-events: none; }
.page-hero__art svg { width: 100%; height: 100%; }
.crumbs { font-size: 1rem; color: #A9BED3; margin-bottom: 1rem; }
.crumbs a { color: #D7E3EF; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.25rem, 8vw, 6.75rem); }
.section--white { background: var(--white); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: #D7E3EF; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 60rem; }
.section-head p { font-size: 1.25rem; color: var(--muted); }
.section--navy .section-head p { color: #C9D7E5; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center p { margin-inline: auto; }

/* Heading artwork: a fan of fibre strands spliced into one line */
.art-heading::before {
  content: ""; display: block; width: 96px; height: 30px; margin-bottom: 1rem;
  background: url("../img/heading-strands.svg") no-repeat left center / contain;
}
.section-head--center .art-heading::before { margin-inline: auto; background-position: center; }
.section--navy .art-heading::before, .cta .art-heading::before { background-image: url("../img/heading-strands-dark.svg"); }
.cta .art-heading::before { margin-inline: auto; background-position: center; }

.lead { font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.6; }
.muted { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.grid-2--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-2--wide-left { grid-template-columns: 1fr; } }

/* ---------- Numbers strip ---------- */
.numbers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.numbers li { list-style: none; padding: 2rem 2rem 2.1rem; border-top: 6px solid var(--c, var(--blue)); position: relative; }
.numbers li + li { border-left: 1px solid var(--line); }
.numbers li:nth-child(4) { border-left: 0; }
.numbers li:nth-child(n+4) { box-shadow: inset 0 1px 0 var(--line); }
.numbers .n { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2.8rem, 4.6vw, 3.7rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.6rem; }
.numbers .l { display: block; font-weight: 600; font-size: 1.2rem; line-height: 1.35; }
.numbers .s { display: block; color: var(--muted); font-size: 1.02rem; margin-top: 0.2rem; }
.numbers--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numbers--four li:nth-child(4) { border-left: 1px solid var(--line); }
.numbers--four li:nth-child(n+4) { box-shadow: none; }
/* Five items: three on the top row, two wider ones below, so no empty cell is left. */
.numbers--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.numbers--five li { grid-column: span 2; }
.numbers--five li:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
  .numbers, .numbers--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers li:nth-child(odd) { border-left: 0; }
  .numbers li:nth-child(even) { border-left: 1px solid var(--line); }
  .numbers li:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--line); }
  .numbers--five li, .numbers--five li:nth-child(n+4) { grid-column: auto; }
  .numbers--five li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .numbers, .numbers--four { grid-template-columns: 1fr; }
  .numbers li, .numbers li:nth-child(even) { border-left: 0; }
  .numbers li + li { box-shadow: inset 0 1px 0 var(--line); }
}

/* ---------- Figures ---------- */
figure { margin: 0; }
figcaption, .caption {
  text-align: center; font-size: 1.02rem; color: var(--muted);
  margin: 1.25rem auto 0; max-width: 60ch;
}
figcaption strong { color: var(--ink); }
.section--navy figcaption { color: #B9CADB; }
.figure-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); }

/* ---------- Statement / quote ---------- */
.statement {
  border-left: 6px solid var(--amber);
  padding: 0.4rem 0 0.4rem 1.6rem; margin: 0;
  font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.35; font-weight: 600;
}
.statement cite { display: block; margin-top: 0.9rem; font: 500 1.02rem var(--sans); color: var(--muted); font-style: normal; }
.section--navy .statement cite { color: #B9CADB; }

/* ---------- Delivery model (a true sequence, so numbered) ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; position: relative; counter-reset: stage; }
.process::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--yellow), var(--orange), var(--green));
}
.process li { position: relative; text-align: center; padding: 0 0.25rem; }
.process__dot {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.1rem;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--white); border: 5px solid var(--c); color: var(--ink);
  font: 700 1.6rem/1 var(--serif);
}
.process h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.process p { font-size: 1.05rem; color: var(--muted); margin: 0 auto; max-width: 22ch; }
.section--navy .process__dot { background: var(--navy); color: var(--white); }
.section--navy .process p { color: #C9D7E5; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 34px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; background: linear-gradient(180deg, var(--blue), var(--teal), var(--yellow), var(--orange), var(--green)); }
  .process li { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.25rem; text-align: left; padding-bottom: 1.6rem; }
  .process__dot { margin: 0; grid-row: span 2; }
  .process h3 { align-self: end; margin-top: 0.6rem; }
  .process p { margin: 0; max-width: none; }
}

/* ---------- Service pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.pillar { background: var(--white); border-radius: var(--radius); padding: 0 1.6rem 1.8rem; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pillar__art { height: 64px; margin: 0 -1.6rem 1.4rem; background: var(--c); position: relative; }
.pillar__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillar h3 { font-size: 1.45rem; }
.pillar .summary { font-style: italic; color: var(--muted); font-size: 1.05rem; }
.pillar ul { list-style: none; display: grid; gap: 0.55rem; }
.pillar li { position: relative; padding-left: 1.25rem; font-size: 1.05rem; line-height: 1.5; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pillar .more { display: inline-block; margin-top: auto; padding-top: 1.4rem; font-weight: 600; }
@media (max-width: 1080px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }

/* Long-form service blocks (services page) */
.service-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block__head { position: relative; padding-left: 1.6rem; align-self: start; }
.service-block__head::before { content: ""; position: absolute; left: 0; top: 0.2rem; bottom: 0.2rem; width: 6px; border-radius: 6px; background: var(--c); }
.service-block__head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.service-block__head p { font-style: italic; font-size: 1.25rem; color: var(--muted); }
.service-block ul { list-style: none; display: grid; gap: 0.9rem; }
.service-block li { position: relative; padding: 0 0 0.9rem 2rem; border-bottom: 1px dashed var(--line); font-size: 1.12rem; }
.service-block li:last-child { border-bottom: 0; }
.service-block li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c); }
@media (max-width: 900px) { .service-block { grid-template-columns: 1fr; } }

/* ---------- Plain info grids ---------- */
.info-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.info-grid > div { padding: 1.6rem 1.75rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.info-grid h3 { font-size: 1.4rem; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.7rem; }
.info-grid h3 .tick { width: 14px; height: 14px; border-radius: 3px; background: var(--c, var(--blue)); flex: none; transform: rotate(45deg); }
.info-grid p { margin: 0; color: var(--muted); font-size: 1.07rem; }
.section--navy .info-grid, .section--navy .info-grid > div { border-color: rgba(255,255,255,.16); }
.section--navy .info-grid p { color: #C9D7E5; }
@media (max-width: 900px) { .info-grid { --cols: 1 !important; } .info-grid > div { padding-right: 0; } }

/* Feature tiles (audiences, smart solutions) */
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; border-top: 5px solid var(--c, var(--blue)); }
.tile h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.tile p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.tile__icon { width: 46px; height: 46px; margin-bottom: 1rem; color: var(--c, var(--blue)); }
.tiles--five .tile { padding: 1.35rem 1.2rem 1.5rem; }
.tiles--five .tile h3 { font-size: 1.24rem; }
@media (max-width: 1080px) { .tiles { --cols: 2 !important; } }
@media (max-width: 600px) { .tiles { --cols: 1 !important; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; }
.values li { padding-top: 1.25rem; border-top: 4px solid var(--c); }
.values h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.values p { margin: 0; color: var(--muted); font-size: 1.07rem; }
.section--navy .values p { color: #C9D7E5; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Vision & mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vm > div { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 2.75rem) 5.5rem; position: relative; overflow: hidden; }
.vm h3 { font: 600 1.1rem var(--sans); color: var(--s-yellow); margin-bottom: 0.8rem; letter-spacing: .01em; }
.vm p { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.3; font-weight: 600; margin: 0; color: var(--white); max-width: 24ch; }
.vm svg { position: absolute; right: -10px; bottom: -8px; width: 200px; opacity: .55; }
@media (max-width: 800px) { .vm { grid-template-columns: 1fr; } }

/* Particulars table */
.particulars { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 1.05rem; }
.particulars caption { text-align: left; font: 650 1.5rem var(--serif); padding: 0 0 0.9rem; color: var(--ink); }
.particulars th, .particulars td { text-align: left; vertical-align: top; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.particulars tr:last-child th, .particulars tr:last-child td { border-bottom: 0; }
.particulars th { width: 38%; font-weight: 500; color: var(--muted); background: #F1F5F9; }
.particulars td { font-weight: 600; }

/* ---------- Network layers figure ---------- */
.layers { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1rem; }
.layers__stack { display: grid; gap: 0.6rem; }
.layer { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 1.1rem; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); border-left: 10px solid var(--c); }
.layer svg { width: 52px; height: 52px; color: var(--c); }
.layer h3 { font-size: 1.4rem; margin: 0 0 0.15rem; }
.layer p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.45; }
.layers__span { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.span-col { background: var(--navy); color: var(--white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; padding: 1rem 0.4rem; position: relative; overflow: hidden; }
.span-col::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c); }
.span-col span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 1.15rem/1.2 var(--sans); text-align: center; }
.layers__note { grid-column: 2; text-align: center; font-size: 0.98rem; color: var(--muted); margin: 0.2rem 0 0; }
@media (max-width: 900px) {
  .layers { grid-template-columns: 1fr; }
  .layers__span { grid-template-columns: repeat(2, 1fr); }
  .span-col { padding: 1rem; } .span-col span { writing-mode: horizontal-tb; transform: none; }
  .layers__note { grid-column: 1; }
}

/* ---------- Charts ---------- */
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); fill: var(--ink); }
.chart .axis text { fill: var(--muted); }
.chart .grid line { stroke: #DDE5EE; stroke-width: 1; }
.chart .baseline { stroke: #8FA2B6; stroke-width: 1.5; }
.chart [data-tip] { cursor: default; }
.chart [data-tip]:hover, .chart [data-tip]:focus { filter: brightness(1.08); outline: none; }
.chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chart-scroll .chart { min-width: 900px; }
.scroll-hint { display: none; text-align: center; font-size: 0.98rem; color: var(--muted); margin: 0 0 0.75rem; }
@media (max-width: 920px) { .scroll-hint { display: block; } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.75rem; list-style: none; margin: 0 0 1.25rem; font-weight: 500; font-size: 1.05rem; }
.legend li { display: inline-flex; align-items: center; gap: 0.55rem; }
.legend i { width: 18px; height: 18px; border-radius: 4px; background: var(--c); display: inline-block; }
.legend i.open { background: repeating-linear-gradient(135deg, var(--c) 0 4px, #fff 4px 7px); border: 2px solid var(--c); }
.tooltip {
  position: fixed; z-index: 90; pointer-events: none; max-width: 300px;
  background: var(--ink); color: var(--white); border-radius: 8px; padding: 0.65rem 0.85rem;
  font-size: 0.98rem; line-height: 1.4; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(4px); transition: opacity .12s ease, transform .12s ease;
}
.tooltip.is-on { opacity: 1; transform: none; }
.tooltip b { display: block; font-weight: 600; margin-bottom: 2px; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 2rem; }
.filters button {
  font: 600 1.02rem var(--sans); padding: 0.6rem 1.15rem; border-radius: 999px;
  border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.filters button i { width: 12px; height: 12px; border-radius: 3px; background: var(--c, var(--slate)); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.filters .count { font-weight: 500; opacity: .75; }

.projects { list-style: none; display: grid; gap: 1.25rem; }
.project {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); border-left: 8px solid var(--c);
}
.project[hidden] { display: none; }
.project__meta { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.project__when { font: 700 1.3rem/1.25 var(--serif); }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--ink); border: 1px solid color-mix(in srgb, var(--c) 45%, white); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chip--live { background: #FFF5D6; border-color: #EFCB62; }
.project__client { font-size: 1rem; color: var(--muted); line-height: 1.45; }
.project__client strong { display: block; color: var(--ink); font-weight: 600; }
.project h3 { font-size: clamp(1.35rem, 2.1vw, 1.6rem); margin-bottom: 0.6rem; }
.project p { margin-bottom: 1rem; font-size: 1.07rem; color: #2B3A4A; max-width: 75ch; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; }
.tags li { font-size: 0.95rem; font-weight: 500; padding: 0.25rem 0.7rem; border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } .project__meta { flex-direction: row; flex-wrap: wrap; align-items: center; } }

/* Featured projects (home) */
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.featured li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; border-top: 6px solid var(--c); display: flex; flex-direction: column; }
.featured .when { font: 700 1.15rem var(--serif); color: var(--muted); margin-bottom: 0.4rem; }
.featured h3 { font-size: 1.45rem; }
.featured p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; }
.featured .big { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.featured .big b { font: 700 2.1rem/1 var(--serif); white-space: nowrap; }
.featured .big span { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } }

/* Places */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.places li { padding: 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.places h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 0.65rem; }
.places h3 svg { width: 30px; height: 30px; color: var(--c); flex: none; }
.places p { margin: 0; color: #C9D7E5; font-size: 1.07rem; }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; } }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); border-radius: var(--radius); overflow: hidden; }
.clients li { padding: 1.6rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.3rem; }
.clients b { font: 700 1.9rem/1.1 var(--serif); color: var(--navy); }
.clients span { color: var(--muted); font-size: 1.05rem; line-height: 1.4; }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } }

.programmes { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; margin-top: 2rem; justify-content: center; }
.programmes li { padding: 0.55rem 1.1rem; border-radius: 999px; border: 2px solid var(--c); font-weight: 600; font-size: 1.02rem; background: var(--white); }

/* Org chart */
.org { display: grid; justify-items: center; gap: 0; }
.org__box { background: var(--navy); color: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.6rem; text-align: center; font: 600 1.15rem/1.3 var(--sans); min-width: 260px; position: relative; }
.org__box--ceo { background: var(--blue); }
.org__line { width: 3px; height: 34px; background: #9FB2C6; }
.org__branches { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; width: 100%; max-width: 980px; position: relative; padding-top: 34px; }
.org__branches::before { content: ""; position: absolute; top: 0; left: calc(25% - 0.625rem); right: calc(25% - 0.625rem); height: 3px; background: #9FB2C6; }
.org__group { border: 2px dashed #A9BBCD; border-radius: var(--radius); padding: 2.6rem 1.25rem 1.25rem; position: relative; background: var(--white); }
.org__group::before { content: ""; position: absolute; top: -34px; left: 50%; width: 3px; height: 34px; background: #9FB2C6; }
.org__group h3 { position: absolute; top: -0.95rem; left: 50%; transform: translateX(-50%); background: var(--paper); padding: 0.1rem 0.8rem; font: 600 1.05rem var(--sans); white-space: nowrap; color: var(--muted); }
.section--white .org__group h3 { background: var(--white); }
.org__units { display: grid; gap: 0.75rem; list-style: none; }
.org__units li { border-radius: var(--radius-sm); padding: 1rem; text-align: center; font-weight: 600; font-size: 1.08rem; line-height: 1.3; background: color-mix(in srgb, var(--c) 10%, white); border-top: 5px solid var(--c); display: grid; place-items: center; min-height: 82px; }
@media (max-width: 900px) {
  .org__branches { grid-template-columns: 1fr; gap: 3rem; }
  .org__branches::before { display: none; }
}

/* ---------- Callout ---------- */
.callout { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.75rem); position: relative; overflow: hidden; }
.callout h3 { color: var(--s-yellow); font: 600 1.15rem var(--sans); margin-bottom: 0.7rem; }
.callout p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; font-weight: 500; color: var(--white); margin: 0; }
.callout--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-left: 8px solid var(--c, var(--teal)); }
.callout--light h3 { color: var(--ink); font: 650 1.45rem var(--serif); }
.callout--light p { font: 400 1.07rem/1.6 var(--sans); color: var(--muted); }

/* ---------- Closing call to action ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); text-align: center; padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(8rem, 13vw, 10rem); }
.cta h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); max-width: 20ch; margin-inline: auto; }
.cta p { font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: #D7E3EF; max-width: 54ch; margin: 0 auto 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta__direct { margin-top: 1.75rem; font-size: 1.15rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; }
.cta__direct a { color: var(--white); font-weight: 600; }
.cta__art { position: absolute; inset: auto 0 0 0; height: clamp(6rem, 11vw, 8.5rem); z-index: -1; pointer-events: none; }
.cta__art svg { width: 100%; height: 100%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.5rem); }
.contact-card h2 { font-size: 1.9rem; }
.contact-card dl { margin: 0; display: grid; gap: 1.4rem; }
.contact-card dt { font-weight: 600; color: var(--s-yellow); font-size: 1rem; margin-bottom: 0.2rem; }
.contact-card dd { margin: 0; font-size: 1.15rem; line-height: 1.55; }
.contact-card a { color: var(--white); font-weight: 600; }
.contact-card .btn { margin-top: 1.75rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.5rem); }
.form h2 { font-size: 1.9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 600; font-size: 1.02rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1.08rem/1.4 var(--sans); color: var(--ink);
  padding: 0.85rem 1rem; border-radius: 8px; border: 2px solid #B9C7D6; background: #FBFCFD; width: 100%;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,111,209,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-weight: 500; }
.form-status--ok { background: #E3F6EC; border: 1px solid #8CD3AC; }
.form-status--err { background: #FDECEA; border: 1px solid #F0A79E; }
.form-note { font-size: 0.98rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C9D7E5; padding: 4rem 0 2rem; font-size: 1.05rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-top h2 { font: 600 1.05rem var(--sans); color: var(--s-yellow); margin-bottom: 1rem; letter-spacing: .01em; }
.footer-top ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand__sub { color: #A9BED3; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-strands { height: 6px; margin-bottom: 3rem; background: linear-gradient(90deg, var(--s-blue) 0 33.3%, var(--amber) 33.3% 66.6%, var(--s-green) 66.6% 100%); border-radius: 6px; }
.footer-bottom { padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.98rem; color: #A9BED3; }
.footer-bottom p { margin: 0; max-width: none; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.text-link { font-weight: 600; font-size: 1.1rem; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; display: none; }
  * { transition: none !important; }
}
@media print {
  .site-header, .nav-toggle, .hero__art, .page-hero__art, .cta__art, .filters, .form { display: none !important; }
  .hero, .page-hero, .cta, .section--navy, .site-footer { background: none !important; color: #000 !important; padding: 1.5rem 0 !important; }
  .hero p, .page-hero p, .cta p, .section--navy p { color: #000 !important; }
  body { font-size: 12pt; }
}

/* ---------- Backbone capacity chart (stacked columns, HTML) ---------- */
.cap-chart { position: relative; padding-left: 64px; }
.cap-grid { position: absolute; left: 64px; right: 0; top: 48px; height: 340px; }
.cap-grid__line { position: absolute; left: 0; right: 0; border-top: 1px solid #DDE5EE; }
.cap-grid__line:first-child { border-top: 2px solid #8FA2B6; }
.cap-grid__line span { position: absolute; left: -64px; width: 54px; text-align: right; transform: translateY(-55%); font-size: 1rem; font-weight: 500; color: var(--muted); }
.cap-cols { position: relative; display: flex; justify-content: space-around; gap: 1.5rem; }
.cap-col { display: flex; flex-direction: column; align-items: center; width: 42%; max-width: 170px; }
.cap-bar-area { height: 388px; width: 100%; display: flex; align-items: flex-end; padding-top: 48px; }
.cap-bar { width: 100%; position: relative; display: flex; flex-direction: column-reverse; gap: 3px; }
.cap-total { position: absolute; bottom: 100%; left: 0; right: 0; margin-bottom: 8px; text-align: center; font: 700 2rem/1 var(--serif); color: var(--ink); }
.cap-seg { flex-basis: 0; min-height: 0; background: var(--c); color: #FFFFFF; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; border-radius: 3px; outline-offset: 2px; }
.cap-bar .cap-seg:last-child { border-radius: 8px 8px 3px 3px; }
.cap-seg:hover { filter: brightness(1.1); }
.cap-label { margin-top: 1rem; text-align: center; line-height: 1.35; }
.cap-label b { display: block; font-size: 1.3rem; }
.cap-label span { color: var(--muted); font-size: 1rem; }

/* ---------- Areas of expertise (home) ---------- */
.xcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.xcards li { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.75rem 1.6rem; position: relative; overflow: hidden; }
.xcards li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c); }
.xcards__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); }
.xcards__icon svg { width: 36px; height: 36px; }
.xcards h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.xcards p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.1rem; }
.xcards a { margin-top: auto; font-weight: 600; }
@media (max-width: 1000px) { .xcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .xcards { grid-template-columns: 1fr; } }

/* ---------- Departments / skills ---------- */
.depts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.depts > li { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: var(--radius); padding: 1.75rem; }
.section--white .depts > li { background: var(--paper); }
.depts h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.dept__lead { font-style: italic; color: var(--muted); font-size: 1.05rem; margin-bottom: 1.1rem; }
.depts ul { list-style: none; display: grid; gap: 0.7rem; }
.depts ul li { position: relative; padding-left: 1.4rem; font-size: 1.06rem; line-height: 1.5; }
.depts ul li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--c); }
@media (max-width: 960px) { .depts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.grid-2--faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .grid-2--faq { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.3rem 0.25rem; font: 650 1.3rem/1.35 var(--serif); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FD1' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") no-repeat center / 18px;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__item p { margin: 0 0.25rem 1.4rem; color: var(--muted); font-size: 1.08rem; }

/* ---------- Footer with five columns ---------- */
.footer-top--five { grid-template-columns: 1.3fr 0.8fr 1.1fr 1.1fr 1.1fr; gap: 2rem; }
@media (max-width: 1100px) { .footer-top--five { grid-template-columns: 1fr 1fr 1fr; } .footer-top--five .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-top--five { grid-template-columns: 1fr; } }

/* ---------- Illustrations ---------- */
.illus { width: 100%; height: auto; display: block; }
.illus-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { .illus-scroll .illus { min-width: 760px; } }
.mb-3 { margin-bottom: 3rem; }

/* Banner illustrations on inner pages */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 3rem; align-items: center; }
.page-hero__illus svg { width: 100%; height: auto; display: block; }
.page-hero__illus:empty { display: none; }
@media (max-width: 980px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__illus { display: none; } }

/* Icons in the at-a-glance strip */
.numbers__icon { position: absolute; top: 1.75rem; right: 1.75rem; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, white); color: var(--c); }
.numbers__icon svg { width: 30px; height: 30px; }

/* Icons in info grids (competences, why, strategy) */
.info-grid h3 .ico { width: 34px; height: 34px; flex: none; color: var(--c, var(--blue)); }
.info-grid > div { padding-top: 1.75rem; }

/* Values */
.values__icon { width: 42px; height: 42px; color: var(--c); margin-bottom: 0.6rem; }

/* Departments */
.depts__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; background: color-mix(in srgb, var(--c) 13%, white); color: var(--c); }
.depts__icon svg { width: 32px; height: 32px; }

/* Service blocks */
.service-block__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem; background: color-mix(in srgb, var(--c) 13%, white); color: var(--c); }
.service-block__icon svg { width: 36px; height: 36px; }

/* Delivery wheel (services) */
.grid-2--wheel { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.wheel-fig { max-width: 560px; margin-inline: auto; width: 100%; }
.stage-map { list-style: none; display: grid; gap: 0.9rem; }
.stage-map li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: baseline; padding: 0.9rem 1.1rem; background: var(--white); border-radius: var(--radius-sm); border-left: 8px solid var(--c); }
.stage-map b { font: 700 1.3rem var(--serif); }
.stage-map span { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 560px) { .stage-map li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Venn (experience) */
.venn-fig { max-width: 560px; width: 100%; margin-inline: auto; align-self: center; }
@media (max-width: 900px) {
  .grid-2--wheel { grid-template-columns: 1fr; }
  .grid-2--wheel .wheel-fig { order: 2; max-width: 460px; }
}

/* ==========================================================================
   Positioning update (3 Dec 2026): headline, nine service areas, lifecycle
   ========================================================================== */

/* Hero: headline, sub-headline, tagline */
.hero h1 { max-width: 20ch; }
.hero__sub { font: 600 clamp(1.3rem, 2.3vw, 1.8rem)/1.35 var(--sans); color: var(--amber); max-width: 44ch; margin: 0 auto 1.1rem; text-wrap: balance; }
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero__sub { font-size: 1.2rem; }
}

/* Home: nine service-area cards, each with its own illustration */
.svc-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc-cards > li { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-bottom: 5px solid var(--c); }
.section--white .svc-cards > li { background: var(--paper); }
.svc-cards__art .scene { width: 100%; height: auto; display: block; }
.svc-cards__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.6rem 1.5rem; }
.svc-cards h3 { font-size: 1.38rem; display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.6rem; }
.svc-cards__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); margin-top: -2px; }
.svc-cards__icon svg { width: 24px; height: 24px; }
.svc-cards p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.1rem; }
.svc-cards a { margin-top: auto; font-weight: 600; }
@media (max-width: 1000px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-cards { grid-template-columns: 1fr; } }

/* Services page: picture index of the nine areas */
.svc-index ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-index a { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--c); color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.35; text-decoration: none; }
.svc-index a:hover { border-color: var(--c); box-shadow: 0 6px 18px -12px rgba(12,39,66,.45); }
.svc-index__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); }
.svc-index__icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .svc-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-index ul { grid-template-columns: 1fr; } }

/* Services page: illustration under each area's heading */
.service-block__art { margin-top: 1.4rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.service-block__art .scene { width: 100%; height: auto; display: block; }
.service-block { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Full ICT lifecycle (home, on navy) */
.lifecycle-fig { margin: 0; }
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; margin-bottom: 1rem; }
.lifecycle li {
  position: relative; background: var(--c); color: #FFFFFF; text-align: center;
  padding: 1.6rem 2.1rem 1.7rem 2.4rem;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 24px 50%);
}
.lifecycle li:first-child { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%); padding-left: 1.4rem; }
.lifecycle__icon { width: 54px; height: 54px; margin: 0 auto 0.8rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.lifecycle__icon svg { width: 30px; height: 30px; color: #FFFFFF; }
.lifecycle h3 { font-size: 1.3rem; color: #FFFFFF; margin-bottom: 0.4rem; }
.section--navy .lifecycle p, .lifecycle p { color: #FFFFFF; font-size: 1rem; line-height: 1.45; margin: 0 auto; }
.lifecycle__span { display: flex; align-items: center; justify-content: center; gap: 0.9rem; text-align: center; border: 2px dashed color-mix(in srgb, var(--c) 70%, transparent); border-radius: var(--radius); padding: 0.9rem 1.2rem; margin-top: 0.7rem; }
.lifecycle__span svg { flex: none; width: 30px; height: 30px; color: var(--c); }
.section--navy .lifecycle__span p { margin: 0; color: #E3ECF5; font-size: 1.05rem; max-width: none; }
.lifecycle__span b { color: #FFFFFF; font-weight: 600; }
@media (max-width: 1000px) {
  .lifecycle { grid-template-columns: 1fr; gap: 0.35rem; }
  .lifecycle li, .lifecycle li:first-child {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px));
    padding: 1.3rem 1.4rem 2.2rem;
  }
  .lifecycle li:last-child { clip-path: none; padding-bottom: 1.4rem; border-radius: 0 0 var(--radius) var(--radius); }
  .lifecycle li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .lifecycle__span { flex-direction: column; gap: 0.4rem; }
}

/* Footer with four columns (brand, pages, service areas, contact) */
.footer-top--four { grid-template-columns: 1.2fr 0.7fr 1.5fr 1.1fr; gap: 2.25rem; }
@media (max-width: 1100px) { .footer-top--four { grid-template-columns: 1fr 1fr; } .footer-top--four .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-top--four { grid-template-columns: 1fr; } }
.hero h1 { max-width: 24ch; }
.service-block ul { align-content: start; align-self: start; }
/* Who We Work With: five groups, three on top and two wider below */
.tiles--sectors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tiles--sectors > li { grid-column: span 2; }
.tiles--sectors > li:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 1080px) { .tiles--sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--sectors > li, .tiles--sectors > li:nth-child(n+4) { grid-column: auto; } .tiles--sectors > li:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .tiles--sectors { grid-template-columns: 1fr; } .tiles--sectors > li:last-child { grid-column: auto; } }
/* An odd last item in a two-column info grid spans the full width */
.info-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Office location map (Contact page) */
.office-map { margin: 1.75rem 0 0; }
.office-map__svg { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.contact-card .office-map figcaption { color: #B9CADB; font-size: 0.95rem; margin-top: 0.6rem; }
.map-pin { cursor: pointer; }
.map-pin:hover path, .map-pin:focus path { filter: brightness(1.08); }
.map-pin:focus { outline: none; }
.map-pin:focus-visible path { stroke: #FFFFFF; stroke-width: 4; }

/* ==========================================================================
   Review update (3 Dec 2026): four consultancy pillars, credentials path,
   enquiry form, contact bar
   ========================================================================== */

/* Pillar tag on service cards and service blocks */
.cp-tag { display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start; font-size: 0.95rem; font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--pc) 12%, white); border: 1px solid color-mix(in srgb, var(--pc) 45%, white); border-radius: 999px; padding: 0.2rem 0.75rem; margin-bottom: 0.8rem; line-height: 1.4; }
.cp-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pc); flex: none; }
.service-block__head .cp-tag { margin-bottom: 0.9rem; }

/* Four pillars as classical columns (Home page) */
.cp-fig { margin: 0; }
.cp-roof { position: relative; height: clamp(88px, 12vw, 150px); }
.cp-roof__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cp-roof span { position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; color: var(--white); font: 650 clamp(1.15rem, 2.4vw, 1.95rem)/1.2 var(--serif); letter-spacing: 0.005em; padding-inline: 18%; }
.cp-beam { height: 20px; margin: 0 -6px 14px; border-radius: 3px;
  background: linear-gradient(var(--navy), var(--navy)) top / 100% 11px no-repeat,
              linear-gradient(90deg, #1A73E0 0 25%, #0F9488 25% 50%, #D4690B 50% 75%, #1E9B3C 75% 100%) bottom / 100% 6px no-repeat; }
.cps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.cp { display: flex; flex-direction: column; }
.cp__capital { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-inline: -9px; padding: 0.85rem 1rem; border-radius: 6px 6px 2px 2px; background: var(--c); color: var(--white); font-weight: 700; font-size: 1.1rem; box-shadow: inset 0 -5px 0 rgba(0,0,0,.14); }
.cp__capital svg { width: 28px; height: 28px; }
.cp__shaft { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.25rem 1.5rem; text-align: center;
  background: repeating-linear-gradient(90deg, #FFFFFF 0 15px, #EEF3F8 15px 17px);
  border-inline: 1px solid var(--line); }
.cp__shaft h3 { font-size: 1.42rem; margin-bottom: 0.55rem; }
.cp__shaft > p { color: var(--muted); font-size: 1.05rem; margin: 0 auto 1.2rem; background: rgba(255,255,255,.92); }
.cp__areas { list-style: none; display: grid; gap: 0.6rem; margin-top: auto; text-align: left; }
.cp__areas a { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.75rem; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--sc); border-radius: 6px; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.3; text-decoration: none; }
.cp__areas a:hover { border-color: var(--sc); box-shadow: 0 6px 16px -12px rgba(12,39,66,.5); }
.cp__areas svg { flex: none; width: 24px; height: 24px; color: var(--sc); }
.cp__plinth { height: 16px; margin-inline: -9px; border-radius: 2px; background: var(--c); box-shadow: inset 0 5px 0 rgba(255,255,255,.18); }
.cp-base { margin-top: 0; }
.cp-base__step { height: 12px; margin-inline: -6px; background: #C4D3E2; }
.cp-base p { margin: 0 -14px; max-width: none; padding: 0.95rem 1.25rem; border-radius: 2px 2px 8px 8px; background: var(--navy); color: var(--white); text-align: center; font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.cp-fig figcaption { text-align: center; }
@media (max-width: 1080px) { .cps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; } .cp-beam { background: var(--navy); height: 12px; } }
@media (max-width: 620px) {
  .cps { grid-template-columns: 1fr; }
  .cp-roof span { padding-inline: 12%; bottom: 10%; }
  .cp-base p { margin-inline: -8px; }
}

/* Services page: index grouped by pillar */
.pindex > ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.pindex__group { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--pc); border-radius: var(--radius); padding: 1.1rem 1rem 1.15rem; }
.pindex__head { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 1.2rem; line-height: 1.25; margin-bottom: 0.9rem; }
.pindex__head svg { flex: none; width: 30px; height: 30px; color: var(--pc); margin-top: 0.1rem; }
.pindex__head small { display: block; font: 600 0.92rem var(--sans); color: var(--muted); margin-bottom: 0.15rem; }
.pindex ul { grid-template-columns: 1fr !important; gap: 0.6rem; }
.pindex a { font-size: 1.02rem; padding: 0.7rem 0.8rem; }
.pindex .svc-index__icon { width: 38px; height: 38px; }
.pindex .svc-index__icon svg { width: 22px; height: 22px; }
@media (max-width: 1080px) { .pindex > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pindex > ol { grid-template-columns: 1fr; } }

/* Mobile pediment: more height so the label sits inside the roof */
@media (max-width: 620px) {
  .cp-roof { height: 116px; }
  .cp-roof span { font-size: 1.08rem; bottom: 9%; padding-inline: 16%; }
}

/* Contact bar above the header (phone, email, credentials) */
.topbar { background: var(--navy-deep); color: #C9D7E5; font-size: 0.98rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: 44px; flex-wrap: wrap; }
.topbar__note { margin: 0; max-width: none; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--white); font-weight: 600; text-decoration: none; padding-block: 0.45rem; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 18px; height: 18px; color: var(--s-yellow); flex: none; }
@media (max-width: 860px) { .topbar__note { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 560px) { .topbar { font-size: 0.92rem; } .topbar__more { display: none; } .topbar ul { gap: 0.1rem 1.1rem; justify-content: center; } }

/* Shared call to action: credentials line */
.cta__cred { margin: 1.5rem auto 0 !important; font-size: 1.08rem !important; }
.cta__cred a { color: var(--s-yellow); font-weight: 600; }

/* Services page: per-service enquiry link */
.service-block__ask { font-style: normal !important; margin-bottom: 0; }

/* Buttons with an icon */
.btn__icon { width: 22px; height: 22px; margin-right: 0.5rem; flex: none; }
.btn { align-items: center; }

/* Experience page: basis note and credentials path */
.basis { border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: var(--radius); background: #FFF8EF; padding: 1.2rem 1.4rem; margin-top: 1.5rem; }
.basis h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.basis p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.cred-path { margin-top: 2.25rem; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.cred-path h3 { font-size: 1.5rem; }
.cred-path ol { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.cred-path li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.9rem; }
.cred-path li::before { content: counter(step); grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--s-yellow); font-weight: 700; font-size: 1.15rem; }
.cred-path li b { font-size: 1.12rem; }
.cred-path li span { color: var(--muted); font-size: 1.04rem; }
.cred-path__actions { display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; align-items: stretch; text-align: center; }
.cred-path__actions .btn { justify-content: center; }
.cred-path__actions p { margin: 0; font-size: 1rem; color: var(--muted); }
@media (max-width: 860px) { .cred-path { grid-template-columns: 1fr; } }

/* Contact page: direct links, reply note, enquiry form */
.contact-card__direct { display: grid; gap: 0.75rem; margin: 0.4rem 0 1rem; }
.direct { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); text-decoration: none; font-size: 1.12rem; overflow-wrap: anywhere; }
.direct:hover { background: rgba(255,255,255,.14); border-color: var(--s-yellow); }
.direct svg { width: 30px; height: 30px; color: var(--s-yellow); flex: none; }
.direct small { display: block; font-weight: 500; font-size: 0.92rem; color: #C9D7E5; }
.contact-card__reply { color: #D7E3EF; font-size: 1.02rem; margin: 0 0 1.4rem; }
.form-intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.15rem; min-width: 0; }
fieldset.field legend { font-weight: 600; font-size: 1.02rem; padding: 0; margin-bottom: 0.55rem; }
.choices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.choice, .check { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.7rem 0.85rem; border: 2px solid #B9C7D6; border-radius: 8px; background: #FBFCFD; cursor: pointer; font-size: 1.02rem; line-height: 1.35; }
.choice input, .check input { width: 20px; height: 20px; margin: 0.05rem 0 0; flex: none; accent-color: var(--blue); }
.choice:has(input:checked), .check:has(input:checked) { border-color: var(--blue); background: #EEF5FE; }
.choice:has(input:focus-visible), .check:has(input:focus-visible) { outline: 3px solid var(--s-yellow); outline-offset: 2px; }
.creds { background: var(--paper); border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 1rem 1.1rem 0.4rem !important; }
.creds legend { float: left; width: 100%; margin-bottom: 0.7rem; }
.creds__grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-bottom: 1rem; }
.creds__note { font-size: 0.98rem; color: var(--muted); }
.hint { font-size: 0.96rem; color: var(--muted); }
@media (max-width: 620px) { .choices__grid, .creds__grid { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; max-width: none; }

/* QA fixes (3 Dec 2026) */
.contact-card .btn--light { color: var(--ink); }                   /* was white on amber */
.cp__capital { font-size: 1.22rem; }                                /* large text: white on pillar colours passes 3:1 */

/* Services page (4 Dec 2026): drop each bulleted list so its first line sits on the same
   baseline as the service-area title beside it. The title starts below the icon (64px +
   1.1rem) and the pillar tag (1.9rem + 0.9rem); the last two terms match the title's and the
   list's first baselines (Source Serif 4 at line-height 1.15; IBM Plex Sans at 1.65). */
.service-block__head .cp-tag { display: flex; width: fit-content; height: 1.9rem; margin-bottom: 0.9rem; padding-block: 0; }
@media (min-width: 901px) {
  .service-block > ul { margin-top: calc(64px + 1.1rem + 1.9rem + 0.9rem + clamp(1.8rem, 3vw, 2.4rem) * 0.905 - 1.12rem * 1.172); align-self: start; }
}

/* Services page: Independent Advice (4 Dec 2026) */
.advice__title { text-align: center; font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; }
.tiles--advice .tile { display: flex; flex-direction: column; }
.tiles--advice .tile h3 { font-size: 1.3rem; }
.advice__actions { justify-content: center; margin: 2.25rem 0 0; }
