/* Capption website styles.
   Colours and spacing live in the tokens below; change them here, not in each rule. */

:root {
  /* Capption sapphire identity (brand handover 02, 26 Oct 2026) */
  --ink: #17252D;
  --primary: #0F52BA;          /* sapphire */
  --primary-hover: #103D86;    /* deep sapphire */
  --primary-light: #185FC2;    /* restrained lighter sapphire (gradient stop) */
  --primary-tint: #EFF4FB;     /* pale blue */
  --page: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #EFF4FB;      /* quiet supporting sections */
  --text-2: #4C616B;
  --border: #D7E0EB;
  --eyebrow: #0F52BA;
  /* Flow markers: done = sapphire, current = sapphire ring, upcoming = dashed grey */
  --upcoming: #7D8E97;
  --on-ink: #FFFFFF;
  --on-ink-2: #C9D6DA;
  --on-ink-link: #A8C7FA;
  --focus: #0F52BA;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, Helvetica, sans-serif;
  --max: 1160px;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-small: 8px;
  --space-section: clamp(56px, 8vw, 104px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.012em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.5rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 650; }

a { color: var(--primary); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); color: var(--text-2); line-height: 1.6; }
.muted { color: var(--text-2); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: var(--radius-small);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em; border-radius: var(--radius-small);
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; text-decoration: none; }
.btn-on-ink { background: var(--on-ink); color: var(--ink); }
.btn-on-ink:hover { background: var(--primary-tint); color: var(--ink); text-decoration: none; }
.btn-small { min-height: 44px; padding: 0.55em 1.05em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.text-link { font-weight: 650; text-decoration: none; display: inline-block; padding: 10px 0; line-height: 1.45; }
.text-link::after { content: "→"; display: inline-block; margin-left: 0.35em; transition: transform 0.15s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

/* Logo lockup: original symbol + live-text name + descriptor */
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-symbol { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-descriptor { font-size: 0.78rem; font-weight: 400; color: var(--text-2); letter-spacing: 0.01em; margin-top: 3px; white-space: nowrap; }
.brand-reverse, .brand-reverse:hover { color: var(--on-ink); }
.brand-reverse .brand-descriptor { color: var(--on-ink-2); }
.brand-tagline { margin: 14px 0 0; max-width: 32ch; color: var(--on-ink-2); overflow-wrap: break-word; }
/* Compact header on small screens: symbol + name; the descriptor stays in the footer */
@media (max-width: 600px) {
  .site-header .brand-descriptor { display: none; }
  .site-header .brand-symbol { width: 38px; height: 38px; }
  .site-header .brand-name { font-size: 1.35rem; }
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-small);
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem;
}
.site-nav ul a:hover { background: var(--primary-tint); color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }

.site-nav ul a, .header-cta { white-space: nowrap; }
.menu-toggle { display: none; }

@media (max-width: 1120px) {  /* menu button below 1120px: six links + button need the room */
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-small);
    font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* Without JavaScript the links simply wrap under the logo, and the header stops being sticky. */
  html:not(.js) .site-header { position: static; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 16px; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { width: 100%; padding: 0 12px; font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--primary); background: var(--primary-tint); }
  .header-cta { width: 100%; }

  .js .header-inner { flex-wrap: nowrap; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--page); border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(23, 42, 54, 0.12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-tight { padding: calc(var(--space-section) * 0.7) 0; }
.section-divider { border-top: 1px solid var(--border); }
.section-surface { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; margin: 0 0 0.9rem; font-size: 0.98rem; font-weight: 650; color: var(--eyebrow); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
/* Founder, 27 Oct: soft dot texture under the hero buttons. */
.hero::before { content: ""; position: absolute; left: 0; bottom: 0; width: min(470px, 40%); height: 200px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(15, 82, 186, 0.16) 1.6px, transparent 1.8px); background-size: 22px 22px; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { --stage-pad: clamp(22px, 2.6vw, 36px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
/* Founder, 27 Oct: heading and text start level with the top of the Management View card (not centred on it). */
@media (min-width: 901px) {
  .hero-grid > :first-child { padding-top: var(--stage-pad); }
  .hero h1, .tech-copy h2 { margin-top: -0.23em; } /* optical: letter tops level with the card / picture edge */
}
.hero h1 { max-width: none; font-size: clamp(2.05rem, 1.3rem + 2.6vw, 3.2rem); }
@media (min-width: 560px) { .h1-line { display: block; } }
.hero .lead { max-width: 58ch; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
/* The Management View card sits centred on a sapphire stage (gradient, logo-like waveform lines). Decorative only. */
.hero-visual { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: var(--stage-pad, 36px);
  background: linear-gradient(35deg, #103D86 0%, #0F52BA 55%, #185FC2 100%); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* Phones and tablets: the stage runs full width behind the card. */
@media (max-width: 900px) {
  .hero { padding-bottom: 0; }
  .hero::before { display: none; }
  .hero-visual { margin: 8px calc(-1 * var(--gutter)) 0; padding: 36px var(--gutter) 44px; border-radius: 0; }
}
/* Technology section (Founder, 27 Oct): same layout as the hero - heading and text on the left, top-aligned with the picture on the right. */
.tech-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tech-copy h2 { max-width: 22ch; }
.tech-copy .lead:last-child { margin-bottom: 0; }
.tech-art { display: block; width: 100%; height: auto; font-family: var(--font); font-size: 13px; fill: var(--text-2); }
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } .tech-art { max-width: 560px; } }
.tech-art .ta-key { font-weight: 700; fill: var(--primary); }

/* ---------- Services page (Founder, 27 Oct): homepage look, drawn pictures, light motion ---------- */
/* Hero: the question card sits on the same sapphire stage as the homepage Management View. */
.hero-services h1, .hero-esd h1, .hero-dg h1, .hero-about h1, .hero-contact h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.95rem); }
@media (min-width: 901px) { .hero-services, .hero-esd, .hero-dg, .hero-about, .hero-contact { padding-bottom: clamp(48px, 5vw, 64px); } }
.svc-section { padding: clamp(56px, 7vw, 96px) 0; }
.svc-ruled { border-top: 1px solid var(--border); }
.qn-card { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(23, 42, 54, 0.04), 0 18px 40px -18px rgba(23, 42, 54, 0.25); overflow: hidden; }
.qn-list { list-style: none; margin: 0; padding: 8px; }
.qn-list li { margin: 0; }
.qn-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; transition: background-color 0.2s ease; }
.qn-row::after { content: "→"; color: var(--primary); font-weight: 700; transition: transform 0.2s ease; }
.qn-row:hover, .qn-row:focus-visible { background: var(--primary-tint); color: var(--ink); text-decoration: none; }
.qn-row:hover::after, .qn-row:focus-visible::after { transform: translateX(4px); }
.qn-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); transition: background-color 0.2s ease, color 0.2s ease; }
.qn-icon svg { width: 22px; height: 22px; }
.qn-row:hover .qn-icon, .qn-row:focus-visible .qn-icon { background: var(--primary); color: #fff; }
.qn-q { display: block; font-weight: 600; line-height: 1.35; }
.qn-s { display: block; margin-top: 2px; font-size: 0.84rem; color: var(--text-2); }

/* Section bar: stays under the header while reading and marks the section in view. */
.anchor-nav.section-bar { position: sticky; top: var(--header-h); z-index: 40; margin: 0; padding: 10px 0; background: rgba(255, 255, 255, 0.95); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@supports (backdrop-filter: blur(6px)) { .anchor-nav.section-bar { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); } }
html:not(.js) .anchor-nav.section-bar { position: static; }
.anchor-nav.section-bar ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.anchor-nav.section-bar ul::-webkit-scrollbar { display: none; }
.anchor-nav.section-bar a { min-height: 40px; white-space: nowrap; }
.anchor-nav.section-bar a.is-current { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-hover); }
.anchor-nav.section-bar a.is-current:hover, .anchor-nav.section-bar a.is-current:focus-visible { background: var(--primary); color: #fff; }
.svc-section, .section[id] { scroll-margin-top: 50px; }

/* Service rows: text and a drawn picture side by side, alternating sides; the picture stays in view on long sections. */
.svc-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "head art" "body art"; grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 72px); }
.svc-row.is-flipped { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-areas: "art head" "art body"; }
.svc-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 14px; }
.svc-head h2 { flex: 0 0 100%; max-width: none; margin: 0 0 0.55em; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); }
.svc-head .tag { margin: 0; }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--primary-tint); color: var(--primary); }
.svc-icon svg { width: 30px; height: 30px; }
.svc-body { grid-area: body; max-width: var(--measure); }
.svc-body > :last-child { margin-bottom: 0; }
.svc-art-wrap { grid-area: art; align-self: start; }
@media (min-width: 901px) { .svc-art-wrap { position: sticky; top: calc(var(--header-h) + 88px); } }
.svc-art { display: block; width: 100%; height: auto; font-family: var(--font); font-size: 14px; fill: var(--text-2); }
.svc-art .k { font-weight: 700; fill: var(--primary); }
.svc-art .k-ink { font-weight: 650; fill: var(--ink); }
.svc-art .k-white { font-weight: 700; fill: #fff; }
.svc-art .sm { font-size: 12px; }
.svc-art .sm-white { font-size: 12px; fill: rgba(255, 255, 255, 0.8); }
@media (max-width: 900px) {
  .svc-row, .svc-row.is-flipped { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "art" "body"; grid-template-rows: auto; }
  .svc-art-wrap { max-width: 520px; margin-bottom: 28px; }
}

/* What happens next: four connected steps. */
.next-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.next-flow li { position: relative; margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.next-flow li:not(:last-child)::after { content: ""; position: absolute; top: 43px; right: -23px; width: 24px; height: 2px; background: var(--primary); transform-origin: left center; }
.next-marker { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; }
.next-flow li:last-child .next-marker { background: linear-gradient(35deg, #103D86, #185FC2); box-shadow: 0 0 0 5px var(--primary-tint); }
.next-flow h3 { margin-bottom: 0.4em; font-size: 1.12rem; }
.next-flow p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.next-cta { margin-top: clamp(28px, 4vw, 40px); }
@media (max-width: 900px) { .next-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .next-flow li::after { display: none; } }
@media (max-width: 560px) { .next-flow { grid-template-columns: minmax(0, 1fr); } }

/* Motion (only with JavaScript and when the visitor has not asked for reduced motion; see site.js).
   Content already on screen at load shows at once; content further down eases in as it is reached. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .svc-body[data-reveal] { transition-delay: 0.08s; }
.motion .svc-art .nd, .motion .svc-art .ln { opacity: 0; }
.motion .svc-art .nd { transform: scale(0.6); transform-box: fill-box; transform-origin: center; }
.motion .svc-art .gr { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; }
.motion .svc-art .gr-up .gr { transform: scaleY(0); transform-origin: center bottom; }
.motion .svc-art .rise { opacity: 0; transform: translateY(26px); }
.motion .is-in .svc-art .nd, .motion .is-in .svc-art .ln, .motion .is-in .svc-art .gr, .motion .is-in .svc-art .rise {
  opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .is-in .svc-art .d1 { transition-delay: 0.2s; }
.motion .is-in .svc-art .d2 { transition-delay: 0.38s; }
.motion .is-in .svc-art .d3 { transition-delay: 0.56s; }
.motion .is-in .svc-art .d4 { transition-delay: 0.74s; }
.motion .is-in .svc-art .d5 { transition-delay: 0.92s; }
.motion .next-flow[data-reveal] { opacity: 1; transform: none; }
.motion .next-flow li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease; }
.motion .next-flow li::after { transform: scaleX(0); transition: transform 0.4s ease; }
.motion .next-flow.is-in li { opacity: 1; transform: none; }
.motion .next-flow.is-in li::after { transform: none; }
.motion .next-flow.is-in li:nth-child(2) { transition-delay: 0.15s; }
.motion .next-flow.is-in li:nth-child(3) { transition-delay: 0.3s; }
.motion .next-flow.is-in li:nth-child(4) { transition-delay: 0.45s; }
.motion .next-flow.is-in li:nth-child(1)::after { transition-delay: 0.3s; }
.motion .next-flow.is-in li:nth-child(2)::after { transition-delay: 0.45s; }
.motion .next-flow.is-in li:nth-child(3)::after { transition-delay: 0.6s; }

/* ---------- ESD Analyzer page (Founder, 27 Oct): same standard as Services ---------- */

/* Delivery to evidence: four separate steps, each with its own evidence; colour deepens along the chain. */
.evidence-chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.evidence-chain li { position: relative; margin: 0; display: flex; flex-direction: column; padding: 24px 22px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.evidence-chain li:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -29px; width: 30px; border-top: 2px dashed rgba(15, 82, 186, 0.55); transform-origin: left center; }
.chain-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: var(--primary-tint); color: var(--primary); }
.chain-icon svg { width: 28px; height: 28px; }
.evidence-chain li:nth-child(2) .chain-icon { background: rgba(15, 82, 186, 0.16); }
.evidence-chain li:nth-child(3) .chain-icon { background: var(--primary); color: #fff; }
.evidence-chain li:nth-child(4) .chain-icon { background: linear-gradient(35deg, #103D86, #185FC2); color: #fff; }
.evidence-chain strong { font-size: 1.1rem; line-height: 1.3; }
.evidence-chain span:not([class]) { margin-top: 4px; color: var(--text-2); font-size: 0.95rem; }
.chain-evidence { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 0.82rem; font-weight: 700; color: var(--primary-hover); }
.chain-evidence::before { content: ""; flex: none; width: 10px; height: 13px; border: 2px solid currentColor; border-radius: 2px; }
.evidence-chain + .chain-caption { margin-top: 20px; font-size: 0.95rem; }
@media (max-width: 900px) { .evidence-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .evidence-chain li::after { display: none; } }
@media (max-width: 560px) { .evidence-chain { grid-template-columns: minmax(0, 1fr); } }

/* Limits: a dark panel, with what the review is not shown at a glance. */
.limits-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 22px; background: var(--ink); color: var(--on-ink); }
.limits-panel h2 { color: var(--on-ink); }
.limits-panel p { max-width: 60ch; color: var(--on-ink-2); }
.limits-panel .btn-row { margin-bottom: 0; }
.not-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.not-list li { margin: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 600; color: var(--on-ink); }
.not-list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--on-ink-link);
  background: linear-gradient(45deg, transparent 43%, var(--on-ink-link) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--on-ink-link) 43% 57%, transparent 57%); }
@media (max-width: 900px) { .limits-panel { grid-template-columns: minmax(0, 1fr); } }

/* Hero eyebrow (Founder, 27 Oct): the eyebrow's letter tops sit level with the top of the card, as the homepage title does. */
@media (min-width: 901px) {
  .hero .hero-grid > :first-child > .eyebrow:first-child { display: block; margin-top: -0.44em; }
  .hero .eyebrow + h1 { margin-top: 0; }
}

/* Icon beside the heading (Founder, 27 Oct: every Services and ESD picture row). The icon sits in its own column,
   centred on the heading; any tag sits above the heading; the heading and the paragraphs start on the same line. */
.has-side-icon { --side: 68px; }
.svc-head-side { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: center; margin-bottom: 20px; }
.svc-head-side > .tag { grid-column: 2; grid-row: 1; justify-self: start; margin: 0 0 14px; }
.svc-head-side > h2 { grid-column: 2; grid-row: 2; margin: 0; }
.svc-head-side > .svc-icon { grid-column: 1; grid-row: 2; width: 52px; height: 52px; }
.svc-head-side .svc-icon svg { width: 28px; height: 28px; }
.has-side-icon .svc-body { padding-left: var(--side); }
@media (max-width: 560px) {
  .svc-head-side { grid-template-columns: minmax(0, 1fr); }
  .svc-head-side > .svc-icon { grid-column: 1; grid-row: 1; margin-bottom: 16px; }
  .svc-head-side > .tag { grid-column: 1; grid-row: 2; }
  .svc-head-side > h2 { grid-column: 1; grid-row: 3; }
  .has-side-icon .svc-body { padding-left: 0; }
}

/* Blue wave band: extra pieces for the ESD evidence chain on blue. */
.band-blue .chain-caption { color: rgba(255, 255, 255, 0.85); }
.band-blue .evidence-chain li:not(:last-child)::after { border-top-color: rgba(255, 255, 255, 0.75); }

/* What we explore (Founder, 27 Oct, simplified): heading top left like the rest of the site; a round sapphire hub
   with an icon, soft rings and the brand wave lines behind it; three question cards on each side. No numbers, no spokes. */
.explore-orbit { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 280px) minmax(0, 1fr); grid-template-rows: repeat(3, auto);
  column-gap: clamp(24px, 3vw, 48px); row-gap: 24px; align-items: center; padding: 12px 0; }
.orbit-waves { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 200px; transform: translateY(-50%); pointer-events: none; }
.orbit-cards { display: contents; list-style: none; }
.orbit-hub { grid-column: 2; grid-row: 1 / 4; position: relative; z-index: 1; justify-self: center; display: grid; place-items: center;
  width: clamp(150px, 15vw, 190px); aspect-ratio: 1; border-radius: 50%; color: #fff;
  background: linear-gradient(35deg, #103D86 0%, #0F52BA 55%, #185FC2 100%); box-shadow: 0 24px 48px -24px rgba(16, 61, 134, 0.6); }
.orbit-hub::before, .orbit-hub::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(15, 82, 186, 0.16); pointer-events: none; }
.orbit-hub::before { inset: -22px; }
.orbit-hub::after { inset: -46px; border-color: rgba(15, 82, 186, 0.09); }
.orbit-hub svg { width: 46%; height: 46%; }
.orbit-cards li { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin: 0; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 28px -22px rgba(23, 42, 54, 0.4); font-weight: 600; line-height: 1.4; }
.orbit-cards li:nth-child(-n+3) { grid-column: 1; }
.orbit-cards li:nth-child(n+4) { grid-column: 3; }
.orbit-cards li:nth-child(1), .orbit-cards li:nth-child(4) { grid-row: 1; }
.orbit-cards li:nth-child(2), .orbit-cards li:nth-child(5) { grid-row: 2; }
.orbit-cards li:nth-child(3), .orbit-cards li:nth-child(6) { grid-row: 3; }
.explore-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--primary-tint); color: var(--primary); }
.explore-icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .explore-orbit { display: block; padding: 0; }
  .orbit-waves { top: 59px; transform: none; height: 140px; }
  .orbit-hub { width: 130px; margin: 64px auto 64px; }
  .orbit-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; }
  .orbit-cards li:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 560px) { .orbit-cards { grid-template-columns: minmax(0, 1fr); } }

/* Blue wave band (first used on ESD "How to Start"; Founder, 27 Oct: reuse it). Sapphire gradient, brand wave lines, soft glow.
   White cards inside keep their own colours; only the section's own heading, text, icon tile, links and buttons turn light. */
.band-blue { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(35deg, #103D86 0%, #0F52BA 55%, #185FC2 100%); }
.band-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.band-blue .section-head h2, .band-blue .svc-head h2 { color: #fff; }
.band-blue .section-head p, .band-blue .section-head .lead { color: rgba(255, 255, 255, 0.85); }
.band-blue .svc-body { color: rgba(255, 255, 255, 0.92); }
.band-blue .svc-body .text-link { color: #fff; }
.band-blue .svc-icon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.band-blue .svc-body .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.band-blue .svc-body .btn-secondary:hover, .band-blue .svc-body .btn-secondary:focus-visible { background: #fff; border-color: #fff; color: var(--primary-hover); }
.band-blue .svc-art { filter: drop-shadow(0 22px 34px rgba(8, 20, 48, 0.35)); }
.band-blue :focus-visible { outline-color: #fff; }
.band-blue .fit-card :focus-visible, .band-blue .start-flow :focus-visible { outline-color: var(--focus); }

/* How to start (Founder, 27 Oct: richer): on the blue wave band, three white step cards with icons, the confidentiality note as a glass panel. */
.start-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.start-flow li { position: relative; margin: 0; padding: 26px 26px 24px; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 22px 44px -26px rgba(8, 20, 48, 0.6); }
.start-flow li:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -33px; width: 34px; height: 2px; transform-origin: left center;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0 6px, transparent 6px 11px); }
.start-icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 16px; background: var(--primary-tint); color: var(--primary); }
.start-icon svg { width: 32px; height: 32px; }
.start-num { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.8rem; font-weight: 700; box-shadow: 0 0 0 3px var(--surface); }
.start-flow h3 { margin-bottom: 0.4em; font-size: 1.15rem; }
.start-flow p { margin: 0; color: var(--text-2); }
.start-note { display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin-top: clamp(28px, 4vw, 40px); padding: 18px 22px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); }
.start-note p { margin: 0; color: #fff; }
.note-glyph { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; color: #fff; }
.note-glyph svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .start-flow { grid-template-columns: minmax(0, 1fr); gap: 20px; } .start-flow li::after { display: none; } }

/* Motion for the ESD diagrams: the hub appears, then the links and cards in turn. */
.motion .explore-orbit[data-reveal], .motion .evidence-chain[data-reveal], .motion .start-flow[data-reveal] { opacity: 1; transform: none; }
.motion .orbit-hub { opacity: 0; transform: scale(0.85); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .orbit-waves { opacity: 0; transition: opacity 0.8s ease 0.2s; }
.motion .orbit-cards li, .motion .evidence-chain li, .motion .start-flow li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease; }
.motion .evidence-chain li::after, .motion .start-flow li::after { transform: scaleX(0); transition: transform 0.4s ease; }
.motion .is-in .orbit-hub, .motion .is-in .orbit-waves, .motion .is-in .orbit-cards li,
.motion .evidence-chain.is-in li, .motion .start-flow.is-in li { opacity: 1; transform: none; }
.motion .evidence-chain.is-in li::after, .motion .start-flow.is-in li::after { transform: none; }
.motion .is-in .orbit-cards li:nth-child(1), .motion .is-in .orbit-cards li:nth-child(4) { transition-delay: 0.3s; }
.motion .is-in .orbit-cards li:nth-child(2), .motion .is-in .orbit-cards li:nth-child(5) { transition-delay: 0.42s; }
.motion .is-in .orbit-cards li:nth-child(3), .motion .is-in .orbit-cards li:nth-child(6) { transition-delay: 0.54s; }
.motion .evidence-chain.is-in li:nth-child(2), .motion .start-flow.is-in li:nth-child(2) { transition-delay: 0.12s; }
.motion .evidence-chain.is-in li:nth-child(3), .motion .start-flow.is-in li:nth-child(3) { transition-delay: 0.24s; }
.motion .evidence-chain.is-in li:nth-child(4) { transition-delay: 0.36s; }
.motion .evidence-chain.is-in li:nth-child(1)::after, .motion .start-flow.is-in li:nth-child(1)::after { transition-delay: 0.3s; }
.motion .evidence-chain.is-in li:nth-child(2)::after, .motion .start-flow.is-in li:nth-child(2)::after { transition-delay: 0.42s; }
.motion .evidence-chain.is-in li:nth-child(3)::after { transition-delay: 0.54s; }

/* ---------- Digital Growth page (Founder, 27 Oct): same standard as Services and ESD ---------- */
/* The hero starting-point rows jump to a card; the card being pointed to is ringed so the eye finds it. */
.card-action h3[id] { scroll-margin-top: 200px; }
.card-action:has(h3:target) { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(255, 255, 255, 0.45); }
.motion .dg-cards[data-reveal] { opacity: 1; transform: none; }
.motion .dg-cards .card { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.motion .dg-cards.is-in .card { opacity: 1; transform: none; }
.motion .dg-cards.is-in .card:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s, 0s, 0s; }
.motion .dg-cards.is-in .card:nth-child(3) { transition-delay: 0.2s, 0.2s, 0s, 0s, 0s; }
.motion .dg-cards.is-in .card:nth-child(4) { transition-delay: 0.3s, 0.3s, 0s, 0s, 0s; }

/* ---------- Home lift (Founder, 27 Oct): same standard as the inner pages ---------- */
.fit-icon { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 14px; background: var(--primary-tint); color: var(--primary); transition: background-color 0.2s ease, color 0.2s ease; }
.fit-icon svg { width: 28px; height: 28px; }
.fit-card:hover .fit-icon, .fit-card:focus-within .fit-icon { background: rgba(255, 255, 255, 0.12); color: var(--on-ink-link); }
.band-blue .svc-body .lead { color: rgba(255, 255, 255, 0.88); }
.closing .closing-box { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.closing-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: #fff;
  background: linear-gradient(35deg, #103D86 0%, #0F52BA 55%, #185FC2 100%); box-shadow: 0 16px 32px -18px rgba(16, 61, 134, 0.7); }
.closing-icon svg { width: 34px; height: 34px; }
@media (max-width: 760px) { .closing .closing-box { grid-template-columns: minmax(0, 1fr); } .closing-icon { width: 56px; height: 56px; } }
/* Home lists arrive one item after another. */
.motion .question-grid[data-reveal], .motion .fit-grid[data-reveal] { opacity: 1; transform: none; }
.motion .question-grid li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease; }
.motion .fit-grid .fit-card { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.motion .question-grid.is-in li, .motion .fit-grid.is-in .fit-card { opacity: 1; transform: none; }
.motion .question-grid.is-in li:nth-child(2) { transition-delay: 0.12s; }
.motion .question-grid.is-in li:nth-child(3) { transition-delay: 0.24s; }
.motion .question-grid.is-in li:nth-child(4) { transition-delay: 0.36s; }
.motion .fit-grid.is-in .fit-card:nth-child(2) { transition-delay: 0.12s, 0.12s, 0s, 0s, 0s; }
.motion .fit-grid.is-in .fit-card:nth-child(3) { transition-delay: 0.24s, 0.24s, 0s, 0s, 0s; }

/* ---------- About and Contact (Founder, 27 Oct): same standard ---------- */
/* Founder card on the hero stage (About); the contact card sits on the same stage (Contact). */
.founder-card { position: relative; margin: 0; padding: 22px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(23, 42, 54, 0.04), 0 18px 40px -18px rgba(23, 42, 54, 0.25); }
.founder-top { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.founder-avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: linear-gradient(35deg, #103D86 0%, #0F52BA 55%, #185FC2 100%); }
.founder-avatar svg { width: 30px; height: 30px; }
.founder-name { margin: 0; font-size: 1.2rem; font-weight: 700; }
.founder-role { margin: 2px 0 0; font-weight: 600; color: var(--primary-hover); }
.founder-org { margin: 2px 0 0; font-size: 0.9rem; color: var(--text-2); }
.founder-label { margin: 0 0 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
.founder-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.founder-steps li { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 600; }
.founder-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder-chips li { margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-hover); font-size: 0.86rem; font-weight: 650; }
@media (min-width: 901px) { .hero-contact .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.hero-contact .contact-card .founder-top { margin-bottom: 20px; }
.hero-contact .contact-card .contact-role { margin: 4px 0 0; }
.hero-contact .contact-card .contact-email { overflow-wrap: anywhere; font-size: clamp(1.1rem, 0.55rem + 1.2vw, 1.55rem); }

/* About: five approach steps in one connected row (wraps on smaller screens). */
.start-flow.flow-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.flow-5 li { padding: 22px 20px 20px; }
.flow-5 li:not(:last-child)::after { right: -25px; width: 26px; }
.flow-5 h3 { font-size: 1.02rem; }
.flow-5 p { font-size: 0.94rem; }
@media (max-width: 1180px) { .start-flow.flow-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-5 li::after { display: none; } }
@media (max-width: 600px) { .start-flow.flow-5 { grid-template-columns: minmax(0, 1fr); } }

/* Contact: four detail cards with icons on the blue band, then the privacy note. */
.details-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.details-grid li { margin: 0; padding: 24px 22px; border-radius: 16px; background: var(--surface); color: var(--ink); font-weight: 600; line-height: 1.4; box-shadow: 0 22px 44px -26px rgba(8, 20, 48, 0.6); }
.details-grid .start-icon { margin-bottom: 16px; }
@media (max-width: 900px) { .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .details-grid { grid-template-columns: minmax(0, 1fr); } }

/* Motion: approach steps and detail cards arrive one after another. */
.motion .details-grid[data-reveal] { opacity: 1; transform: none; }
.motion .details-grid li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease; }
.motion .details-grid.is-in li { opacity: 1; transform: none; }
.motion .details-grid.is-in li:nth-child(2), .motion .start-flow.is-in li:nth-child(2) { transition-delay: 0.12s; }
.motion .details-grid.is-in li:nth-child(3), .motion .start-flow.is-in li:nth-child(3) { transition-delay: 0.24s; }
.motion .details-grid.is-in li:nth-child(4), .motion .start-flow.is-in li:nth-child(4) { transition-delay: 0.36s; }
.motion .start-flow.is-in li:nth-child(5) { transition-delay: 0.48s; }
.motion .start-flow.is-in li:nth-child(3)::after { transition-delay: 0.54s; }
.motion .start-flow.is-in li:nth-child(4)::after { transition-delay: 0.66s; }

/* ---------- Illustrative management view ---------- */
.mgmt-view {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(23, 42, 54, 0.04), 0 18px 40px -18px rgba(23, 42, 54, 0.25);
  overflow: hidden;
}
.mgmt-view-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 22px 14px; border-bottom: 1px solid var(--border); }
.mgmt-view-title { margin: 0; font-size: 1rem; font-weight: 700; }
.mgmt-view-sub { margin: 0; font-size: 0.86rem; color: var(--text-2); }
.mgmt-steps { list-style: none; margin: 0; padding: 14px 22px 8px; --flow-pad: 10px; }
.mgmt-steps li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 10px 0 14px; margin: 0; }
.mgmt-q { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.mgmt-a { display: block; font-size: 1rem; font-weight: 600; line-height: 1.4; margin-top: 2px; }
.chip { display: inline-block; margin-top: 6px; padding: 1px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 650; line-height: 1.6; border: 1px solid transparent; }
.chip-done { background: var(--primary-tint); color: var(--primary-hover); }
.chip-current { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.chip-next { background: var(--surface); color: var(--ink); border: 1px dashed var(--upcoming); }

/* Shared step marker + connector line (management view): done -> current -> upcoming */
.flow-marker {
  position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 0.82rem; font-weight: 700; line-height: 1; background: var(--primary); color: #fff; border: 2px solid var(--primary);
}
.flow-marker.is-current { background: var(--surface); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.flow-marker.is-next { background: var(--surface); color: var(--text-2); border: 2px dashed var(--upcoming); }
.flow-v > li:not(:last-child)::after {
  content: ""; position: absolute; left: 13px; width: 2px; top: calc(var(--flow-pad) + 32px); bottom: calc(4px - var(--flow-pad));
  background: var(--primary);
}
.flow-v > li.is-current-step:not(:last-child)::after {
  background: repeating-linear-gradient(to bottom, var(--upcoming) 0 5px, transparent 5px 10px);
}
.mgmt-view figcaption {
  display: flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--page);
  border-top: 1px solid var(--border); font-size: 0.85rem; font-weight: 600; color: var(--text-2);
}
.mgmt-view figcaption::before { content: "i"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 0.72rem; font-weight: 800; font-style: italic; font-family: Georgia, serif; }

/* ---------- Question sequence ---------- */
.question-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: q; }
.question-grid li { position: relative; counter-increment: q; margin: 0; }
.question-grid li::before {
  content: counter(q); position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.question-grid li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 44px; right: -12px; height: 2px; background: #9DB9E6; }
.question-grid strong { display: block; font-size: 1.12rem; line-height: 1.35; text-wrap: balance; }
@media (max-width: 900px) {
  .question-grid { grid-template-columns: 1fr; gap: 0; }
  .question-grid li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: center; padding: 10px 0; }
  .question-grid li::before { margin: 0; }
  .question-grid li:not(:last-child)::after { top: 46px; bottom: -6px; left: 15px; right: auto; width: 2px; height: auto; }
}
.statement { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 600; max-width: 40ch; margin-top: 2rem; }

/* ---------- Fit / service introductions ---------- */
/* Three equal cards (Founder, 26 Oct: equal weight). White at rest; hover or keyboard focus turns
   the card ink ("dark mode"). The whole card is clickable via its link. */
.fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.fit-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fit-card p { color: var(--text-2); transition: color 0.2s ease; }
/* Clickable cards (home fit cards, Digital Growth cards): the whole card is the link and turns ink on hover or focus. */
.card-action { position: relative; display: flex; flex-direction: column; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.card-action p { transition: color 0.2s ease; }
.card.card-action p { margin-bottom: 10px; }
.fit-card .text-link, .card-action .text-link { margin-top: auto; }
.fit-card .text-link::before, .card-action .text-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.fit-card:hover, .fit-card:focus-within, .card-action:hover, .card-action:focus-within { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.fit-card:hover p, .fit-card:focus-within p, .card-action:hover p, .card-action:focus-within p { color: var(--on-ink-2); }
.fit-card:hover .text-link, .fit-card:focus-within .text-link, .card-action:hover .text-link, .card-action:focus-within .text-link { color: var(--on-ink-link); }
.fit-card:hover .tag, .fit-card:focus-within .tag { background: rgba(255, 255, 255, 0.12); color: var(--on-ink); border-color: var(--on-ink-link); }
.fit-card .text-link:focus-visible, .card-action .text-link:focus-visible { outline-color: var(--on-ink-link); }
/* Digital Growth card icons (Founder, 26 Oct): drawn for each card, sapphire on a pale tile; light blue on ink when the card is hovered or focused. */
.dg-icon { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 14px; background: var(--primary-tint); color: var(--primary); transition: background-color 0.2s ease, color 0.2s ease; }
.dg-icon svg { width: 34px; height: 34px; }
.card-action:hover .dg-icon, .card-action:focus-within .dg-icon { background: rgba(255, 255, 255, 0.12); color: var(--on-ink-link); }
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }

.tag { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 3px 10px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-hover); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.tag-developing { background: var(--surface); color: var(--primary-hover); border: 1px dashed var(--primary); padding: 2px 9px; }

/* ---------- Ink panel ---------- */
.panel-ink { background: var(--ink); color: var(--on-ink); }
.panel-ink p { color: var(--on-ink-2); }
.panel-ink a:not(.btn) { color: var(--on-ink-link); }
.panel-ink .eyebrow { color: var(--on-ink-link); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split h2 { max-width: 20ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split h2, .service-block h2 { max-width: 22ch; } }


/* ---------- Closing invitation ---------- */
.closing { text-align: left; }
.closing-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: clamp(28px, 5vw, 56px); border-radius: 14px; background: var(--primary-tint); border: 1px solid #C9D8EE; }
.closing-box h2 { margin-bottom: 0.4em; }
.closing-box p { margin: 0; color: var(--text-2); max-width: 56ch; }
.closing-box .btn-row { margin-top: 0; }
@media (max-width: 760px) { .closing-box { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-intro { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--border); }
.page-intro h1 { max-width: 20ch; }
.page-intro .lead { max-width: 62ch; }

.anchor-nav { position: relative; margin-top: 2rem; }
.anchor-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.anchor-nav li { margin: 0; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.anchor-nav a { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.anchor-nav a:hover, .anchor-nav a:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; }

.service-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 72px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--border); }
.service-block:first-child { border-top: 0; }
/* Side-column headings wrap normally; the build's &nbsp; keeps a short last word with its neighbour
   ("Who the discussion / is for"). Balanced wrapping split these too early. */
.service-block h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); max-width: 20ch; text-wrap: wrap; }
.service-block .body { max-width: var(--measure); }
.service-block .body > :last-child { margin-bottom: 0; }
@media (max-width: 820px) { .service-block { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 750; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Delivery chain (ESD page) */
.chain { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chain li { margin: 0; position: relative; padding: 16px 16px 14px; border-radius: var(--radius-small); background: var(--surface); border: 1px solid var(--border); font-weight: 650; line-height: 1.35; }
.chain li span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-2); margin-top: 4px; }
.chain li:nth-child(1) { border-top: 4px solid #9DB9E6; }
.chain li:nth-child(2) { border-top: 4px solid #4F7FCB; }
.chain li:nth-child(3) { border-top: 4px solid var(--primary); }
.chain li:nth-child(4) { border-top: 4px solid var(--ink); }
.chain-caption { margin-top: 12px; font-size: 0.88rem; color: var(--text-2); }
@media (max-width: 760px) { .chain { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .chain { grid-template-columns: 1fr; } }

.note {
  padding: 16px 20px; border-radius: var(--radius-small); background: var(--primary-tint); border-left: 4px solid var(--primary); max-width: var(--measure);
}
.steps + .note, .card-grid + .note { margin-top: 24px; }
.section-surface .note { background: var(--surface); }
.note p { margin: 0; }

.limits { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 2px solid var(--ink); background: var(--surface); max-width: 820px; }
.limits h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); }
.limits p:last-child { margin-bottom: 0; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.card h3 { margin-bottom: 0.45em; }
.card p { margin: 0; color: var(--text-2); }
@media (max-width: 680px) { .card-grid { grid-template-columns: 1fr; } }

.approach { list-style: none; padding: 0; margin: 0; counter-reset: a; max-width: 820px; }
.approach li { position: relative; counter-increment: a; display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding: 14px 0; margin: 0; }
.approach li::before {
  content: counter(a); position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.approach li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 50px; bottom: -10px; width: 2px; background: #9DB9E6; }
.approach strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.approach p { margin: 0; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 18px 40px -24px rgba(23, 42, 54, 0.3); }
.contact-name { font-size: 1.3rem; font-weight: 700; margin: 0; }
.contact-role { margin: 4px 0 22px; color: var(--text-2); }
.contact-email-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); margin: 0 0 4px; }
.contact-email {
  display: block; margin: 0 0 6px; font-size: clamp(1.2rem, 1rem + 1.2vw, 1.6rem); font-weight: 700;
  color: var(--ink); overflow-wrap: break-word; user-select: all; -webkit-user-select: all;
}
@media (max-width: 400px) { .contact-email { font-size: 1.15rem; } }
.contact-subject { font-size: 0.92rem; color: var(--text-2); margin: 0 0 20px; }
.contact-subject strong { color: var(--ink); font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-help { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-2); }
.copy-status { margin: 12px 0 0; font-size: 0.92rem; font-weight: 600; }
.copy-status:empty { margin: 0; }
.copy-status.is-ok { color: var(--primary-hover); }
.copy-status.is-error { color: var(--ink); }

/* ---------- Privacy document ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem); margin-top: 2.2em; }
.doc-meta { color: var(--text-2); font-size: 0.95rem; }

/* ---------- 404 ---------- */
.notfound { padding: clamp(64px, 12vw, 140px) 0; }
.notfound-code { font-size: 0.98rem; font-weight: 650; color: var(--primary); margin: 0 0 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding: clamp(48px, 6vw, 72px) 0 24px; margin-top: 0; }
.site-footer a:not(.brand) { color: var(--on-ink); }
.site-footer a:not(.brand):hover { color: var(--on-ink-link); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 32px; }
.footer-heading { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 12px; }
.footer-email { overflow-wrap: break-word; }
.nowrap { white-space: nowrap; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.88rem; }
.footer-legal p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Release 18 structure (Founder, 27 Oct: Solutions / Services / Our Approach) ---------- */
/* Header: a page inside a section marks its parent menu item (class only; aria-current stays with the real page). */
.site-nav ul a.is-ancestor { color: var(--primary); box-shadow: inset 0 -2px 0 rgba(15, 82, 186, 0.4); border-radius: 0; }
@media (max-width: 1120px) { .site-nav ul a.is-ancestor { box-shadow: inset 3px 0 0 rgba(15, 82, 186, 0.4); } }

/* Breadcrumb on section pages (ESD under Solutions, Digital Growth under Services). */
.breadcrumb { padding-top: clamp(16px, 2vw, 24px); font-size: 0.9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; color: var(--text-2); }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--upcoming); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--primary); }
.breadcrumb [aria-current="page"] { font-weight: 600; color: var(--ink); }
.breadcrumb + .hero { padding-top: clamp(24px, 4vw, 56px); }

/* Footer: identity, contact and two link groups. */
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 0.8fr; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Solutions and Services: entry cards (one shared structure; new approved entries are added in site.config.json). */
.hero-solutions h1, .hero-approach h1, .hero-pcc h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.95rem); }
@media (min-width: 901px) { .hero-solutions, .hero-approach, .hero-pcc { padding-bottom: clamp(48px, 5vw, 64px); } }
.solution-grid, .sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.solution-card, .sector-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 34px); border-radius: 16px; background: var(--surface); color: var(--ink);
  box-shadow: 0 22px 44px -26px rgba(8, 20, 48, 0.6); }
.solution-card p, .sector-card p, .sector-card li { color: var(--text-2); }
.solution-card .btn, .sector-card .btn { margin-top: 8px; }
.solution-head { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 18px; }
.solution-head .svc-icon { width: 52px; height: 52px; }
.band-blue .solution-head .svc-icon { background: var(--primary-tint); color: var(--primary); }
.solution-head .svc-icon svg { width: 28px; height: 28px; }
.solution-head .tag { margin: 0 0 8px; }
.solution-head h3 { margin: 0; font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem); }
.solution-offer { margin: 4px 0 0; font-weight: 650; color: var(--primary-hover) !important; }
.solution-card, .sector-card { scroll-margin-top: 70px; }
@media (max-width: 900px) { .solution-grid, .sector-grid { grid-template-columns: minmax(0, 1fr); } }

/* Home: routes to the full Solutions and Services pages under the fit cards. */
.fit-more { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0 0; }
.band-blue .fit-more .text-link { color: #fff; }

/* Our Approach: theme cards (unnumbered: an overview, not a sequence) on the blue band, development cards on white. */
.theme-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.theme-grid li { margin: 0; padding: 24px 22px; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 22px 44px -26px rgba(8, 20, 48, 0.6); }
.theme-grid .start-icon { margin-bottom: 16px; }
.theme-grid h3 { margin-bottom: 0.4em; font-size: 1.1rem; }
.theme-grid p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.theme-grid-light li { border: 1px solid var(--border); box-shadow: 0 12px 28px -22px rgba(23, 42, 54, 0.4); }
@media (max-width: 1100px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .theme-grid { grid-template-columns: minmax(0, 1fr); } }
.concept-steps .flow-marker { background: var(--primary); color: #fff; border-color: var(--primary); }
.concept-steps li { padding-bottom: 12px; }
.concept-steps .mgmt-a { margin-top: 3px; }
.concept-steps > li.is-next-step:not(:last-child)::after { display: none; }
.closing-actions { flex-wrap: wrap; }

/* About: the approach section is now a short summary that links to Our Approach. */
.approach-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.theme-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.theme-pills { gap: 10px 26px; }
.theme-pills li { margin: 0; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; }
.theme-pills li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--on-ink-link); }

/* Motion: new lists arrive one item after another. */
.motion .solution-grid[data-reveal], .motion .sector-grid[data-reveal], .motion .theme-grid[data-reveal] { opacity: 1; transform: none; }
.motion .solution-grid > *, .motion .sector-grid > *, .motion .theme-grid li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s ease; }
.motion .solution-grid.is-in > *, .motion .sector-grid.is-in > *, .motion .theme-grid.is-in li { opacity: 1; transform: none; }
.motion .solution-grid.is-in > :nth-child(2), .motion .sector-grid.is-in > :nth-child(2), .motion .theme-grid.is-in li:nth-child(2) { transition-delay: 0.12s; }
.motion .theme-grid.is-in li:nth-child(3) { transition-delay: 0.24s; }
.motion .theme-grid.is-in li:nth-child(4) { transition-delay: 0.36s; }


/* ---------- Project & Commercial Control Analyzer (addendum 02, 27 Oct): same build as the ESD Analyzer page ---------- */
.hero-tagline { color: var(--ink); font-weight: 650; }
.q-list { list-style: none; margin: 0; padding: 8px; }
.q-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 14px; margin: 0; padding: 11px 12px; font-weight: 600; line-height: 1.35; }
.q-list li + li { border-top: 1px solid var(--border); }
/* Six questions: each card carries the question and a short explanation (no numbers, as on the ESD page). */
.orbit-detailed .orbit-cards li { align-items: flex-start; }
.oq-t { display: block; font-size: 1.02rem; }
.oq-d { display: block; margin-top: 4px; font-weight: 400; font-size: 0.93rem; line-height: 1.5; color: var(--text-2); }
.findings-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.findings-list li { position: relative; margin: 0; padding-left: 30px; }
.findings-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }
.findings-list strong { display: block; color: var(--ink); }
.start-flow.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.flow-4 li:not(:last-child)::after { right: -29px; width: 30px; }
.flow-4 h3 { font-size: 1.05rem; }
@media (max-width: 1100px) { .start-flow.flow-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-4 li::after { display: none; } }
@media (max-width: 600px) { .start-flow.flow-4 { grid-template-columns: minmax(0, 1fr); } }
.motion .start-flow.is-in li:nth-child(4) { transition-delay: 0.36s; }

@media print {
  .site-header, .site-footer, .skip-link, .btn-row, .anchor-nav, .breadcrumb { display: none; }
  .motion [data-reveal], .motion .next-flow li, .motion .orbit-hub, .motion .orbit-waves, .motion .orbit-cards li, .motion .evidence-chain li, .motion .start-flow li, .motion .dg-cards .card, .motion .question-grid li, .motion .fit-grid .fit-card, .motion .details-grid li, .motion .solution-grid > *, .motion .sector-grid > *, .motion .theme-grid li, .motion .svc-art * { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}

/* Footer social links (release 22) */
.footer-follow { margin: 20px 0 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-ink); }
.footer-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-social li { margin: 0; }
.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); color: var(--on-ink); transition: background-color 0.18s ease, border-color 0.18s ease; }
.site-footer .footer-social a:hover, .site-footer .footer-social a:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (prefers-reduced-motion: reduce) { .site-footer .footer-social a { transition: none; } }
