/* ==========================================================================
   NEXUS — AI & Business Solutions
   Design tokens follow the website brief (section 8).
   ========================================================================== */

:root {
  /* Brief palette */
  --navy: #172B4D;
  --blue: #2F6B9A;
  --pale: #EAF1F8;
  --off: #F4F6F8;
  --text: #243447;

  /* Supporting neutrals derived from the palette */
  --white: #FFFFFF;
  --muted: #55667A;          /* 5.3:1 on --off */
  --line: #D3DEEA;
  --line-strong: #B7C7D9;
  --navy-2: #1F3760;
  --blue-dark: #24577F;

  /* Division accents — used only on division marks and indicators */
  --intel: #2F6B9A;
  --connect: #2C7A77;
  --auto: #5658A3;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.1rem + 1.2vw, 1.875rem);
  --step-4: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem);
  --step-5: clamp(2.5rem, 1.4rem + 4.2vw, 4.5rem);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--off);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}
h1 { font-size: var(--step-5); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: var(--step-4); letter-spacing: -0.03em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; }
p + p { margin-top: 1em; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

.lede { font-size: var(--step-1); line-height: 1.6; color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }

/* --------------------------------------------------------------------------
   Placeholder marker — anything the company still needs to supply
   -------------------------------------------------------------------------- */
.ph {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .8125rem; line-height: 1.3; font-weight: 500;
  color: #6B4E00; background: #FFF6DB; border: 1px dashed #C9A23C;
  padding: .15em .55em; border-radius: 4px;
}
.ph::before { content: "Placeholder"; font-weight: 700; }
.ph:empty::before { content: "Placeholder"; }
.on-dark .ph { color: #FFE9A8; background: rgba(255, 233, 168, .08); border-color: rgba(255, 233, 168, .5); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: var(--step-0); line-height: 1;
  padding: .95rem 1.35rem; border-radius: var(--radius-s);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.on-dark .btn-primary { background: var(--white); color: var(--navy); }
.on-dark .btn-primary:hover { background: var(--pale); color: var(--navy); }
.on-dark .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.35); }
.on-dark .btn-secondary:hover { border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px;
}
.text-link:hover { color: var(--blue); border-color: var(--blue); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 248, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1; }
.wordmark-name { font-weight: 800; font-size: 1.375rem; letter-spacing: .22em; margin-right: -.22em; }
.wordmark-desc { font-size: .6875rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-top: .35rem; }
.wordmark:hover { color: var(--navy); }

.primary-nav { display: flex; align-items: center; gap: .25rem; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font: inherit; font-weight: 500; font-size: .9375rem; color: var(--text);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: .6rem .8rem; border-radius: var(--radius-s);
}
.nav-link:hover { color: var(--navy); background: var(--pale); }
.nav-link[aria-current="page"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.has-menu { position: relative; }
.has-menu[data-open="true"] .chev { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: -1rem; width: 380px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -18px rgba(23, 43, 77, .28);
  padding: .5rem; list-style: none; margin: 0;
  display: none;
}
.has-menu[data-open="true"] .submenu { display: block; }
.submenu a {
  display: grid; grid-template-columns: 32px 1fr; gap: .25rem .85rem; align-items: start;
  padding: .8rem; border-radius: var(--radius-s); text-decoration: none; color: var(--text);
}
.submenu a:hover { background: var(--off); }
.submenu .mark { grid-row: span 2; width: 32px; height: 32px; }
.submenu strong { color: var(--navy); font-weight: 600; font-size: .9375rem; }
.submenu span { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.submenu .submenu-all { display: block; border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .9rem; font-weight: 600; color: var(--navy); font-size: .875rem; border-radius: 0 0 var(--radius-s) var(--radius-s); }

.header-cta { margin-left: .75rem; padding: .75rem 1.1rem; font-size: .9375rem; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-s);
  background: none; border: 1px solid var(--line-strong); color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--off);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem; overflow-y: auto;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.125rem; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--blue); }
  .submenu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 .75rem; background: transparent; }
  .submenu a { padding: .7rem .25rem; }
  .submenu a:hover { background: none; }
  .header-cta { margin: 1.5rem 0 0; width: 100%; padding: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .65); }
.section-white { background: var(--white); }
.section-pale { background: var(--pale); }
.section-navy { background: var(--navy); color: #D8E2EE; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy a:not(.btn) { color: var(--white); }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head.split {
  max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end;
}
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }
.kicker { font-size: .9375rem; font-weight: 600; color: var(--blue); }
.section-navy .kicker { color: #9CC0E0; }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { display: grid; gap: .02em; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--navy-2); }
.hero h1 span:nth-child(3) { color: var(--blue); }
.hero .lede { margin-top: 1.75rem; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-note { margin-top: 2rem; font-size: var(--step--1); color: var(--muted); display: flex; gap: .6rem; align-items: center; }
.hero-note svg { width: 16px; height: 16px; flex: none; color: var(--blue); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nexus-figure { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* Nexus diagram */
.nexus-figure { position: relative; }
.nexus-svg { width: 100%; height: auto; overflow: visible; }
.nexus-svg .orbit { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 6; }
.nexus-svg .spoke { fill: none; stroke-width: 2; stroke-linecap: round; }
.nexus-svg .core-ring { fill: var(--white); stroke: var(--navy); stroke-width: 1.5; }
.nexus-svg .core { fill: var(--navy); }
.nexus-svg .core-text { fill: var(--white); font-family: var(--font); font-weight: 800; font-size: 15px; letter-spacing: .24em; }
.nexus-svg .node-bg { fill: var(--white); stroke-width: 1.5; }
.nexus-svg .node-title { fill: var(--navy); font-family: var(--font); font-weight: 700; font-size: 15px; }
.nexus-svg .node-sub { fill: var(--muted); font-family: var(--font); font-weight: 500; font-size: 12.5px; }
.nexus-svg .pulse { stroke: none; }
.nexus-svg a:focus-visible .node-bg { stroke-width: 3; }
.nexus-svg a .node-bg { transition: fill .15s ease; }
.nexus-svg a:hover .node-bg { fill: var(--off); }

/* The one orchestrated moment: spokes draw out from the core on load */
@media (prefers-reduced-motion: no-preference) {
  .nexus-svg .spoke { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s cubic-bezier(.6,.05,.3,1) forwards; }
  .nexus-svg .spoke.s2 { animation-delay: .15s; }
  .nexus-svg .spoke.s3 { animation-delay: .3s; }
  .nexus-svg .node { opacity: 0; animation: appear .5s ease forwards; }
  .nexus-svg .node.n1 { animation-delay: .7s; }
  .nexus-svg .node.n2 { animation-delay: .85s; }
  .nexus-svg .node.n3 { animation-delay: 1s; }
  .nexus-svg .pulse { offset-rotate: 0deg; animation: travel 5.5s linear infinite; animation-delay: 1.6s; opacity: 0; }
  .nexus-svg .pulse.p2 { animation-delay: 3.4s; }
  .nexus-svg .pulse.p3 { animation-delay: 5.2s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  40% { offset-distance: 100%; opacity: 1; }
  46%, 100% { offset-distance: 100%; opacity: 0; }
}

/* --------------------------------------------------------------------------
   "What you buy" comparison
   -------------------------------------------------------------------------- */
.buy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.buy-col { padding: 2rem 2rem 0 0; }
.buy-col + .buy-col { padding-left: 2rem; border-left: 1px solid var(--line); }
.buy-col .div-name { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--navy); }
.buy-col .div-name .mark { width: 26px; height: 26px; }
.buy-col dl { margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.buy-col dt { font-size: var(--step--1); color: var(--muted); }
.buy-col dd { margin: .2rem 0 0; font-size: var(--step-2); line-height: 1.3; color: var(--navy); font-weight: 600; letter-spacing: -.01em; }
.buy-col dd.small { font-size: var(--step-0); font-weight: 400; color: var(--text); letter-spacing: 0; line-height: 1.55; }
@media (max-width: 860px) {
  .buy-grid { grid-template-columns: 1fr; border-top: 0; }
  .buy-col, .buy-col + .buy-col { padding: 1.75rem 0; border-left: 0; border-top: 1px solid var(--line-strong); }
}
.bridge-note {
  margin-top: 3rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: start;
  padding: 1.5rem; background: var(--pale); border-radius: var(--radius-m); max-width: 860px;
}
.bridge-note svg { width: 40px; height: 40px; }

/* --------------------------------------------------------------------------
   Division cards
   -------------------------------------------------------------------------- */
.division-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .division-cards { grid-template-columns: 1fr; } }
.division-card {
  --accent: var(--blue);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.division-card::before {
  content: ""; position: absolute; left: clamp(1.75rem, 3vw, 2.25rem); top: -1px; width: 48px; height: 3px;
  background: var(--accent); border-radius: 0 0 3px 3px;
}
.division-card[data-division="intelligence"] { --accent: var(--intel); }
.division-card[data-division="connect"] { --accent: var(--connect); }
.division-card[data-division="autopilot"] { --accent: var(--auto); }
.division-card .mark { width: 48px; height: 48px; }
.division-card h3 { margin-top: 1.5rem; font-size: var(--step-3); }
.division-card .descriptor { margin-top: .35rem; color: var(--accent); font-weight: 600; font-size: .9375rem; }
.division-card .summary { margin-top: 1rem; }
.division-card ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.division-card li { display: grid; grid-template-columns: 14px 1fr; gap: .75rem; font-size: .9375rem; line-height: 1.45; }
.division-card li::before { content: ""; width: 6px; height: 6px; margin-top: .5em; border-radius: 50%; background: var(--accent); }
.division-card .text-link { margin-top: auto; align-self: flex-start; }
.division-card .text-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-l); }
.division-card:hover { border-color: var(--line-strong); }
.division-card:focus-within { border-color: var(--blue); }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.process li { counter-increment: step; position: relative; padding: 0 1.5rem 0 0; }
.process li::before {
  content: counter(step); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--navy); color: var(--navy);
  font-weight: 700; font-size: .9375rem; position: relative; z-index: 1;
}
.process li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: var(--line-strong); }
.process li:last-child::after { display: none; }
.process h3 { font-size: var(--step-1); margin-top: 1.25rem; }
.process p { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }
.section-navy .process li::before { background: var(--navy); border-color: #9CC0E0; color: var(--white); }
.section-navy .process li::after { background: rgba(255,255,255,.2); }
.section-navy .process p { color: #B9C8DA; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { display: grid; grid-template-columns: 40px 1fr; gap: 0 1.25rem; padding: 0 0 2rem; }
  .process li::before { grid-row: span 2; }
  .process li::after { top: 40px; bottom: 0; left: 19.25px; right: auto; width: 1.5px; height: auto; }
  .process h3 { margin-top: .45rem; }
}

.process.vertical { grid-template-columns: 1fr; gap: 0; }
.process.vertical li { display: grid; grid-template-columns: 40px 1fr; gap: 0 1rem; padding: 0 0 1.5rem; }
.process.vertical li:last-child { padding-bottom: 0; }
.process.vertical li::before { grid-row: span 2; }
.process.vertical li::after { top: 40px; bottom: 0; left: 19.25px; right: auto; width: 1.5px; height: auto; }
.process.vertical h3 { margin-top: .45rem; }

/* --------------------------------------------------------------------------
   Use cases
   -------------------------------------------------------------------------- */
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.usecase { padding: 1.75rem 1.75rem 2rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.usecase:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.usecase h3 { font-size: var(--step-1); line-height: 1.3; }
.usecase p { margin-top: .6rem; font-size: .9375rem; color: var(--muted); }
.usecase > .tag { margin-top: auto; padding-top: 1.25rem; }
@media (max-width: 960px) {
  .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usecase, .usecase:not(:nth-child(3n+1)) { padding: 1.5rem 1.5rem 1.75rem 0; border-left: 0; }
  .usecase:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .usecases { grid-template-columns: 1fr; }
  .usecase, .usecase:nth-child(2n) { padding: 1.5rem 0; border-left: 0; }
}

.tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8125rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
}
.tag .mark { width: 18px; height: 18px; }
a.tag:hover { color: var(--blue); }

/* --------------------------------------------------------------------------
   Why Nexus / principles
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: grid; grid-template-columns: 28px 1fr; gap: 0 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list svg { width: 22px; height: 22px; color: var(--blue); margin-top: .2rem; }
.why-list h3 { font-size: var(--step-1); }
.why-list p { margin-top: .35rem; color: var(--muted); font-size: .9375rem; grid-column: 2; }
.section-navy .why-list li { border-color: rgba(255,255,255,.14); }
.section-navy .why-list p { color: #B9C8DA; }
.section-navy .why-list svg { color: #9CC0E0; }

.sticky-col { position: sticky; top: 110px; }
@media (max-width: 960px) { .sticky-col { position: static; } }

.oversight {
  margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-m);
  border: 1px solid var(--line); background: var(--white);
  display: grid; grid-template-columns: 36px 1fr; gap: 1rem;
}
.oversight svg { width: 32px; height: 32px; color: var(--auto); }
.oversight h3 { font-size: var(--step-1); }
.oversight p { font-size: .9375rem; margin-top: .35rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--navy); color: #D8E2EE; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band .lede { color: #C9D6E6; margin-top: 1.25rem; }
.cta-band .btn-row { margin-top: 2rem; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; position: relative; z-index: 1; }
.cta-band .cta-art { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .14; pointer-events: none; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta-band .cta-art { display: none; } }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.page-hero h1 { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem); max-width: 18ch; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero .btn-row { margin-top: 2rem; }
.breadcrumb { font-size: var(--step--1); color: var(--muted); margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

.division-hero { --accent: var(--blue); }
.division-hero[data-division="intelligence"] { --accent: var(--intel); }
.division-hero[data-division="connect"] { --accent: var(--connect); }
.division-hero[data-division="autopilot"] { --accent: var(--auto); }
.division-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 960px) { .division-hero-grid { grid-template-columns: 1fr; } }
.division-badge { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.5rem; }
.division-badge .mark { width: 40px; height: 40px; }
.division-badge strong { display: block; color: var(--navy); font-size: 1.0625rem; letter-spacing: -.01em; }
.division-badge span { display: block; color: var(--accent); font-size: .875rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Illustrative interfaces
   -------------------------------------------------------------------------- */
.ui-frame {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -30px rgba(23, 43, 77, .35), 0 2px 6px rgba(23, 43, 77, .04);
  overflow: hidden; font-size: .875rem;
}
.ui-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--off); }
.ui-bar strong { color: var(--navy); font-size: .875rem; }
.ui-bar .ui-dots { display: flex; gap: 6px; }
.ui-bar .ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.ui-body { padding: 1.25rem; display: grid; gap: .85rem; }
.ui-caption { margin-top: .85rem; font-size: .8125rem; color: var(--muted); text-align: right; }

.chat-msg { max-width: 86%; padding: .75rem .95rem; border-radius: 14px; line-height: 1.5; }
.chat-msg.user { justify-self: end; background: var(--pale); color: var(--navy); border-bottom-right-radius: 4px; }
.chat-msg.bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-sources { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 500; padding: .25rem .55rem; border-radius: 999px; background: var(--off); color: var(--text); border: 1px solid var(--line); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--blue)); }
.ui-input { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; color: var(--muted); }
.ui-input span:last-child { width: 28px; height: 28px; border-radius: 8px; background: var(--navy); }

.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.roster div { border: 1px solid var(--line); border-radius: 10px; padding: .75rem; }
.roster small { display: block; color: var(--muted); font-size: .75rem; }
.roster b { color: var(--navy); font-size: .9375rem; }
.queue { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.queue-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .7rem .85rem; align-items: center; }
.queue-row + .queue-row { border-top: 1px solid var(--line); }
.queue-row span { color: var(--muted); font-size: .8125rem; }
.queue-row b { color: var(--navy); font-weight: 600; }
.status { font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }
.status.live { background: #E3F1EF; color: #1F5F5C; }
.status.wait { background: var(--pale); color: var(--blue-dark); }
.status.qa { background: #ECECF7; color: #45468A; }

.run { display: grid; gap: 0; }
.run-step { display: grid; grid-template-columns: 26px 1fr auto; gap: .85rem; align-items: start; padding: .7rem 0; position: relative; }
.run-step::before { content: ""; position: absolute; left: 12px; top: 34px; bottom: -6px; width: 2px; background: var(--line); }
.run-step:last-child::before { display: none; }
.run-step .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--off); border: 1.5px solid var(--line-strong); }
.run-step .dot svg { width: 13px; height: 13px; }
.run-step.done .dot { background: var(--auto); border-color: var(--auto); color: var(--white); }
.run-step.hold .dot { background: var(--white); border-color: var(--auto); color: var(--auto); box-shadow: 0 0 0 4px #ECECF7; }
.run-step b { display: block; color: var(--navy); font-weight: 600; }
.run-step span { color: var(--muted); font-size: .8125rem; }
.approve { display: flex; gap: .5rem; margin-top: .6rem; }
.approve i { font-style: normal; font-size: .75rem; font-weight: 600; padding: .35rem .7rem; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--navy); }
.approve i:first-child { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* --------------------------------------------------------------------------
   Content blocks for division pages
   -------------------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.fit-block h3 { font-size: var(--step-2); margin-bottom: 1rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; }
.check-list svg { width: 20px; height: 20px; margin-top: .15rem; color: var(--accent, var(--blue)); }

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; counter-reset: none; }
.service { padding: 1.5rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 0 1rem; align-content: start; }
.service svg { width: 28px; height: 28px; color: var(--accent, var(--blue)); }
.service h3 { font-size: var(--step-1); }
.service p { margin-top: .4rem; font-size: .9375rem; color: var(--muted); grid-column: 2; }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }
.portfolio-note { margin-top: 2rem; font-size: var(--step--1); color: var(--muted); max-width: 70ch; display: flex; gap: .6rem; align-items: start; }
.portfolio-note svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; }

.scenario { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .scenario { grid-template-columns: 1fr; } }
.scenario-label { font-size: var(--step--1); font-weight: 600; color: var(--accent, var(--blue)); }
.scenario h3 { font-size: var(--step-3); margin-top: .5rem; }
.scenario p { margin-top: 1rem; }
.workflow { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); counter-reset: wf; }
.workflow li { counter-increment: wf; display: grid; grid-template-columns: 32px 1fr; gap: 1rem; padding: 1.15rem 1.5rem; }
.workflow li + li { border-top: 1px solid var(--line); }
.workflow li::before { content: counter(wf); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 700; color: var(--accent, var(--blue)); border: 1.5px solid currentColor; }
.workflow b { color: var(--navy); font-weight: 600; display: block; }
.workflow span { color: var(--muted); font-size: .9375rem; }
.workflow li.human { background: var(--off); }
.workflow li.human b::after { content: "Human checkpoint"; margin-left: .6rem; font-size: .75rem; font-weight: 600; color: var(--auto); border: 1px solid currentColor; padding: .1rem .45rem; border-radius: 999px; vertical-align: 2px; }

.mini-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
@media (max-width: 860px) { .mini-cases { grid-template-columns: 1fr; } }
.mini-case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.mini-case h4 { font-size: var(--step-1); }
.mini-case p { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) { .model-grid { grid-template-columns: 1fr; } }
.model { border-top: 2px solid var(--accent, var(--blue)); padding-top: 1.25rem; }
.model h3 { font-size: var(--step-1); }
.model p { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; font-weight: 600; color: var(--navy); font-size: var(--step-1); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 3rem 1.5rem 0; color: var(--text); max-width: 72ch; }

/* Related */
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
.related a {
  display: grid; grid-template-columns: 44px 1fr; gap: .25rem 1rem; padding: 1.5rem; border-radius: var(--radius-m);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.related a:hover { border-color: var(--line-strong); }
.related .mark { width: 44px; height: 44px; grid-row: span 2; }
.related strong { color: var(--navy); font-size: var(--step-1); }
.related span { font-size: .9375rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Solutions page
   -------------------------------------------------------------------------- */
.finder { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.5rem); }
.finder fieldset { border: 0; padding: 0; margin: 0; }
.finder legend { font-size: var(--step-2); font-weight: 700; color: var(--navy); letter-spacing: -.01em; margin-bottom: 1.25rem; padding: 0; }
.finder-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 860px) { .finder-options { grid-template-columns: 1fr; } }
.finder-options label {
  display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; cursor: pointer;
  padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius-m); line-height: 1.45;
}
.finder-options label:hover { border-color: var(--line-strong); }
.finder-options input { margin: .2rem 0 0; accent-color: var(--navy); width: 18px; height: 18px; }
.finder-options label:has(input:checked) { border-color: var(--navy); background: var(--off); }
.finder-result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem 1.25rem; align-items: center; }
.finder-result[hidden] { display: none; }
.finder-result .mark { width: 48px; height: 48px; }
.finder-result h3 { font-size: var(--step-2); }
.finder-result p { color: var(--muted); font-size: .9375rem; margin-top: .25rem; }
@media (max-width: 760px) { .finder-result { grid-template-columns: 48px 1fr; } .finder-result .btn { grid-column: 1 / -1; } }

.division-rows { display: grid; gap: 1.25rem; }
.division-row {
  --accent: var(--blue);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem 3.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4vw, 3rem); border-left: 4px solid var(--accent);
}
.division-row[data-division="intelligence"] { --accent: var(--intel); }
.division-row[data-division="connect"] { --accent: var(--connect); }
.division-row[data-division="autopilot"] { --accent: var(--auto); }
@media (max-width: 860px) { .division-row { grid-template-columns: 1fr; } }
.division-row .mark { width: 52px; height: 52px; }
.division-row h2 { font-size: var(--step-3); margin-top: 1.25rem; }
.division-row .descriptor { color: var(--accent); font-weight: 600; margin-top: .35rem; }
.division-row .summary { margin-top: 1rem; }
.division-row .btn { margin-top: 1.75rem; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9375rem; }
.facts dd { margin: 0; color: var(--navy); font-weight: 500; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: .25rem; } }

.combo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; margin-top: 2.5rem; }
.combo-step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-m); padding: 1.5rem; }
.combo-step strong { color: var(--white); display: flex; gap: .6rem; align-items: center; font-size: var(--step-1); }
.combo-step .mark { width: 28px; height: 28px; }
.combo-step p { margin-top: .5rem; color: #B9C8DA; font-size: .9375rem; }
.combo-arrow { width: 48px; color: #9CC0E0; }
@media (max-width: 760px) { .combo { grid-template-columns: 1fr; } .combo-arrow { transform: rotate(90deg); justify-self: center; } }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.statement { font-size: clamp(1.625rem, 1rem + 2.4vw, 2.75rem); line-height: 1.22; letter-spacing: -.025em; font-weight: 600; color: var(--navy); max-width: 26ch; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.mv-grid > div { padding: 2rem 2.5rem 0 0; }
.mv-grid > div + div { padding-left: 2.5rem; border-left: 1px solid var(--line); }
.mv-grid h2 { font-size: var(--step-1); color: var(--blue); }
.mv-grid p { margin-top: .75rem; font-size: var(--step-2); line-height: 1.4; color: var(--navy); letter-spacing: -.01em; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } .mv-grid > div, .mv-grid > div + div { padding: 1.75rem 0; border-left: 0; } .mv-grid > div + div { border-top: 1px solid var(--line); } }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; gap: 0; } }
.principle h3 { font-size: var(--step-1); }
.principle p { margin-top: .5rem; color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .principle { padding: 1.25rem 0; border-top: 1px solid var(--line); } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.enquiry { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 960px) { .enquiry { grid-template-columns: 1fr; } }
.enquiry-intro h2 { max-width: 16ch; }
.enquiry-intro .lede { margin-top: 1.25rem; }
.enquiry-intro ul { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.enquiry-intro li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; font-size: .9375rem; }
.enquiry-intro li svg { width: 20px; height: 20px; color: var(--blue); margin-top: .1rem; }
.section-navy .enquiry-intro .lede { color: #C9D6E6; }
.section-navy .enquiry-intro li svg { color: #9CC0E0; }

.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: .45rem; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .8125rem; color: var(--muted); margin-top: .35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  padding: .8rem .9rem; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23172B4D' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 154, .2); }
.field [aria-invalid="true"] { border-color: #B42318 !important; }
.field .error { display: none; color: #B42318; font-size: .8125rem; font-weight: 500; margin-top: .4rem; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--text); margin: 0; padding: .6rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); cursor: pointer; font-size: .9375rem; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--off); color: var(--navy); }
.radio-row input { accent-color: var(--navy); margin: 0; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; font-size: .875rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--navy); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-actions p { font-size: .8125rem; color: var(--muted); }
.form-success { display: grid; gap: 1rem; }
.form-success[hidden] { display: none; }
.form-success .tick { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pale); color: var(--blue); }
.form-success .tick svg { width: 24px; height: 24px; }
.form-success h3 { font-size: var(--step-3); }
.form-error-summary { display: none; background: #FEF3F2; color: #912018; border: 1px solid #FDA29B; border-radius: var(--radius-s); padding: .85rem 1rem; font-size: .9375rem; margin-bottom: 1.25rem; }
.form-error-summary.show { display: block; }

.contact-aside { display: grid; gap: 1.75rem; }
.contact-item h3 { font-size: var(--step-0); color: var(--muted); font-weight: 500; letter-spacing: 0; }
.contact-item p { margin-top: .35rem; color: var(--navy); font-weight: 600; }

/* Legal / plain pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.5rem; }
.prose p, .prose ul { margin-top: 1rem; }
.prose li + li { margin-top: .4rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #B9C8DA; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .9375rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark-desc { color: #9FB2C8; }
.footer-brand p { margin-top: 1.25rem; max-width: 36ch; }
.site-footer h2 { font-size: .9375rem; color: var(--white); letter-spacing: 0; font-weight: 600; }
.site-footer ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: #D8E2EE; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .8125rem; color: #9FB2C8; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }

/* Cookie / analytics consent */
.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 560px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 20px 50px -20px rgba(23, 43, 77, .4); padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  display: grid; gap: 1rem; font-size: .9375rem;
}
.consent-banner[hidden] { display: none; }
.consent-banner .btn { padding: .7rem 1rem; font-size: .9375rem; }

/* Division marks */
.mark { flex: none; }
.mark-intel { color: var(--intel); }
.mark-connect { color: var(--connect); }
.mark-auto { color: var(--auto); }

@media print {
  .site-header, .consent-banner, .cta-band, .menu-toggle { display: none !important; }
  body { background: #fff; }
}

/* Forms placed inside dark sections keep light-surface colours */
.on-dark .form-card a:not(.btn) { color: var(--blue); }
.on-dark .form-card .btn-primary { background: var(--navy); color: var(--white); }
.on-dark .form-card .btn-primary:hover { background: var(--navy-2); color: var(--white); }

/* Compact nexus diagram for phones */
.nexus-stack { display: none; list-style: none; margin: 0; padding: 0; position: relative; }
@media (max-width: 600px) {
  .nexus-svg { display: none; }
  .nexus-stack { display: grid; gap: .75rem; padding-left: 1.75rem; margin-top: .5rem; }
  .nexus-stack::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 32px; width: 2px; background: var(--line-strong); }
  .nexus-stack .core-chip { display: inline-flex; align-self: start; justify-self: start; margin-left: -1.75rem; background: var(--navy); color: var(--white); font-weight: 800; letter-spacing: .22em; font-size: .8125rem; padding: .5rem .9rem; border-radius: 999px; position: relative; }
  .nexus-stack a { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 .85rem; align-items: center; padding: .85rem 1rem; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-m); text-decoration: none; }
  .nexus-stack a::before { content: ""; position: absolute; left: calc(-1.75rem + 7px); top: 50%; width: calc(1.75rem - 7px); height: 2px; background: var(--line-strong); }
  .nexus-stack .mark { width: 40px; height: 40px; grid-row: span 2; }
  .nexus-stack strong { color: var(--navy); font-size: 1rem; }
  .nexus-stack span { color: var(--muted); font-size: .875rem; }
  .nexus-stack li[data-division="intelligence"] a { border-color: color-mix(in srgb, var(--intel) 45%, white); }
  .nexus-stack li[data-division="connect"] a { border-color: color-mix(in srgb, var(--connect) 45%, white); }
  .nexus-stack li[data-division="autopilot"] a { border-color: color-mix(in srgb, var(--auto) 45%, white); }
}
.enquiry-contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
@media (max-width: 960px) { .enquiry-contact { grid-template-columns: 1fr; } }

/* Example-system showcase block (Nexus Intelligence page) */
.ocd-showcase { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--intel); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.5rem); }
.ocd-showcase h3 { font-size: var(--step-3); margin-top: .35rem; }
.ocd-showcase p { margin-top: .75rem; color: var(--text); max-width: 64ch; }
.ocd-showcase .btn-row { justify-content: flex-end; }
@media (max-width: 760px) { .ocd-showcase { grid-template-columns: 1fr; } .ocd-showcase .btn-row { justify-content: flex-start; } }

/* Booking page */
.book-grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.book-aside { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
@media (max-width: 960px) { .book-aside { grid-template-columns: 1fr 1fr; } .book-aside > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .book-aside { grid-template-columns: 1fr; } }
.book-h { font-size: var(--step-2); margin-bottom: 1.25rem; }
.book-aside .check-list b { color: var(--navy); }
.book-alt { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.book-alt h3 { font-size: var(--step-1); }
.book-alt p { margin: .4rem 0 .75rem; color: var(--muted); font-size: .9375rem; }
.book-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(23, 43, 77, .3); }
.book-frame iframe { display: block; width: 100%; height: 760px; border: 0; background: var(--white); }
@media (max-width: 620px) { .book-frame iframe { height: 900px; } }
.book-fallback { margin: 0; padding: .85rem 1.25rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); background: var(--off); }
